/* ============================================================
   SWISS HOME SERVICES — Complete Stylesheet
   Mobile-first · Editorial Boutique · EN/DE
   ============================================================ */

:root {
  --cream: #f5f1ea;
  --cream-deep: #ece5d8;
  --ink: #1f2b24;
  --ink-soft: #394740;
  --muted: #7a7266;
  --rule: #cfc7b6;
  --accent: #b95b3a;
  --accent-soft: #d8a088;
  --shadow: 0 20px 50px -25px rgba(31,43,36,.35);
  --px: clamp(20px, 5.5vw, 48px);
  --sp-lg: clamp(60px, 12vw, 120px);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream); color: var(--ink);
  font-weight: 400; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  mix-blend-mode: multiply; opacity: .5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.17  0 0 0 0 0.14  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -.015em; line-height: 1.04; }
.italic { font-style: italic; font-weight: 300; }

/* ---- LANGUAGE TOGGLE ---- */
.lang-en { display: inline; }
.lang-de { display: none; }
body.is-de .lang-en { display: none; }
body.is-de .lang-de { display: inline; }
.lang-block-en { display: block; }
.lang-block-de { display: none; }
body.is-de .lang-block-en { display: none; }
body.is-de .lang-block-de { display: block; }

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px var(--px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding .35s ease, background .35s ease, border-color .35s ease;
}
.site-header.scrolled {
  padding: 10px var(--px);
  background: rgba(245,241,234,.93);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-family: 'Fraunces', serif;
  font-size: clamp(16px, 4vw, 20px);
  letter-spacing: .01em;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  white-space: nowrap; margin-right: auto;
  transition: color .35s;
}
.brand-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1px solid currentColor; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 17px;
  position: relative; transition: border-color .35s, color .35s;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; border: 1px solid currentColor; opacity: .25;
}
.brand-text { display: flex; align-items: baseline; gap: 5px; }
.brand .name { font-weight: 400; }
.brand .it-mark { font-style: italic; font-weight: 300; color: var(--accent); transition: color .35s; }
.brand .sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-left: 2px; display: none; transition: color .35s;
}
@media (min-width: 480px) { .brand .sub { display: inline; } }

