/* Jardin Eden Çeşme — resort edition */
:root {
  --ivory: #F7F3EC;
  --sand: #EFE7DA;
  --stone: #DCCFBC;
  --line: rgba(30, 42, 43, .12);
  --ink: #1E2A2B;
  --muted: #5F6862;
  --sea: #1F4E52;
  --sea-deep: #14383B;
  --gold: #B08D57;
  --gold-soft: #D9C29A;
  --white: #fff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 84px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 500; }
h1, h2, h3, h4, blockquote, .eyebrow, .stat-note, .villa-type { text-wrap: balance; }
p, li, dd, address { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.ic {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.section { padding: var(--section) 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow-light { color: rgba(255, 255, 255, .9); }
.eyebrow-gold { color: var(--gold-soft); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin-bottom: 26px;
}
.h2 em, .hero-title em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--ink); margin-bottom: 18px; }
p { color: var(--muted); }

.section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head.split .h2 { margin-bottom: 0; }
.section-head.split > p { max-width: 420px; justify-self: end; padding-bottom: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; text-align: center; max-width: 100%;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--sea); color: var(--white); }
.btn-primary:hover { background: var(--sea-deep); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .18); border-color: var(--white); }
.btn-ghost { min-height: 42px; padding: 0 22px; border-color: currentColor; white-space: nowrap; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sea);
  border-bottom: 1px solid currentColor; padding: 12px 0 8px;
}
.link-arrow .ic { transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.scrolled, .menu-open .header {
  background: rgba(247, 243, 236, .94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: block; margin-right: auto; line-height: 0; }
.brand img {
  height: 72px; width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
  transition: filter .4s var(--ease), height .4s var(--ease);
}
.header.scrolled .brand img, .menu-open .brand img { filter: none; }

.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  position: relative; font-size: 13px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ivory);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(30px, 8.5vw, 42px); line-height: 1.25; padding: 8px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .16s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .2s; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.mm-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 clamp(90px, 13vh, 140px);
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: 50% 50%;
  animation: kenburns 22s var(--ease) forwards;
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 22, 24, .55) 0%, rgba(10, 22, 24, 0) 28%),
    linear-gradient(90deg, rgba(10, 22, 24, .5) 0%, rgba(10, 22, 24, 0) 65%),
    linear-gradient(0deg, rgba(10, 22, 24, .78) 0%, rgba(10, 22, 24, .35) 45%, rgba(10, 22, 24, .1) 70%);
}
.hero-content { max-width: 1240px; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 104px); line-height: 1; letter-spacing: -.015em;
  max-width: 13ch; margin-bottom: 26px;
}
.hero-title em { color: var(--gold-soft); }
.hero-lead { color: rgba(255, 255, 255, .88); font-size: clamp(17px, 1.5vw, 20px); max-width: 600px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badge {
  position: absolute; right: var(--gutter); bottom: clamp(90px, 13vh, 140px);
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; max-width: 320px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-badge .ic { width: 34px; height: 34px; color: var(--gold-soft); stroke-width: 1.1; }
.hero-badge strong { display: block; font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.hero-badge span { font-size: 14px; color: rgba(255, 255, 255, .8); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

.hero-content > *, .hero-badge { animation: rise 1.1s var(--ease) both; }
.hero-content > :nth-child(1) { animation-delay: .15s; }
.hero-content > :nth-child(2) { animation-delay: .3s; }
.hero-content > :nth-child(3) { animation-delay: .45s; }
.hero-content > :nth-child(4) { animation-delay: .6s; }
.hero-badge { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.intro-text p + p { margin-top: 0; }
.intro-text p { margin-bottom: 18px; }
.intro-media { position: relative; padding-bottom: 22%; }
.intro-media figure { overflow: hidden; border-radius: var(--radius); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.im-main { aspect-ratio: 4 / 4.4; width: 82%; margin-left: auto; }
.im-small {
  position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3;
  border: 8px solid var(--ivory);
  box-shadow: 0 30px 60px -30px rgba(20, 56, 59, .45);
}

/* ---------- Stats ---------- */
.stats { padding: 0 0 var(--section); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; padding: 44px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--serif); font-size: clamp(46px, 5vw, 68px); line-height: 1; color: var(--sea); font-variant-numeric: lining-nums tabular-nums; }
.stat-label { margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.stat-note { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- Amenities ---------- */
.amenities { background: var(--sea-deep); color: var(--white); position: relative; overflow: hidden; }
.amenities::before {
  content: ""; position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, var(--gold-soft), transparent 70%),
              radial-gradient(50% 50% at 0% 100%, #6fb3b0, transparent 70%);
}
.amenities .container { position: relative; }
.amenities .h2 em { color: var(--gold-soft); }
.amenity-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.amenity-grid li {
  display: flex; align-items: center; gap: 20px;
  padding: 30px 24px; font-size: 18px; color: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.amenity-grid li:not(:nth-child(3n+1)) { border-left: 1px solid rgba(255, 255, 255, .14); }
.amenity-grid .ic { width: 34px; height: 34px; color: var(--gold-soft); stroke-width: 1.1; }

/* ---------- Villas ---------- */
.villa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.villa-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.villa-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(20, 56, 59, .4); }
.villa-img { aspect-ratio: 4 / 3; overflow: hidden; }
.villa-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.villa-card:hover .villa-img img { transform: scale(1.05); }
.villa-body { padding: 28px 28px 30px; }
.villa-type { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.villa-body h3 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; margin-bottom: 20px; }
.villa-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.villa-specs dt { color: var(--muted); }
.villa-specs dd { font-weight: 400; color: var(--ink); text-align: right; }
.villas-cta { margin-top: 48px; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--sand); }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 19vw, 270px); grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 16px);
}
.g-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--stone); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.g-item::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px; color: var(--white); font-size: 14px; letter-spacing: .04em;
  background: linear-gradient(0deg, rgba(10, 22, 24, .65), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; transform: none; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Award ---------- */
.award { padding: clamp(70px, 9vw, 120px) 0; }
.award-grid {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 100px); align-items: center;
  background: var(--sea); color: var(--white); border-radius: calc(var(--radius) * 1.4);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 7vw, 100px);
  max-width: calc(1240px - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
}
.award-figure img { width: clamp(120px, 14vw, 170px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.award blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.12; margin-bottom: 20px; }
.award p { color: rgba(255, 255, 255, .82); max-width: 560px; }

/* ---------- Life ---------- */
.life { padding-top: 0; }
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.life-card:nth-child(2) { transform: translateY(48px); }
.life-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); margin-bottom: 24px; }
.life-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.life-card:hover .life-img img { transform: scale(1.05); }
.life-body h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-bottom: 8px; }
.life-body p { font-size: 16px; }

