:root {
  --navy: #082e50;
  --navy-dark: #041e36;
  --sand: #f5f0e7;
  --cream: #fffdf8;
  --coral: #e77857;
  --coral-dark: #cf5f40;
  --ink: #142537;
  --muted: #647783;
  --line: #dbe0df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { margin: 0 0 16px; color: var(--coral-dark); font-size: 11px; line-height: 1; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: #ffd1c3; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: .98; }

.hero { min-height: 610px; position: relative; display: flex; flex-direction: column; color: white; background: linear-gradient(90deg, rgba(3, 23, 40, .82), rgba(3, 23, 40, .14)), url('/images/hero-malia.webp') center 64% / cover; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(3, 23, 40, .42)); pointer-events: none; }
.site-header { width: min(1240px, calc(100% - 48px)); position: relative; z-index: 4; margin: 0 auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 132px; height: 78px; overflow: hidden; border-radius: 12px; background: var(--sand); box-shadow: 0 12px 32px #03192d35; }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 550; }
.desktop-nav a { padding: 8px 0; transition: color .2s ease; }
.desktop-nav a:hover { color: #ffd1c3; }
.desktop-nav .owner-link { padding: 12px 17px; border: 1px solid #ffffff80; border-radius: 999px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 11px 16px; border: 1px solid #ffffff8a; border-radius: 999px; font-size: 13px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu div { position: absolute; right: 0; top: 50px; width: 230px; padding: 12px; display: grid; gap: 4px; color: var(--ink); background: white; border-radius: 14px; box-shadow: 0 18px 50px #00162c38; }
.mobile-menu div a { padding: 12px; border-radius: 9px; }
.mobile-menu div a:hover { background: var(--sand); }
.hero-copy { width: min(1180px, calc(100% - 48px)); position: relative; z-index: 2; margin: auto; padding: 34px 0 108px; }
.hero-copy > * { max-width: 720px; }
.hero-copy h1 { margin: 18px 0 24px; font-size: clamp(58px, 7vw, 96px); line-height: .9; }
.hero-copy > p:last-child { max-width: 550px; margin: 0; font-size: 19px; line-height: 1.55; color: #f6f8f9; }
.booking-card { position: absolute; z-index: 5; left: 50%; bottom: -58px; transform: translateX(-50%); width: min(1120px, calc(100% - 48px)); padding: 18px; display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr 1.15fr; gap: 7px; color: var(--ink); background: white; border-radius: 18px; box-shadow: 0 22px 65px #07284230; }
.booking-card label { min-width: 0; padding: 5px 14px; border-right: 1px solid var(--line); }
.booking-card label span { display: block; margin-bottom: 8px; color: #72838c; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; font-weight: 750; }
.booking-card input, .booking-card select { width: 100%; min-height: 24px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.booking-card input:focus, .booking-card select:focus { outline: 2px solid #efad9880; outline-offset: 5px; border-radius: 3px; }
.booking-card button { min-height: 58px; border: 0; border-radius: 12px; color: white; background: var(--coral); font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px #e7785738; transition: transform .2s ease, background .2s ease; }
.booking-card button:hover { background: var(--coral-dark); transform: translateY(-2px); }
.booking-notice { grid-column: 1 / -1; margin: 9px 4px -3px; padding: 10px 13px; color: #315368; background: #edf7f6; border-radius: 8px; font-size: 13px; text-align: center; }

.stays-section { padding-top: 165px; padding-bottom: 130px; }
.section-heading { display: grid; grid-template-columns: 1.45fr .75fr; gap: 90px; align-items: end; margin-bottom: 50px; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); line-height: 1.7; font-size: 16px; }
.section-heading.compact { grid-template-columns: 1fr; }
.stay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stay-card { position: relative; min-height: 430px; overflow: hidden; border-radius: 22px; color: white; background: var(--navy); }
.stay-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 19, 34, .86), rgba(2, 19, 34, 0) 65%); }
.stay-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.stay-card:hover img { transform: scale(1.035); }
.stay-overlay { position: absolute; z-index: 2; inset: auto 0 0; padding: 30px; }
.stay-overlay p { margin: 0 0 7px; color: #ffd0c1; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; }
.stay-overlay h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 31px; font-weight: 400; letter-spacing: -.025em; }
.stay-overlay span { display: block; max-width: 470px; color: #eef3f5; font-size: 13px; line-height: 1.5; }
.gallery-trigger { margin-top: 17px; padding: 0 0 6px; border: 0; border-bottom: 1px solid #ffffff80; color: white; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.gallery-trigger i { margin-left: 7px; color: #ffd0c1; font-style: normal; }
.gallery-trigger:hover, .gallery-trigger:focus-visible { color: #ffd0c1; }

.experience-section { min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--navy); }
.experience-image { min-height: 680px; position: relative; overflow: hidden; }
.experience-image img { width: 100%; height: 100%; object-fit: cover; }
.experience-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--navy)); }
.experience-image span { position: absolute; z-index: 2; left: 32px; bottom: 28px; padding: 9px 13px; border: 1px solid #ffffff8a; border-radius: 999px; font-size: 11px; backdrop-filter: blur(6px); }
.experience-copy { max-width: 620px; padding: 105px 70px; align-self: center; }
.experience-copy h2 { font-size: clamp(44px, 4.6vw, 66px); }
.experience-copy > p:not(.eyebrow) { max-width: 520px; margin: 28px 0; color: #cdd9df; font-size: 16px; line-height: 1.75; }
.experience-copy > a { display: inline-flex; gap: 28px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #ffffff78; font-size: 13px; font-weight: 650; }
.experience-copy > a span { color: #ffd0c1; }
.experience-tags { margin-top: 65px; padding-top: 24px; display: flex; gap: 14px; border-top: 1px solid #ffffff26; }
.experience-tags span { padding: 10px 14px; border: 1px solid #ffffff36; border-radius: 999px; color: #e9eff2; font-size: 12px; }

.amenities-section { padding-top: 125px; padding-bottom: 135px; }
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amenities-grid article { position: relative; min-height: 420px; overflow: hidden; border-radius: 20px; }
.amenities-grid article::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 48%, rgba(3, 24, 41, .86)); }
.amenities-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.amenities-grid article:hover img { transform: scale(1.035); }
.amenities-grid article > div { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; color: white; }
.amenities-grid h3 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.amenities-grid span { color: #dbe6e9; font-size: 12px; }

.about-section { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--sand); }
.about-brand { min-height: 620px; overflow: hidden; }
.about-brand img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { max-width: 640px; padding: 95px 70px; align-self: center; }
.about-copy h2 { color: var(--navy); }
.about-copy > p:not(.eyebrow) { margin: 26px 0 34px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.about-copy ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #ccd3d1; }
.about-copy li { padding: 16px 0; display: flex; gap: 18px; border-bottom: 1px solid #ccd3d1; font-size: 14px; }
.about-copy li span { color: var(--coral-dark); font-size: 11px; font-weight: 700; }

.owner-section { min-height: 600px; padding: 88px 24px; display: grid; place-items: center; background: linear-gradient(90deg, rgba(3, 23, 40, .8), rgba(3, 23, 40, .25)), url('/images/piscina.webp') center 54% / cover fixed; }
.owner-card { width: min(620px, 100%); padding: 55px; color: white; background: rgba(5, 38, 65, .9); border: 1px solid #ffffff2e; border-radius: 24px; box-shadow: 0 30px 80px #00152754; backdrop-filter: blur(10px); text-align: center; }
.owner-card h2 { font-size: clamp(40px, 5vw, 60px); }
.owner-card > p:not(.eyebrow) { margin: 23px auto 30px; max-width: 470px; color: #d9e3e7; line-height: 1.65; }
.owner-card a { display: inline-flex; align-items: center; gap: 16px; padding: 15px 20px; color: var(--navy); background: white; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s ease; }
.owner-card a:hover { transform: translateY(-2px); }
.owner-card a span { color: var(--coral-dark); }

footer { color: #dce5e9; background: var(--navy-dark); }
.footer-top { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0 58px; display: grid; grid-template-columns: 180px 1fr 1fr; gap: 75px; align-items: start; }
.footer-top > img { width: 150px; height: 112px; object-fit: cover; border-radius: 12px; }
.footer-top > p { max-width: 380px; margin: 8px 0 0; color: #aebec7; font-family: Georgia, serif; font-size: 25px; line-height: 1.35; }
.footer-top > div { display: grid; gap: 12px; justify-self: end; min-width: 180px; font-size: 13px; }
.footer-top a:hover { color: #ffd0c1; }
.footer-bottom { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0; display: flex; justify-content: space-between; border-top: 1px solid #ffffff1e; color: #8198a5; font-size: 11px; }
.whatsapp-float { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: white; box-shadow: 0 12px 35px #021a2d4d; transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 42px #021a2d59; }
.whatsapp-float:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.whatsapp-float img { width: 100%; height: 100%; }
.gallery-modal { position: fixed; z-index: 50; inset: 0; padding: 22px; display: grid; place-items: center; background: rgba(2, 16, 29, .86); backdrop-filter: blur(9px); }
.gallery-modal[hidden] { display: none; }
.gallery-dialog { width: min(1120px, 100%); max-height: calc(100vh - 44px); overflow: hidden; color: white; background: var(--navy-dark); border: 1px solid #ffffff24; border-radius: 24px; box-shadow: 0 30px 90px #0009; }
.gallery-header { min-height: 104px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gallery-header .eyebrow { margin-bottom: 8px; }
.gallery-header h2 { font-size: 34px; letter-spacing: -.025em; }
.gallery-close { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid #ffffff42; border-radius: 50%; color: white; background: #ffffff0d; font-size: 30px; line-height: 1; cursor: pointer; }
.gallery-close:hover, .gallery-close:focus-visible { background: #ffffff1e; }
.gallery-stage { height: min(62vh, 650px); position: relative; display: grid; place-items: center; overflow: hidden; background: #020b13; }
.gallery-stage > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; width: 50px; height: 50px; transform: translateY(-50%); border: 1px solid #ffffff52; border-radius: 50%; color: white; background: rgba(3, 25, 43, .72); font-size: 34px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: var(--coral); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-count { position: absolute; right: 18px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(3, 25, 43, .72); font-size: 11px; backdrop-filter: blur(6px); }
.gallery-thumbs { padding: 14px 18px 18px; display: flex; gap: 9px; overflow-x: auto; background: var(--navy-dark); scrollbar-width: thin; }
.gallery-thumbs button { width: 96px; height: 62px; flex: 0 0 auto; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: transparent; cursor: pointer; opacity: .6; }
.gallery-thumbs button:hover, .gallery-thumbs button:focus-visible, .gallery-thumbs button.active { border-color: #ffd0c1; opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 950px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .booking-card { grid-template-columns: 1fr 1fr 1fr; }
  .booking-card button { min-height: 56px; grid-column: span 2; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 600px; }
  .stay-grid { grid-template-columns: 1fr 1fr; }
  .stay-card { min-height: 390px; }
  .experience-section, .about-section { grid-template-columns: 1fr; }
  .experience-image { min-height: 520px; }
  .experience-image::after { background: linear-gradient(transparent 80%, var(--navy)); }
  .experience-copy, .about-copy { max-width: none; padding: 75px 48px; }
  .about-brand { min-height: 500px; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid article:last-child { grid-column: 1 / 3; }
}

@media (max-width: 650px) {
  .section, .site-header, .hero-copy, .footer-top, .footer-bottom { width: min(100% - 32px, 1180px); }
  .hero { min-height: 650px; background-position: 56% 64%; }
  .hero-copy { padding: 38px 0 230px; }
  .hero-copy h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-copy > p:last-child { font-size: 16px; }
  .brand { width: 108px; height: 64px; }
  .booking-card { width: calc(100% - 32px); bottom: -145px; padding: 14px; grid-template-columns: 1fr 1fr; gap: 9px; }
  .booking-card label { padding: 3px 8px 9px; border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-card button { grid-column: 1 / -1; }
  .stays-section { padding-top: 220px; padding-bottom: 90px; }
  h2 { font-size: 42px; }
  .section-heading { margin-bottom: 34px; }
  .stay-grid { grid-template-columns: 1fr; }
  .stay-card { min-height: 390px; }
  .experience-image { min-height: 390px; }
  .experience-copy, .about-copy { padding: 64px 24px; }
  .experience-tags { margin-top: 45px; flex-wrap: wrap; }
  .amenities-section { padding-top: 90px; padding-bottom: 90px; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenities-grid article, .amenities-grid article:last-child { min-height: 360px; grid-column: auto; }
  .about-brand { min-height: 360px; }
  .owner-section { min-height: 570px; background-attachment: scroll; }
  .owner-card { padding: 42px 24px; }
  .owner-card h2 { font-size: 39px; }
  .footer-top { padding: 60px 0 44px; grid-template-columns: 1fr; gap: 34px; }
  .footer-top > div { justify-self: start; }
  .footer-bottom { gap: 20px; flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .gallery-modal { padding: 10px; }
  .gallery-dialog { max-height: calc(100vh - 20px); border-radius: 18px; }
  .gallery-header { min-height: 88px; padding: 17px 18px; }
  .gallery-header h2 { font-size: 27px; }
  .gallery-close { width: 40px; height: 40px; }
  .gallery-stage { height: 56vh; }
  .gallery-arrow { width: 43px; height: 43px; font-size: 29px; }
  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }
  .gallery-count { right: 10px; bottom: 10px; }
  .gallery-thumbs button { width: 80px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stay-card img, .amenities-grid img, .booking-card button, .owner-card a, .whatsapp-float { transition: none; }
}
