:root {
  --ink: #143b34;
  --pine: #0b4a3f;
  --pine-deep: #07372f;
  --gold: #e9b85f;
  --cream: #f8f4e9;
  --paper: #fffdf7;
  --mist: #e7efe9;
  --line: rgba(20, 59, 52, .17);
  --muted: #61746d;
  --shadow: 0 24px 70px rgba(7, 55, 47, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 99;
  padding: .75rem 1rem; background: #fff; color: var(--pine); border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248, 244, 233, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-shell {
  width: min(1180px, calc(100% - 2rem)); min-height: 92px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .05rem; padding: .4rem 0; text-decoration: none; }
.brand-logo { width: clamp(150px, 18vw, 210px); height: auto; }
.brand-subtitle {
  color: var(--pine-deep); font-size: .67rem; font-weight: 800;
  letter-spacing: .18em; line-height: 1.2; text-transform: uppercase;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a { padding: .7rem .85rem; border-radius: 999px; text-decoration: none; font-size: .94rem; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--mist); }
.site-nav .nav-cta { margin-left: .3rem; color: white; background: var(--pine); }
.site-nav .nav-cta:hover { background: var(--pine-deep); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

.hero {
  min-height: 690px; display: grid; align-items: end; position: relative; overflow: hidden;
  background: var(--pine-deep) url("stays-header.webp") center 64%/cover no-repeat;
  color: white;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 34, 29, .92) 0%, rgba(3, 34, 29, .64) 42%, rgba(3, 34, 29, .05) 75%); }
