/* =========================================================
   NEE ADDOTTEY ALLOTEY — Engineering Portfolio
   Shared stylesheet — cached across all pages
   ========================================================= */

/* --- Custom properties --- */
:root {
  --navy:       #1B3A5C;
  --navy-dark:  #0F2640;
  --navy-mid:   #254E7A;
  --gold:       #C8971A;
  --gold-dark:  #a37a10;
  --gold-light: #F5E9CC;
  --bg:         #F5F7FA;
  --bg-card:    #FFFFFF;
  --text:       #2D3748;
  --text-muted: #5A6A7E;
  --border:     #DDE3ED;
  --shadow-sm:  0 2px 8px rgba(27,58,92,.08);
  --shadow-md:  0 4px 20px rgba(27,58,92,.12);
  --radius:     6px;
  --nav-h:      68px;
  --max-w:      1140px;
  --serif:      Georgia, 'Times New Roman', serif;
  --sans:       'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  /* Semantic z-index scale */
  --z-nav-drawer:    99;
  --z-sticky:       100;
  --z-dropdown:     200;
  --z-float:        300;
  --z-modal-back:   400;
  --z-modal:        500;
  --z-toast:        600;
  --z-tooltip:      700;
}

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

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: var(--z-tooltip);
  padding: 8px 18px;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* --- Global focus ring (keyboard nav) --- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.25;
  text-wrap: balance;
}

/* --- Layout utilities --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--alt { background: var(--bg-card); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy--flush { padding: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-2--center { align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Header / Nav --- */
.site-header {
  background: var(--navy);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.site-logo__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: .03em;
}

.site-logo__title {
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  color: #c8d8ea;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.site-nav a:hover,
.site-nav a.active { color: #fff; background: rgba(255,255,255,.12); }
.site-nav a.nav-cta {
  background: var(--gold);
  color: #fff;
  padding: 6px 14px;
}
.site-nav a.nav-cta:hover { background: #a37a10; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(200,151,26,.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: bold;
  color: #fff;
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 22px;
}

.hero__title span { color: var(--gold); }

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.90);
  font-size: .82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 40px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  line-height: 1;
}

.btn--primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.50); }
.btn--outline:hover { background: rgba(255,255,255,.10); border-color: #fff; color: #fff; }

.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .82rem; }
.btn:active { transform: scale(.98); }

/* --- Section headings --- */
.section-heading { margin-bottom: 48px; }
.section-heading--center { text-align: center; }

.section-heading__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}
.section-heading--center p { margin: 0 auto; }

/* --- Service cards --- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--navy);
}

.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

.service-card a.btn { align-self: flex-start; margin-top: auto; }

/* --- Feature / callout strip --- */
.callout-strip {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}
.callout-strip h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.callout-strip p { color: rgba(255,255,255,.80); margin-bottom: 28px; max-width: 560px; }
.callout-strip .btn { margin-top: 8px; }

