/* ===== Elite Accountants & Consultants ===== */

:root {
  --navy: #0b1f3a;
  --navy-light: #14335c;
  --gold: #c9a227;
  --gold-light: #e6c35c;
  --gold-dark: #806719;
  --cream: #faf8f4;
  --white: #ffffff;
  --sky-50: #f2f7fc;
  --sky-100: #e4eff9;
  --sky-200: #cfe3f4;
  --gold-50: #fbf4e3;
  --gold-100: #f5e6c2;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --success-bg: #eaf7ee;
  --success-border: #b9e6c4;
  --success-text: #1e6b34;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 31, 58, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

/* --gold-dark by default: --gold (the bright accent) is ~2.3:1 on white/cream,
   below WCAG AA's 4.5:1 for small text. .on-dark switches back to the bright
   gold for the two instances that sit on a navy background, where it's ~6.8:1. */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow.on-dark { color: var(--gold); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--gray-700); font-size: 1.05rem; }

section { padding: 88px 0; }
section.tight { padding: 64px 0; }
/* Offsets anchor-jump targets (nav links, "View Our Services", etc.) so the
   fixed header doesn't land on top of the section heading. */
section[id] { scroll-margin-top: 168px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Top bar */
/* Always-solid contact strip fixed above the main header; hidden on mobile
   (max-width: 720px) where space is tight and the phone/email are already
   reachable from the hero and contact section. */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 101;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding: 8px 24px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: color 0.15s ease;
}
.topbar a:hover { color: var(--gold-light); }
.topbar a svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* Header */
/* Transparent overlay on the hero image by default; switches to the solid
   cream bar (.scrolled, toggled by script.js) once the page scrolls past it. */
header {
  position: fixed;
  top: 37px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 16px rgba(11, 31, 58, 0.06);
}
.nav-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; gap: 2px; }
.logo-text strong { font-family: 'Playfair Display', serif; font-size: 1.22rem; font-weight: 700; color: var(--white); text-shadow: 0 1px 4px rgba(0,0,0,0.35); letter-spacing: 0.005em; white-space: nowrap; transition: color 0.3s ease, text-shadow 0.3s ease; }
.logo-text span { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; white-space: nowrap; }
header.scrolled .logo-text strong { color: var(--navy); text-shadow: none; }

nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-basis: 100%;
  order: 3;
  padding: 10px 0 12px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.3s ease;
}
header.scrolled nav.main-nav { border-top-color: var(--gray-200); }
nav.main-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease, text-shadow 0.3s ease;
}
/* Invisible expanded hit-area so the tap target meets the 44px minimum
   without changing the link's visual size or the underline's position. */
nav.main-nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -2px;
  right: -2px;
  height: 44px;
  transform: translateY(-50%);
}
header.scrolled nav.main-nav a { color: var(--navy-light); text-shadow: none; }
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.18s ease;
}
nav.main-nav a:hover { color: var(--white); }
header.scrolled nav.main-nav a:hover { color: var(--navy); }
nav.main-nav a:hover::after { right: 0; }
/* The mobile dropdown panel is always solid, regardless of header state */
nav.main-nav.open a { color: var(--navy-light); text-shadow: none; }
nav.main-nav.open a:hover { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 9px 18px; font-size: 0.86rem; }
.phone-pill {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
header.scrolled .phone-pill { color: var(--navy); text-shadow: none; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  margin: 5px 0;
  transition: 0.2s;
}
header.scrolled .menu-toggle span { background: var(--navy); box-shadow: none; }
header.scrolled .logo-text span { color: var(--gold-dark); }

/* Hero */
.hero {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(11,31,58,0.62), rgba(11,31,58,0.72)),
    url("https://images.unsplash.com/photo-1762427354397-854a52e0ded7?fm=jpg&q=80&w=2400&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
  padding: 288px 0 140px;
  text-align: center;
}
.hero-text {
  max-width: 780px;
  margin: 0 auto;
}
.hero-inner {
  position: relative;
}
.hero h1 {
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.015em;
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  margin: 0 auto 22px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p.lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.12); }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.hero-badges div { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; }

/* About */
#about { background: var(--white); }
.about-head { max-width: 700px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: 56px;
  align-items: center;
}
.director-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 30px;
  text-align: center;
  border-top: 4px solid var(--gold);
}
.director-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 14px rgba(11,31,58,0.18);
}
.director-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.director-card .role { color: var(--gold-dark); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.director-card p { color: var(--gray-700); font-size: 0.92rem; }
.director-card .director-email { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.88rem; }
.director-card .director-email svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }
.director-card .director-email a { color: var(--navy); font-weight: 600; }
.director-card .director-email a:hover { color: var(--gold-dark); }

.about-list { display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.about-list li svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* Services */
.services-section { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card.extra { display: none; }
.services-grid.expanded .service-card.extra { display: flex; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--gold-100);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 27px; height: 27px; }
.service-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  flex: 1;
  min-width: 0;
}
.service-card h3 {
  font-size: 1.02rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
  min-height: 48px;
  position: relative;
}
.service-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.service-card p { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 14px; flex: 1; }
.service-footer {
  display: flex;
  align-items: baseline;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.price-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }
.price-amount { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); }

.services-toggle { text-align: center; margin-top: 32px; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: none; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.package-banner {
  position: relative;
  margin-top: 40px;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(11,31,58,0.8), rgba(11,31,58,0.86)),
    url("https://images.unsplash.com/photo-1772588627527-db42040f3a8b?fm=jpg&q=75&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.package-banner h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.package-banner p { color: rgba(255,255,255,0.78); font-size: 0.94rem; }
.price-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.86rem;
  margin-top: 28px;
}

/* Why us */
#why-us { background: var(--gold-50); }

.eyebrow-pill {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(201,162,39,0.4);
  background: rgba(201,162,39,0.08);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 20px;
}
.why-head { max-width: 780px; }
.why-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }

