/* ============================================================
   AVERDENO — Luxury Medical & Wellness near Casino Resorts
   Design system: minimalistic luxury, medical precision
   ============================================================ */

:root {
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #ebebeb;
  --gray-300: #dcdcdc;
  --gray-400: #b8b8b8;
  --gray-600: #6f6f6f;
  --gray-800: #333333;
  --ink: #1d1d1d;

  --line: rgba(51, 51, 51, 0.1);
  --line-soft: rgba(51, 51, 51, 0.06);

  --grad-soft: linear-gradient(135deg, #ffffff 0%, #f5f5f5 55%, #ebebeb 100%);
  --grad-dark: linear-gradient(135deg, #333333 0%, #1d1d1d 60%, #333333 100%);
  --grad-line: linear-gradient(90deg, transparent, var(--gray-400), transparent);

  --shadow-xs: 0 1px 2px rgba(51, 51, 51, 0.05);
  --shadow-sm: 0 6px 18px -10px rgba(51, 51, 51, 0.25);
  --shadow-md: 0 20px 45px -28px rgba(51, 51, 51, 0.4);
  --shadow-lg: 0 40px 90px -50px rgba(51, 51, 51, 0.55);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--gray-800);
  background: var(--white);
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.14;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; color: var(--gray-600); }

::selection { background: var(--gray-800); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gray-800);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: clamp(64px, 8vw, 118px) 0; position: relative; }
.section--tint { background: var(--gray-100); }
.section--soft { background: var(--grad-soft); }
.section--dark { background: var(--grad-dark); color: #e9e9e9; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, 0.68); }
.section--hairline { border-top: 1px solid var(--line-soft); }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 5vw, 74px); align-items: center; }
.split--rev > *:first-child { order: 2; }

.center { text-align: center; }
.narrow { max-width: 760px; }
.narrow.center { margin-inline: auto; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gray-600); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gray-400);
}
.section--dark .eyebrow { color: var(--gray-400); }
.lead { font-size: 1.12rem; color: var(--gray-600); }
.small { font-size: 0.86rem; }
.muted { color: var(--gray-400); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; border: 1px solid transparent;
  font-size: 0.85rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: all 0.45s var(--ease); background: none;
}
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line); color: var(--gray-800); background: rgba(255,255,255,0.6); }
.btn--ghost:hover { border-color: var(--gray-800); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--ink);
}
.arrow-link svg { transition: transform 0.4s var(--ease); }
.arrow-link:hover svg { transform: translateX(6px); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.is-stuck { border-color: var(--line-soft); box-shadow: 0 12px 30px -28px rgba(51,51,51,.6); }
.header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--grad-soft);
}
.brand__name { font-family: var(--serif); font-size: 1.32rem; letter-spacing: 0.12em; color: var(--ink); }
.brand__sub { display: block; font-family: var(--sans); font-size: 0.55rem; letter-spacing: 0.3em; color: var(--gray-400); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav__toggle {
  font-size: 0.82rem; padding: 9px 13px; border-radius: 100px; color: var(--gray-600);
  transition: color 0.3s var(--ease), background 0.3s var(--ease); white-space: nowrap;
  border: 0; background: none; font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav__toggle:hover { color: var(--ink); background: var(--gray-100); }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(640px, 88vw); background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: all 0.35s var(--ease);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: block; padding: 11px 13px; border-radius: 12px; }
.mega a strong { display: block; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.mega a span { font-size: 0.76rem; color: var(--gray-400); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 3px auto; transition: 0.3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  padding: 26px; overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-soft);
  font-size: 1rem; color: var(--gray-800);
}
.mobile-nav a.is-active { font-weight: 700; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero__inner { padding: clamp(60px, 8vw, 104px) 0 clamp(60px, 8vw, 100px); }
.hero--split .hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(34px, 5vw, 68px); align-items: center; }
.hero__text { max-width: 620px; }
.hero p.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 56ch; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

.hero--cinematic { color: #fff; background: #1d1d1d; }
.hero--cinematic .hero__bg { position: absolute; inset: 0; }
.hero--cinematic .hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero--cinematic .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,20,20,0.92) 8%, rgba(29,29,29,0.72) 48%, rgba(29,29,29,0.3) 100%);
}
.hero--cinematic .hero__inner { position: relative; z-index: 2; min-height: 86vh; display: flex; align-items: center; }
.hero--cinematic h1 { color: #fff; }
.hero--cinematic p { color: rgba(255,255,255,0.75); }
.hero--cinematic .eyebrow { color: rgba(255,255,255,0.6); }
.hero--cinematic .eyebrow::before { background: rgba(255,255,255,0.5); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px;
  border-top: 1px solid rgba(255,255,255,0.16); padding-top: 26px; max-width: 720px;
}
.hero__stats .stat__num { color: #fff; }
.hero__stats .stat__label { color: rgba(255,255,255,0.6); }

/* floating card */
.float-card {
  position: absolute; background: rgba(255,255,255,0.86); backdrop-filter: blur(16px);
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow-md); animation: float 7s ease-in-out infinite; max-width: 260px;
}
.float-card--br { right: -14px; bottom: -26px; }
.float-card--tl { left: -20px; top: 30px; animation-delay: 1.5s; }
.float-card strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.float-card span { font-size: 0.76rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--gray-400); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 32px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative; overflow: hidden; height: 100%;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad-line); opacity: 0; transition: opacity 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card--glass { background: rgba(255,255,255,0.62); backdrop-filter: blur(14px); }
.section--dark .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section--dark .card:hover { background: rgba(255,255,255,0.08); }