/* Header over dark hero */
.site-header:not(.scrolled) .brand { color: var(--cream); }
.site-header:not(.scrolled) .brand .it-mark { color: var(--accent-soft); }
.site-header:not(.scrolled) .brand .sub { color: rgba(245,241,234,.65); }
.site-header:not(.scrolled) .menu-btn span { background: var(--cream); }
.site-header:not(.scrolled) .lang-switch { border-color: rgba(245,241,234,.3); background: rgba(245,241,234,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header:not(.scrolled) .lang-switch button { color: rgba(245,241,234,.7); }
.site-header:not(.scrolled) .lang-switch button.active { background: var(--cream); color: var(--ink); }
/* Only applies to pages with a dark hero. Pages with light hero will override via body class */
body.light-header .site-header:not(.scrolled) .brand { color: var(--ink); }
body.light-header .site-header:not(.scrolled) .brand .it-mark { color: var(--accent); }
body.light-header .site-header:not(.scrolled) .brand .sub { color: var(--muted); }
body.light-header .site-header:not(.scrolled) .menu-btn span { background: var(--ink); }
body.light-header .site-header:not(.scrolled) .lang-switch { border-color: var(--rule); background: rgba(245,241,234,.5); backdrop-filter: none; }
body.light-header .site-header:not(.scrolled) .lang-switch button { color: var(--muted); }
body.light-header .site-header:not(.scrolled) .lang-switch button.active { background: var(--ink); color: var(--cream); }

@media (min-width: 900px) {
  .site-header:not(.scrolled) .nav-wrap a { color: rgba(245,241,234,.85); }
  .site-header:not(.scrolled) .nav-wrap a:hover { color: var(--cream); }
  body.light-header .site-header:not(.scrolled) .nav-wrap a { color: var(--ink-soft); }
  body.light-header .site-header:not(.scrolled) .nav-wrap a:hover { color: var(--ink); }
}

/* Language switch */
.lang-switch {
  display: flex; align-items: center;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 3px; background: rgba(245,241,234,.5); flex-shrink: 0;
}
.lang-switch button {
  background: transparent; border: 0; cursor: pointer;
  padding: 5px 10px; border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); min-height: 28px; min-width: 34px;
  transition: background .3s, color .3s;
}
.lang-switch button.active { background: var(--ink); color: var(--cream); }

/* Menu button */
.menu-btn {
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  margin-right: -10px;
}
.menu-btn span {
  width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .4s cubic-bezier(.7,0,.3,1), opacity .3s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Nav drawer (mobile) */
.nav-wrap {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px);
  background: var(--cream); padding: 96px 32px 40px;
  transform: translateX(110%);
  transition: transform .55s cubic-bezier(.7,0,.2,1);
  z-index: 95; border-left: 1px solid var(--rule);
  box-shadow: -30px 0 60px -30px rgba(31,43,36,.3);
  display: flex; flex-direction: column;
}
.nav-wrap.open { transform: translateX(0); }
.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(31,43,36,.35); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }
.nav-wrap ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.nav-wrap li { border-bottom: 1px solid var(--rule); }
.nav-wrap li:first-child { border-top: 1px solid var(--rule); }
.nav-wrap a {
  display: block; text-decoration: none; color: var(--ink);
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 400;
  padding: 16px 0; transition: color .3s, padding-left .3s;
}
.nav-wrap a:hover, .nav-wrap a:active { color: var(--accent); padding-left: 8px; }
.nav-wrap a.active { color: var(--accent); }
.nav-wrap .nav-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--ink); padding: 16px 22px; border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
}
.nav-wrap .nav-cta:hover { background: var(--ink); color: var(--cream); padding-left: 22px; }

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav-overlay { display: none; }
  .nav-wrap {
    position: static; width: auto; padding: 0;
    transform: none; background: transparent; border: 0; box-shadow: none; display: block;
  }
  .nav-wrap ul { flex-direction: row; gap: 30px; align-items: center; }
  .nav-wrap li { border: 0; }
  .nav-wrap li:first-child { border: 0; }
  .nav-wrap a {
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    font-weight: 500; color: var(--ink-soft);
    padding: 4px 0; position: relative;
  }
  .nav-wrap a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    height: 1px; width: 0; background: var(--accent);
    transition: width .4s cubic-bezier(.2,.7,.2,1);
  }
  .nav-wrap a:hover, .nav-wrap a.active { color: var(--ink); padding-left: 0; }
  .nav-wrap a:hover::after, .nav-wrap a.active::after { width: 100%; }
  .nav-wrap .nav-cta { margin: 0; padding: 9px 18px; font-size: 11px; border-radius: 999px; }
  .nav-wrap .nav-cta::after { display: none; }
  .nav-wrap .nav-cta:hover { background: var(--ink); color: var(--cream); padding-left: 18px; }
}

/* ---- HERO (landing page) ---- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: calc(100px + env(safe-area-inset-top)) var(--px) 44px;
  overflow: hidden; z-index: 2; color: var(--cream);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31,43,36,.4) 0%, rgba(31,43,36,.2) 35%, rgba(31,43,36,.6) 70%, rgba(31,43,36,.87) 100%);
}
.hero-inner { position: relative; width: 100%; }
.hero-tag {
  position: absolute; right: 0; top: -52px;
  background: rgba(245,241,234,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 9px 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream); font-weight: 500; border: 1px solid rgba(245,241,234,.2); border-radius: 2px;
  display: none;
}
.hero-tag .it {
  font-family: 'Fraunces', serif; font-style: italic;
  letter-spacing: 0; text-transform: none; color: var(--accent-soft);
  font-size: 13px; font-weight: 400; margin-left: 4px;
}
@media (min-width: 720px) { .hero-tag { display: inline-flex; align-items: center; } }

/* ---- EYEBROW + TYPOGRAPHY UTILITIES ---- */
.eyebrow {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }
.eyebrow.light { color: var(--cream); }
.eyebrow.light::before { background: var(--accent-soft); }

.section-label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }
.section-label.center { justify-content: center; }

