/* 11 Avenue Panchvati landing page
   Palette comes from the logo: deep brown + one gold accent on a cool light grey. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f7f8f7;
  --bg-tint: #ebeded;
  --surface: #ffffff;
  --ink: #2a1c14;
  --ink-soft: #5a4a41;
  --brown: #472d20;
  --gold: #dda844;
  --on-gold: #2a1c14;
  --line: #d9dcdb;
  --err: #a3281f;
  --wa: #25d366;
  --wa-hover: #1ebe5b;
  --wa-ink: #06301a;
  --shadow: 0 18px 40px -22px rgb(71 45 32 / 0.35);

  --r-card: 16px;
  --r-field: 12px;
  --r-btn: 999px;

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.ic--xl { width: 40px; height: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 600 1rem/1 var(--body);
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--gold); color: var(--on-gold); }
.btn--primary:hover { background: #e8b858; }
.btn--ghost { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--ghost:hover { background: var(--brown); color: var(--bg); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--sm { min-height: 44px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 0.98rem; letter-spacing: 0.02em; }
.nav__links a { text-decoration: none; padding: 6px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__call { min-height: 42px; padding: 0 18px; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; }
.hero__in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; min-height: calc(100dvh - var(--nav-h) - 92px); }
.eyebrow { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.6rem); font-weight: 500; line-height: 0.95; }
.mark { position: relative; white-space: nowrap; isolation: isolate; }
.mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.18em; background: var(--gold); z-index: -1; border-radius: 2px; transform-origin: left; }
.lead { margin-top: 24px; font-size: 1.3rem; color: var(--ink-soft); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__art img { width: 100%; max-height: calc(100dvh - var(--nav-h) - 100px); min-height: 420px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero__art { justify-self: end; width: min(100%, 520px); }

/* ---------- Facts ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-tint); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.3rem); letter-spacing: -0.02em; line-height: 1; }
.fact span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--bg-tint); }
.section h2 { font-size: clamp(2.5rem, 5vw, 4rem); max-width: 16em; }
.sub { margin-top: 16px; color: var(--ink-soft); max-width: 38em; font-size: 1.125rem; }

/* About */
.about__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding-bottom: 72px; }
.about__main { width: 88%; border-radius: var(--r-card); aspect-ratio: 4 / 3; object-fit: cover; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 50%; border-radius: var(--r-card); border: 6px solid var(--bg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.about__copy p { margin-top: 20px; color: var(--ink-soft); font-size: 1.125rem; max-width: 30em; }
.about__copy h2 { margin-bottom: 4px; }
.addr { display: flex; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-style: normal; color: var(--ink-soft); font-size: 0.98rem; }
.addr .ic { margin-top: 3px; color: var(--brown); }

/* Bento: 4 cells */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(230px, auto)); gap: 16px; margin-top: 44px; }
.cell { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.cell h3 { font-size: 1.9rem; margin-bottom: 8px; }
.cell p { color: var(--ink-soft); font-size: 1rem; }
.cell--a { grid-column: 1 / 3; grid-row: 1 / 3; padding: 0; justify-content: flex-end; }
.cell--b { grid-column: 3 / 4; grid-row: 1 / 3; padding: 0; justify-content: flex-end; }
.cell--c { grid-column: 4 / 5; grid-row: 1 / 2; background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.cell--c p, .cell--c .ic { color: var(--on-gold); }
.cell--d { grid-column: 4 / 5; grid-row: 2 / 3; }
.cell--d .ic { color: var(--brown); }
.cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cell:hover > img { transform: scale(1.04); }
.cell__text--over { position: relative; padding: 120px 28px 28px; background: linear-gradient(to top, rgb(23 14 9 / 0.88) 20%, rgb(23 14 9 / 0)); color: #f6f1ea; }
.cell__text--over p { color: #eae2d8; }

/* Amenities */
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 44px max(20px, calc((100vw - 1200px) / 2)) 12px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.rail figure { margin: 0; flex: 0 0 min(78vw, 560px); scroll-snap-align: start; }
.rail img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
.rail figcaption { margin-top: 12px; font-weight: 500; color: var(--ink-soft); }
.lists { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; margin-top: 56px; }
.list h3 { font-size: 1.7rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.list ul { display: grid; gap: 14px; }
.list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.list .ic { color: var(--brown); margin-top: 3px; }

/* Home */
.home__top { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.home__plan { background: #3a3a3a; border-radius: var(--r-card); overflow: hidden; }
.home__copy p { margin: 20px 0 28px; color: var(--ink-soft); font-size: 1.125rem; }
.specs__title { margin: 72px 0 24px; font-size: 2.2rem; }
.specs { columns: 2; column-gap: 20px; }
.specs details { break-inside: avoid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: 16px; }
.specs summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--display); font-weight: 500; font-size: 1.4rem; display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--brown); transition: transform 0.3s var(--ease); }
.specs details[open] summary::after { transform: rotate(45deg); }
.specs ul { padding: 0 22px 20px; display: grid; gap: 10px; color: var(--ink-soft); font-size: 0.98rem; }
.specs li { padding-left: 18px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Site photos */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 400px; gap: 14px; margin-top: 40px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); }
.mosaic .m-wide { grid-column: span 2; }

/* Location */
.location__in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); margin-top: 44px; align-items: start; }
.location__map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #ebeded; }
.location__list ul { display: grid; gap: 4px; margin-bottom: 28px; }
.location__list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; }
.location__list li + li { border-top: 1px solid var(--line); }
.location__list .ic { width: 28px; height: 28px; color: var(--brown); }
.location__list strong { display: block; font-weight: 600; }
.location__list span { color: var(--ink-soft); font-size: 0.95rem; }

