/* Villa Blanca – site styles. Palette follows the floor plan: teal on white. */
:root {
  --ink: #1c3634;
  --teal: #2b7b78;
  --teal-dark: #0f4c4a;
  --teal-light: #bfe3dd;
  --teal-pale: #eaf5f3;
  --sand: #f6f3ee;
  --white: #ffffff;
  --muted: #5b7674;
  --line: #d9e3e1;
  --max: 1160px;
  --radius: 14px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; }
img, video, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; vertical-align: -.25em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4em; padding: .75em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s; white-space: nowrap; }
.btn-primary, .btn-book { background: var(--teal); color: #fff; }
.btn-primary:hover, .btn-book:hover { background: var(--teal-dark); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.brand-sub { font-size: .75rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-list, .lang-switch, .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav-list a:hover { background: var(--teal-pale); }
.nav-list a[aria-current="page"] { background: var(--teal-light); color: var(--teal-dark); }
.lang-switch { border-left: 1px solid var(--line); padding-left: 12px; }
.lang-switch a { text-decoration: none; font-size: .8rem; font-weight: 700; color: var(--muted); padding: 6px 8px; border-radius: 6px; }
.lang-switch a[aria-current="true"] { color: var(--teal-dark); background: var(--teal-pale); }
@media (max-width: 1099px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 12px; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { display: block; padding: 12px; }
  .lang-switch { border-left: 0; padding-left: 0; }
}

/* Hero (home) */
.hero { position: relative; min-height: min(78vh, 720px); display: grid; place-items: end start; color: #fff; overflow: hidden; background: var(--ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,34,32,.75) 0%, rgba(12,34,32,.25) 55%, rgba(12,34,32,.1) 100%); }
.hero-text { position: relative; padding: 48px 0 56px; max-width: 760px; }
.hero-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin-bottom: .6em; opacity: .9; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40ch; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: -36px; position: relative; z-index: 2; }
.highlight { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(28,54,52,.08); }
.highlight .material-symbols-outlined { font-size: 34px; color: var(--teal); }
.highlight h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; margin: .5em 0 .3em; }
.highlight p { margin: 0; color: var(--muted); font-size: .95rem; }

.intro { padding: 64px 0 24px; max-width: 760px; }
.intro p { font-size: 1.1rem; }

/* Teasers */
.teaser { display: grid; gap: 32px; align-items: center; padding: 40px 0; }
@media (min-width: 900px) { .teaser { grid-template-columns: 1fr 1fr; } .teaser-flip .teaser-photo { order: 2; } }
.teaser-photo img, .two-col picture img, .room picture img { border-radius: var(--radius); }
.teaser h2 { margin-top: 0; }

/* CTA band */
.cta-band { background: var(--teal-pale); border-radius: var(--radius); padding: 48px 32px; text-align: center; margin: 48px auto; }
.cta-band p { max-width: 55ch; margin-inline: auto; }

/* Inner page head */
.page-head { position: relative; min-height: 46vh; display: grid; place-items: end start; color: #fff; background: var(--ink); overflow: hidden; }
.page-head-photo, .page-head-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,34,32,.8), rgba(12,34,32,.15)); }
.page-head-text { position: relative; z-index: 1; padding: 40px 0; max-width: 760px; }
.page-head-text h1 { color: #fff; }
.page-head-text p { font-size: 1.15rem; margin: 0; }

/* Sections */
.section { padding: 48px 0; }
.two-col { display: grid; gap: 32px; align-items: center; padding: 48px 0; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col.flip picture { order: 2; } }
.prose { max-width: 68ch; }
.prose p { font-size: 1.05rem; }
.facts { background: var(--sand); border-radius: var(--radius); padding: 24px; }
.facts h2 { font-size: 1.2rem; }
.facts dl { margin: 0; display: grid; gap: 8px; }
.facts dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.fact-list { list-style: none; padding: 0; margin: 1em 0; display: grid; gap: 8px; }
.fact-list li { display: flex; gap: 10px; align-items: flex-start; }
.fact-list .material-symbols-outlined { color: var(--teal); flex: none; }

/* Rooms */
.rooms { padding: 24px 0 48px; }
.room-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.room h3 { margin: .8em 0 .3em; }
.room p { color: var(--muted); }

.spa-band { background: var(--sand); }

/* Amenities */
.amenities { padding: 56px 0; }
.amenity-groups { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.amenity-group h3 { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.amenity-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.amenity-group li { display: flex; gap: 10px; align-items: flex-start; }
.amenity-group .material-symbols-outlined { color: var(--teal); flex: none; }
.not-included { margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* Floor plan */
.floorplan { padding: 24px 0 48px; }
.floorplan img { border: 1px solid var(--line); border-radius: var(--radius); }

/* Gallery */
.gallery { padding: 24px 0 48px; }
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; background: rgba(12,34,32,.92); display: none; place-items: center; z-index: 200; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; top: 16px; background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close { right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }

/* Activities */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 0; }
.subnav a { text-decoration: none; background: var(--teal-pale); color: var(--teal-dark); padding: 8px 14px; border-radius: 999px; font-weight: 600; display: inline-flex; gap: .3em; align-items: center; }
.activity-group { padding: 40px 0 8px; }
.activity-group h2 .material-symbols-outlined { color: var(--teal); }
.group-intro { max-width: 68ch; color: var(--muted); }
.activity-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.activity { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.activity h3 { display: flex; gap: .4em; align-items: center; }
.activity h3 .material-symbols-outlined { color: var(--teal); }
.activity-meta { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6em; }
.disclaimer { color: var(--muted); font-size: .9rem; padding: 32px 0 48px; }

/* Practical */
.simple-table { border-collapse: collapse; width: 100%; max-width: 560px; margin: 1em 0; }
.simple-table th, .simple-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.simple-table th { color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #dfe9e7; padding: 40px 0; margin-top: 32px; }
.footer-inner { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-nav { flex-direction: column; }
.footer-nav a, .footer-meta a { color: #fff; }
.footer-meta small { color: #9fb8b5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero { background: url("/assets/video/hero-poster.jpg") center / cover no-repeat; }
  .gallery-item img { transition: none; }
}
