@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --forest: #304721;
  --green: #304721;
  --olive: #687951;
  --forest-dark: #203217;
  --sand: #f6f6f0;
  --paper: #fcfbf7;
  --ink: #20231c;
  --muted: #6d7167;
  --line: #d9d8ce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
}
a { color: inherit; }
.site-header {
  min-height: 78px;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; line-height: 1; }
.brand strong, .brand small { display: block; }
.brand strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .15em;
}
.brand small { margin-top: 6px; font-size: .58rem; letter-spacing: .3em; text-align: center; }
.main-nav { display: flex; gap: 26px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--forest); }
.header-button, .button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid var(--forest);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.header-button, .button-dark { color: white; background: var(--forest); }
.menu-toggle { display: none; }
.villa-hero { padding: 48px 5% 20px; background: var(--paper); }
.eyebrow { margin: 0 0 15px; color: var(--forest); font-size: .68rem; font-weight: 700; letter-spacing: .2em; }
.hero-title { max-width: 760px; margin: 0 0 24px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(3rem, 5vw, 5.1rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.hero-meta { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.hero-meta p { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.6; }
.gallery { max-width: 1260px; margin: 0 auto; padding: 28px 5% 20px; background: linear-gradient(var(--sand), var(--sand)) center / 90% 100% no-repeat; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 390px 230px; gap: 5px; }
.gallery-item { min-height: 0; overflow: hidden; padding: 0; border: 0; cursor: zoom-in; }
.gallery-item:first-child { grid-column: 1 / 4; grid-row: 1; }
.gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-caption { display: flex; justify-content: flex-end; margin-top: -56px; padding: 0 18px 18px; position: relative; z-index: 1; }
.gallery-caption button { padding: 13px 16px; border: 0; background: white; color: var(--ink); font: inherit; font-size: .72rem; font-weight: 700; }
.details { max-width: 1260px; margin: 0 auto; padding: 35px 5% 85px; background: linear-gradient(var(--sand), var(--sand)) center / 90% 100% no-repeat; display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; align-items: start; }
.intro-layout { display: contents; }
.intro-layout > div:nth-child(2) { display: none; }
.section-title { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; }
.description { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.description + .description { margin-top: 17px; }
.rule { width: 48px; height: 1px; margin: 24px 0; background: var(--forest); }
.video-card { aspect-ratio: 16 / 9; min-height: 0; margin-top: 0; grid-column: 2; grid-row: 1; position: relative; display: block; overflow: hidden; border-radius: 10px; background: #3c5130; text-decoration: none; }
.video-card img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: cover; filter: brightness(.68); transition: filter .3s ease, transform .3s ease; }
.video-card:hover img { filter: brightness(.9); transform: scale(1.015); }
.video-overlay { position: absolute; inset: 0; display: grid; place-items: center; color: white; text-align: center; }
.play { width: 62px; height: 62px; margin: 0 auto 15px; border: 1px solid white; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.video-card:hover .play { background: #ff0000; border-color: #ff0000; transform: scale(1.08); }
.video-overlay > span { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; }
.amenities { padding: 80px 5%; background: var(--paper); color: var(--ink); }
.amenities-inner { max-width: 1260px; margin: 0 auto; }
.amenities .eyebrow { grid-column: 1; grid-row: 1; color: var(--forest); text-align: left; }
.amenity-intro { grid-column: 1; grid-row: 3; max-width: 600px; margin: 0 0 48px; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.65; text-align: left; }
.amenity-title { grid-column: 1; grid-row: 2; max-width: 600px; margin: 0 0 20px; text-align: left; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.amenity-visual { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; border-radius: 10px; }
.amenity-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.amenity { min-height: 135px; padding: 25px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.amenity-icon { width: 28px; height: 28px; margin: 0 auto 15px; }
.amenity strong, .amenity small { display: block; }
.amenity strong { font-size: .9rem; }
.amenity small { margin-top: 5px; color: var(--muted); }
.villa-contact { width: 100%; margin: 0; padding: 92px max(6vw, 32px) 96px; background: var(--sand); }
.villa-contact-inner { max-width: 1440px; margin: 0 auto; }
.contact-heading { text-align: center; }
.contact-heading h2 { max-width: 1000px; margin: 0 auto; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.contact-content { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; align-items: center; margin: 58px auto 0; max-width: 1260px; }
.contact-copy p { max-width: 430px; margin: 0 0 34px; font-size: 1.05rem; line-height: 1.7; }
.contact-copy .button { text-transform: uppercase; letter-spacing: .03em; }
.contact-copy .button span { font-size: 1.25rem; }
.contact-card { border: 1px solid #9daa86; }
.contact-card a { min-height: 100px; display: grid; grid-template-columns: 34px 185px 1fr; align-items: center; gap: 16px; margin: 0 28px; border-bottom: 1px solid #bac3aa; text-decoration: none; }
.contact-card a:last-child { border-bottom: 0; }
.contact-icon { color: #75885e; font-size: 1.5rem; text-align: center; }
.contact-card strong { color: var(--forest); font-size: .72rem; letter-spacing: .18em; }
.contact-card b { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.related-villas { max-width: 1260px; margin: 0 auto; padding: 78px 5% 82px; background: var(--paper); }
.related-villas-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.related-villas-heading h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.4rem, 2.66vw, 2.275rem); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.related-villas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 532px; margin: 0 auto; }
.related-villa-card { position: relative; aspect-ratio: 1; overflow: hidden; display: block; border: 1px solid rgba(104,121,81,.65); background: var(--forest); color: white; text-decoration: none; }
.related-villa-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.related-villa-card:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18,27,14,.78) 100%); }
.related-villa-card:hover img { transform: scale(1.045); }
.related-villa-card span { position: absolute; z-index: 1; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.related-villa-card strong { font: 500 clamp(1.25rem, 2vw, 1.8rem)/1 'Playfair Display', Georgia, serif; letter-spacing: -.03em; }
.related-villa-card small { font-size: .56rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.bottom-cta { padding: 78px 5%; text-align: center; background: var(--sand) url('../images/banner-jungla-mar.jpg') center / cover no-repeat; }
.bottom-cta h2 { margin: 0 0 25px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.site-footer { padding: 34px 5%; background: var(--forest); color: white; font-size: .76rem; }
.footer-inner { max-width: 1260px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; }
.footer-inner p { margin: 0; color: #d3d8c7; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 30; place-items: center; padding: 30px; background: rgba(20, 25, 15, .92); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; color: white; background: transparent; cursor: pointer; }
.lightbox-close { top: 18px; right: 25px; font-size: 2.5rem; }
.lightbox-prev, .lightbox-next { top: 50%; font-size: 3rem; transform: translateY(-50%); }
.lightbox-prev { left: 22px; } .lightbox-next { right: 22px; }
.video-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; background: rgba(18, 24, 14, .86); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal-panel { width: min(100%, 980px); position: relative; background: #111; box-shadow: 0 22px 70px rgba(0,0,0,.35); }
.video-modal-frame { aspect-ratio: 16 / 9; }
.video-modal-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-modal-close { position: absolute; z-index: 1; top: -42px; right: 0; width: 36px; height: 36px; border: 0; color: white; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 800px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .header-button { padding: 10px; font-size: .62rem; }
  .villa-hero { padding-top: 42px; }
  .hero-meta { display: block; }
  .hero-meta .button { margin-top: 22px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 170px 170px; }
  .gallery-item:first-child { grid-column: 1 / 3; grid-row: 1; }
  .intro-layout { grid-template-columns: 1fr; gap: 34px; }
  .details { display: block; background-size: 100% 100%; }
  .amenities-inner { display: block; }
  .gallery { background-size: 100% 100%; }
  .intro-layout { display: grid; grid-template-columns: 1fr; gap: 34px; }
  .intro-layout > div:nth-child(2) { display: block; }
  .video-card { margin-top: 36px; }
  .amenity-visual { margin: 36px 0 48px; }
  .contact-content { display: block; }
  .contact-copy { margin-bottom: 40px; }
  .contact-card a { grid-template-columns: 30px 1fr; padding: 18px 0; }
  .contact-card b { grid-column: 2; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .related-villas { padding: 62px 5% 68px; }
  .related-villas-grid { grid-template-columns: 1fr; max-width: 364px; }
  .footer-inner { display: block; }
  .footer-inner p + p { margin-top: 14px; }
}

@media (max-width: 520px) {
  .main-nav { font-size: .58rem; }
  .gallery-grid { grid-template-rows: 210px 145px 145px; }
  .amenity-grid { grid-template-columns: 1fr; }
}

/* Contact section copied from the main page. */
.contact-section{position:relative;width:calc(100% - 10vw);max-width:1280px;margin:82px auto;background:#f4f2ea;padding:clamp(58px,7vw,96px) clamp(28px,7vw,94px);overflow:hidden}
.contact-section:before{content:'';position:absolute;left:-110px;bottom:-140px;width:310px;height:310px;border:1px solid rgba(104,121,81,.55);border-radius:48% 52% 44% 56%;transform:rotate(22deg);pointer-events:none}
.contact-heading{position:relative;max-width:930px;margin:0 auto 54px;text-align:center}
.contact-heading h2{font-size:clamp(2.55rem,5vw,4.65rem);letter-spacing:-.045em}
.contact-layout{position:relative;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(460px,1.2fr);gap:clamp(42px,7vw,105px);align-items:center;max-width:1080px;margin:auto}
.contact-copy{padding:10px 0}
.contact-copy p{max-width:375px;margin:0 0 30px;font-size:clamp(1rem,1.35vw,1.14rem);line-height:1.75;color:#354034}
.contact-whatsapp{min-width:250px;border-radius:0;background:var(--green);color:#fff;padding:16px 22px;font-size:12px;letter-spacing:.03em}
.contact-whatsapp:hover{background:#466233;transform:translateY(-2px)}
.contact-whatsapp span{font-size:19px;line-height:.7}
.contact-card{border:1px solid rgba(104,121,81,.8);background:rgba(255,255,255,.24);padding:14px 36px}
.contact-card a{display:grid;grid-template-columns:42px 145px 1fr;gap:10px;align-items:center;min-height:92px;border-bottom:1px solid rgba(104,121,81,.5);color:var(--ink);transition:color .2s ease}
.contact-card a:last-child{border-bottom:0}
.contact-card a:hover{color:var(--green)}
.contact-icon{font-size:31px;line-height:1;color:var(--olive);text-align:center}
.contact-label{font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--olive);text-transform:uppercase}
.contact-card strong{font:500 clamp(1.15rem,1.7vw,1.55rem) 'Playfair Display',serif;letter-spacing:-.02em;white-space:nowrap}
@media(max-width:900px){.contact-section{width:calc(100% - 48px);margin:55px auto;padding:58px 7vw}.contact-heading{margin-bottom:38px}.contact-layout{grid-template-columns:1fr;gap:34px}.contact-copy p{max-width:620px}.contact-card{max-width:650px;width:100%;padding:10px 26px}.contact-card a{grid-template-columns:38px 125px 1fr}}
@media(max-width:650px){.contact-section{width:calc(100% - 32px);margin:38px auto;padding:48px 24px}.contact-heading h2{font-size:clamp(2.4rem,11vw,3.4rem)}.contact-copy p{font-size:1rem}.contact-whatsapp{width:100%}.contact-card{padding:8px 17px}.contact-card a{grid-template-columns:30px 1fr;gap:5px;min-height:78px;padding:10px 0}.contact-card strong{grid-column:2;font-family:'DM Sans',sans-serif;font-size:13px;letter-spacing:0;white-space:normal}.contact-icon{font-size:25px;grid-row:span 2}.contact-label{font-size:10px}.contact-section:before{left:-150px;bottom:-190px}}
.contact-section{margin:64px auto;background:#f5f5ee;padding:clamp(44px,5vw,64px) clamp(28px,7vw,94px)}
.contact-heading{max-width:930px;margin-bottom:34px}
.contact-heading h2{font-size:clamp(2rem,3.8vw,3.25rem);letter-spacing:-.04em}
.contact-layout{gap:clamp(38px,6vw,82px)}
.contact-copy p{margin-bottom:24px;font-size:clamp(.95rem,1.2vw,1.05rem);line-height:1.65}
.contact-card{padding:8px 30px}
.contact-card a{grid-template-columns:38px 135px 1fr;min-height:70px;margin:0;text-decoration:none}
.contact-icon{font-size:27px}
@media(max-width:900px){.contact-section{margin:48px auto;padding:48px 7vw}.contact-heading{margin-bottom:30px}.contact-layout{gap:30px}.contact-card{padding:8px 26px}.contact-card a{min-height:68px}}
.contact-card strong{font:500 clamp(1rem,1.35vw,1.25rem) 'DM Sans',sans-serif;letter-spacing:0;white-space:normal}
@media(max-width:650px){.contact-card strong{font-size:13px}}

.contact-card-message { min-height: 70px; display: grid; grid-template-columns: 38px 135px 1fr; align-items: center; gap: 16px; width: 100%; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #bac3aa; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.contact-card-message:last-child { border-bottom: 0; }
.contact-card-message:hover strong { color: var(--olive); }
@media(max-width:900px){.contact-card-message{min-height:68px;grid-template-columns:38px 135px 1fr}}
@media(max-width:650px){.contact-card-message{grid-template-columns:30px 1fr;gap:5px;min-height:78px;padding:10px 0}.contact-card-message strong{grid-column:2;font-family:'DM Sans',sans-serif;font-size:13px;letter-spacing:0;white-space:normal}}
