/* ===================================================================
   Royal Health Group LLC — Stylesheet
   Brand: Royal Navy (#14245c) + Antique Gold (#c79a3b)
   =================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy-900: #0e1b46;
  --navy-800: #14245c;
  --navy-700: #1b2f72;
  --navy-600: #243f8f;
  --navy-500: #2f4fa8;
  --navy-50:  #eef2fb;

  --gold-600: #a87f2c;
  --gold-500: #c79a3b;
  --gold-400: #d7b35c;
  --gold-300: #e6cd8a;
  --gold-50:  #faf3e2;

  --ink:      #1d2334;
  --muted:    #5a6478;
  --line:     #e6eaf2;
  --bg:       #ffffff;
  --bg-alt:   #f5f8fd;
  --cream:    #fbf8f1;

  --radius:   16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(20, 36, 92, .06);
  --shadow:    0 14px 40px rgba(20, 36, 92, .10);
  --shadow-lg: 0 30px 70px rgba(20, 36, 92, .16);
  --gold-grad: linear-gradient(135deg, #d7b35c 0%, #c79a3b 45%, #a87f2c 100%);
  --navy-grad: linear-gradient(135deg, #1b2f72 0%, #14245c 55%, #0e1b46 100%);

  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--navy-800); }

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

.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.text-gold { color: var(--gold-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: .98rem; letter-spacing: .2px;
  padding: .8em 1.5em; border-radius: 50px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn--lg { padding: .95em 1.9em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); color: #2a2106; box-shadow: 0 10px 26px rgba(199, 154, 59, .38); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(199, 154, 59, .5); }
.btn--navy { background: var(--navy-grad); color: #fff; box-shadow: 0 10px 26px rgba(20, 36, 92, .3); }
.btn--navy:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 36, 92, .42); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); transform: translateY(-3px); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: var(--navy-800); transform: translateY(-3px); }

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 1rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-300); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(199,154,59,.18); }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-grad); position: relative; overflow: hidden; }
.section__head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.section__title { font-size: clamp(1.85rem, 3.6vw, 2.85rem); letter-spacing: -.01em; }
.section__title--light { color: #fff; }
.section__sub { color: var(--muted); font-size: 1.08rem; margin-top: .9rem; }
.section__sub--light { color: rgba(255,255,255,.78); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.82); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 12px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; transition: color .2s; }
.topbar a.topbar__item:hover { color: var(--gold-300); }
.topbar__divider { opacity: .35; }
.topbar__phone { font-weight: 600; color: #fff; }
.topbar__short { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, padding .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 120px; transition: min-height .3s; }
.header.scrolled .header__inner { min-height: 98px; }
.brand__logo { height: 98px; width: auto; transition: height .3s; }
.header.scrolled .brand__logo { height: 78px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-weight: 500; font-size: .96rem; color: var(--navy-800);
  padding: .55em .85em; border-radius: 8px; position: relative; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: .85em; right: .85em; bottom: .25em; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
  border-radius: 2px;
}
.nav__link:hover { color: var(--gold-600); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--gold-600); }
.nav__cta { margin-left: 10px; }
.nav__cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; border-radius: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-800); border-radius: 3px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(199,154,59,.16), transparent 62%); border-radius: 50%;
}
.hero__bg::after {
  content: ""; position: absolute; bottom: -35%; left: -12%; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(36,63,143,.12), transparent 60%); border-radius: 50%;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center;
  padding: clamp(48px, 7vw, 96px) 24px clamp(60px, 8vw, 104px);
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -.02em; margin: .35rem 0 1.1rem; }
.hero__lead { font-size: 1.16rem; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; font-size: .95rem; color: var(--navy-700); }
.ic-check { width: 1.25em; height: 1.25em; fill: #fff; background: var(--gold-500); border-radius: 50%; padding: 3px; box-sizing: border-box; }

/* Hero visual */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__emblem-wrap { position: relative; width: min(440px, 82%); aspect-ratio: 1; display: grid; place-items: center; }
.hero__emblem-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(214,179,92,.22), rgba(36,63,143,.06) 58%, transparent 72%);
}
.hero__glow {
  position: absolute; inset: 4%; border-radius: 50%;
  border: 1.5px dashed rgba(199,154,59,.45); animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__emblem {
  position: relative; width: 72%; aspect-ratio: 1; object-fit: contain;
  background: #fff; border-radius: 50%; padding: 7%;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(199,154,59,.22);
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 13px 17px; border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--line); animation: floaty 5s ease-in-out infinite;
}
.float-card__text { display: flex; flex-direction: column; line-height: 1.25; }
.float-card__text strong { font-size: .95rem; color: var(--navy-800); }
.float-card__text span { font-size: .78rem; color: var(--muted); }
.float-card--rating { top: 8%; left: -4%; }
.float-card--badge { bottom: 10%; right: -6%; animation-delay: 1.4s; }
.float-card__icon { width: 38px; height: 38px; border-radius: 11px; background: var(--navy-grad); display: grid; place-items: center; }
.float-card__icon svg { width: 21px; height: 21px; fill: var(--gold-400); }
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: .95rem; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Value strip ---------- */
.strip { background: var(--navy-grad); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 34px 24px; }
.strip__item { text-align: center; color: #fff; padding: 6px 12px; position: relative; }
.strip__item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.16); }
.strip__num { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--gold-400); }
.strip__label { font-size: .92rem; color: rgba(255,255,255,.8); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 26px; }
.grid--services { grid-template-columns: repeat(4, 1fr); }
.grid--why { grid-template-columns: repeat(4, 1fr); }
.grid--testimonials { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service { position: relative; overflow: hidden; }
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon { width: 58px; height: 58px; border-radius: 15px; background: var(--navy-50); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s; }
.service__icon svg { width: 30px; height: 30px; fill: var(--navy-600); transition: fill .3s; }
.service:hover .service__icon { background: var(--navy-grad); }
.service:hover .service__icon svg { fill: var(--gold-400); }
.service__title { font-size: 1.22rem; margin-bottom: .55rem; }
.service p { color: var(--muted); font-size: .96rem; }

.service--cta { background: var(--navy-grad); border-color: transparent; }
.service--cta .service__title, .service--cta p { color: #fff; }
.service--cta p { color: rgba(255,255,255,.78); }
.service__icon--gold { background: rgba(255,255,255,.12); }
.service__icon--gold svg { fill: none; stroke: var(--gold-400); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service:hover.service--cta .service__icon { background: var(--gold-grad); }
.service:hover.service--cta .service__icon svg { stroke: var(--navy-900); }
.service__cta-link { display: inline-block; margin-top: 14px; color: var(--gold-300); font-weight: 600; font-size: .92rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__visual { position: relative; }
.about__panel {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 38%, #fff, #f3f6fc 70%, #e9eef9);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center;
  overflow: hidden;
}
.about__panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(circle at 18% 12%, rgba(199,154,59,.14), transparent 30%),
    radial-gradient(circle at 85% 88%, rgba(36,63,143,.12), transparent 32%);
}
.about__emblem { width: 60%; aspect-ratio: 1; object-fit: contain; position: relative; background: #fff; border-radius: 50%; padding: 7%; box-shadow: 0 16px 36px rgba(20,36,92,.16), inset 0 0 0 1px rgba(199,154,59,.2); }
.about__panel-badge {
  position: absolute; bottom: 22px; display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy-grad); color: #fff; padding: 11px 20px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; box-shadow: var(--shadow);
}
.about__panel-badge svg { width: 18px; height: 18px; fill: var(--gold-400); }
.about__chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.about__chip strong { color: var(--gold-600); font-size: 1.05rem; font-family: var(--font-head); }
.about__chip span { font-size: .8rem; color: var(--muted); }
.about__chip--1 { top: 8%; right: -8%; }
.about__chip--2 { bottom: 14%; left: -9%; animation-delay: 1.8s; }

.about__content > p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.04rem; }
.check-list { margin: 1.6rem 0 2rem; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: .7em; font-weight: 500; color: var(--navy-800); }
.check-list .ic-check { margin-top: 3px; }

/* ---------- Process ---------- */
.grid--process { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.process { text-align: center; padding: 14px 26px; position: relative; }
.process__num {
  display: inline-grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px;
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--gold-600);
  background: var(--gold-50); border: 2px dashed var(--gold-400); border-radius: 50%;
}
.process__title { font-size: 1.28rem; margin-bottom: .5rem; }
.process p { color: var(--muted); font-size: .98rem; }
.process__connector { align-self: flex-start; margin-top: 52px; width: 100%; min-width: 30px; height: 2px;
  background-image: linear-gradient(90deg, var(--gold-400) 55%, transparent 0); background-size: 14px 2px; }

/* ---------- Conditions ---------- */
.section--navy::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(199,154,59,.12), transparent 62%); border-radius: 50%; pointer-events: none;
}
.conditions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; max-width: 920px; margin: 0 auto; position: relative; }
.condition {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff;
  padding: .7em 1.25em; border-radius: 50px; font-weight: 500; font-size: .97rem;
  transition: background .25s, border-color .25s, transform .25s, color .25s; cursor: default;
}
.condition:hover { background: var(--gold-grad); border-color: transparent; color: #2a2106; transform: translateY(-3px); }
.conditions__note { text-align: center; color: rgba(255,255,255,.78); margin-top: 32px; position: relative; }
.conditions__note a { color: var(--gold-300); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- Features (Why) ---------- */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.feature__icon { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold-50); display: grid; place-items: center; }
.feature__icon svg { width: 32px; height: 32px; fill: var(--gold-600); }
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: 6px; right: 26px; font-family: var(--font-head); font-size: 5rem; color: var(--gold-300); line-height: 1; opacity: .7; }
.testimonial .stars { margin-bottom: 14px; font-size: 1.05rem; }
.testimonial blockquote { font-size: 1.04rem; color: var(--ink); margin-bottom: 22px; }
.testimonial figcaption { display: flex; align-items: center; gap: 13px; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-grad); color: var(--gold-300); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.testimonial figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial figcaption strong { color: var(--navy-800); }
.testimonial figcaption em { font-style: normal; font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro p { color: var(--muted); margin: 1rem 0 1.8rem; }
.faq__list { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-300); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy-800);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.04rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--gold-500); transition: transform .3s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 20px; }
.faq__answer p { color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--navy-grad); position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; top: -40%; left: 8%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(199,154,59,.18), transparent 62%); border-radius: 50%; }
.cta-banner::after { content: ""; position: absolute; bottom: -50%; right: 4%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(47,79,168,.3), transparent 62%); border-radius: 50%; }
.cta-banner__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: clamp(44px, 6vw, 70px) 24px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-banner p { color: rgba(255,255,255,.8); margin-top: .6rem; max-width: 540px; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact__info > p { color: var(--muted); margin: .9rem 0 2rem; font-size: 1.05rem; }
.contact__list { display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ic { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--gold-50); display: grid; place-items: center; }
.contact__ic svg { width: 23px; height: 23px; fill: var(--gold-600); }
.contact__list strong { display: block; color: var(--navy-800); margin-bottom: 2px; font-family: var(--font-head); font-size: 1.05rem; }
.contact__list a, .contact__hours { color: var(--muted); transition: color .2s; }
.contact__list a:hover { color: var(--gold-600); }

.contact__form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.contact__form h3 { font-size: 1.5rem; }
.form__hint { color: var(--muted); margin: .35rem 0 1.6rem; font-size: .96rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy-800); margin-bottom: .4rem; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 11px; background: var(--bg-alt);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa3b4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); background: #fff; box-shadow: 0 0 0 4px rgba(199,154,59,.14); }
.field textarea { resize: vertical; min-height: 110px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d65a4a; background: #fdf3f1; }
.form__status { margin-top: 14px; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form__status.success { color: #1e7e46; }
.form__status.error { color: #c0392b; }
.form__privacy { margin-top: 14px; font-size: .8rem; color: var(--muted); line-height: 1.5; }

.map { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.15) contrast(1.02); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: clamp(50px, 6vw, 76px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer__emblem { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; }
.footer__name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.32rem; line-height: 1.15; }
.footer__name em { color: var(--gold-400); font-style: normal; font-size: .75em; }
.footer__tag { font-size: .94rem; max-width: 330px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--gold-grad); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; fill: #fff; }
.footer__social a:hover svg { fill: var(--navy-900); }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-family: var(--font-head); }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: .94rem; transition: color .2s, padding .2s; }
.footer__col a:hover { color: var(--gold-300); padding-left: 4px; }
.footer__hours-mini { margin-top: 16px; font-size: .9rem; line-height: 1.7; }
.footer__hours-mini strong { color: rgba(255,255,255,.92); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer__disclaimer { color: rgba(255,255,255,.5); max-width: 560px; text-align: right; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy-grad); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 24px; height: 24px; fill: var(--gold-400); }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--services, .grid--why { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar__hours { display: none; }
}

@media (max-width: 960px) {
  /* Compact-width header + menu. Removing backdrop-filter is essential: a non-none
     backdrop-filter makes the header a containing block for the fixed menu,
     which would trap it inside the header instead of filling the screen.
     This breakpoint is wider than the layout one below so the (wide) nav
     collapses to the hamburger before it can collide with the bigger logo. */
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2px; background: #fff; padding: 90px 24px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: .55em 1em; font-size: 1.5rem; border-bottom: none; border-radius: 8px; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 22px 0 0; font-size: 1.1rem; padding: .9em 2.1em; }
  .nav-toggle { display: flex; z-index: 110; }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { order: -1; min-height: 330px; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .about__visual { max-width: 420px; margin: 0 auto 20px; }
  .grid--process { grid-template-columns: 1fr; gap: 30px; }
  .process__connector { display: none; }
  .footer__disclaimer { text-align: left; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand__logo { height: 80px; }
  .header.scrolled .brand__logo { height: 66px; }
  .header__inner { min-height: 102px; }
  .header.scrolled .header__inner { min-height: 86px; }
  .topbar__left .topbar__item:not(:first-child), .topbar__divider, .topbar__right .topbar__item:not(.topbar__phone) { display: none; }
  .topbar__full { display: none; }
  .topbar__short { display: inline; }
  .topbar__item { white-space: nowrap; }
  .topbar { font-size: .8rem; }
  .topbar__inner { justify-content: center; gap: 18px; }
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .strip__item:nth-child(2)::after { display: none; }
  .grid--services, .grid--why, .grid--testimonials { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .form__row { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .float-card--rating { left: 0; top: 2%; }
  .float-card--badge { right: 0; bottom: 4%; }
  .about__chip--1 { right: 0; }
  .about__chip--2 { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
