/* ==========================================================================
   GREEN GARDEN VILLAS — Nai Harn, Phuket
   CVI: METS / MURU / SINEP / VALGE VEIN / PUNANE VEIN
   Display: Playfair Display (Lust Didone substitute) | Body: Montserrat
   ========================================================================== */

:root {
  /* CVI palette */
  --mets:        #0c2a1c;  /* deepest forest green - primary dark */
  --mets-deep:   #08200f;  /* near-black forest for footer */
  --muru:        #1c5345;  /* teal green */
  --muru-soft:   #2d6a59;
  --sinep:       #c19a3a;  /* mustard gold - the line/accent colour */
  --sinep-light: #d8b75f;
  --valge:       #ece0bb;  /* cream - valge vein */
  --valge-warm:  #f4ecd6;
  --wine:        #9a3a28;  /* punane vein - wine red */
  --brown:       #2b1c16;  /* punane vein - dark brown */

  --ink:         #1a1714;  /* body text on light */
  --paper:       #fbf8f0;  /* off-white page base */

  /* typography (CVI: Montserrat only) */
  --display: "Montserrat", system-ui, -apple-system, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, sans-serif;
  --romb-gold: #b37917;

  /* rhythm */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 88px;
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--sinep); color: var(--mets); }

/* ----- type scale ----- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sinep);
  display: inline-block;
}
.section-title { font-size: clamp(1.9rem, 4.6vw, 3.3rem); color: var(--mets); font-weight: 600; letter-spacing: -0.02em; }
.section-title.on-dark { color: var(--valge); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); }

/* ----- layout helpers ----- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(70px, 10vw, 140px); position: relative; }
.section--dark { background: var(--mets); color: var(--valge); }
.section--muru { background: var(--muru); color: var(--valge); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05em 2.1em;
  border: 1px solid var(--sinep);
  color: var(--mets);
  background: var(--sinep);
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  z-index: 0;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--mets);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--sinep); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--sinep); }
.btn--ghost::before { background: var(--sinep); }
.btn--ghost:hover { color: var(--mets); }
.btn--on-dark { color: var(--mets); }
.btn--on-dark:hover { color: var(--sinep); }

/* ==========================================================================
   HEADER (transparent over hero)
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex; align-items: center;
  z-index: 100;
  transition: background 0.5s var(--ease), height 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header.scrolled {
  height: 70px;
  background: rgba(8, 32, 15, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(193, 154, 58, 0.25);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 46px; height: 46px; border-radius: 9px; transition: width 0.5s var(--ease), height 0.5s var(--ease); }
.brand-text { line-height: 1; }
.brand-text b {
  display: block;
  font-family: var(--body);
  font-weight: 600; letter-spacing: 0.3em;
  font-size: 0.92rem; color: var(--valge);
  text-transform: uppercase;
}
.brand-text span {
  font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--sinep);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--valge);
  position: relative; padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--sinep); transition: width 0.4s var(--ease);
}
.nav a:hover::after { width: 100%; }
.nav .btn { padding: 0.85em 1.6em; }

.nav-toggle { display: none; background: none; border: 0; width: 38px; height: 38px; position: relative; }
.nav-toggle span { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--valge); transition: 0.35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 18px; }
.nav-toggle span:nth-child(3) { top: 24px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 18px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--valge);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: kenBurns 32s ease-in-out infinite alternate; }
@keyframes kenBurns {
  0%   { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2.5%, -2%); }
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,32,15,0.55) 0%, rgba(8,32,15,0.25) 35%, rgba(8,32,15,0.65) 100%),
    radial-gradient(120% 90% at 70% 20%, transparent 40%, rgba(12,42,28,0.6) 100%);
}
/* interactive line canvas sits above image, below text */
#lineCanvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { color: var(--sinep); margin-bottom: 22px; opacity: 0; animation: fadeUp 1s var(--ease) 0.3s forwards; }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  letter-spacing: -0.01em;
  max-width: 16ch;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln span { display: block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .ln:nth-child(1) span { animation-delay: 0.45s; }
.hero h1 .ln:nth-child(2) span { animation-delay: 0.6s; }
.hero h1 .ln:nth-child(2) { color: var(--sinep); font-weight: 500; }
.hero__sub {
  margin-top: 28px; max-width: 52ch; font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(236,224,187,0.92);
  opacity: 0; animation: fadeUp 1s var(--ease) 0.9s forwards;
}
.hero__cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s var(--ease) 1.1s forwards; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 2; color: var(--valge); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.8;
  animation: fadeUp 1s var(--ease) 1.4s both;
}
.hero__scroll .bar { width: 1px; height: 46px; background: linear-gradient(var(--sinep), transparent); animation: scrollBar 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollBar { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }

/* ==========================================================================
   ROMB DECORATIONS (brand kujundid) - interactive across every page
   ========================================================================== */
.romb-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.section, .hero, .page-hero, .cta, .contact, .bookbar { position: relative; }
.section > .wrap, .hero__inner, .page-hero__inner, .cta__inner, .contact .wrap, .villas__head { position: relative; z-index: 2; }
.romb {
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
  will-change: transform, opacity;
}
.romb.in { opacity: var(--op, 0.55); }
.romb img { width: 100%; height: auto; display: block; }
/* gold rombs over imagery / dark panels: a touch softer so text stays readable */
.section--dark .romb.in, .section--muru .romb.in, .cta .romb.in, .page-hero .romb.in { --op: 0.38; }
.hero .romb.in { --op: 0.42; }
.bookbar { background: var(--mets); position: relative; z-index: 5; }
.bookbar__in {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0;
  border: 1px solid rgba(193,154,58,0.35);
  margin-top: -44px; position: relative; z-index: 10;
  background: var(--mets-deep);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.bookbar__field { padding: 24px 30px; border-right: 1px solid rgba(193,154,58,0.22); }
.bookbar__field label { display: block; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sinep); margin-bottom: 8px; }
.bookbar__field input {
  width: 100%; background: transparent; border: 0; color: var(--valge);
  font-family: var(--body); font-size: 0.98rem; letter-spacing: 0.04em;
}
.bookbar__field input::-webkit-calendar-picker-indicator { filter: invert(0.7) sepia(1) saturate(3) hue-rotate(5deg); cursor: pointer; }
.bookbar__field select { width: 100%; background: transparent; border: 0; color: var(--valge); font-family: var(--body); font-size: 0.98rem; }
.bookbar__field select option { color: var(--ink); }
.bookbar__btn { display: flex; }
.bookbar__btn .btn { width: 100%; border: 0; padding-inline: 2.6em; }

/* ==========================================================================
   WELCOME / INTRO
   ========================================================================== */
.intro__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__copy .eyebrow { margin-bottom: 18px; }
.intro__copy h2 { margin-bottom: 26px; }
.intro__copy p { margin-bottom: 18px; color: #46413a; }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.96rem; color: #3a352f; }
.feature-list .dia { flex: none; width: 12px; height: 12px; margin-top: 6px; background: var(--sinep); transform: rotate(45deg); }

/* diamond image cluster */
.intro__art { position: relative; aspect-ratio: 1 / 1; }
.dframe {
  position: absolute; overflow: hidden;
  border: 1px solid var(--sinep);
  transform: rotate(45deg);
  transition: transform 0.7s var(--ease);
}
.dframe img { transform: rotate(-45deg) scale(1.5); width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dframe:hover { transform: rotate(45deg) scale(1.03); }
.dframe:hover img { transform: rotate(-45deg) scale(1.62); }
.dframe--main { width: 64%; height: 64%; top: 6%; left: 18%; }
.dframe--sm1 { width: 34%; height: 34%; bottom: 4%; left: 2%; }
.dframe--sm2 { width: 34%; height: 34%; bottom: 4%; right: 2%; }
.dframe__line { position: absolute; inset: 0; pointer-events: none; }

/* ==========================================================================
   VILLAS
   ========================================================================== */
.villas__head { text-align: center; max-width: 720px; margin: 0 auto clamp(50px, 7vw, 90px); }
.villas__head p { margin-top: 20px; color: rgba(236,224,187,0.8); }
.villa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.villa-card {
  position: relative; background: var(--mets-deep);
  border: 1px solid rgba(193,154,58,0.25);
  display: flex; flex-direction: column;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.villa-card:hover { border-color: var(--sinep); transform: translateY(-8px); }
.villa-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.villa-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.villa-card:hover .villa-card__media img { transform: scale(1.06); }
.villa-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(8,32,15,0.85)); }
.villa-card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mets); background: var(--sinep); padding: 6px 12px;
}
.villa-card__body { padding: 30px 28px 34px; display: flex; flex-direction: column; flex: 1; }
.villa-card__body h3 { font-size: 1.7rem; color: var(--valge); margin-bottom: 8px; }
.villa-card__meta { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sinep); margin-bottom: 16px; }
.villa-card__body p { font-size: 0.9rem; color: rgba(236,224,187,0.72); margin-bottom: 24px; flex: 1; }
.villa-card__link {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--sinep);
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
}
.villa-card__link .arr { transition: transform 0.4s var(--ease); }
.villa-card__link:hover .arr { transform: translateX(6px); }

