/* ==========================================================================
   Accueil Health Solutions — Theme Stylesheet
   Design tokens taken from the supplied brand reference:
   teal → blue gradient accent, deep navy footer/dark sections,
   warm cream/off-white backgrounds, rounded soft-shadow cards.
   ========================================================================== */

:root {
  --teal:        #14b8a6;
  --teal-dark:   #0d9488;
  --blue:        #2563eb;
  --navy:        #0a1e3f;
  --navy-2:      #0f2a52;
  --ink:         #10233f;
  --muted:       #5b6b82;
  --cream:       #f5f8fb;
  --cream-2:     #eef4f8;
  --white:       #ffffff;
  --gold-line:   rgba(20,184,166,.25);
  --radius-lg:   28px;
  --radius-md:   18px;
  --radius-sm:   12px;
  --shadow-soft: 0 20px 45px -20px rgba(10,30,63,.18);
  --shadow-card: 0 14px 34px -18px rgba(10,30,63,.22);
  --gradient-brand: linear-gradient(120deg, var(--teal) 0%, var(--blue) 100%);
  --gradient-navy:  linear-gradient(135deg, var(--navy) 0%, #123a6b 100%);
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .6em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text { position: absolute; left: -9999px; }

.container { width: 100%; max-width: 100%; margin-inline: 0; padding-inline: 16px; }

.kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: .6em;
}
.accent-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-text { color: var(--muted); font-size: 1.02rem; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .8em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-card); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px -16px rgba(37,99,235,.45); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid rgba(10,30,63,.15); }
.btn-ghost:hover { background: var(--cream-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.play-circle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-brand); color: #fff; }
.play-circle svg { width: 14px; height: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--teal-dark); transition: gap .25s ease; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: .7em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(10,30,63,.06);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 10px; flex-wrap: nowrap; min-width: 0; }
.site-logo { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; max-width: 100%; overflow: hidden; }
.logo-icon { height: 54px; width: auto; flex: none; }
.logo-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.34rem;
  color: var(--navy); letter-spacing: .01em; line-height: 1.15; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.custom-logo { height: 64px; width: auto; max-width: 260px; object-fit: contain; }
.primary-nav { margin-inline: auto; min-width: 0; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a { font-weight: 500; font-size: .95rem; color: var(--navy); position: relative; padding-block: 4px; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gradient-brand); transition: width .25s ease;
}
.nav-menu a:hover::after, .nav-menu .current-menu-item a::after { width: 100%; }
.nav-toggle { display: none; flex: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; margin-left: auto; position: relative; z-index: 95; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.mobile-quick-links { display: none; }
.header-top-strip { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 60px 40px; background: linear-gradient(180deg, var(--cream) 0%, #fff 70%); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--teal-dark); margin-bottom: .8em; }
.hero-title { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; margin-bottom: .5em; }
.hero-intro { font-size: 1.08rem; max-width: 520px; margin-bottom: 1.6em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-media { position: relative; perspective: 1200px; }
.hero-photo-frame {
  position: relative; aspect-ratio: 3/2; border-radius: var(--radius-lg);
  background: var(--gradient-navy);
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform .6s ease;
  overflow: hidden;
}
.hero-media:hover .hero-photo-frame { transform: rotateY(0) rotateX(0); }
.hero-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% center; }
.hero-photo-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 30% 30%, rgba(20,184,166,.10), transparent 60%);
}
.hero-badge {
  position: absolute; top: 58%; left: 40%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center; color: #fff;
  backdrop-filter: blur(3px); z-index: 2;
  box-shadow: 0 0 24px rgba(255,255,255,.3);
}
.hero-badge svg { width: 20px; height: 20px; }
.hero-note {
  position: absolute; top: -6%; right: 2%; background: #fff; padding: 14px 18px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card); font-size: .95rem; color: var(--navy);
  transform: rotate(3deg); z-index: 3; white-space: nowrap;
}
.about-note, .why-note { color: var(--teal-dark); font-weight: 600; }
.handwritten { font-family: 'Poppins', cursive; font-style: italic; }
.float-anim { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }

.highlights-strip {
  margin-top: 50px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.highlight-card {
  background: #fff; border: 1px solid rgba(10,30,63,.06); border-radius: var(--radius-md);
  padding: 18px; display: flex; gap: 12px; align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.highlight-card:hover { transform: translateY(-8px) rotateX(4deg); box-shadow: 0 26px 50px -22px rgba(10,30,63,.28); }
.highlight-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--cream-2);
  color: var(--teal-dark); display: flex; align-items: center; justify-content: center;
}
.highlight-icon svg { width: 22px; height: 22px; }
.highlight-card h3 { font-size: 1rem; margin-bottom: .2em; }
.highlight-card p { font-size: .88rem; margin: 0; }

/* ---------- About ---------- */
.about-section { padding-block: 90px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo-frame {
  aspect-ratio: 4/3.2; border-radius: var(--radius-lg); background: var(--gradient-brand);
  box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
}
.about-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo-frame::after { content:""; position:absolute; inset:0; background: rgba(10,30,63,.08); z-index: 1; }
.about-note {
  position: absolute; bottom: 16px; left: 16px; background: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card); z-index: 2; font-size: .9rem;
}
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* ---------- Services ---------- */
.services-section { padding-block: 90px; background: var(--cream); position: relative; overflow: hidden; }
.services-section > .container { position: relative; z-index: 1; }
.services-bg { position: absolute; inset: 0 0 auto 0; height: 420px; z-index: 0; pointer-events: none; }
.services-bg img { width: 100%; height: 100%; object-fit: cover; }
.services-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--cream) 0%, rgba(245,248,251,.9) 22%, rgba(245,248,251,.45) 50%, transparent 78%),
    linear-gradient(to bottom, transparent 30%, var(--cream) 96%);
}
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services-grid-lg { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: #fff; border-radius: var(--radius-md); padding: 0; box-shadow: var(--shadow-card);
  border: 1px solid rgba(10,30,63,.05); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
  transform-style: preserve-3d;
}
.service-card:hover { transform: translateY(-10px) rotateX(3deg) rotateY(-2deg); box-shadow: 0 30px 55px -22px rgba(10,30,63,.3); }
.service-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.service-icon-standalone { margin: 24px 24px 0; }
.service-icon svg { width: 26px; height: 26px; }
.service-card-body { padding: 24px; }
.service-card-body-flush { padding: 20px 24px 24px; }
.service-card-body h3 { font-size: 1.08rem; margin-bottom: .3em; }
.service-card-body p { font-size: .92rem; margin: 0; }