.section-title { font-size: clamp(32px, 7.5vw, 64px); margin-bottom: 22px; max-width: 820px; }
.hero h1 { font-size: clamp(44px, 12vw, 112px); margin-bottom: 20px; color: var(--cream); text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.hero h1 .italic { color: var(--accent-soft); }
.hero p { font-size: clamp(15px, 3.8vw, 18px); max-width: 540px; color: var(--cream); opacity: .92; margin-bottom: 28px; }

/* Stats */
.hero-meta {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-top: 26px; border-top: 1px solid rgba(245,241,234,.22);
}
.hero-meta .plate {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--cream); opacity: .7;
}
.hero-meta .big {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 10vw, 58px);
  font-weight: 300; font-style: italic; color: var(--cream); line-height: .9; margin-top: 4px;
}
.hero-meta .big .pt { color: var(--accent-soft); font-style: normal; }
.hero-meta .label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); opacity: .7; margin-top: 4px; }

@media (min-width: 900px) {
  .hero { padding: 180px var(--px) 60px; }
  .hero-meta { grid-template-columns: repeat(3, max-content); gap: 64px; margin-top: 56px; }
}

/* CTA buttons */
.btn-hero {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 26px; background: var(--cream); color: var(--ink);
  text-decoration: none; border-radius: 999px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  transition: transform .3s, background .3s, color .3s; min-height: 48px;
}
.btn-hero:hover, .btn-hero:active { background: var(--accent); color: var(--cream); transform: translateY(-2px); }
.btn-hero .arrow { transition: transform .3s; }
.btn-hero:hover .arrow { transform: translateX(4px); }

.btn-book {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px; background: var(--ink); color: var(--cream);
  text-decoration: none; border-radius: 999px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  transition: transform .3s, background .3s; min-height: 48px;
}
.btn-book:hover, .btn-book:active { background: var(--accent); transform: translateY(-2px); }
.btn-book .arrow { transition: transform .3s; }
.btn-book:hover .arrow { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 26px; background: transparent; color: var(--ink);
  text-decoration: none; border-radius: 999px; border: 1px solid var(--ink);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  transition: background .3s, color .3s; min-height: 48px;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---- REVEAL ---- */
section { position: relative; z-index: 2; }
.section-pad { padding: var(--sp-lg) var(--px); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .95s cubic-bezier(.2,.7,.2,1), transform .95s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

/* ---- MARQUEE ---- */
.marquee {
  position: relative; overflow: hidden; z-index: 2;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 16px 0; background: var(--cream-deep);
}
.marquee-track {
  display: flex; gap: 56px;
  animation: marquee 40s linear infinite; white-space: nowrap; width: max-content;
}
.marquee span { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; font-size: clamp(18px, 4.5vw, 22px); color: var(--ink-soft); }
.marquee .dot { color: var(--accent); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- REVIEWS ---- */
.reviews { background: var(--cream-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.reviews-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 44px; }
.reviews-head .stars { font-size: 18px; letter-spacing: .15em; color: var(--accent); }
.reviews-head .rating .num { font-family: 'Fraunces', serif; font-size: clamp(40px, 11vw, 54px); font-weight: 300; font-style: italic; line-height: 1; }
.reviews-head .rating .meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.review-card { background: var(--cream); padding: 38px 26px 26px; border: 1px solid var(--rule); position: relative; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-card .quote { font-family: 'Fraunces', serif; font-size: 56px; font-style: italic; font-weight: 300; color: var(--accent); line-height: 0; position: absolute; top: 38px; left: 26px; }
.review-card .body { font-family: 'Fraunces', serif; font-size: clamp(16px, 4vw, 18px); font-weight: 300; line-height: 1.45; margin-top: 24px; margin-bottom: 22px; color: var(--ink); }
.review-card .meta-row { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--rule); }
.review-card .author { font-size: 13px; font-weight: 500; }
.review-card .src { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.review-card .stars-sm { color: var(--accent); letter-spacing: .15em; font-size: 11px; margin-top: 3px; }

@media (min-width: 720px) { .reviews-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; } .reviews-head .rating { text-align: right; } }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: repeat(3,1fr); gap: 24px; } .review-card { padding: 42px 32px 30px; } .review-card .quote { top: 42px; left: 32px; } }

/* ---- LOCATIONS SPLIT (landing only) ---- */
.locations { display: grid; grid-template-columns: 1fr; }
.locations-gallery { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4/3; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; background-size: cover; background-position: center; }
.gallery-slide.active { opacity: 1; }
.gallery-caption { position: absolute; left: 24px; bottom: 24px; right: 24px; color: var(--cream); z-index: 3; font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; font-size: clamp(20px, 5vw, 26px); text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.gallery-caption .num { display: block; font-family: 'Inter Tight', sans-serif; font-style: normal; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 6px; opacity: .8; }
.gallery-dots { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; z-index: 3; }
.gallery-dots button { width: 8px; height: 8px; border-radius: 50%; background: transparent; border: 1px solid var(--cream); cursor: pointer; transition: all .3s; padding: 0; min-width: 8px; }
.gallery-dots button.active { background: var(--cream); transform: scale(1.3); }
.locations-list { padding: 56px var(--px); display: flex; flex-direction: column; justify-content: center; background: var(--cream); }
.locations-list .intro { margin-bottom: 28px; }
.location-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: padding .4s cubic-bezier(.2,.7,.2,1); min-height: 62px; }
.location-link:first-of-type { border-top: 1px solid var(--rule); }
.location-link .idx { font-size: 10px; letter-spacing: .3em; color: var(--muted); font-variant-numeric: tabular-nums; }
.location-link .name { font-family: 'Fraunces', serif; font-size: clamp(28px, 8.5vw, 42px); font-weight: 400; transition: color .4s; }
.location-link .name .it { font-style: italic; font-weight: 300; color: var(--accent); }
.location-link .arr { font-size: 18px; opacity: .35; transition: opacity .4s, transform .4s cubic-bezier(.2,.7,.2,1); color: var(--accent); }
.location-link:hover { padding-left: 12px; }
.location-link:hover .name { color: var(--accent); }
.location-link:hover .arr { opacity: 1; transform: translateX(4px); }
@media (min-width: 900px) {
  .locations { grid-template-columns: 1fr 1fr; min-height: 720px; }
  .locations-gallery { aspect-ratio: auto; height: auto; }
  .locations-list { padding: 72px 56px; }
  .location-link { gap: 24px; padding: 26px 0; }
  .location-link .arr { opacity: 0; transform: translateX(-16px); }
  .gallery-caption { left: 40px; bottom: 40px; right: auto; }
  .gallery-dots { right: 30px; top: 50%; bottom: auto; transform: translateY(-50%); flex-direction: column; }
}

/* ---- MAP ---- */
.map-section { padding: 0; }
.map-head { text-align: center; padding: var(--sp-lg) var(--px) clamp(44px, 9vw, 72px); }
.map-wrap { position: relative; aspect-ratio: 4/3; max-height: 580px; background: var(--cream-deep); overflow: hidden; }
@media (min-width: 900px) { .map-wrap { aspect-ratio: auto; height: 580px; } }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.02) saturate(.85); display: block; }
.map-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); background: var(--cream); border-top: 1px solid var(--rule); }
.map-list a { padding: 20px 16px; border-right: 1px solid var(--rule); text-decoration: none; color: var(--ink); text-align: center; font-family: 'Fraunces', serif; font-size: clamp(16px, 3.8vw, 20px); transition: background .3s, color .3s; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 62px; }
.map-list a:last-child { border-right: 0; }
.map-list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.map-list a:hover { background: var(--cream-deep); color: var(--accent); }