/* ==========================================================================
   PALETTE (interactive colour swatches)
   ========================================================================== */
.palette { text-align: center; }
.palette__head { max-width: 640px; margin: 0 auto clamp(44px, 6vw, 72px); }
.palette__head p { margin-top: 18px; color: #4a443c; }
.swatches { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(28px, 4vw, 48px); }
.swatch { width: 130px; cursor: default; }
.swatch__dia {
  width: 110px; height: 110px; margin: 0 auto 22px;
  transform: rotate(45deg) scale(0.85);
  opacity: 0.55;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.swatch:hover .swatch__dia { transform: rotate(45deg) scale(1); opacity: 1; box-shadow: 0 18px 40px -16px currentColor; }
.swatch__name { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--mets); }
.swatch__hex { font-size: 0.68rem; letter-spacing: 0.12em; color: #8a8378; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 44px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gcell { overflow: hidden; position: relative; }
.gcell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gcell::after { content: ""; position: absolute; inset: 0; background: rgba(12,42,28,0); transition: background 0.5s var(--ease); }
.gcell:hover img { transform: scale(1.08); }
.gcell:hover::after { background: rgba(12,42,28,0.18); }
.gcell--wide { grid-column: span 2; }
.gcell--tall { grid-row: span 2; }

/* ==========================================================================
   NEAR US
   ========================================================================== */
.near__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.near__list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.near__list li { break-inside: avoid; margin-bottom: 22px; }
.near__list h4 { font-family: var(--body); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; color: var(--valge); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.near__list h4 .dia { width: 9px; height: 9px; background: var(--sinep); transform: rotate(45deg); flex: none; }
.near__list p { font-size: 0.82rem; color: rgba(236,224,187,0.68); padding-left: 19px; }
.near__art { position: relative; aspect-ratio: 3/4; overflow: hidden; border: 1px solid rgba(193,154,58,0.4); }
.near__art img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   DISCOVER (split feature)
   ========================================================================== */
.discover__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.discover__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.discover__media img { width: 100%; height: 100%; object-fit: cover; }
.discover__media .dia-accent { position: absolute; width: 80px; height: 80px; border: 1px solid var(--sinep); transform: rotate(45deg); top: -20px; right: -20px; }
.discover__copy h2 { margin-bottom: 26px; }
.discover__copy p { margin-bottom: 18px; color: #46413a; }
.section--dark .discover__copy p { color: rgba(236,224,187,0.78); }

/* ==========================================================================
   CONTACT / CTA
   ========================================================================== */
.cta {
  position: relative; text-align: center; overflow: hidden;
  background: var(--mets-deep);
}
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); color: var(--valge); margin-bottom: 24px; }
.cta h2 em { color: var(--sinep); font-style: normal; font-weight: 500; }
.cta p { color: rgba(236,224,187,0.78); margin-bottom: 38px; font-size: 1.05rem; }
.cta__lines { position: absolute; inset: 0; z-index: 1; opacity: 0.5; }

.contact { background: var(--mets); color: var(--valge); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact__info h2 { color: var(--valge); margin-bottom: 28px; }
.contact__rows { display: grid; gap: 22px; margin-bottom: 32px; }
.contact__row { display: flex; gap: 16px; align-items: flex-start; }
.contact__row .dia { width: 11px; height: 11px; background: var(--sinep); transform: rotate(45deg); margin-top: 6px; flex: none; }
.contact__row b { display: block; font-family: var(--body); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sinep); margin-bottom: 4px; font-weight: 600; }
.contact__row a, .contact__row span { font-size: 1.02rem; color: var(--valge); }
.contact__row a:hover { color: var(--sinep); }
.socials { display: flex; gap: 14px; margin-top: 4px; }
.socials a { width: 44px; height: 44px; border: 1px solid rgba(193,154,58,0.4); display: grid; place-items: center; color: var(--sinep); transition: 0.4s var(--ease); }
.socials a:hover { background: var(--sinep); color: var(--mets); }
.contact__map { border: 1px solid rgba(193,154,58,0.4); overflow: hidden; min-height: 360px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(0.3) sepia(0.12); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--mets-deep); color: rgba(236,224,187,0.7); padding-block: 60px 34px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(193,154,58,0.2); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 54px; height: 54px; border-radius: 10px; }
.footer__brand b { font-family: var(--body); letter-spacing: 0.28em; color: var(--valge); font-size: 1rem; text-transform: uppercase; display: block; }
.footer__brand span { font-size: 0.6rem; letter-spacing: 0.36em; color: var(--sinep); text-transform: uppercase; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--sinep); }
.footer__bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.74rem; letter-spacing: 0.04em; }
.footer__bottom a:hover { color: var(--sinep); }