/* Contact */
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.people { margin: 36px 0 24px; display: grid; gap: 12px; }
.people li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.people strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.people span { color: var(--ink-soft); font-size: 0.98rem; }
.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.formcard h3 { font-size: 2rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid #8d8077; border-radius: var(--r-field);
  padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent); }
.field.invalid input { border-color: var(--err); }
.hint { font-size: 0.875rem; color: var(--ink-soft); margin-top: -2px; }
.err { font-size: 0.9rem; color: var(--err); font-weight: 500; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin-top: 14px; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }
.status { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-field); font-weight: 500; }
.status[hidden] { display: none; }
.status--ok { background: color-mix(in srgb, var(--gold) 28%, var(--surface)); border: 1px solid var(--gold); }
.status--bad { border: 1px solid var(--err); color: var(--ink); }
.status a { font-weight: 700; }
.btn__label { display: inline-flex; align-items: center; gap: 10px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.footer { background: var(--bg-tint); border-top: 3px solid var(--gold); color: var(--ink); padding: 64px 0 28px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__in { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 130px; height: auto; margin-bottom: 14px; }
.footer__brand p, .footer__col p { color: var(--ink-soft); font-size: 0.98rem; }
.footer__col p + p { margin-top: 6px; }
.footer h4 { font-size: 1.5rem; margin-bottom: 12px; color: var(--brown); }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.85rem; color: var(--ink-soft); }
.footer__legal .copy { font-size: 0.95rem; color: var(--ink); }
.footer__legal .copy a { font-weight: 600; text-underline-offset: 3px; }
.footer__legal a { text-decoration: underline; }

/* Floating actions */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 28px -8px rgb(6 48 26 / 0.55); transition: transform 0.25s var(--ease), background-color 0.2s; }
.fab:hover { background: var(--wa-hover); }
.fab .ic { width: 30px; height: 30px; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab:active { transform: scale(0.95); }
.dock { display: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .hero__copy > *, .js .hero__art img, .js .mark::after { animation-play-state: paused; }
  .js.ready .hero__copy > *, .js.ready .hero__art img, .js.ready .mark::after { animation-play-state: running; }
  .hero__copy > * { animation: rise 0.9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero__art img { animation: art 1.2s var(--ease) both; animation-delay: 0.1s; }
  .mark::after { animation: draw 0.9s var(--ease) 0.6s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes art { from { opacity: 0; transform: scale(1.04); } }
  @keyframes draw { from { transform: scaleX(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { gap: 18px; font-size: 0.92rem; }
  .nav__call span { display: none; }
  .nav__call { padding: 0 14px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .nav__in { gap: 12px; }
  .nav__logo img { height: 38px; }
  .nav__call { margin-left: auto; }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; }
  .nav__toggle .ic--close { display: none; }
  .nav__toggle[aria-expanded="true"] .ic--open { display: none; }
  .nav__toggle[aria-expanded="true"] .ic--close { display: block; }
  .nav__links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }

  .hero { padding: 24px 0 40px; }
  .hero__in { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .hero__art { justify-self: stretch; width: 100%; }
  .hero__art img { aspect-ratio: 4 / 3; min-height: 0; max-height: none; object-position: 50% 35%; }
  .hero__cta .btn { flex: 1 1 200px; }

  .facts__in { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 16px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about__in, .home__top, .location__in, .contact__in, .lists { grid-template-columns: 1fr; }
  .about__media { padding-bottom: 56px; }

  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .cell--a { grid-column: 1 / 3; grid-row: auto; min-height: 340px; }
  .cell--b { grid-column: 1 / 3; grid-row: auto; min-height: 340px; }
  .cell--c, .cell--d { grid-column: auto; grid-row: auto; min-height: 220px; }

  .specs { columns: 1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .footer__in { grid-template-columns: 1fr; gap: 28px; }

  .fab { display: none; }
  .dock { display: grid; grid-template-columns: 0.8fr 1.1fr 1.3fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-btn); border: 1.5px solid var(--brown); color: var(--brown); font-weight: 600; text-decoration: none; font-size: 0.9rem; padding: 0 6px; white-space: nowrap; }
  .dock a:active { transform: scale(0.97); }
  .dock a.dock__wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
  .dock .dock__main { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
  body { padding-bottom: 76px; }
}

@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .cell--a, .cell--b, .cell--c, .cell--d { grid-column: 1; }
  .cell--b { min-height: 380px; }
  .people li { flex-wrap: wrap; }
}

/* =====================================================
   Premium layer: loader, icons, hover and motion details
   ===================================================== */

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.js .preloader { display: flex; }
.preloader img { width: 150px; height: auto; animation: pre-in 0.9s var(--ease) both; }
.preloader__bar { width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.preloader__bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: pre-bar 1.1s var(--ease) 0.2s forwards; }
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes pre-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes pre-bar { to { transform: scaleX(1); } }

/* Scroll progress (progressive: browsers with scroll-driven animations) */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; background: var(--gold); transform: scaleX(0); transform-origin: left; display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { display: block; animation: grow linear both; animation-timeline: scroll(root); }
    @keyframes grow { to { transform: scaleX(1); } }
  }
}

/* Nav */
.nav { transition: box-shadow 0.3s, background-color 0.3s; }
.nav.scrolled { box-shadow: 0 10px 30px -18px rgb(71 45 32 / 0.45); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.nav__logo img { transition: transform 0.4s var(--ease); }
.nav__logo:hover img { transform: scale(1.05); }

/* Section headings: short gold rule */
.section h2::before { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 22px; transition: width 0.8s var(--ease) 0.2s; }
.js [data-reveal]:not(.in) h2::before, .js h2[data-reveal]:not(.in)::before { width: 0; }
.js h2[data-reveal]::before { width: 0; }
.js h2[data-reveal].in::before { width: 56px; }

/* Buttons: shine sweep and arrow nudge */
.btn { position: relative; overflow: hidden; isolation: isolate; letter-spacing: 0.02em; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%); transform: translateX(-120%); }
.btn--primary:hover { box-shadow: 0 14px 28px -12px rgb(221 168 68 / 0.9); transform: translateY(-2px); }
.btn--ghost:hover, .btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgb(71 45 32 / 0.6); }
.btn:hover::before { transform: translateX(120%); transition: transform 0.8s var(--ease); }
.btn--primary .ic--arrow { transition: transform 0.3s var(--ease); }
.btn--primary:hover .ic--arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

/* Hero: gold frame behind the image, gentle tilt */
.hero__art { position: relative; perspective: 1200px; }
.hero__art::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: var(--r-card); z-index: 0; transition: transform 0.6s var(--ease); }
.hero__art:hover::before { transform: translate(8px, 8px); }
.hero__art img { position: relative; z-index: 1; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.4s var(--ease); will-change: transform; }
.hero__art { isolation: isolate; }

/* Facts */
.fact { align-items: flex-start; transition: background-color 0.3s; }
.fact > .ic { width: 30px; height: 30px; color: var(--gold); margin-bottom: 10px; transition: transform 0.4s var(--ease); }
.fact:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.fact:hover > .ic { transform: translateY(-4px) scale(1.1); }
.fact strong span { font-variant-numeric: tabular-nums; }

/* Icon badges */
.badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--brown); margin-bottom: 14px; transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s; }
.badge .ic { width: 24px; height: 24px; }
.badge--lg { width: 64px; height: 64px; }
.badge--lg .ic { width: 32px; height: 32px; }
.cell__text--over .badge { background: rgb(255 255 255 / 0.18); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cell--c .badge { background: rgb(42 28 20 / 0.12); color: var(--on-gold); }
.cell:hover .badge { transform: translateY(-4px) rotate(-6deg); background: var(--gold); color: var(--on-gold); }
.cell--c:hover .badge { background: var(--on-gold); color: var(--gold); }

/* Cards: lift */
.cell { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.cell:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -26px rgb(71 45 32 / 0.55); }
.specs details { transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.specs details:hover { border-color: var(--gold); box-shadow: 0 14px 28px -20px rgb(71 45 32 / 0.5); }
.specs details[open] { border-color: var(--gold); }
.sum { display: inline-flex; align-items: center; gap: 12px; }
.sum .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--brown); box-sizing: content-box; width: 18px; height: 18px; }
.specs summary:hover::after { transform: scale(1.2); }
.specs details[open] summary:hover::after { transform: rotate(45deg) scale(1.2); }
.specs details[open] ul { animation: open 0.5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

/* Image hover */
.rail figure, .mosaic img, .about__main, .about__inset, .home__plan, .location__map { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.rail figure { overflow: visible; }
.rail figure img { transition: transform 0.9s var(--ease), box-shadow 0.6s var(--ease); }
.rail figure:hover img { box-shadow: 0 24px 40px -22px rgb(71 45 32 / 0.6); transform: translateY(-4px); }
.rail figure { position: relative; }
.mosaic img:hover { transform: scale(1.02); box-shadow: 0 24px 40px -22px rgb(71 45 32 / 0.55); }
.about__media:hover .about__inset { transform: translate(-6px, -6px); }
.about__media:hover .about__main { transform: scale(1.015); }
.home__plan:hover { transform: translateY(-4px); box-shadow: 0 28px 44px -26px rgb(71 45 32 / 0.6); }
.home__plan img { transition: transform 1s var(--ease); }
.home__plan:hover img { transform: scale(1.03); }

/* Lists with icon circles */
.list li { transition: transform 0.3s var(--ease); }
.list li:hover { transform: translateX(6px); }
.list .ic { box-sizing: content-box; width: 20px; height: 20px; padding: 8px; margin-top: -4px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--brown); transition: background-color 0.3s, transform 0.4s var(--ease); }
.list li:hover .ic { background: var(--gold); transform: rotate(-8deg) scale(1.08); }
.list li { align-items: center; }

/* Location rows */
.location__list li { transition: transform 0.3s var(--ease); border-radius: 12px; padding-inline: 8px; margin-inline: -8px; }
.location__list li:hover { transform: translateX(6px); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.location__list .ic { box-sizing: content-box; width: 22px; height: 22px; padding: 10px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 22%, transparent); transition: background-color 0.3s, transform 0.4s var(--ease); }
.location__list li:hover .ic { background: var(--gold); transform: rotate(-8deg); }

/* People cards, form */
.people li { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.people li:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 18px 30px -22px rgb(71 45 32 / 0.55); }
.formcard { position: relative; }
.formcard::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 3px; }
.field label { transition: color 0.2s; letter-spacing: 0.02em; }
.field:focus-within label { color: var(--brown); }
.field input, .field textarea { transition: border-color 0.2s, box-shadow 0.3s, background-color 0.2s, transform 0.3s var(--ease); }
.field input:hover, .field textarea:hover { border-color: var(--brown); }
.field input:focus, .field textarea:focus { background: var(--surface); }
.status--ok { animation: pop 0.6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(6px); } }