.card__index {
  font-family: var(--serif); font-size: 0.95rem; color: var(--gray-400);
  letter-spacing: 0.1em; margin-bottom: 16px; display: block;
}

.icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--gray-100); border: 1px solid var(--line-soft); margin-bottom: 20px;
  transition: background 0.45s var(--ease);
}
.icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .icon { background: var(--ink); }
.card:hover .icon svg { stroke: #fff; }
.section--dark .icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
.section--dark .icon svg { stroke: #fff; }

/* media card */
.mcard { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-soft); height: 100%; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mcard__img { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mcard:hover .mcard__img img { transform: scale(1.06); }
.mcard__body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.mcard__body h3 { font-size: 1.22rem; }
.mcard__meta { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 12px; }
.mcard .arrow-link { margin-top: auto; padding-top: 14px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 0; }
.stat__num { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); color: var(--ink); line-height: 1; }
.stat__label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-400); margin-top: 12px; }

/* list */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; color: var(--gray-600); font-size: 0.97rem; }
.ticks li::before {
  content: ""; flex: 0 0 auto; width: 17px; height: 17px; margin-top: 5px; border-radius: 50%;
  border: 1px solid var(--gray-400);
  background: radial-gradient(circle, var(--ink) 0 3.5px, transparent 3.6px);
}
.section--dark .ticks li { color: rgba(255,255,255,0.7); }
.section--dark .ticks li::before { border-color: rgba(255,255,255,0.4); background: radial-gradient(circle, #fff 0 3.5px, transparent 3.6px); }

/* timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 8px; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gray-400); transition: all 0.4s var(--ease);
}
.tl-item.is-visible::before { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(51,51,51,0.08); }
.tl-item__year { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); }
.tl-item h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.section--dark .tl-item::before { background: #333; border-color: rgba(255,255,255,0.4); }
.section--dark .timeline::before { background: rgba(255,255,255,0.14); }

/* accordion */
.acc { border-top: 1px solid var(--line-soft); }
.acc__item { border-bottom: 1px solid var(--line-soft); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--ink); padding: 24px 46px 24px 0; position: relative;
  line-height: 1.4;
}
.acc__btn::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 1.4px solid var(--gray-600); border-bottom: 1.4px solid var(--gray-600);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.4s var(--ease);
}
.acc__item.is-open .acc__btn::after { transform: translateY(-20%) rotate(-135deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc__panel p { padding: 0 40px 24px 0; margin: 0; }

/* tabs */
.tabs__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.tabs__btn {
  padding: 11px 22px; border-radius: 100px; border: 1px solid var(--line); background: #fff;
  cursor: pointer; font-family: inherit; font-size: 0.84rem; color: var(--gray-600);
  transition: all 0.4s var(--ease);
}
.tabs__btn:hover { border-color: var(--gray-400); }
.tabs__btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs__panel { display: none; animation: fadeUp 0.55s var(--ease); }
.tabs__panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* slider */
.slider { position: relative; }
.slider__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { flex: 0 0 min(400px, 84vw); scroll-snap-align: start; }
.slider__ctrl { display: flex; gap: 10px; margin-top: 26px; }
.slider__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  cursor: pointer; display: grid; place-items: center; transition: all 0.4s var(--ease);
}
.slider__btn:hover { background: var(--ink); border-color: var(--ink); }
.slider__btn:hover svg { stroke: #fff; }
.slider__btn svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.5; }

/* quote */
.quote { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 34px; height: 100%; }
.quote__stars { letter-spacing: 3px; color: var(--gray-800); font-size: 0.8rem; margin-bottom: 16px; }
.quote p { font-family: var(--serif); font-size: 1.1rem; color: var(--gray-800); line-height: 1.6; }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--serif); color: var(--gray-600); font-size: 0.95rem;
}
.quote__who strong { display: block; font-size: 0.92rem; color: var(--ink); }
.quote__who span { font-size: 0.78rem; color: var(--gray-400); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/5; background: var(--gray-100); }
.gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-row: span 2; aspect-ratio: 4/10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; color: #fff; font-size: 0.8rem;
  background: linear-gradient(transparent, rgba(20,20,20,0.75)); opacity: 0; transition: opacity 0.45s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; }