/* ---- SLIDER COMPONENT ---- */
.slider { position: relative; overflow: hidden; height: 100%; }
.slider-track { position: absolute; inset: 0; }
.slider-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center; }
.slider-slide.active { opacity: 1; }
.slider-prev, .slider-next {
  position: absolute; top: 50%; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(245,241,234,.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245,241,234,.25);
  color: var(--cream); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-family: 'Fraunces', serif;
  transform: translateY(-50%);
  transition: background .3s; min-width: 44px;
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-prev:hover, .slider-next:hover { background: rgba(245,241,234,.28); }
.slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.slider-dot { width: 7px; height: 7px; border-radius: 50%; background: transparent; border: 1px solid rgba(245,241,234,.8); cursor: pointer; transition: all .3s; padding: 0; min-width: 7px; }
.slider-dot.active { background: var(--cream); transform: scale(1.3); }

/* ---- PAGE HERO (location / services pages) ---- */
.page-hero {
  position: relative; min-height: clamp(300px, 50vh, 480px);
  display: flex; align-items: flex-end;
  padding: calc(100px + env(safe-area-inset-top)) var(--px) 48px;
  z-index: 2; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31,43,36,.45) 0%, rgba(31,43,36,.2) 40%, rgba(31,43,36,.75) 100%);
}
.page-hero .breadcrumb { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: rgba(245,241,234,.7); margin-bottom: 14px; }
.page-hero .breadcrumb a { text-decoration: none; color: rgba(245,241,234,.7); transition: color .3s; }
.page-hero .breadcrumb a:hover { color: var(--cream); }
.page-hero h1 { font-size: clamp(44px, 10vw, 88px); color: var(--cream); text-shadow: 0 2px 30px rgba(0,0,0,.25); max-width: 900px; }
.page-hero h1 .italic { color: var(--accent-soft); }