/* Footer links */
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

/* Floating WhatsApp: soft pulse ring (state: always available) */
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .fab::after { animation: ring 3.2s var(--ease) 2s infinite; }
  @keyframes ring { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
  .hero__art img { animation: art 1.2s var(--ease) 0.3s both; }
  .js [data-reveal] { transition-duration: 0.9s; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
}
@media (max-width: 860px) {
  .hero__art::before { inset: 14px -8px -14px 8px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 4.6rem); }
  .section h2 { font-size: clamp(2.3rem, 9vw, 3rem); }
}
@media (hover: none) {
  .cell:hover, .people li:hover, .mosaic img:hover, .home__plan:hover { transform: none; }
}
.fact strong span { font-size: inherit; color: inherit; }

/* EV card: keep the icon visible against the hover fill */
.cell--c:hover .badge { background: #fff; color: var(--brown); }
.cell--c:hover .badge .ic { color: var(--brown); }

.btn--wa:hover { box-shadow: 0 14px 28px -14px rgb(6 48 26 / 0.7); }

/* Developer logos */
.footer__devs { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 20px 40px; }
.footer__devs h4 { margin: 0; }
.devs { display: flex; align-items: flex-end; gap: 36px; flex-wrap: wrap; }
.devs img { height: 96px; width: auto; transition: transform 0.4s var(--ease), filter 0.3s; }
.devs img:hover { transform: translateY(-4px); }
.footer__devs + .footer__legal { margin-top: 28px; }
@media (max-width: 520px) { .devs img { height: 64px; } .devs { gap: 24px; } }