/* feature strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.strip > div { padding: 30px 26px; border-right: 1px solid var(--line-soft); transition: background 0.4s var(--ease); }
.strip > div:last-child { border-right: 0; }
.strip > div:hover { background: var(--gray-50); }

/* compare table */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); }
.compare th, .compare td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 0.93rem; }
.compare thead th { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 1rem; background: var(--gray-50); }
.compare td { color: var(--gray-600); }
.compare tbody tr:hover { background: var(--gray-50); }
.compare td:first-child { color: var(--ink); font-weight: 600; }

/* pricing */
.price-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 34px; height: 100%; transition: all 0.5s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--hl { background: var(--grad-dark); color: #fff; border-color: transparent; }
.price-card--hl h3, .price-card--hl .price-card__amt { color: #fff; }
.price-card--hl p, .price-card--hl .ticks li { color: rgba(255,255,255,0.7); }
.price-card--hl .ticks li::before { border-color: rgba(255,255,255,0.4); background: radial-gradient(circle, #fff 0 3.5px, transparent 3.6px); }
.price-card__amt { font-family: var(--serif); font-size: 2.3rem; color: var(--ink); line-height: 1; margin: 14px 0 6px; }
.price-card__amt small { font-size: 0.8rem; font-family: var(--sans); color: var(--gray-400); letter-spacing: 0.1em; }

/* CTA band */
.cta-band {
  background: var(--grad-dark); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 74px);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -130px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.09), transparent 70%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 0; }
.cta-band .btn-row { position: relative; justify-content: flex-end; }

/* form */
.form-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray-50);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); transition: all 0.35s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gray-800); background: #fff; }
.form-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--gray-100); border: 1px solid var(--line-soft); font-size: 0.9rem; color: var(--ink); }
.form-msg.is-shown { display: block; animation: fadeUp 0.45s var(--ease); }
.form-msg.is-error { background: #fff4f2; border-color: rgba(176, 42, 42, 0.16); color: #9f1d1d; }

/* search */
.searchbox { position: relative; max-width: 560px; margin: 0 auto 42px; }
.searchbox input { width: 100%; padding: 17px 22px 17px 52px; border-radius: 100px; border: 1px solid var(--line); font-size: 0.98rem; font-family: inherit; background: #fff; }
.searchbox input:focus { outline: none; border-color: var(--ink); box-shadow: var(--shadow-sm); }
.searchbox svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; stroke: var(--gray-400); fill: none; stroke-width: 1.5; }
.no-results { display: none; text-align: center; color: var(--gray-400); padding: 30px 0; }
.no-results.is-shown { display: block; }

/* map */
.map-shell { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line-soft); background: var(--gray-100); min-height: 430px; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--gray-200) 1px, transparent 1px), linear-gradient(90deg, var(--gray-200) 1px, transparent 1px); background-size: 62px 62px; opacity: 0.75; }
.map-road { position: absolute; background: #fff; box-shadow: 0 0 0 1px var(--gray-200); }
.map-pin { position: absolute; transform: translate(-50%, -100%); text-align: center; }
.map-pin__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); margin: 0 auto; box-shadow: 0 0 0 6px rgba(51,51,51,0.12); animation: pulse 2.6s infinite; }
.map-pin--soft .map-pin__dot { background: var(--gray-400); box-shadow: 0 0 0 5px rgba(184,184,184,0.2); animation: none; }
.map-pin__label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-800); margin-top: 8px; background: rgba(255,255,255,0.9); padding: 4px 10px; border-radius: 100px; border: 1px solid var(--line-soft); white-space: nowrap; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 6px rgba(51,51,51,0.12); } 50% { box-shadow: 0 0 0 13px rgba(51,51,51,0.03); } }