/* ---- APARTMENT SECTIONS ---- */
.apt-section { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
.apt-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink); }
.apt-info { padding: clamp(40px, 8vw, 72px) var(--px); display: flex; flex-direction: column; justify-content: center; background: var(--cream); }
.apt-info.alt-bg { background: var(--cream-deep); }
.apt-number { font-size: 10px; letter-spacing: .4em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 14px; }
.apt-name { font-size: clamp(28px, 6vw, 44px); margin-bottom: 20px; }
.apt-desc { font-size: clamp(14px, 3.5vw, 16px); color: var(--ink-soft); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.apt-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.apt-feature { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); padding: 6px 12px; border-radius: 2px; }

@media (min-width: 900px) {
  .apt-section { grid-template-columns: 1fr 1fr; min-height: 580px; }
  .apt-media { aspect-ratio: auto; height: auto; }
  .apt-info { padding: 72px clamp(40px, 6vw, 72px); }
  /* Even sections: flip layout */
  .apt-section.flip .apt-media { order: 2; }
  .apt-section.flip .apt-info { order: 1; }
}

/* ---- SERVICES PAGE ---- */
.services-hero-gallery { position: relative; height: clamp(320px, 55vw, 600px); overflow: hidden; background: var(--ink); }
.service-sections { }
.service-item {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}
.service-item:last-child { border-bottom: 1px solid var(--rule); }
.service-visual { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; }
.service-visual .service-icon { font-size: 56px; opacity: .18; }
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: clamp(36px, 7vw, 64px) var(--px); display: flex; flex-direction: column; justify-content: center; background: var(--cream); }
.service-body.alt { background: var(--cream-deep); }
.service-num { font-size: 10px; letter-spacing: .4em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; display: block; }
.service-name { font-size: clamp(26px, 5.5vw, 40px); margin-bottom: 18px; }
.service-desc { font-size: clamp(14px, 3.5vw, 16px); color: var(--ink-soft); line-height: 1.7; max-width: 480px; }
@media (min-width: 900px) {
  .service-item { grid-template-columns: 1fr 1fr; min-height: 440px; }
  .service-visual { aspect-ratio: auto; height: auto; }
  .service-body { padding: 64px clamp(40px, 6vw, 72px); }
  .service-item.flip .service-visual { order: 2; }
  .service-item.flip .service-body { order: 1; }
}

/* ---- CONTACT PAGE ---- */
.contact-hero { padding: calc(110px + env(safe-area-inset-top)) var(--px) 60px; background: var(--cream); }
.contact-hero h1 { font-size: clamp(36px, 9vw, 72px); margin-bottom: 16px; max-width: 700px; }
.contact-hero p { font-size: clamp(15px, 3.8vw, 17px); color: var(--ink-soft); max-width: 560px; }
.contact-body { padding: clamp(48px, 10vw, 90px) var(--px); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 80px; align-items: start; } }

.contact-info h3 { font-size: clamp(22px, 4.5vw, 30px); margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.contact-detail .lbl { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 3px; }
.contact-detail .val { font-size: 15px; color: var(--ink-soft); }
.contact-detail a { text-decoration: none; color: var(--ink); transition: color .3s; }
.contact-detail a:hover { color: var(--accent); }

/* Form */
.form-wrap { background: var(--cream-deep); padding: clamp(28px, 6vw, 48px); border: 1px solid var(--rule); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  background: var(--cream); border: 1px solid var(--rule); color: var(--ink);
  font-family: 'Inter Tight', sans-serif; font-size: 15px; padding: 13px 16px;
  border-radius: 2px; outline: none; width: 100%;
  transition: border-color .3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--ink); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); opacity: .7; }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237a7266' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-submit { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 11px; color: var(--muted); letter-spacing: .05em; }
