/* ==========================================================================
   Agapeleo Business and Accounting Services Co. — site styles
   Design system: design-system/agapeleo/MASTER.md + pages/brand-overrides.md
   ========================================================================== */

:root {
  --navy: #1B2F7A;
  --navy-deep: #0F1C4D;
  --navy-soft: #27419A;
  --steel: #3E6B8E;
  --red: #C8102E;
  --red-hover: #A50D25;
  --orange: #F26B21;
  --gold: #D4A017;

  --bg: #F7F8FC;
  --fg: #0F172A;
  --card: #FFFFFF;
  --muted: #EEF1F8;
  --muted-fg: #5B6478;
  --border: #DCE1EC;
  --ring: #1B2F7A;

  --font-head: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px -4px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, 0.22);
  --shadow-xl: 0 30px 60px -20px rgba(15, 28, 77, 0.45);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 180ms;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; color: var(--navy-deep); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 1000; transition: top var(--dur); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.filled { fill: currentColor; stroke: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--muted { background: var(--muted); }
.section--navy { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #22398f); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted-fg); font-size: 1.125rem; margin: 0; }
.section--navy .section-head p { color: rgba(255,255,255,0.78); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.section--navy .eyebrow { color: #fff; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; border: 2px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur), color var(--dur), border-color var(--dur);
  will-change: transform;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(200, 16, 46, 0.7); }
.btn--primary:hover { background: var(--red-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(200, 16, 46, 0.75); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-deep); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-deep); }
.btn--white:hover { background: #fff; color: var(--red); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease), backdrop-filter 240ms;
  color: #fff;
}
.header.is-scrolled, .header.is-light { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border), var(--shadow-sm); color: var(--navy-deep); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-height: 44px; }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255,255,255,0.9), var(--shadow-sm); background: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em; color: var(--red); }
.brand__sub { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; opacity: 0.85; margin-top: 4px; }
.header:not(.is-scrolled):not(.is-light) .brand__name { color: #fff; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.95rem; text-decoration: none; color: inherit; opacity: 0.9; transition: background-color var(--dur), opacity var(--dur); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { opacity: 1; background: rgba(255,255,255,0.12); color: inherit; }
.header.is-scrolled .nav a:hover, .header.is-light .nav a:hover { background: var(--muted); color: var(--navy); }
.header__cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: inherit; }
.header.is-scrolled .nav-toggle, .header.is-light .nav-toggle { border-color: var(--border); background: #fff; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--navy-deep); color: #fff; padding: 24px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms; overflow-y: auto; }
.drawer.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.drawer a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 1.35rem; font-family: var(--font-head); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.12); min-height: 56px; }
.drawer a:hover { color: #ffd0d8; }
.drawer__cta { margin-top: 24px; display: grid; gap: 12px; }
.drawer__contact { margin-top: 32px; font-size: 0.95rem; color: rgba(255,255,255,0.75); display: grid; gap: 8px; }
.drawer__contact a { border: 0; padding: 0; font-family: var(--font-body); font-size: 1rem; min-height: 44px; justify-content: flex-start; gap: 10px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 96px));
  padding-bottom: clamp(96px, 12vw, 160px);
  background: radial-gradient(1200px 600px at 85% -10%, rgba(200,16,46,0.45), transparent 60%),
              radial-gradient(800px 500px at -10% 110%, rgba(242,107,33,0.35), transparent 60%),
              linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #27419A 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%); pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 24px; backdrop-filter: blur(6px); }
