/* ============================================================
   COMPONENTS — header, hero, sections, cards, footer
   ============================================================ */

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid #fff;
  color: var(--ink); font-style: italic; font-size: var(--fs-eyebrow);
  padding: 5px 18px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.eyebrow--plain { background: var(--maroon-wash); border-color: transparent; color: var(--maroon); font-style: normal; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { border-left: 4px solid var(--maroon); padding-left: 18px; }
.sec-head.center h2 { border: 0; padding: 0; }
.sec-head .lead { margin-top: 14px; color: var(--text-muted); font-size: var(--fs-lead); }
.sec-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; }
.sec-split .lead { color: var(--text-muted); font-size: var(--fs-lead); }
@media (max-width: 860px) { .sec-split { grid-template-columns: 1fr; gap: 14px; align-items: start; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 52px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-weight: 800; color: var(--maroon); font-size: 18px; letter-spacing: -0.01em; }
.brand__txt span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; align-items: center; gap: 22px; }
.nav__list > li { position: relative; }
.nav__list a { font-size: 15px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; transition: color 0.2s; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--maroon); }
.nav__list .caret { display: inline-flex; align-items: center; transition: transform 0.25s var(--ease); }
.nav__list .caret svg { width: 14px; height: 14px; }
.has-mega:hover .caret { transform: rotate(180deg); }

/* Mega dropdown */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px; min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); z-index: var(--z-flyout);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.mega a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--ink); }
.mega a:hover { background: var(--teal-wash); color: var(--teal-deep); }
.mega__head { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); padding: 6px 12px 4px; font-weight: 700; }
.header__cta { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--maroon); padding: 10px 18px; border: 1px solid rgba(144,17,20,0.3); border-radius: var(--r-btn); transition: background 0.2s, color 0.2s; white-space: nowrap; }
.header__phone:hover { background: var(--maroon); color: #fff; }
.header__phone svg { width: 15px; height: 15px; }
.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta .header__phone span { display: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) { .header__inner { height: 72px; } .brand img { height: 42px; } }

/* Mobile flyout */
.flyout {
  position: fixed; inset: 0; z-index: 200; background: rgba(22,22,22,0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.3s; backdrop-filter: blur(2px);
}
.flyout.open { opacity: 1; visibility: visible; }
.flyout__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw);
  background: #fff; padding: 22px; overflow-y: auto; transform: translateX(100%);
  transition: transform 0.34s var(--ease); display: flex; flex-direction: column; gap: 6px;
}
.flyout.open .flyout__panel { transform: translateX(0); }
.flyout__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.flyout__close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); padding: 4px 10px; }
.flyout details { border-bottom: 1px solid var(--line); }
.flyout summary { list-style: none; cursor: pointer; padding: 14px 4px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.flyout summary::-webkit-details-marker { display: none; }
.flyout summary::after { content: "+"; font-size: 20px; color: var(--teal); }
.flyout details[open] summary::after { content: "\2212"; }
.flyout details a { display: block; padding: 8px 14px; font-size: 14.5px; color: var(--text-muted); }
.flyout > a { padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.flyout__cta { margin-top: 16px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,27,27,0.66), rgba(27,27,27,0.78)); }
.hero__wrap { position: relative; padding-block: clamp(48px, 7vw, 92px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero__copy { max-width: 600px; }
/* (Old-hero .hero h1 / .hero__sub rules removed — v2 hero in premium.css owns
   .hero__kw + .hero__head; an old `.hero h1` rule out-specificities .hero__kw.) */

/* Hero form card */
.hero-form {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(3px);
  border-radius: var(--r-card); padding: clamp(22px, 2.2vw, 34px);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px;
}
.hero-form__head { color: var(--maroon); font-size: clamp(24px, 2.4vw, 32px); border-left: 2px solid var(--maroon); padding-left: 12px; }
.hero-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .hero-form .grid2 { grid-template-columns: 1fr; } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-form { max-width: 520px; }
}

/* Trust bar */
.trustbar { background: var(--ink-2); }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 22px; position: relative; }
.trust-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 52px; background: rgba(255,255,255,0.16); }
.trust-item svg, .trust-item img { width: 44px; height: 44px; flex: none; }
.trust-item b { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 800; color: #fff; line-height: 1; }
.trust-item span { font-size: 15px; color: var(--text-on-dark-muted); }
@media (max-width: 860px) {
  .trustbar__inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2)::after { display: none; }
  .trust-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 480px) { .trustbar__inner { grid-template-columns: 1fr; } .trust-item::after { display: none !important; } }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-card); display: flex; }