/* ---------- Location ---------- */
.location { background: var(--white); }
.location-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.location-text p { margin-bottom: 26px; }
.location address { display: flex; gap: 14px; align-items: flex-start; font-style: normal; color: var(--ink); margin-bottom: 30px; }
.location address .ic { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.map-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }
.route { margin-top: clamp(40px, 6vw, 70px); }
.route-scroll { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.route-scroll img { width: 100%; }
.route-hint { display: none; }

/* ---------- Contact ---------- */
.contact { background: var(--sea-deep); color: var(--white); }
.contact .h2 em { color: var(--gold-soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.nb, a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
.contact-info > p { color: rgba(255, 255, 255, .78); margin-bottom: 30px; }
.contact-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.contact-list li { display: flex; align-items: center; gap: 16px; font-size: 19px; }
.contact-list a { padding: 8px 0; transition: color .3s; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-list .ic { width: 22px; height: 22px; color: var(--gold-soft); }
.offices { display: grid; grid-template-columns: 1fr; gap: 22px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.offices h4 { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 10px; }
.offices p { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.65; }

.form-card { background: var(--ivory); color: var(--ink); border-radius: calc(var(--radius) * 1.2); padding: clamp(26px, 4vw, 48px); }
.field { position: relative; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea, .field select {
  width: 100%; display: block;
  padding: 26px 18px 10px; min-height: 60px;
  font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6862' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
  padding-right: 46px;
}
.field label {
  position: absolute; left: 19px; top: 19px;
  font-size: 16px; color: var(--muted); pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { transform: translateY(-10px) scale(.75); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(31, 78, 82, .12); }
.field input:focus + label, .field textarea:focus + label { color: var(--sea); }
.field.invalid input { border-color: #b4553f; }
.form-error { color: #b4553f; font-size: 14px; margin: -4px 0 14px; }
.form-note { font-size: 13px; text-align: center; margin-top: 14px; }
.form-done h3 { font-family: var(--serif); font-weight: 500; font-size: 38px; margin-bottom: 10px; }
.form-done a { color: var(--sea); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ivory); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; max-width: 340px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-nav a, .footer-contact a { transition: color .3s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--sea); }
.footer-social { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; margin-top: 6px; }
.footer-social .ic { width: 20px; height: 20px; }
.footer-bottom { padding-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  background: rgba(12, 22, 23, .96);
  padding: 20px; opacity: 0; transition: opacity .3s var(--ease);
  touch-action: pan-y;
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lb-img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); border-radius: 6px; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-figure figcaption { display: flex; justify-content: space-between; gap: 20px; width: 100%; max-width: 1100px; margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 14px; letter-spacing: .04em; }
.lb-btn {
  width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: var(--white);
  transition: background-color .3s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn .ic { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 18px; right: 18px; }
.lb-prev { grid-column: 1; margin-right: 16px; }
.lb-next { grid-column: 3; margin-left: 16px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .life-card.reveal.in:nth-child(2) { transform: translateY(48px); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .hero-badge { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand img { height: 56px; }
  .section-head.split { grid-template-columns: 1fr; gap: 18px; }
  .section-head.split > p { justify-self: start; padding-bottom: 0; }
  .intro-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-media { max-width: 560px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid li:not(:nth-child(3n+1)) { border-left: 0; }
  .amenity-grid li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); }
  .villa-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 380px);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding: 0 var(--gutter);
  }
  .villa-grid::-webkit-scrollbar { display: none; }
  .villa-card { scroll-snap-align: start; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; }
  .life-grid { grid-template-columns: 1fr; gap: 36px; }
  .life-card:nth-child(2), .js .life-card.reveal.in:nth-child(2) { transform: none; }
  .life-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; }
  .life-img { aspect-ratio: 1; margin-bottom: 0; }
  .award-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .award p { margin: 0 auto; }
  .route-scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .route-scroll::-webkit-scrollbar { display: none; }
  .route-scroll img { width: auto; max-width: none; height: 260px; }
  .route-hint { display: block; font-size: 13px; text-align: right; margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hero { padding-bottom: 96px; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 22, 24, .5) 0%, rgba(10, 22, 24, 0) 22%),
      linear-gradient(0deg, rgba(10, 22, 24, .88) 0%, rgba(10, 22, 24, .6) 45%, rgba(10, 22, 24, .15) 72%);
  }
  .hero-title { max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .btn { padding: 12px 24px; line-height: 1.4; }
  .scroll-cue { display: none; }
  .stat { padding: 30px 14px; }
  .stat-note { font-size: 13px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-grid li:nth-child(even) { border-left: 0; }
  .amenity-grid li { padding: 20px 4px; font-size: 17px; }
  .amenity-grid .ic { width: 28px; height: 28px; }
  .gallery { grid-auto-rows: 42vw; gap: 8px; }
  .g-big { grid-row: span 2; }
  .g-item::after { display: none; }
  .life-card { grid-template-columns: 1fr; }
  .life-img { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-list li { font-size: 17px; }
  .footer { padding-top: 56px; }
  .footer-grid { gap: 28px; }
  .award .eyebrow::before { display: none; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 0 20px; }
  .lb-figure { grid-column: 1; }
  .lb-img { border-radius: 0; }
  .lb-figure figcaption { padding: 0 20px; }
  .lb-prev, .lb-next { position: absolute; bottom: 22px; width: 46px; height: 46px; margin: 0; }
  .lb-prev { left: 20px; }
  .lb-next { right: 20px; }
  .lb-figure figcaption { justify-content: center; flex-direction: column; align-items: center; gap: 4px; }

  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 243, 236, .96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .action-bar.show { transform: none; }
  .action-bar.show.hide { transform: translateY(110%); }
  .menu-open .action-bar { transform: translateY(110%); }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px;
    font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  }
  .ab-call { border: 1px solid var(--sea); color: var(--sea); }
  .ab-info { background: var(--sea); color: var(--white); }
}

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