.hero-content { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 7rem 0 5rem; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 730px; margin: 0; font-size: clamp(3.25rem, 8vw, 7.5rem); font-weight: 500; }
.hero-lede { max-width: 590px; margin: 1.45rem 0 0; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.84); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .78rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid transparent; cursor: pointer; }
.button-primary { color: var(--pine-deep); background: var(--gold); }
.button-primary:hover { background: #f4c978; }
.button-secondary { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.button-dark { color: white; background: var(--pine); }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading h2, .page-intro h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5.3rem); font-weight: 500; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.1rem; max-width: 650px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { min-height: 220px; padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1.4rem; box-shadow: 0 12px 40px rgba(7,55,47,.05); }
.feature-number { color: var(--gold); font-weight: 800; }
.feature h3 { margin: 2.5rem 0 .7rem; font-size: 1.55rem; }
.feature p { margin: 0; color: var(--muted); }
.reviews-section { background: var(--paper); border-top: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.review-card {
  margin: 0; padding: .55rem; overflow: hidden; background: white;
  border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 12px 40px rgba(7,55,47,.07);
}
.review-card img { width: 100%; height: auto; border-radius: .8rem; }
.review-card-wide { grid-column: span 2; }
.reviews-actions { display: flex; justify-content: center; margin-top: 2rem; }
.banner { background: var(--pine); color: white; border-radius: 2rem; padding: clamp(2rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center; }
.banner h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 0; font-weight: 500; }
.banner p { color: rgba(255,255,255,.75); max-width: 650px; }
.banner .actions { justify-content: flex-end; }

.page-intro {
  background-color: var(--pine-deep); background-size: cover; background-repeat: no-repeat;
  color: white; padding: clamp(5rem, 10vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.page-intro-stays {
  background-image: linear-gradient(90deg, rgba(3,34,29,.88) 0%, rgba(3,34,29,.7) 48%, rgba(3,34,29,.34) 100%), url("stays-pool-header.webp");
  background-position: center 58%;
}
.page-intro-contact {
  background-image: linear-gradient(90deg, rgba(3,34,29,.9) 0%, rgba(3,34,29,.72) 52%, rgba(3,34,29,.4) 100%), url("contact-header.webp");
  background-position: center 48%;
}
.page-intro p { max-width: 680px; margin: 1.3rem 0 0; color: rgba(255,255,255,.74); font-size: 1.15rem; }
.rate-groups { display: grid; gap: 3rem; }
.rate-group h2 { margin: 0 0 1.25rem; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 500; }
.rate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.poster { margin: 0; padding: .65rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1.3rem; box-shadow: 0 12px 40px rgba(7,55,47,.06); }
.poster img { width: 100%; height: auto; border-radius: .8rem; }
.rate-card { padding: 1.6rem; border-radius: 1.3rem; background: var(--paper); border: 1px solid var(--line); }
.rate-card-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.rate-card h3 { margin: 0; font-size: 1.45rem; }
.price { color: var(--pine); font-size: 1.2rem; font-weight: 900; white-space: nowrap; }
.rate-card p { color: var(--muted); margin: .65rem 0 0; }
.rate-visual { margin: 1.25rem 0 0; }
.rate-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .9rem; }
.rate-visual figcaption { margin-top: .55rem; color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag { display: inline-flex; border-radius: 999px; padding: .28rem .65rem; font-size: .78rem; font-weight: 800; color: var(--pine); background: var(--mist); }
.detail-list { margin: 1rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.detail-list li + li { margin-top: .45rem; }
.villa-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 1rem; align-items: start; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.photo-gallery figure { margin: 0; overflow: hidden; border-radius: 1rem; background: var(--mist); border: 1px solid var(--line); }
.photo-gallery figure:last-child { grid-column: 1 / -1; }
.photo-gallery img { width: 100%; height: 300px; object-fit: cover; }
.photo-gallery figure:last-child img { height: 340px; }
.note { padding: 1.2rem 1.4rem; border-left: 4px solid var(--gold); background: #fff8e8; color: #5e5133; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: start; }
.contact-card, .booking-card { background: var(--paper); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.contact-card h2, .booking-card h2 { margin: 0 0 1rem; font-size: 2rem; }
.contact-list { display: grid; gap: 1rem; margin: 2rem 0 0; }
.contact-item { padding-top: 1rem; border-top: 1px solid var(--line); }
.contact-item strong { display: block; }
.contact-item span { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
label { font-size: .88rem; font-weight: 800; }
input, select, textarea { width: 100%; padding: .85rem 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: .75rem; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(233,184,95,.35); border-color: var(--gold); }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.form-status { margin: .8rem 0 0; color: var(--pine); font-weight: 800; min-height: 1.6em; }
.prepared-message { display: none; margin-top: 1rem; padding: 1rem; border-radius: .8rem; background: var(--mist); white-space: pre-wrap; }
.prepared-message.visible { display: block; }

.site-footer { padding: 2.5rem 0; color: rgba(255,255,255,.72); background: #062d27; }
.footer-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.disclosure { font-size: .8rem; color: var(--muted); text-align: center; padding: .7rem 1rem; background: #eee8da; }

@media (max-width: 800px) {
  .nav-shell { min-height: 80px; }
  .brand-logo { width: 170px; }
  .brand-subtitle { font-size: .6rem; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 84px; padding: .8rem; flex-direction: column; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  .site-nav .nav-cta { margin-left: 0; }
  .hero { min-height: 620px; background-position: center 68%; }
  .hero::after { background: linear-gradient(0deg, rgba(3,34,29,.92) 10%, rgba(3,34,29,.35) 100%); }
  .hero-content { padding-bottom: 3.5rem; }
  .page-intro-stays, .page-intro-contact {
    background-image: linear-gradient(rgba(3,34,29,.74), rgba(3,34,29,.82)), var(--page-intro-image);
    background-position: center;
  }
  .page-intro-stays { --page-intro-image: url("stays-pool-header.webp"); }
  .page-intro-contact { --page-intro-image: url("contact-header.webp"); }
  .section-heading, .banner, .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .banner .actions { justify-content: flex-start; }
  .features { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 1.5rem; }
  .rate-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: 1fr; }
  .villa-layout { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-logo { width: 150px; }
  .brand-subtitle { font-size: .55rem; letter-spacing: .14em; }
  .hero { min-height: 580px; }
  .actions .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .rate-card-top { display: block; }
  .price { display: block; margin-top: .4rem; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery figure:last-child { grid-column: auto; }
  .photo-gallery img, .photo-gallery figure:last-child img { height: 250px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