.why-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
}
.why-icon-badge svg { width: 25px; height: 25px; }

.why-grid {
  display: grid;
  grid-template-columns: minmax(0,0.85fr) minmax(0,2fr);
  gap: 28px;
  align-items: stretch;
}

.why-feature {
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  border-radius: var(--radius);
  padding: 36px 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-feature .why-icon-badge { background: rgba(201,162,39,0.22); color: var(--gold-light); }
.why-feature h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 10px;
  padding-bottom: 14px;
  position: relative;
}
.why-feature h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.why-feature p { color: rgba(255,255,255,0.8); font-size: 0.94rem; }

.why-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 24px;
}
.why-card-wide { grid-column: span 3; }
.why-card-narrow { grid-column: span 2; }
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.why-card .why-icon-badge { background: var(--gold-100); color: var(--navy); }
.why-card h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
}
.why-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.why-card p { font-size: 0.88rem; color: var(--gray-500); }

/* Final CTA band */
.cta-band {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(11,31,58,0.75), rgba(11,31,58,0.84)),
    url("https://images.unsplash.com/photo-1686061593213-98dad7c599b9?fm=jpg&q=80&w=2400&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 64px 0;
  border-top: 3px solid var(--gold);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 480px; }

/* FAQ */
.faq-section { background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; background: var(--cream); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question .icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.2s ease; color: var(--gold); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 22px 20px; color: var(--gray-700); font-size: 0.93rem; }

/* Contact */
.contact-section { background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; }
.contact-section .section-head h2 { color: var(--white); }
.contact-section .section-head p { color: rgba(255,255,255,0.75); }
.contact-details { display: grid; gap: 20px; margin-top: 8px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail .icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,162,39,0.15);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail .icon-circle svg { width: 20px; height: 20px; }
.contact-detail h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.contact-detail p, .contact-detail a { color: rgba(255,255,255,0.75); font-size: 0.94rem; }
.contact-detail a:hover { color: var(--gold-light); }

.map-embed { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.form-success.visible { display: flex; }
.contact-form h3 { margin-bottom: 6px; }
.contact-form p.form-sub { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--navy-light); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  background: var(--gray-100);
  color: var(--navy);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 12px; text-align: center; }

/* Footer */
footer {
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,0.9fr) minmax(0,0.9fr) minmax(0,0.9fr); gap: 24px; margin-bottom: 40px; }
.footer-brand .logo-text strong, .footer-brand .logo-text span { color: var(--white); }
.footer-brand .logo-text span { color: var(--gold-light); }
.footer-brand .logo-text strong { font-size: 1.02rem; white-space: nowrap; }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; max-width: 280px; }
.social-links { display: flex; gap: 14px; margin-top: 22px; }
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,162,39,0.18);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social-links a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; }
footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
footer ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
  cursor: pointer;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* Cookie consent banner (PECR) — hidden off-screen until a visitor hasn't
   yet made a choice; script.js toggles .visible. Sits above everything
   including the back-to-top button. */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  color: rgba(255,255,255,0.85);
  border-top: 3px solid var(--gold);
  padding: 20px 24px;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.9rem; max-width: 640px; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn-outline-navy { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cookie-banner .btn-outline-navy:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* Legal pages (Privacy Policy) */
.legal-hero {
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  color: var(--white);
  padding: 190px 0 56px;
  text-align: center;
}
.legal-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 10px; }
.legal-hero p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 44px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin-top: 26px; margin-bottom: 10px; }
.legal-content p { color: var(--gray-700); margin-bottom: 16px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal-content li { color: var(--gray-700); margin-bottom: 8px; }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }
.legal-content strong { color: var(--navy); }
/* So the #cookies anchor (linked from the cookie banner and footer) doesn't
   land underneath the fixed header/top-bar stack. */
.legal-content h2[id] { scroll-margin-top: 168px; }

/* Responsive */
@media (max-width: 980px) {
  .hero { padding: 258px 0 110px; }
  .about-grid { grid-template-columns: minmax(0,1fr); }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-grid { grid-template-columns: minmax(0,1fr); }
  .why-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-card-wide, .why-card-narrow { grid-column: span 1; }
  .contact-grid { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  header { top: 0; }
  nav.main-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; }
  .phone-pill { display: none; }
  .hero { padding: 150px 0 110px; }
  section { padding: 64px 0; }
  section[id] { scroll-margin-top: 64px; }
  .services-grid { grid-template-columns: minmax(0,1fr); }
  .why-cards { grid-template-columns: minmax(0,1fr); }
  .form-row { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .package-banner { flex-direction: column; align-items: flex-start; }
  .cta-band-inner { flex-direction: column; text-align: center; }

  /* Keep logo + hamburger on one line — drop the header CTA button, the hero already has two */
  .nav-wrap { flex-wrap: nowrap; }
  .logo { min-width: 0; }
  .logo svg { width: 26px; height: 26px; }
  .logo-text strong { font-size: 0.96rem; }
  .logo-text span { font-size: 0.48rem; }
  .header-actions .btn-primary { display: none; }
  .header-actions { gap: 10px; }

  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
  .legal-hero { padding: 150px 0 40px; }
  .legal-content h2[id] { scroll-margin-top: 64px; }
}

nav.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  gap: 18px;
  box-shadow: var(--shadow);
}

/* Respect the visitor's OS-level reduced-motion preference — disables
   hover/scroll transitions and animations rather than forcing them. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