/* ---------- Why Us ---------- */
.why-section { padding-block: 90px; }
.why-section-dark {
  background: var(--gradient-navy); color: rgba(255,255,255,.92);
}
.kicker-on-dark { color: var(--teal); }
h2.on-dark { color: #fff; }
.on-dark-muted { color: rgba(255,255,255,.75); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; align-items: start; }
.why-checklist li {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,.12);
}
.why-checklist li:last-child { border-bottom: none; }
.why-point-title { font-weight: 700; color: #fff; margin: 0 0 .15em; font-size: .96rem; }
.why-point-text { font-size: .84rem; color: rgba(255,255,255,.65); margin: 0; }
.check-badge {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--teal); display: flex; align-items: center; justify-content: center;
}
.check-badge svg { width: 18px; height: 18px; }
.why-media { position: relative; }
.why-photo-frame {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); background: rgba(255,255,255,.06);
  box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.why-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.why-shield {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.why-shield svg { width: 34px; height: 34px; }
.why-note { margin-top: 14px; text-align: right; color: var(--teal); }

/* ---------- Stats (light band, sits between the dark Why Us section and testimonials) ---------- */
.stats-strip { background: var(--cream-2); padding-block: 40px; color: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(20,184,166,.15); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; }
.stat-icon svg { width: 22px; height: 22px; }
.stat-number { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); }
.stat-label { display: block; font-size: .85rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials-section { padding-block: 90px; position: relative; overflow: hidden; }
.testimonials-section > .container { position: relative; z-index: 1; }
.testimonials-bg { position: absolute; inset: 0 0 auto 0; height: 340px; z-index: 0; pointer-events: none; }
.testimonials-bg img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--white) 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.5) 60%, transparent 85%),
    linear-gradient(to bottom, transparent 40%, var(--white) 98%);
}
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-card);
  border: 1px solid rgba(10,30,63,.05); transition: transform .3s ease;
}
.testimonial-card:hover { transform: translateY(-8px); }
.quote-mark { font-size: 2.6rem; color: var(--teal); font-family: Georgia, serif; margin: 0 0 -.4em; }
.testimonial-text { font-size: .95rem; margin-bottom: .8em; }
.stars { color: #f5a623; letter-spacing: 2px; display: block; margin-bottom: .8em; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.testimonial-avatar-initials {
  display: flex; align-items: center; justify-content: center; background: var(--gradient-brand);
  color: #fff; font-weight: 700; font-size: .85rem;
}
.testimonial-name { font-weight: 700; color: var(--navy); margin: 0; font-size: .92rem; }
.testimonial-role { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Inner page header / generic content sections ---------- */
.page-header { padding-block: 70px 50px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); text-align: center; }
.page-header-inner { max-width: 760px; margin-inline: auto; }
.page-header-intro { font-size: 1.05rem; }
.content-section { padding-block: 70px; }
.content-section.alt-bg { background: var(--cream); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-card { display: grid; gap: 24px; background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-card); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: #fff; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-card); transition: transform .3s ease; }
.value-card:hover { transform: translateY(-8px); }
.value-card h3 { font-size: 1rem; margin: .6em 0 .3em; }
.value-card p { font-size: .88rem; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; background: #fff; border-radius: var(--radius-md); padding: 30px 20px; box-shadow: var(--shadow-card); }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.team-avatar svg { width: 36px; height: 36px; }
.team-card h3 { font-size: 1.02rem; margin-bottom: .2em; }
.team-card p { font-size: .88rem; margin: 0; color: var(--teal-dark); font-weight: 600; }

/* Numbered process steps (consulting "How We Work") */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card { background: #fff; border-radius: var(--radius-md); padding: 28px 24px; box-shadow: var(--shadow-card); position: relative; }
.process-step-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--teal); opacity: .5; line-height: 1; margin-bottom: 14px; display: block; }
.process-card h3 { font-size: 1.02rem; margin-bottom: .35em; }
.process-card p { font-size: .88rem; margin: 0; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* Trading & Compliance two-cluster layout */
.cluster-heading { margin-bottom: 24px; }
.cluster-heading h2 { font-size: 1.4rem; }
.cluster-block + .cluster-block { margin-top: 60px; }

.cta-band { background: var(--gradient-brand); padding-block: 56px; color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.contact-info h3 { margin-top: 1.4em; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.contact-list svg { width: 18px; height: 18px; color: var(--teal-dark); flex: none; }
.contact-form-wrap { background: var(--cream); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.contact-form .form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.contact-form .form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.contact-form input, .contact-form textarea {
  border: 1px solid rgba(10,30,63,.15); border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: inherit; font-size: .95rem; background: #fff; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal); }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status.success { color: var(--teal-dark); }
.form-status.error { color: #d33; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 40px; padding-block: 60px; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-icon { height: 42px; width: auto; flex: none; background: #fff; border-radius: 8px; padding: 4px 6px; }
.footer-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: .01em; }
.footer-tagline-text { font-family: var(--font-head); font-style: italic; color: var(--teal); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.footer-menu li { padding-block: 6px; }
.footer-menu a:hover { color: var(--teal); }
.footer-contact li { display: flex; align-items: center; gap: 10px; padding-block: 6px; font-size: .92rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: .75rem; text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}
.social-links a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-legal-links a:hover { color: var(--teal); }

/* ---------- Blog fallback ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); padding-bottom: 20px; }
.blog-thumb img { aspect-ratio: 16/10; object-fit: cover; }
.blog-card h2 { font-size: 1.1rem; padding-inline: 20px; margin-top: .6em; }
.blog-card p, .blog-card .link-arrow { padding-inline: 20px; }
.blog-empty { text-align: center; max-width: 480px; margin: 20px auto 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.blog-empty h2 { font-size: 1.3rem; }

/* Single blog post */
.entry-meta { font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.entry-content { max-width: 720px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
.entry-content p { margin: 0 0 1.3em; }
.entry-content h2, .entry-content h3 { margin: 1.4em 0 .5em; }
.entry-content img { border-radius: var(--radius-md); margin: 1.5em 0; }
.entry-content a { color: var(--teal-dark); text-decoration: underline; }
.entry-thumb { max-width: 900px; margin: 0 auto 40px; border-radius: var(--radius-lg); overflow: hidden; }
.entry-back { display: block; max-width: 720px; margin: 0 auto 20px; }

/* ---------- Scroll-reveal / 3D animation system ---------- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view { opacity: 1; transform: translate(0,0); }

/* ---------- Responsive ---------- */
/* Header switches to the hamburger menu at 1150px — the full desktop nav
   (6 links + logo + CTA button) genuinely does not fit in one row below
   this width, which is what caused the header to overflow/require
   horizontal scrolling on tablets (e.g. iPad landscape, 1024px) and
   large phones. This is intentionally a wider breakpoint than the
   content-grid stacking below, since the two are unrelated concerns. */
.site-header { overflow-x: hidden; }
@media (max-width: 1150px) {
  .header-top-strip {
    display: none; /* phone-number bar removed from mobile/tablet per client request */
  }
  .header-top-strip-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding-block: 6px; font-size: .74rem;
  }
  .header-tagline { color: rgba(255,255,255,.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-top-phone { display: flex; align-items: center; gap: 5px; flex: none; color: #fff; font-weight: 600; }
  .header-top-phone svg { width: 13px; height: 13px; }
  .header-inner { flex-wrap: nowrap; padding-block: 8px; }
  .primary-nav {
    position: fixed; inset: var(--header-h, 78px) 0 0 0; background: #fff; padding: 24px;
    transform: translateY(-110%); transition: transform .3s ease; z-index: 90;
    overflow-y: auto; visibility: hidden;
  }
  .primary-nav.open { visibility: visible; }
  .primary-nav.open { transform: translateY(0); }
  .nav-menu { flex-direction: column; gap: 4px; }
  .nav-menu a { display: block; padding: 14px 6px; border-bottom: 1px solid rgba(10,30,63,.06); }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: auto; height: auto; padding: 8px 12px; border-radius: 20px;
    background: rgba(10,30,63,.06); gap: 0;
  }
  .nav-toggle span { display: none; }
  .nav-toggle::after { content: "More"; font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--navy); white-space: nowrap; }
  .header-cta { display: none; }
  .mobile-quick-links { display: flex; align-items: center; gap: 14px; margin-left: auto; margin-right: 10px; }
  .mobile-quick-links a { font-size: .85rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
}

@media (max-width: 980px) {
  .hero-grid, .about-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .highlights-strip, .services-grid, .services-grid-lg, .values-grid, .team-grid, .testimonials-grid, .stats-grid, .footer-top, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .highlights-strip, .services-grid, .services-grid-lg, .values-grid, .team-grid, .testimonials-grid, .stats-grid, .footer-top, .blog-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero-media { margin-top: 28px; }
  .hero-note { top: -4%; right: 4%; font-size: .85rem; padding: 10px 14px; }
}

@media (max-width: 480px) {
  .logo-icon { height: 34px; }
  .logo-text { font-size: .88rem; max-width: 130px; }
  .header-inner { gap: 8px; padding-block: 8px; }
  .hero-note { position: static; margin-top: 12px; transform: none; display: inline-block; }
  .mobile-quick-links { gap: 10px; margin-right: 6px; }
  .mobile-quick-links a { font-size: .78rem; }
  .nav-toggle { padding: 7px 10px; }
  .header-tagline { display: none; }
  .header-top-strip-inner { justify-content: flex-end; padding-block: 5px; }
}

@media (max-width: 360px) {
  .logo-text { display: none; }
}

/* ============================================================
   "More" NAV DROPDOWN — added on top of the existing header.
   Pure addition: nothing above this line was changed, so the
   header/logo/mobile ("More" hamburger) behaviour already fixed
   earlier keeps working exactly as before on phone & tablet.

   Desktop panel uses position:fixed (coordinates set by JS on
   open) rather than position:absolute — the header has its own
   overflow-x:hidden rule (untouched, see line ~427) which, per
   the CSS overflow spec, forces the other axis to clip too. An
   absolutely-positioned panel would get cut off inside the
   header bar; a fixed panel escapes that clipping entirely and
   opens cleanly outside/below the header, like the mobile menu.
   ============================================================ */
.nav-menu li.menu-item-has-children { position: relative; }
.nav-menu .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 500; font-size: .95rem; color: var(--navy);
  position: relative; padding-block: 4px; background: none; border: none; cursor: pointer;
}
.nav-menu .dropdown-caret { width: 11px; height: 11px; flex: none; transition: transform .25s ease; }
.nav-menu li.menu-item-has-children.open > .dropdown-toggle .dropdown-caret { transform: rotate(180deg); }

.nav-menu .sub-menu {
  list-style: none; margin: 0; padding: 10px; gap: 0;
  position: fixed; top: 0; left: 0; transform: translateY(-6px);
  min-width: 240px; background: #fff; border-radius: 16px;
  box-shadow: 0 25px 55px -20px rgba(10,30,63,.32);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 500;
}
.nav-menu li.menu-item-has-children.open > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav-menu .sub-menu li { width: 100%; }
.nav-menu .sub-menu a {
  display: block; padding: 11px 14px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--navy); white-space: nowrap;
}
.nav-menu .sub-menu a:hover { background: var(--cream, #f5f8fb); }
.nav-menu .sub-menu a::after { display: none; } /* no underline-hover animation inside the panel */

/* Mobile / tablet (inside the existing off-canvas "More" panel):
   the dropdown becomes a simple inline expandable group instead of a
   floating panel — the off-canvas panel itself is untouched. */
@media (max-width: 1150px) {
  .nav-menu li.menu-item-has-children { position: static; }
  .nav-menu .dropdown-toggle {
    display: flex; width: 100%; justify-content: space-between;
    padding: 14px 6px; border-bottom: 1px solid rgba(10,30,63,.06);
  }
  .nav-menu .sub-menu {
    position: static !important; transform: none !important; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border-radius: 0; padding: 0 0 0 14px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-menu li.menu-item-has-children.open > .sub-menu { max-height: 400px; }
  .nav-menu .sub-menu a { padding: 12px 6px; border-bottom: 1px dashed rgba(10,30,63,.08); }
}