.form-status { padding: 16px 20px; border-radius: 2px; font-size: 14px; margin-top: 16px; }
.form-status.success { background: rgba(31,43,36,.08); border: 1px solid rgba(31,43,36,.2); color: var(--ink); }
.form-status.error { background: rgba(185,91,58,.08); border: 1px solid rgba(185,91,58,.2); color: var(--accent); }

/* ---- LEGAL PAGES ---- */
.legal-hero { padding: calc(110px + env(safe-area-inset-top)) var(--px) 48px; background: var(--cream); }
.legal-hero h1 { font-size: clamp(36px, 9vw, 68px); }
.legal-body { padding: clamp(44px, 9vw, 80px) var(--px); max-width: 760px; }
.legal-body h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 14px; margin-top: 44px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 16px; }
.legal-body ul { padding-left: 20px; margin-bottom: 16px; }
.legal-body li { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; }

/* ---- CTA STRIP ---- */
.cta-strip { background: var(--ink); color: var(--cream); padding: clamp(56px, 11vw, 96px) var(--px); text-align: center; z-index: 2; position: relative; }
.cta-strip h2 { font-size: clamp(30px, 7vw, 56px); margin-bottom: 28px; color: var(--cream); }
.cta-strip h2 .italic { color: var(--accent-soft); }
.cta-strip .btn-hero { background: var(--cream); color: var(--ink); }
.cta-strip .btn-hero:hover { background: var(--accent); color: var(--cream); }

/* ---- FOOTER ---- */
footer { background: var(--ink); color: var(--cream); padding: clamp(44px, 8vw, 64px) var(--px) 22px; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(245,241,234,.12); }
.footer-brand-block { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand-mark { width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; color: var(--cream); position: relative; }
.footer-brand-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid currentColor; opacity: .25; }
.footer-brand-name { font-family: 'Fraunces', serif; font-size: 17px; letter-spacing: .01em; }
.footer-brand-name .it { font-style: italic; font-weight: 300; color: var(--accent-soft); }
.footer-tagline { font-family: 'Fraunces', serif; font-size: clamp(18px, 4.5vw, 24px); font-weight: 300; line-height: 1.2; max-width: 300px; color: var(--cream); opacity: .82; }
.footer-tagline .it { font-style: italic; color: var(--accent-soft); }
footer h4 { font-family: 'Inter Tight', sans-serif; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 14px; font-weight: 500; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: var(--cream); text-decoration: none; font-size: 13px; opacity: .75; transition: opacity .3s; }
footer a:hover { opacity: 1; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 11px; letter-spacing: .1em; color: rgba(245,241,234,.5); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { font-size: 11px; letter-spacing: .08em; color: rgba(245,241,234,.5); opacity: 1; }
.footer-legal a:hover { color: var(--cream); }
@media (min-width: 600px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; } }
@media (min-width: 900px) { .footer-top { gap: 72px; padding-bottom: 36px; } }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 94; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.35);
  color: white; text-decoration: none;
  animation: waPulse 2.8s infinite; transition: transform .3s;
}
.wa-float:hover, .wa-float:active { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; }
@keyframes waPulse {
  0% { box-shadow: 0 10px 28px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 10px 28px rgba(37,211,102,.35), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 28px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,0); }
}
@media (min-width: 720px) { .wa-float { width: 60px; height: 60px; right: 28px; bottom: 28px; } }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed; bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px; right: 80px; max-width: 680px;
  background: var(--ink); color: var(--cream); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 12px; z-index: 93;
  transform: translateY(220%); transition: transform .6s cubic-bezier(.2,.7,.2,1);
  box-shadow: var(--shadow); border: 1px solid rgba(245,241,234,.1);
}
.cookie-banner.show { transform: none; }
.cookie-banner p { font-size: 12px; line-height: 1.55; }
.cookie-banner p a { color: var(--accent-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { border: none; cursor: pointer; border-radius: 999px; padding: 10px 17px; font-family: 'Inter Tight', sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; min-height: 40px; }
.cookie-actions .accept { background: var(--accent); color: var(--cream); }
.cookie-actions .decline { background: transparent; color: var(--cream); border: 1px solid rgba(245,241,234,.25); }
@media (min-width: 720px) { .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 22px; bottom: 18px; left: 18px; right: 110px; } }

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