.hero__kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,0.25); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #FFD3DA; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--gold); width: 1.1em; height: 1.1em; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.15); aspect-ratio: 4 / 5; background: #11204f; transform: rotate(-2deg); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(closest-side, rgba(242,107,33,0.35), transparent); filter: blur(30px); z-index: -1; pointer-events: none; }
.float-card { position: absolute; background: #fff; color: var(--navy-deep); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 0.9rem; line-height: 1.25; }
.float-card strong { display: block; font-size: 1.05rem; color: var(--navy-deep); }
.float-card .icon { color: var(--red); width: 28px; height: 28px; }
.float-card--a { left: -8%; bottom: 14%; }
.float-card--b { right: -6%; top: 10%; }
.float-card__badge { width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(from 200deg, #f6d365, #d4a017, #f9e79f, #c9971a, #f6d365); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: #4b3300; box-shadow: inset 0 0 0 3px rgba(255,255,255,0.6); }
@media (max-width: 599px) {
  .float-card--a { left: 0; bottom: -18px; }
  .float-card--b { right: 0; top: -18px; }
  .hero__visual { margin-top: 24px; margin-bottom: 24px; }
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero__visual { justify-self: end; width: min(100%, 460px); }
}

/* ---------- Stats band ---------- */
.stats { position: relative; z-index: 2; margin-top: clamp(-72px, -7vw, -56px); }
.stats__grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.stat { background: var(--card); padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-family: var(--font-head); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; color: var(--navy-deep); line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.stat__value .icon { color: var(--gold); width: 0.8em; height: 0.8em; align-self: center; }
.stat__label { color: var(--muted-fg); font-size: 0.95rem; }
.stat__label a { color: inherit; }
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.about__badge { position: absolute; left: 20px; bottom: -22px; background: var(--navy-deep); color: #fff; padding: 14px 18px; border-radius: 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); }
.about__badge strong { font-family: var(--font-head); font-size: 1.8rem; line-height: 1; color: var(--gold); }
.about__badge span { font-size: 0.85rem; line-height: 1.2; color: rgba(255,255,255,0.85); }
.about__list { display: grid; gap: 12px; margin-top: 24px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; }
.about__list .icon { color: var(--red); margin-top: 3px; }
.about__list strong { color: var(--navy-deep); }
@media (min-width: 960px) { .about { grid-template-columns: 1.05fr 1fr; gap: 72px; } }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 24px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.service-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--orange)); opacity: 0; transition: opacity var(--dur); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { opacity: 1; }
.service-card__icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(145deg, #fff0f2, #ffe4e8); color: var(--red); display: grid; place-items: center; }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card h3 { margin: 0; }
.service-card p { color: var(--muted-fg); margin: 0; }
.service-card__list { display: grid; gap: 10px; }
.service-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
.service-card__list .icon { color: var(--navy); width: 20px; height: 20px; margin-top: 2px; }
.service-card__foot { margin-top: auto; padding-top: 8px; }
.service-card__foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.service-card__foot a .icon { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.service-card__foot a:hover .icon { transform: translateX(4px); }
@media (min-width: 760px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--border); font-size: 0.92rem; font-weight: 700; color: var(--navy-deep); }
.chip .icon { color: var(--orange); width: 16px; height: 16px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 24px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.price-card--featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); }
.price-card__tag { position: absolute; top: -14px; left: 24px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); }
.price-card h3 { margin: 0; }
.price-card__amount { font-family: var(--font-head); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 700; color: var(--navy-deep); line-height: 1; }
.price-card__amount small { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--muted-fg); }
.price-card p { color: var(--muted-fg); margin: 0; }
.price-card ul { display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li .icon { color: var(--red); width: 20px; height: 20px; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.pricing-note { margin-top: 24px; font-size: 0.92rem; color: var(--muted-fg); max-width: 760px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1.15fr 1fr 1fr; } }

/* ---------- Why us ---------- */
.why { display: grid; gap: 40px; align-items: center; }
.why__media { position: relative; }
.why__media img { border-radius: var(--radius); box-shadow: var(--shadow-xl); width: 100%; aspect-ratio: 1; object-fit: cover; }
.why__grid { display: grid; gap: 20px; }
.why__item { display: flex; gap: 16px; padding: 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; transition: background-color var(--dur); }
.why__item:hover { background: rgba(255,255,255,0.1); }
.why__item .icon { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.why__item h3 { font-size: 1.25rem; margin: 0 0 6px; }
.why__item p { margin: 0; color: rgba(255,255,255,0.78); font-size: 0.98rem; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

/* ---------- Process ---------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--red); opacity: 0.18; position: absolute; top: 12px; right: 20px; line-height: 1; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted-fg); margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter { min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--card); color: var(--navy-deep); font-weight: 700; font-size: 0.95rem; transition: background-color var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.filter:hover { transform: translateY(-2px); border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter__count { font-size: 0.8rem; opacity: 0.7; }
.gallery { columns: 1; column-gap: 18px; }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 900px) { .gallery { columns: 3; } }
@media (min-width: 1200px) { .gallery { columns: 4; } }
.gallery__item { break-inside: avoid; margin: 0 0 18px; display: block; width: 100%; border: 0; padding: 0; background: var(--muted); border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform 500ms var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,28,77,0.75), transparent 55%); opacity: 0; transition: opacity var(--dur); }
.gallery__item:hover, .gallery__item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; font-size: 0.85rem; font-weight: 700; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity var(--dur), transform var(--dur) var(--ease); z-index: 1; text-align: left; }
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.gallery__empty { text-align: center; color: var(--muted-fg); padding: 40px 0; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(10, 16, 40, 0.92); backdrop-filter: blur(6px); }
.lightbox__inner { position: fixed; inset: 0; display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(56px, 8vw, 96px); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow-xl); }
.lightbox__cap { padding: 16px var(--gutter) 22px; text-align: center; font-size: 1rem; color: rgba(255,255,255,0.9); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; display: grid; place-items: center; transition: background-color var(--dur); }
.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__btn--prev { left: clamp(8px, 2vw, 24px); }
.lightbox__btn--next { right: clamp(8px, 2vw, 24px); }
.lightbox__close { position: static; transform: none; }

/* ---------- Reels ---------- */
.reels { position: relative; }
.reels__rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.reel { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; background: #0b1440; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; background: #0b1440; }
.reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__meta { padding: 14px 16px 16px; color: #fff; display: grid; gap: 10px; }
.reel__meta p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.4; }
.reel__meta a { color: #fff; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 44px; }
.reel__meta a .icon { width: 1em; height: 1em; }
.reel__meta a:hover { color: #ffd0d8; }
.reels__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.reels__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--navy-deep); display: grid; place-items: center; transition: background-color var(--dur), color var(--dur); }
.reels__nav button:hover { background: var(--navy); color: #fff; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 24px; }
.rating-card { background: var(--navy-deep); color: #fff; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.rating-card__score { font-family: var(--font-head); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--gold); }
.rating-card__stars { display: flex; gap: 2px; color: var(--gold); }
.rating-card p { color: rgba(255,255,255,0.8); margin: 0; }
.rating-card a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.rating-card a .icon { width: 1em; height: 1em; }
.review { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review .icon--quote { color: var(--red); opacity: 0.35; width: 32px; height: 32px; }
.review__stars { display: flex; gap: 2px; color: var(--gold); }
.review__stars .icon { width: 18px; height: 18px; }
.review p { margin: 0; color: var(--fg); }
.review footer { margin-top: auto; font-size: 0.9rem; color: var(--muted-fg); }
.review footer strong { color: var(--navy-deep); display: block; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: 0.9fr 1fr 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow var(--dur); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.05rem; color: var(--navy-deep); display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--red); transition: transform 200ms var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 22px; color: var(--muted-fg); }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- Booking ---------- */
.booking { display: grid; gap: 40px; align-items: start; }
.booking__info { display: grid; gap: 20px; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.85); }
.info-list .icon { color: var(--gold); margin-top: 3px; }
.info-list strong { color: #fff; display: block; }
.notice { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 18px; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.notice strong { color: #fff; }
.form-card { background: var(--card); color: var(--fg); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-xl); }
.form-card h3 { margin-bottom: 4px; }
.form-card > p { color: var(--muted-fg); margin-bottom: 24px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--navy-deep); }
.field .hint { font-size: 0.85rem; color: var(--muted-fg); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; color: var(--fg); font: inherit; transition: border-color var(--dur), box-shadow var(--dur); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,47,122,0.15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #DC2626; }
.field .error { display: none; font-size: 0.85rem; color: #B91C1C; font-weight: 700; }
.field.is-invalid .error { display: block; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-foot { font-size: 0.85rem; color: var(--muted-fg); margin-top: 8px; }
.form-foot a { color: var(--navy); }
.form-summary { display: none; }
.form-card.is-submitted .form-grid, .form-card.is-submitted .form-foot { display: none; }
.form-card.is-submitted .form-summary { display: block; }
.summary-box { background: var(--muted); border-radius: 12px; padding: 18px 20px; margin: 16px 0 20px; white-space: pre-wrap; font-size: 0.95rem; line-height: 1.55; }
.summary-actions { display: grid; gap: 12px; }
.summary-actions .btn { width: 100%; }
.summary-note { font-size: 0.9rem; color: var(--muted-fg); margin-top: 16px; }
.summary-note strong { color: var(--navy-deep); }
.link-btn { background: none; border: 0; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 12px 0; min-height: 44px; }
.link-btn:hover { color: var(--red); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy-deep); color: #fff; padding: 12px 18px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); font-weight: 700; opacity: 0; pointer-events: none; transition: opacity 200ms, transform 200ms var(--ease); z-index: 200; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1000px) { .booking { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 24px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; background: #fff0f2; color: var(--red); display: grid; place-items: center; }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card h3 { margin: 0; font-size: 1.3rem; }
.contact-card p { margin: 0; color: var(--muted-fg); }
.contact-card a { text-decoration: none; font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.contact-card ul { display: grid; gap: 2px; }
.hours { display: grid; gap: 6px; font-size: 0.98rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours div:last-child { border: 0; }
.hours .closed { color: var(--red); font-weight: 700; }
.map { margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--muted); }
.map iframe { width: 100%; height: clamp(300px, 40vw, 440px); border: 0; display: block; }
.map__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--card); font-size: 0.95rem; color: var(--muted-fg); }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 90% 0%, rgba(242,107,33,0.35), transparent 60%), linear-gradient(135deg, var(--red) 0%, #9d0c23 100%); color: #fff; }
.cta__inner { display: grid; gap: 24px; align-items: center; text-align: center; }
.cta h2 { color: #fff; margin: 0; }
.cta p { color: rgba(255,255,255,0.88); margin: 0; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1fr auto; text-align: left; } .cta__actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.78); padding: 64px 0 28px; font-size: 0.95rem; }
.footer__grid { display: grid; gap: 36px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.85); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: 8px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { display: grid; gap: 8px; }
.footer .brand__name { color: #fff; }
.footer__about p { margin: 16px 0 0; max-width: 360px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: background-color var(--dur), border-color var(--dur); }
.social a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- Legal pages ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; padding: calc(var(--header-h) + 56px) 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); margin: 0; }
.draft-banner { background: #FFF7E0; border: 1px solid #F2D583; color: #6B4E00; border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; margin: 0 0 32px; display: flex; gap: 12px; align-items: flex-start; }
.draft-banner .icon { color: #B7791F; margin-top: 3px; }
.legal { max-width: 800px; margin-inline: auto; }
.legal h2 { font-size: 1.7rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.25rem; margin-top: 1.6em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal p, .legal li { color: #2b3445; }
.legal .meta { color: var(--muted-fg); font-size: 0.9rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

/* ---------- Reveal animations (progressively enhanced) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(24px); }
  html.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  html.js.has-gsap .reveal.is-visible { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__frame { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .drawer, .cta, .reels, .lightbox, .toast, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { background: #fff; color: #000; padding-top: 0; }
  .hero h1, .hero h1 em { color: #000; }
}
