/* =========================================================
   CyberCede Corporation — style.css
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1B3A5C;
  --blue:      #2B6CB0;
  --blue-mid:  #1e5299;
  --blue-lt:   #EBF2FA;
  --white:     #ffffff;
  --gray-lt:   #f4f7fb;
  --gray-mid:  #6b7a8d;
  --gray-dk:   #2d3748;
  --border:    #d0dcea;
  --accent:    #3b82c4;
  /* Logo-derived brand accents */
  --red:       #CC2000;
  --red-lt:    #fdf0ee;
  --gold:      #c89800;

  --font:      'Inter', 'Segoe UI', Arial, sans-serif;
  --radius:    6px;
  --shadow:    0 2px 12px rgba(27, 58, 92, 0.10);
  --shadow-md: 0 4px 24px rgba(27, 58, 92, 0.15);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-dk);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--navy); }

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-weight: 600; }

p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid #c3d8ef;
  border-radius: 3px;
  padding: 0.3em 0.75em;
  margin-bottom: 1.1rem;
}

.section-header { margin-bottom: 3rem; }
.section-header p { max-width: 620px; color: var(--gray-mid); font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.75em 1.75em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-mid); border-color: var(--blue-mid); box-shadow: 0 4px 16px rgba(43,108,176,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-dark:hover { background: var(--blue-lt); }

/* ---------- Header & Nav ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.logo-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}
.logo-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-tagline {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4em 0.85em;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.nav-cta {
  margin-left: 0.75rem;
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.45em 1.1em !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4d7a 55%, #1a5f8c 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.4rem;
  max-width: 460px;
  line-height: 1.5;
  border-left: 3px solid var(--red);
  padding-left: 0.85rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero-content h1 em {
  font-style: normal;
  color: #7ab8e8;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-trust {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.trust-item svg { opacity: 0.7; flex-shrink: 0; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Shield wrapper — filter here gives drop-shadow on the SVG shape */
.hero-logo-shield-wrap {
  filter: drop-shadow(0 12px 48px rgba(0,0,0,0.42));
}

.hero-shield-svg {
  display: block;
  width: 270px;
  height: auto;
}

.shield-bg   { fill: #ffffff; }
.shield-border {
  fill: none;
  stroke: rgba(27,58,92,0.18);
  stroke-width: 2;
}

/* Nav logo: "CyberCede Corporation" in Aldrich, "Security Advisory" in Inter */
.logo-name { font-family: var(--font); font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.logo-name-brand { font-family: 'Aldrich', sans-serif; font-weight: 400; letter-spacing: 0.06em; font-size: 1rem; text-transform: uppercase; }
.logo-tagline { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* ---------- Problem Section ---------- */
#problem {
  background: var(--gray-lt);
  padding: 5rem 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.problem-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}
.problem-card p { font-size: 0.9rem; color: var(--gray-mid); margin: 0; }

.problem-cta {
  margin-top: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.problem-cta p { font-size: 1.05rem; color: var(--navy); font-weight: 500; margin: 0; }

/* ---------- Services ---------- */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
  background: var(--white);
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: #aac8e8; }

.service-card.featured {
  border-color: var(--red);
  border-width: 2px;
}

.service-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border-radius: 3px;
  padding: 0.25em 0.65em;
  margin-bottom: 1rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.service-icon svg { color: var(--blue); }

.service-card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; color: var(--gray-mid); margin-bottom: 1.25rem; }

.service-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-lt);
  border-radius: 4px;
  padding: 0.4em 0.8em;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.service-features { list-style: none; padding: 0; margin: 0; }
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--gray-dk);
  padding: 0.3rem 0;
  border-top: 1px solid var(--border);
}
.service-features li:first-child { border-top: none; }
.service-features li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.15em;
  flex-shrink: 0;
}

/* ---------- Industries ---------- */
#industries {
  background: var(--navy);
  color: var(--white);
}
#industries .section-label { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); }
#industries .section-header h2 { color: var(--white); }
#industries .section-header p  { color: rgba(255,255,255,0.65); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background var(--transition);
}
.industry-card:hover { background: rgba(255,255,255,0.1); }