/* --- Callout checklist (whitespace-agnostic variant of .service-highlights-card list) --- */
.callout-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.callout-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.85);
}
.callout-checklist__check {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Secondary service pills --- */
.services-secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.service-pill {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.service-pill:hover { border-color: var(--navy-mid); box-shadow: var(--shadow-sm); }
.service-pill__name { font-size: .9rem; font-weight: 700; color: var(--navy); }
.service-pill__desc { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* --- Nav dropdown --- */
.nav-item--has-dropdown { position: relative; }

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: #c8d8ea;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"],
.nav-dropdown-toggle.active { color: #fff; background: rgba(255,255,255,.12); }

.nav-dropdown-arrow {
  width: 10px;
  height: 10px;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--navy-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: var(--z-dropdown);
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown[data-open] { display: flex; }

.nav-dropdown a {
  color: #c8d8ea;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 9px 12px;
  border-radius: 4px;
  text-decoration: none;
  display: block;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a.active { color: #fff; background: rgba(255,255,255,.12); }

/* Project / portfolio cards --- */
.project-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.project-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}
.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.project-card:hover .project-card__img img { transform: scale(1.04); }

.project-card__body { padding: 20px 22px; }

.project-card__discipline {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.project-card__body h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.project-card__body p { font-size: .85rem; color: var(--text-muted); }
.project-card__body .btn { margin-top: 8px; }

/* --- Image feature block --- */
.img-feature {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-feature img { width: 100%; }

/* --- Stats strip --- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,.15);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0;
  font-size: .82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li + li::before { content: '›'; color: var(--border); margin-right: 6px; }
.breadcrumb a { color: var(--navy-mid); }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }

/* --- Page hero (service pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 72px 0 60px;
}
.page-hero .hero__eyebrow { margin-bottom: 10px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
  max-width: 800px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 640px;
  margin-bottom: 28px;
}

/* --- Prose / body copy --- */
.prose h2 { font-size: 1.55rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--navy); }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 18px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--navy); }

/* --- Related services links --- */
.related-services {
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
}
.related-services h3 { font-size: 1rem; font-family: var(--sans); font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.related-services ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.related-services li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 40px;
  transition: background .2s;
}
.related-services li a:hover { background: var(--gold); color: #fff; }

/* --- Contact form --- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(27,58,92,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

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

/* --- Contact info card --- */
.contact-info-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
}
.contact-info-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail__text label,
.contact-detail__text .contact-detail__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.contact-detail__text a,
.contact-detail__text span:not(.contact-detail__label) { color: rgba(255,255,255,.90); font-size: .95rem; }
.contact-detail__text a:hover { color: var(--gold); }

/* --- About page --- */
.credential-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.credential-card__year {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.credential-card h3,
.credential-card h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.credential-card p { font-size: .88rem; color: var(--text-muted); }

.experience-entry {
  padding-bottom: 32px;
  margin-bottom: 0;
}
.experience-entry + .experience-entry {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.experience-entry:last-child { padding-bottom: 0; }

.experience-entry__period {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-light);
  border: 1px solid rgba(200,151,26,.3);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.experience-entry h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.experience-entry__company { font-size: .88rem; color: var(--text-muted); margin-bottom: 10px; }
.experience-entry ul { padding-left: 18px; }
.experience-entry li { font-size: .9rem; margin-bottom: 5px; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand__title { font-size: .78rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.70); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact p { font-size: .88rem; margin-bottom: 6px; }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: var(--gold); }
.footer-linkedin { margin-top: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .80rem;
}

.footer-bottom p { color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.50); }

/* --- CTA section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* --- Inline icon text --- */
.icon-text { display: inline-flex; align-items: center; gap: 8px; }

/* --- Tag / pill --- */
.tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  border: 1px solid var(--gold);
}

/* --- Skills panel --- */
.skills-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.skills-panel__title {
  color: #fff;
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 14px;
}
.skills-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.skills-panel__item {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 6px;
}
.skills-panel__bullet { color: var(--gold); }

/* --- Credential image frame --- */
.credential-img {
  margin-top: 16px;
  border: 1px solid var(--border);
  padding: 8px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.credential-img img { width: 100%; display: block; }

/* --- Subsection title (h3 variant for nested headings) --- */
.subsection-title {
  font-size: 1.3rem;
  font-family: var(--serif);
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* --- Endorsement blockquote --- */
.feature-heading { font-size: 1.6rem; margin: 0 0 20px; }
.project-cta { text-align: center; margin-top: 36px; }

.endorsement-quote {
  margin: 0 0 20px;
}
.endorsement-quote blockquote {
  position: relative;
  margin: 0;
  padding: 20px 0 20px 48px;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.endorsement-quote blockquote::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-style: normal;
  position: absolute;
  left: 0;
  top: 12px;
}
.endorsement-quote figcaption {
  margin-top: 12px;
  font-size: .88rem;
  color: var(--text-muted);
}

/* --- Service highlights card (extracted from inline styles on service pages) --- */
.service-highlights-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
}
.service-highlights-card__title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.service-highlights-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-highlights-card__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.service-highlights-card__check {
  color: var(--gold);
  flex-shrink: 0;
}

/* --- Blog author card (extracted from inline styles on blog post pages) --- */
.blog-author-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.blog-author-card__title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.blog-author-card__bio {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Flex button row --- */
.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    z-index: var(--z-nav-drawer);
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 14px; font-size: .88rem; }

  /* Mobile nav dropdown: accordion inline */
  .nav-item--has-dropdown { position: static; width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 10px 14px; font-size: .88rem; }
  .nav-dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 4px;
    margin: 2px 0 4px 12px;
  }
  .nav-dropdown a { padding: 8px 12px; white-space: normal; }

  .hero { padding: 72px 0 56px; }
  .page-hero { padding: 52px 0 40px; }
  .contact-form { padding: 24px 20px; }
  .contact-info-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 375px) {
  .hero__title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .page-hero__title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .container { padding: 0 16px; }
  .btn { padding: 11px 20px; font-size: .88rem; }
  .hero__actions { flex-direction: column; gap: 10px; }
}

/* --- WhatsApp floating button --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
  color: #fff;
}
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
}