/* ==========================================================================
   MOBILE NAV PANEL
   ========================================================================== */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--mets-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
  opacity: 0; visibility: hidden; transform: scale(1.04);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { font-family: var(--display); font-size: 2rem; color: var(--valge); }
.mobile-nav a:hover { color: var(--sinep); }
.mobile-nav .btn { font-family: var(--body); font-size: 0.9rem; margin-top: 10px; }

/* ==========================================================================
   INNER PAGE HERO (villa detail)
   ========================================================================== */
.page-hero { position: relative; min-height: 70svh; display: flex; align-items: flex-end; color: var(--valge); overflow: hidden; padding-bottom: clamp(50px, 8vw, 90px); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,32,15,0.55), rgba(8,32,15,0.3) 40%, rgba(8,32,15,0.82)); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero .crumbs { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sinep); margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: var(--valge); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }

/* villa detail layout */
.villa-detail__grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.villa-amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 34px 0; }
.villa-amenities li { display: flex; gap: 12px; align-items: center; font-size: 0.92rem; padding: 14px 16px; border: 1px solid rgba(193,154,58,0.3); background: #fff; }
.section--dark .villa-amenities li { background: rgba(255,255,255,0.03); color: var(--valge); }
.villa-amenities .dia { width: 10px; height: 10px; background: var(--sinep); transform: rotate(45deg); flex: none; }
.villa-detail__copy p { margin-bottom: 18px; color: #46413a; }
.villa-detail__copy h2 { margin-bottom: 22px; }
.villa-aside { position: sticky; top: 110px; border: 1px solid var(--sinep); padding: 36px 30px; background: var(--mets); color: var(--valge); }
.villa-aside h3 { color: var(--valge); font-size: 1.5rem; margin-bottom: 8px; }
.villa-aside .price-note { font-size: 0.8rem; color: rgba(236,224,187,0.7); margin-bottom: 24px; }
.villa-aside ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.villa-aside li { display: flex; justify-content: space-between; font-size: 0.84rem; padding-bottom: 10px; border-bottom: 1px solid rgba(193,154,58,0.2); }
.villa-aside li span:first-child { color: rgba(236,224,187,0.7); }
.villa-aside .btn { width: 100%; justify-content: center; }

/* villa gallery strip */
.villa-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.villa-gallery .gcell { aspect-ratio: 1/1; }
.villa-gallery .gcell--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .intro__grid, .near__grid, .discover__grid, .contact__grid, .villa-detail__grid { grid-template-columns: 1fr; }
  .villa-grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .villa-aside { position: static; }
  .near__art, .discover__media { max-width: 520px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .bookbar__in { grid-template-columns: 1fr; margin-top: -30px; }
  .bookbar__field { border-right: 0; border-bottom: 1px solid rgba(193,154,58,0.22); }
  .villa-grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gcell--tall { grid-row: span 1; }
  .near__list { columns: 1; }
  .villa-amenities { grid-template-columns: 1fr; }
  .villa-gallery { grid-template-columns: repeat(2, 1fr); }
  .villa-gallery .gcell--feature { grid-column: span 2; }
  .swatch { width: 44%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { transform: none; animation: none; }
  .hero h1 .ln span { transform: none; }
}