.industry-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.industry-icon svg { color: #7ab8e8; }

.industry-card h3 { font-size: 0.97rem; color: var(--white); margin-bottom: 0.35rem; }
.industry-card .compliance {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7ab8e8;
}

/* ---------- About ---------- */
#about { background: var(--gray-lt); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.about-profile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-photo-placeholder {
  height: 280px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.profile-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.profile-name-block {
  text-align: center;
  color: var(--white);
}
.profile-name-block strong { display: block; font-size: 1rem; font-weight: 700; }
.profile-name-block span  { font-size: 0.78rem; opacity: 0.7; }

.profile-meta {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--gray-dk);
}
.meta-row svg { color: var(--blue); flex-shrink: 0; }
.meta-row a { color: var(--blue); font-weight: 500; }

.about-content h2 { margin-bottom: 1.25rem; }
.about-content p  { font-size: 0.97rem; color: #3d4f63; }

.about-timeline {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}
.timeline-item:first-child { border-top: none; }

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  min-width: 42px;
  padding-top: 0.1em;
}
.timeline-item p { font-size: 0.9rem; color: var(--gray-mid); margin: 0; }

.credly-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid #c3d8ef;
  border-radius: var(--radius);
  padding: 0.55em 1em;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: background var(--transition);
}
.credly-link:hover { background: #d8eaf7; text-decoration: none; }

/* ---------- Why CyberCede ---------- */
#why {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.trust-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.trust-signal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--gray-lt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.trust-signal-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.trust-signal-label { font-size: 0.875rem; color: var(--gray-mid); }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-lt);
  border: 1px solid #c3d8ef;
  border-radius: 4px;
  padding: 0.45em 1em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-badge svg { color: var(--blue); }

/* ---------- Contact ---------- */
#contact {
  background: var(--gray-lt);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { font-size: 1.1rem; margin-bottom: 1rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-dk);
}
.contact-detail svg { color: var(--blue); flex-shrink: 0; }
.contact-detail a { color: var(--blue); font-weight: 500; }

.calendly-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.calendly-cta p { font-size: 0.88rem; color: var(--gray-mid); margin-bottom: 0.75rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group:last-of-type { margin-bottom: 1.5rem; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--gray-dk);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6em 0.85em;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,108,176,0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ---------- Footer ---------- */
#site-footer {
  background: #0f2540;
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { max-width: 320px; }
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-brand a { color: rgba(255,255,255,0.55); }

.footer-links h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-credentials { font-size: 0.825rem; }
.footer-credentials h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
}
.cred-item:first-of-type { border-top: none; }
.cred-item svg { color: #7ab8e8; flex-shrink: 0; }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }

.footer-disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .problem-grid      { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: 1fr; }
  .industries-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-inner       { grid-template-columns: 1fr; }
  .contact-inner     { grid-template-columns: 1fr; }
  .trust-signals     { grid-template-columns: repeat(2, 1fr); }
  .footer-inner      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section              { padding: 3.5rem 0; }
  #hero                { padding: 4.5rem 0 3.5rem; }
  .main-nav            { display: none; }
  .hamburger           { display: flex; }
  .industries-grid     { grid-template-columns: 1fr; }
  .trust-signals       { grid-template-columns: 1fr; }
  .footer-inner        { grid-template-columns: 1fr; }
  .form-row            { grid-template-columns: 1fr; }
  .hero-actions        { flex-direction: column; align-items: flex-start; }
  .problem-cta         { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mobile Nav Drawer ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.mobile-nav.open { display: flex; flex-direction: column; }
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--navy);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.mobile-nav-drawer a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75em 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
  text-decoration: none;
}
.mobile-nav-drawer a:hover { color: var(--white); }
.mobile-nav-drawer .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue);
  color: var(--white);
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
  z-index: 9999;
}
.skip-link:focus { top: 0; }


/* ---------- JS-driven states ---------- */

/* Sticky nav deepens on scroll */
#site-header.scrolled {
  background: #112843;
  box-shadow: 0 2px 16px rgba(0,0,0,0.28);
}

/* Active nav link */
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* ---------- Form validation ---------- */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,32,0,0.12);
}

.field-error-msg {
  display: block;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* Form success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 0.75rem;
  min-height: 300px;
}
.form-success svg  { color: #22863a; }
.form-success h3   { color: var(--navy); font-size: 1.2rem; }
.form-success p    { color: var(--gray-mid); font-size: 0.95rem; }

/* ---------- Calendly embed ---------- */
.calendly-cta-arrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.calendly-embed-wrap {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.calendly-embed-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid #c3d8ef;
  border-radius: 3px;
  padding: 0.3em 0.75em;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.calendly-embed-label svg { color: var(--blue); }

/* Calendly iframe background matches site */
.calendly-inline-widget {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}