.svc-card__img { position: absolute; inset: 0; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.25)); }
.svc-card__label {
  position: relative; margin: auto 20px 24px; background: var(--cream);
  border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  align-self: flex-end; width: calc(100% - 40px); box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease);
}
.svc-card:hover .svc-card__label { transform: translateY(-4px); }
.svc-card__icon { width: 44px; height: 44px; flex: none; color: var(--teal); }
.svc-card__txt b { display: block; color: var(--maroon); font-weight: 800; font-size: 18px; line-height: 1.1; }
.svc-card__txt a { color: var(--ink); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.svc-card__txt a svg { width: 16px; height: 16px; color: var(--teal); }

/* Featured solid card */
.svc-card--feature { background: var(--teal); color: #fff; padding: 36px; flex-direction: column; }
.svc-card--feature .svc-card__icon { color: #fff; width: 64px; height: 64px; margin-bottom: 18px; }
.svc-card--feature h3 { color: #fff; }
.svc-card--feature p { color: rgba(255,255,255,0.86); margin-top: 12px; font-size: 15px; }
.svc-card--feature .feat-arrow { margin-top: auto; align-self: flex-end; width: 56px; height: 56px; border-radius: 12px; background: var(--cream); color: var(--maroon); display: grid; place-items: center; transition: transform var(--dur) var(--ease); }
.svc-card--feature:hover .feat-arrow { transform: translateX(4px); }
.svc-card--feature .feat-arrow svg { width: 22px; height: 22px; }

/* ---------- About / story split ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.story__media { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__copy p { color: var(--text-muted); margin-top: 16px; }
.story__copy p:first-of-type { margin-top: 18px; }
.story__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.story--rev .story__media { order: 2; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story--rev .story__media { order: 0; } }

/* ---------- Values / why tabs ---------- */
.why { position: relative; background: var(--teal-deep); color: #fff; overflow: hidden; }
.why__bg { position: absolute; inset: 0; opacity: 0.16; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; }
.why__top { position: relative; text-align: center; padding-top: clamp(40px, 5vw, 64px); }
.why__icon { width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,0.16); display: grid; place-items: center; margin: 0 auto 18px; }
.why__icon svg { width: 48px; height: 48px; color: #fff; }
.why__top h2 { color: #fff; max-width: 560px; margin-inline: auto; }
.why__tabs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.why__tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--r-btn); background: var(--cream); color: var(--maroon); font-weight: 700; border: 0; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.why__tab svg { width: 18px; height: 18px; }
.why__tab[aria-selected="true"] { background: var(--maroon); color: #fff; }
.why__panel-wrap { background: #fff; color: var(--ink); margin-top: clamp(30px, 4vw, 56px); }
.why__panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 5vw, 72px); }
.why__panel[hidden] { display: none; }
.why__media { position: relative; }
.why__media img { border-radius: var(--r-card); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why__media .stamp { position: absolute; left: -18px; bottom: -18px; background: var(--cream); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-md); }
.why__media .stamp b { display: block; color: var(--maroon); font-size: 26px; line-height: 1; }
.why__media .stamp span { font-size: 13px; color: var(--text-muted); }
.why__panel h3 { font-size: var(--fs-h2); }
.why__panel p { color: var(--text-muted); margin-top: 14px; }
.why__panel .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 860px) { .why__panel { grid-template-columns: 1fr; } .why__media .stamp { left: 12px; } }

/* ---------- Reviews ---------- */
.reviews { position: relative; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.reviews__mark { flex: none; width: 96px; height: 96px; border-radius: 16px; background: var(--maroon); color: #fff; display: grid; place-items: center; font-size: 64px; font-family: Georgia, serif; line-height: 0.6; }
.reviews__band { position: absolute; left: 0; right: 0; bottom: 40px; height: 64px; background: var(--maroon); }
.review-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
@media (max-width: 980px) { .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .reviews__band { display: none; } }
.review-card { background: #fff; border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 22px; }
.review-card p { color: var(--text-muted); font-size: 15.5px; }
.review-card__by { display: flex; align-items: center; gap: 16px; }
.review-card__av { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); flex: none; overflow: hidden; }
.review-card__av img { width: 100%; height: 100%; object-fit: cover; }
.review-card__by b { color: var(--maroon); font-weight: 800; display: block; }
.stars { display: inline-flex; gap: 3px; margin-top: 4px; }
.stars svg { width: 18px; height: 18px; color: var(--star); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.post-card { background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform var(--dur) var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card__img { position: relative; aspect-ratio: 16/11; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__badge { position: absolute; top: 16px; right: 16px; background: var(--maroon); color: #fff; border-radius: 8px; padding: 8px 10px; text-align: center; line-height: 1; }
.post-card__badge b { display: block; font-size: 16px; font-weight: 800; }
.post-card__badge span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__body h3 { font-size: 18px; line-height: 1.25; }
.post-card__body p { color: var(--text-muted); font-size: 14.5px; }
.post-card__more { margin-top: auto; color: var(--maroon); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.post-card__more svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- Contact band (above footer) ---------- */
.contact-band { position: relative; }
.contact-band__map { position: absolute; inset: 0; overflow: hidden; }
.contact-band__map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.95; }
.contact-band__map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,246,241,0) 40%, var(--ink-2)); }
.contact-card { position: relative; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: hidden; }
.contact-card__item { padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.contact-card__item:not(:last-child) { border-right: 1px solid var(--line); }
.contact-card__icon { width: 48px; height: 48px; color: var(--maroon); }
.contact-card__icon svg { width: 48px; height: 48px; }
.contact-card__item b { color: var(--maroon); font-weight: 800; font-size: 17px; }
.contact-card__item a, .contact-card__item span { color: var(--text-muted); }
.contact-card__item a:hover { color: var(--teal); }
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } .contact-card__item:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); color: var(--text-on-dark-muted); padding-top: clamp(48px, 6vw, 80px); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; }
.footer__brand img { height: 56px; margin-bottom: 16px; }
.footer__tag { font-size: 14.5px; max-width: 380px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; transition: background 0.2s, transform 0.2s; }
.footer__social a:hover { background: var(--teal-light); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__ratings { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.rating-badge { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 8px 12px; }
.rating-badge svg { width: 18px; height: 18px; }
.rating-badge b { color: #fff; font-size: 14px; }
.rating-badge .stars svg { width: 12px; height: 12px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 14px; transition: color 0.2s; }
.footer__col a:hover { color: var(--teal-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: clamp(36px, 4vw, 56px); padding-block: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.footer__bottom a:hover { color: var(--teal-light); }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 1080px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: var(--z-mobilecta); box-shadow: 0 -6px 20px rgba(0,0,0,0.16);
  }
  .mobile-cta a { padding: 15px; text-align: center; font-weight: 700; font-size: 15px; color: #fff; }
  .mobile-cta .call { background: var(--maroon); }
  .mobile-cta .book { background: var(--teal); }
  body { padding-bottom: 56px; }
}