/* breadcrumb */
.crumb { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 20px; }
.crumb a:hover { color: var(--ink); }
.hero--cinematic .crumb { color: rgba(255,255,255,0.55); }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--ink); z-index: 200; width: 0; transition: width 0.1s linear; }

/* footer */
.footer { background: var(--grad-dark); color: rgba(255,255,255,0.65); padding: clamp(56px, 7vw, 92px) 0 34px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 0.73rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer a { color: rgba(255,255,255,0.62); font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer .brand__name { color: #fff; }
.footer .brand__mark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.footer p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: 0.8rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.parallax { will-change: transform; }

/* article */
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose ul { padding-left: 20px; color: var(--gray-600); }
.prose li { margin-bottom: 9px; }
.prose blockquote {
  margin: 30px 0; padding: 22px 28px; border-left: 2px solid var(--ink); background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ink);
}
.toc { position: sticky; top: calc(var(--nav-h) + 26px); }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.toc a { font-size: 0.89rem; color: var(--gray-600); }
.toc a:hover { color: var(--ink); }

.badge {
  display: inline-block; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--line);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-600); background: #fff;
}

/* responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .g-4, .stats, .strip, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .header__cta .btn { display: none; }
  .strip > div:nth-child(2) { border-right: 0; }
  .gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-row: span 1; aspect-ratio: 4/5; }
}
@media (max-width: 900px) {
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .hero--split .hero__inner, .cta-band { grid-template-columns: 1fr; }
  .split--rev > *:first-child { order: 0; }
  .cta-band .btn-row { justify-content: flex-start; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero--cinematic .hero__inner { min-height: 74vh; }
  .float-card--br { right: 8px; bottom: -18px; }
  .float-card--tl { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .g-2, .g-3, .g-4, .stats, .strip, .gallery { grid-template-columns: 1fr; }
  .strip > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .footer__top { grid-template-columns: 1fr; }
  .card, .quote, .price-card { padding: 26px; }
  .wrap { padding: 0 18px; }
  .compare { display: block; overflow-x: auto; }
}

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

@media print {
  .header, .footer, .cta-band { display: none; }
}
