  :root{
    --bg: #F6F1E7;
    --bg-panel: #EFE7D6;
    --ink: #2B2820;
    --ink-soft: #746C5B;
    --accent: #B98A55;
    --accent-dark: #8C6A40;
    --line: #DCD1B8;
    --footer-bg: #24241B;
    --footer-text: #E9E3D2;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  body{
    margin:0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
  }
  h1,h2,h3{
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    margin: 0;
    color: var(--ink);
  }
  p{ margin: 0; }
  a{ color: inherit; text-decoration: none; }
  img{ max-width: 100%; display:block; }
  .label{
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--accent-dark);
    font-weight: 500;
  }
  .container{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .btn{
    display:inline-block;
    padding: 14px 30px;
    border: 1px solid var(--ink);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: var(--ink);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
    cursor: pointer;
  }
  .btn:hover{ background: var(--ink); color: var(--bg); }
  .btn.accent{ border-color: var(--accent); color: var(--accent-dark); }
  .btn.accent:hover{ background: var(--accent); color: #fff; border-color: var(--accent); }
  .btn.whatsapp{
    border-color: var(--whatsapp);
    color: var(--whatsapp-dark);
    display:inline-flex;
    align-items:center;
    gap: 10px;
  }
  .btn.whatsapp:hover{ background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
  .btn.ghost-light{
    border-color: rgba(255,255,255,0.7);
    color: #fff;
  }
  .btn.ghost-light:hover{ background: #fff; color: var(--ink); }
  .cta-row{
    display:flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  /* ---------- Header ---------- */
  header{
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 20;
    padding: 34px 0 0;
  }
  .header-row{
    display:flex;
    align-items:flex-start;
    justify-content: space-between;
  }
  .logo-mark{
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    letter-spacing: 0.05em;
    color: #fff;
  }
  .wordmark{
    display: block;
    text-align:center;
    flex: 1;
    color: inherit;
  }
  .wordmark h1{
    font-size: 1.7rem;
    letter-spacing: 0.32em;
    padding-left: 0.32em;
    color: #fff;
  }
  .wordmark .tagline{
    display:block;
    margin-top: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: #E9D9BE;
  }
  .menu-btn{
    background:none;
    border:none;
    cursor:pointer;
    padding: 6px;
    display:flex;
    flex-direction: column;
    gap: 5px;
  }
  .menu-btn span{
    display:block;
    width: 26px;
    height: 1px;
    background: #fff;
  }
  nav.mobile-nav{
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 50;
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform .35s ease;
  }
  nav.mobile-nav.open{ transform: translateY(0); }
  nav.mobile-nav a{
    font-family:'Cormorant Garamond', serif;
    font-size: 1.6rem;
  }
  nav.mobile-nav .close-btn{
    position:absolute;
    top: 34px; right: 40px;
    background:none; border:none;
    font-size: 1.6rem;
    cursor:pointer;
    color: var(--ink);
  }

  /* ---------- Hero ---------- */
  .hero{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 150px 0 60px;
  }
  .hero-media{
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .hero-media-inner{
    display: flex;
    width: 100%;
    height: 100%;
    transform: scale(1.06);
    filter: blur(3px) brightness(0.9);
  }
  .hero-half{
    flex: 1;
    background-size: cover;
    background-position: center;
  }
  .hero-half:first-child{
    border-right: 1px solid rgba(255,255,255,0.12);
  }
  .hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,8,6,0.42) 0%, rgba(10,8,6,0.32) 45%, rgba(8,6,4,0.55) 100%);
  }
  .hero > .container{
    position: relative;
    z-index: 10;
    width: 100%;
  }

  /* ---------- Property cards ---------- */
  .prop-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .prop-card{
    background: var(--bg-panel);
    display:flex;
    flex-direction:column;
  }
  .prop-photo{
    aspect-ratio: 4 / 3;
    position: relative;
    overflow:hidden;
    background: #111;
  }
  .prop-photo img{
    width:100%; height:100%;
    object-fit: cover;
    display:block;
  }
  .prop-photo .card-logo{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    max-width: 220px;
    filter: drop-shadow(0 3px 14px rgba(0,0,0,0.45));
    z-index: 2;
  }
  .detail-logo{
    height: clamp(56px, 7vw, 84px);
    width: auto;
    margin: 10px 0 20px;
  }
  .prop-photo::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45) 100%);
  }
  .prop-body{
    padding: 34px 30px 40px;
    text-align:center;
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .prop-icon{ margin-bottom: 14px; color: var(--ink); }
  .card-logo-inline{
    height: 44px;
    width: auto;
    margin: 0 auto;
  }
  .prop-body .sub-label{
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
    margin-top: 6px;
  }
  .prop-body .mini-rule{
    width: 26px; height: 1px;
    background: var(--line);
    margin: 16px auto;
  }
  .prop-body .pitch{
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 14px;
  }
  .prop-body .features{
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 26px;
  }
  .prop-body .btn{ margin-top: auto; }

  /* ---------- Info strip ---------- */
  .info-strip{
    border-top: 1px solid var(--line);
    padding: 46px 0;
  }
  .info-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    text-align:center;
  }
  .info-item{
    padding: 0 20px;
    border-left: 1px solid var(--line);
  }
  .info-item:first-child{ border-left: none; }
  .info-item svg{ margin-bottom: 12px; color: var(--accent-dark); }
  .info-item h4{
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    font-weight: 500;
    margin-bottom: 6px;
  }
  .info-item p{
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.6;
  }

  /* ---------- Detail sections ---------- */
  .detail{
    padding: 90px 0 20px;
    border-top: 1px solid var(--line);
  }
  .detail-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items:center;
  }
  .detail:nth-child(even) .detail-grid{ direction: rtl; }
  .detail:nth-child(even) .detail-grid > *{ direction: ltr; }
  .detail-photo{
    aspect-ratio: 5/4;
    overflow:hidden;
  }
  .detail-photo img{ width:100%; height:100%; object-fit:cover; }
  .detail-sub{
    display:block;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    color: var(--ink-soft);
    margin-bottom: 26px;
  }
  .detail h3{ font-size: 2rem; margin: 0 0 18px; }
  .detail p.copy{
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 18px;
  }
  .detail p.copy + p.copy{ margin-top: -6px; }

  .gallery-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 50px 0 60px;
  }
  .gallery-grid img{
    width:100%;
    height: 210px;
    object-fit: cover;
  }
  .gallery-grid a{
    display:block;
    overflow:hidden;
  }
  .gallery-grid img{ transition: transform .5s ease; }
  .gallery-grid a:hover img{ transform: scale(1.06); }

  .info-blocks{
    padding-bottom: 70px;
  }
  .info-blocks h4{
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }
  .amenities-list{
    column-count: 3;
    column-gap: 40px;
    list-style: none;
    padding: 0; margin: 0;
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 2;
  }
  .amenities-list li{ break-inside: avoid; }

  /* ---------- Footer ---------- */
  footer{
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 46px 0;
  }
  .footer-row{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
  }
  .footer-left{
    display:flex;
    align-items:center;
    gap: 26px;
  }
  .footer-left .logo-mark{ color: var(--footer-text); font-size: 1.9rem; }
  .footer-divider{
    width:1px; height: 40px;
    background: rgba(233,227,210,0.25);
  }
  .footer-brand h5{
    font-family:'Cormorant Garamond', serif;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }
  .footer-brand p{
    font-size: 0.78rem;
    color: rgba(233,227,210,0.65);
    line-height: 1.6;
  }
  .footer-social{ text-align:right; }
  .footer-social .label{ color: rgba(233,227,210,0.6); display:block; margin-bottom: 12px; }
  .social-icons{ display:flex; gap: 14px; justify-content:flex-end; }
  .social-icons a{
    width: 38px; height: 38px;
    border: 1px solid rgba(233,227,210,0.35);
    border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    transition: border-color .2s ease, background .2s ease;
  }
  .social-icons a:hover{ background: rgba(233,227,210,0.1); border-color: var(--footer-text); }
  .copyright{
    text-align:center;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: rgba(233,227,210,0.45);
    padding: 20px 0;
    background: rgba(0,0,0,0.15);
  }

  /* ---------- Lightbox ---------- */
  .lightbox{
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10,8,6,0.94);
    display: none;
    align-items: center;
    justify-content: center;
  }
  .lightbox.open{ display: flex; }
  .lightbox img{
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }
  .lightbox-close{
    position: absolute;
    top: 26px; right: 30px;
    background: none; border: none;
    color: #F3EAD8;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
  }
  .lightbox-counter{
    position: absolute;
    bottom: 26px; left: 50%;
    transform: translateX(-50%);
    color: rgba(243,234,216,0.7);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }
  .lightbox-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #F3EAD8;
    cursor: pointer;
    padding: 14px;
    opacity: 0.8;
    transition: opacity .2s ease;
  }
  .lightbox-nav:hover{ opacity: 1; }
  .lightbox-prev{ left: 8px; }
  .lightbox-next{ right: 8px; }
  @media (max-width: 640px){
    .lightbox-close{ top: 16px; right: 18px; }
    .lightbox-nav{ padding: 8px; }
  }

  /* ---------- Video hero (subpáginas Ibiza/Bangkok) ---------- */
  .video-hero{
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
  }
  .yt-wrap{
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw;
    height: 56.25vw;      /* 16:9 */
    min-height: 100vh;
    min-width: 177.78vh;  /* 16:9 */
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .yt-wrap iframe{
    width: 100%;
    height: 100%;
    display: block;
  }
  .video-hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,8,6,0.4) 0%, rgba(10,8,6,0.15) 40%, rgba(8,6,4,0.6) 100%);
    pointer-events: none;
  }
  .video-hero-content{
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
  }
  .video-hero-content img.hero-logo{
    max-width: min(70vw, 340px);
    filter: drop-shadow(0 4px 22px rgba(0,0,0,0.55));
    margin-bottom: 20px;
  }
  .video-hero-content .sub{
    color: #F3EAD8;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  }
  .sound-toggle{
    position: absolute;
    bottom: 40px; right: 40px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.55);
    color: #fff;
    background: rgba(0,0,0,0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
  }
  .sound-toggle:hover{ background: rgba(255,255,255,0.16); border-color: #fff; }
  .scroll-cue{
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    color: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    animation: scrollBounce 2.2s infinite;
  }
  @keyframes scrollBounce{
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
  }
  .mobile-play-btn{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 7;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    cursor: pointer;
  }
  .mobile-play-btn:hover{ background: rgba(255,255,255,0.18); }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px){
    .container{ padding: 0 24px; }
    .prop-grid{ grid-template-columns: 1fr; }
    .info-grid{ grid-template-columns: 1fr 1fr; row-gap: 30px; }
    .info-item:nth-child(3){ border-left: none; }
    .detail-grid, .detail:nth-child(even) .detail-grid{
      grid-template-columns: 1fr; direction: ltr; gap: 24px;
    }
    .amenities-list{ column-count: 1; }
    .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img{ height: 180px; }
    .wordmark h1{ font-size: 1.2rem; letter-spacing: 0.2em; padding-left: 0.2em; }
    header{ padding: 24px 0 0; }
    .container.header-row{ padding: 0 20px; }
    .hero{ padding: 120px 0 50px; }
    .footer-row{ flex-direction: column; align-items:flex-start; }
    .footer-social{ text-align:left; }
    .social-icons{ justify-content:flex-start; }
    .sound-toggle{ bottom: 26px; right: 20px; padding: 10px 16px; font-size: 0.64rem; }
    .video-hero-content .sub{ font-size: 0.7rem; }
  }
