
  :root {
    --green: #1D9E75;
    --green-dark: #0F6E56;
    --green-light: #E1F5EE;
    --gold: #C49A3C;
    --gold-light: #FAF0D7;
    --navy: #0C2340;
    --text: #1a1a18;
    --text-muted: #6b6b65;
    --text-light: #9a9a92;
    --bg: #FAFAF7;
    --bg2: #F3F3EE;
    --white: #ffffff;
    --border: rgba(0,0,0,0.08);
    --radius: 4px;
    --radius-lg: 8px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3rem; height: 64px;
    background: rgba(250,250,247,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid var(--border);
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; font-weight: 600; color: var(--text);
    text-decoration: none; letter-spacing: 0.02em; white-space: nowrap;
  }
  .nav-logo span { color: var(--green); }
  .nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
  .nav-links a {
    font-size: 13px; font-weight: 400; color: var(--text-muted);
    text-decoration: none; letter-spacing: 0.03em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--green); }
  .nav-right { display: flex; align-items: center; gap: 10px; }
  .nav-cta-outline {
    padding: 7px 16px; background: transparent; color: var(--text-muted);
    border: 0.5px solid var(--border); border-radius: var(--radius);
    font-size: 13px; font-family: 'DM Sans', sans-serif;
    cursor: pointer; text-decoration: none; transition: all 0.2s;
  }
  .nav-cta-outline:hover { border-color: var(--green); color: var(--green); }
  .nav-signin {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 16px; background: var(--navy); color: rgba(255,255,255,0.85);
    border: none; border-radius: var(--radius); font-size: 13px;
    font-family: 'DM Sans', sans-serif; font-weight: 500;
    cursor: pointer; transition: background 0.2s; white-space: nowrap;
  }
  .nav-signin:hover { background: #0a1c33; }

  /* Dropdown */
  .nav-dropdown { position: relative; }
  .nav-drop-toggle { cursor: pointer; }
  .nav-drop-menu {
    display: none; position: absolute; top: calc(100% + 16px); left: -20px;
    background: var(--white); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 1.25rem; width: 640px;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem;
    opacity: 0; pointer-events: none; transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 200;
  }
  .nav-dropdown:hover .nav-drop-menu,
  .nav-dropdown:focus-within .nav-drop-menu {
    opacity: 1; pointer-events: all; transform: translateY(0);
  }
  .ndm-col {}
  .ndm-col-title {
    font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-light);
    margin-bottom: 8px; padding-bottom: 6px;
    border-bottom: 0.5px solid var(--border);
  }
  .ndm-sub-title {
    font-size: 10px; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--green);
    margin: 10px 0 6px;
  }
  .ndm-link {
    display: block; font-size: 12px; color: var(--text-muted) !important;
    padding: 4px 0; text-decoration: none; transition: color 0.15s;
    line-height: 1.4;
  }
  .ndm-link:hover { color: var(--green) !important; }
  .ndm-event { padding-left: 2px; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-top: 64px;
  }
  .hero-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 5rem 4rem 5rem 5rem;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--green);
    margin-bottom: 1.5rem;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 24px; height: 1px; background: var(--green);
  }
  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 300; line-height: 1.1;
    color: var(--text); margin-bottom: 1.5rem;
  }
  .hero h1 em {
    font-style: italic; color: var(--green);
  }
  .hero p {
    font-size: 16px; color: var(--text-muted);
    max-width: 440px; line-height: 1.7; margin-bottom: 2.5rem;
  }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    padding: 14px 28px; background: var(--green); color: #fff;
    border: none; border-radius: var(--radius); font-size: 14px;
    font-family: 'DM Sans', sans-serif; font-weight: 500;
    cursor: pointer; text-decoration: none; transition: all 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
  .btn-outline {
    padding: 14px 28px; background: transparent; color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 14px; font-family: 'DM Sans', sans-serif; font-weight: 400;
    cursor: pointer; text-decoration: none; transition: all 0.2s;
    display: inline-block;
  }
  .btn-outline:hover { border-color: var(--green); color: var(--green); }
  .hero-stats {
    display: flex; gap: 2rem; margin-top: 3.5rem;
    padding-top: 2rem; border-top: 0.5px solid var(--border);
  }
  .stat-item {}
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; font-weight: 300; color: var(--green); line-height: 1;
  }
  .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
  .hero-right {
    position: relative; overflow: hidden;
    background: var(--navy);
  }

  /* ── HERO SLIDESHOW ── */
  .hero-slides {
    position: absolute; inset: 0;
  }
  .hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.4s ease-in-out;
    will-change: opacity, transform;
  }
  .hero-slide.active { opacity: 1; }

  /* Ken Burns effect — zoom slowly while active */
  .hero-slide.active.kb-in {
    animation: kenBurnsIn 7s ease-out forwards;
  }
  .hero-slide.active.kb-out {
    animation: kenBurnsOut 7s ease-out forwards;
  }
  .hero-slide.active.kb-left {
    animation: kenBurnsLeft 7s ease-out forwards;
  }
  .hero-slide.active.kb-right {
    animation: kenBurnsRight 7s ease-out forwards;
  }
  @keyframes kenBurnsIn {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
  }
  @keyframes kenBurnsOut {
    from { transform: scale(1.0); }
    to   { transform: scale(1.08); }
  }
  @keyframes kenBurnsLeft {
    from { transform: scale(1.06) translateX(2%); }
    to   { transform: scale(1.0) translateX(-2%); }
  }
  @keyframes kenBurnsRight {
    from { transform: scale(1.06) translateX(-2%); }
    to   { transform: scale(1.0) translateX(2%); }
  }

  /* Video slide */
  .hero-slide.video-slide { opacity: 0; }
  .hero-slide.video-slide.active { opacity: 1; }
  .hero-slide video {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  /* YouTube embed inline */
  .hero-slide.yt-slide iframe {
    position: absolute; inset: -10%;
    width: 120%; height: 120%;
    border: none; pointer-events: none;
  }

  /* Progress bar — thin line at bottom showing slide duration */
  .hero-progress {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; z-index: 12; background: rgba(255,255,255,0.1);
  }
  .hero-progress-bar {
    height: 100%; background: rgba(255,255,255,0.6);
    width: 0%; transition: none;
  }
  .hero-progress-bar.running {
    transition: width linear;
  }

  /* Slide label bottom-left */
  .hero-slide-caption {
    position: absolute; bottom: 18px; left: 20px;
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.28); backdrop-filter: blur(4px);
    padding: 5px 12px; border-radius: 20px; z-index: 11;
    transition: opacity 0.4s;
  }

  /* Dots indicator */
  .hero-dots {
    position: absolute; bottom: 22px; right: 20px;
    display: flex; gap: 6px; z-index: 12;
    align-items: center;
  }
  .hero-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none; padding: 0; cursor: pointer;
    transition: background 0.3s, transform 0.3s, width 0.3s;
  }
  .hero-dot.active {
    background: #fff;
    width: 18px; border-radius: 3px;
  }

  /* Nav arrows */
  .hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.07); backdrop-filter: blur(4px);
    border: 0.5px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 12; transition: background 0.2s, opacity 0.2s;
    opacity: 0;
  }
  .hero-right:hover .hero-arrow { opacity: 1; }
  .hero-arrow:hover { background: rgba(255,255,255,0.22); }
  .hero-arrow-prev { left: 14px; }
  .hero-arrow-next { right: 14px; }

  .hero-img-overlay {
    background: url('assets/casas/santa_teresa_avila/foto_01.jpg') center/cover;
    filter: brightness(0.7);
  }
  .hero-img-bot {
    background: url('assets/img/antigua.jpg') center/cover;
    filter: brightness(0.7);
  }
  .hero-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(12,35,64,0.5) 0%, rgba(15,110,86,0.3) 100%);
  }
  .hero-right-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 3rem;
  }
  .hero-badge {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 0.5px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 0.8rem 1rem; max-width: 210px;
    margin-bottom: 1rem;
  }
  .hero-badge .badge-label { font-size: 11px; color: rgba(255,255,255,0.6); margin-bottom: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
  .hero-badge .badge-val { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 300; color: #fff; }
  .hero-badge .badge-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
  .hero-loc-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green); color: #fff;
    padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 500;
    transition: opacity 0.4s;
  }

  /* ── HERO VIDEO & PLAY BUTTON ── */
  
  
  
  

  /* Video modal (YouTube / Vimeo / iframe) */
  .video-modal-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.88); z-index: 1000;
    align-items: center; justify-content: center;
    padding: 2rem;
  }
  .video-modal-backdrop.open { display: flex; }
  .video-modal {
    position: relative; width: 100%; max-width: 960px;
    aspect-ratio: 16/9; background: #000;
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  }
  .video-modal iframe,
  .video-modal video {
    width: 100%; height: 100%; border: none; display: block;
  }
  .video-modal-close {
    position: absolute; top: -44px; right: 0;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: none;
    color: #fff; font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .video-modal-close:hover { background: rgba(255,255,255,0.3); }

  /* ── SECTION HEADER ── */
  .section-header { text-align: center; margin-bottom: 3rem; }
  .section-tag {
    display: inline-block; font-size: 11px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
    margin-bottom: 0.75rem;
  }
  .section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 48px); font-weight: 300;
    color: var(--text); line-height: 1.15;
  }
  .section-header p {
    font-size: 15px; color: var(--text-muted);
    max-width: 520px; margin: 0.75rem auto 0; line-height: 1.7;
  }

  /* ── PRICE COMPARISON ── */
  .price-section {
    padding: 6rem 5rem;
    background: var(--white);
  }
  .price-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--border); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    max-width: 1100px; margin: 0 auto;
  }
  .price-card {
    background: var(--white); padding: 2rem 1.5rem;
  }
  .price-card-label {
    font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-light);
    margin-bottom: 1.25rem; padding-bottom: 0.75rem;
    border-bottom: 0.5px solid var(--border);
  }
  .price-row {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 8px;
  }
  .price-city { font-size: 13px; color: var(--text-muted); }
  .price-val { font-size: 13px; font-weight: 500; color: var(--text); }
  .price-val.highlight { color: var(--green); font-size: 15px; }
  .price-badge {
    display: inline-block; margin-top: 1rem;
    font-size: 11px; padding: 4px 10px;
    border-radius: 20px; background: var(--green-light); color: var(--green-dark);
    font-weight: 500;
  }
  .price-divider {
    height: 1px; background: var(--border); margin: 8px 0 12px;
  }

  /* ── DESTINATIONS ── */
  .destinations-section { padding: 6rem 5rem; background: var(--bg); }
  .dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
  .dest-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; border: 0.5px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .dest-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
  .dest-img {
    height: 200px; position: relative; overflow: hidden;
  }
  .dest-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s;
  }
  .dest-card:hover .dest-img img { transform: scale(1.04); }
  .dest-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  }
  .dest-img-tag {
    position: absolute; top: 14px; left: 14px;
    font-size: 10px; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: #fff;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
    padding: 4px 10px; border-radius: 20px;
    border: 0.5px solid rgba(255,255,255,0.25);
  }
  .dest-body { padding: 1.5rem; }
  .dest-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400; margin-bottom: 0.5rem;
  }
  .dest-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
  .price-table { width: 100%; margin-bottom: 1rem; }
  .price-table thead td {
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-light); padding-bottom: 6px;
  }
  .price-table td { font-size: 12px; padding: 4px 0; vertical-align: middle; }
  .price-table td:last-child { text-align: right; font-weight: 500; color: var(--green); }
  .price-table .zone-name { color: var(--text-muted); }
  .price-table .pt-note {
    font-size: 11px; color: var(--text-light); padding-top: 6px;
    border-top: 0.5px solid var(--border);
  }
  .dest-pills { display: flex; flex-wrap: wrap; gap: 6px; }
  .pill {
    font-size: 11px; padding: 3px 10px;
    border-radius: 20px; border: 0.5px solid var(--border);
    color: var(--text-muted);
  }

  /* ── FEATURED PROJECT ── */
  .projects-section { padding: 6rem 5rem; background: var(--white); }
  .projects-header-row {
    display: flex; justify-content: space-between; align-items: flex-end;
    max-width: 1100px; margin: 0 auto 3rem;
  }
  .projects-header-row .section-header { text-align: left; margin-bottom: 0; }
  .add-project-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: var(--bg2);
    border: 1px dashed rgba(0,0,0,0.2); border-radius: var(--radius);
    font-size: 13px; color: var(--text-muted); cursor: pointer;
    font-family: 'DM Sans', sans-serif; transition: all 0.2s;
  }
  .add-project-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
  .add-project-btn svg { opacity: 0.5; }

  /* Project card — featured */
  .project-featured {
    max-width: 1100px; margin: 0 auto 2rem;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    background: var(--bg); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
  }
  .project-gallery { position: relative; min-height: 480px; overflow: hidden; }
  .gallery-main {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.6s;
  }
  .project-featured:hover .gallery-main { transform: scale(1.02); }
  .gallery-badge {
    position: absolute; top: 20px; left: 20px;
    background: var(--green); color: #fff;
    font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 20px;
  }
  .gallery-thumbs {
    position: absolute; bottom: 16px; left: 16px; right: 16px;
    display: flex; gap: 8px;
  }
  .thumb {
    width: 60px; height: 44px; border-radius: 4px; overflow: hidden;
    border: 2px solid rgba(255,255,255,0.6); cursor: pointer;
    transition: border-color 0.2s;
  }
  .thumb.active { border-color: #fff; }
  .thumb img { width: 100%; height: 100%; object-fit: cover; }

  .project-info { padding: 2.5rem; display: flex; flex-direction: column; }
  .project-tag {
    font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem;
  }
  .project-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px; font-weight: 400; line-height: 1.1;
    color: var(--text); margin-bottom: 0.25rem;
  }
  .project-location {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-muted); margin-bottom: 1.25rem;
  }
  .project-location svg { color: var(--green); }
  .project-desc {
    font-size: 14px; color: var(--text-muted); line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  .project-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 0.5px solid var(--border); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 1.5rem;
  }
  .spec-item {
    padding: 12px 16px; border-right: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
  }
  .spec-item:nth-child(2n) { border-right: none; }
  .spec-item:nth-last-child(-n+2) { border-bottom: none; }
  .spec-label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; }
  .spec-val { font-size: 14px; font-weight: 500; color: var(--text); }
  .project-amenities { margin-bottom: 1.5rem; }
  .amenities-title { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; }
  .amenities-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .amenity-tag {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--text-muted);
    background: var(--bg2); padding: 4px 10px; border-radius: 20px;
  }
  .amenity-tag::before { content: '✓'; color: var(--green); font-size: 10px; font-weight: 700; }
  .project-price-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    padding-top: 1.25rem; border-top: 0.5px solid var(--border);
    margin-top: auto;
  }
  .price-from { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
  .price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; font-weight: 300; color: var(--text); line-height: 1;
    margin-top: 4px;
  }
  .price-amount span { font-size: 16px; }
  .price-sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
  .project-cta-group { display: flex; gap: 8px; flex-direction: column; align-items: flex-end; }
  .btn-project-primary {
    padding: 11px 24px; background: var(--green); color: #fff;
    border: none; border-radius: var(--radius); font-size: 13px;
    font-family: 'DM Sans', sans-serif; font-weight: 500;
    cursor: pointer; white-space: nowrap; transition: background 0.2s;
    text-decoration: none; display: inline-block;
  }
  .btn-project-primary:hover { background: var(--green-dark); }
  .btn-project-outline {
    padding: 11px 24px; background: transparent; color: var(--text-muted);
    border: 0.5px solid var(--border); border-radius: var(--radius);
    font-size: 13px; font-family: 'DM Sans', sans-serif;
    cursor: pointer; white-space: nowrap; transition: all 0.2s;
    text-decoration: none; display: inline-block;
  }
  .btn-project-outline:hover { border-color: var(--green); color: var(--green); }

  /* Sub-listing cards */
  .sub-listings {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  }
  .sub-card {
    background: var(--bg); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
  }
  .sub-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.07); }
  .sub-img { height: 160px; overflow: hidden; }
  .sub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
  .sub-card:hover .sub-img img { transform: scale(1.05); }
  .sub-body { padding: 1rem 1.25rem 1.25rem; }
  .sub-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
  .sub-detail { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
  .sub-footer { display: flex; justify-content: space-between; align-items: center; }
  .sub-price { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: var(--green); }
  .sub-beds { font-size: 11px; color: var(--text-light); }

  /* ── DESTINATION DEEP-DIVE ── */
  .destdetail-section { background: var(--bg); }
  .dd-block {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 560px; align-items: stretch; overflow: hidden;
  }
  .dd-block--alt { direction: rtl; }
  .dd-block--alt > * { direction: ltr; }
  .dd-img { position: relative; overflow: hidden; min-height: 480px; }
  .dd-img-inner { position: absolute; inset: 0; transition: transform 8s ease; }
  .dd-block:hover .dd-img-inner { transform: scale(1.04); }
  .dd-img-caption {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    font-size: 12px; color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
    padding: 6px 14px; border-radius: 20px; width: fit-content;
  }
  .dd-content {
    padding: 4rem 4rem 3.5rem;
    background: var(--white);
    display: flex; flex-direction: column; justify-content: center;
  }
  .dd-eyebrow {
    font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem;
  }
  .dd-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3vw, 38px); font-weight: 300;
    color: var(--text); line-height: 1.15; margin-bottom: 1rem;
  }
  .dd-lead {
    font-size: 14px; color: var(--text-muted); line-height: 1.75;
    margin-bottom: 1.75rem; border-left: 2px solid var(--green);
    padding-left: 1rem;
  }
  .dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
  .dd-item { display: flex; gap: 10px; align-items: flex-start; }
  .dd-item-icon {
    width: 28px; height: 28px; flex-shrink: 0;
    background: var(--green-light); border-radius: 6px;
    display: flex; align-items: center; justify-content: center; margin-top: 1px;
  }
  .dd-item-title { font-size: 12px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
  .dd-item-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
  .dd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .dd-tag {
    font-size: 11px; padding: 4px 11px; border-radius: 20px;
    background: var(--bg2); color: var(--text-muted);
    border: 0.5px solid var(--border);
  }

  /* ── FISHING ── */
  .fishing-section { background: var(--bg); }
  .fishing-editorial {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 520px; align-items: stretch;
    border-bottom: 0.5px solid var(--border);
  }
  .fishing-ed-text {
    padding: 5rem 5rem 4.5rem;
    background: var(--white);
    display: flex; flex-direction: column; justify-content: center;
  }
  .fishing-ed-photo {
    min-height: 480px;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 8s ease;
  }
  .fishing-editorial:hover .fishing-ed-photo { transform: scale(1.03); overflow: hidden; }
  .fishing-hero {
    position: relative; height: 480px;
    display: flex; align-items: flex-end;
  }
  .fishing-bg { position: absolute; inset: 0; }
  .fishing-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12,35,64,0.85) 0%, rgba(12,35,64,0.3) 60%, transparent 100%);
  }
  .fishing-hero-content {
    position: relative; padding: 0 5rem 4rem;
  }
  .fishing-content { padding: 4rem 5rem; background: var(--white); }
  .fishing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; margin-bottom: 3rem;
  }
  .fishing-card {
    background: var(--bg); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .fishing-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.07); }
  .fishing-card-icon {
    width: 48px; height: 48px; background: var(--green-light);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
  }
  .fishing-card h4 { font-size: 14px; font-weight: 500; margin-bottom: 0.5rem; }
  .fishing-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
  .fishing-seasons {
    background: var(--bg); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem 2rem;
  }
  .fs-title {
    font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-light); margin-bottom: 1rem;
  }
  .fs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .fs-col {}
  .fs-month { font-size: 12px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
  .fs-species {
    font-size: 11px; padding: 3px 10px; border-radius: 20px;
    margin-bottom: 4px; display: block; width: fit-content;
  }
  .fs-species.sailfish { background: #E1F5EE; color: #085041; }
  .fs-species.marlin { background: #E6F1FB; color: #0C447C; }
  .fs-species.dorado { background: #FAEEDA; color: #633806; }
  .fs-species.tuna { background: #EEEDFE; color: #3C3489; }
  .fs-species.rooster { background: #FAECE7; color: #712B13; }

  /* ── TEAM ── */
  .team-section {
    padding: 6rem 5rem; background: var(--bg);
    border-top: 0.5px solid var(--border);
  }
  .team-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; max-width: 1100px; margin: 0 auto;
  }
  .team-card {
    background: var(--white); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: grid; grid-template-columns: 240px 1fr;
    transition: box-shadow 0.3s;
  }
  .team-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
  .team-photo { min-height: 320px; background-size: cover; background-position: center 15%; }
  .team-photo--mh{background-color:#1D3A5F;background-image:url('assets/img/michelle.jpg');background-size:cover;background-position:center top;}
  .team-photo--dm{background-color:#2C3E50;background-image:url('assets/img/david.jpg');background-size:cover;background-position:center 20%;}
  .team-body { padding: 1.75rem; }
  .team-location-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 500; color: var(--green);
    background: var(--green-light); padding: 4px 11px;
    border-radius: 20px; margin-bottom: 0.75rem; letter-spacing: 0.02em;
  }
  .team-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 400; color: var(--text); margin-bottom: 2px;
  }
  .team-role { font-size: 12px; color: var(--text-muted); margin-bottom: 0.75rem; }
  .team-bio { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
  .team-specialties { display: flex; flex-wrap: wrap; gap: 5px; }
  .team-spec {
    font-size: 11px; padding: 3px 9px; border-radius: 20px;
    border: 0.5px solid var(--border); color: var(--text-muted);
  }
  /* ── LIFESTYLE ── */
  .lifestyle-section { padding: 6rem 5rem; background: var(--white); }
  .lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1100px; margin: 0 auto; }
  .lifestyle-card {
    padding: 1.75rem; background: var(--bg);
    border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  }
  .lifestyle-icon {
    width: 40px; height: 40px; background: var(--green-light);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
  }
  .lifestyle-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 0.5rem; }
  .lifestyle-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

  /* ── VISA ── */
  .visa-section { padding: 6rem 5rem; background: var(--bg); }
  .visa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; max-width: 1100px; margin: 0 auto; }
  .visa-card { background: var(--white); padding: 1.75rem; }
  .visa-type { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
  .visa-title { font-size: 15px; font-weight: 500; margin-bottom: 0.5rem; }
  .visa-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
  .visa-req { font-size: 11px; color: var(--text-light); margin-top: 10px; padding-top: 10px; border-top: 0.5px solid var(--border); }

  /* ── TESTIMONIALS ── */
  .testi-section { padding: 6rem 5rem; background: var(--white); }
  .testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
  .testi-card {
    background: var(--bg); border: 0.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
  }
  .testi-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; font-weight: 300; font-style: italic;
    color: var(--text); line-height: 1.6; margin-bottom: 1.25rem;
  }
  .testi-person { display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 500; flex-shrink: 0;
  }
  .av1 { background: #DDEEFF; color: #185FA5; }
  .av2 { background: #DDFAEE; color: #0F6E56; }
  .av3 { background: #FDEEE8; color: #993C1D; }
  .av4 { background: #EEEEFF; color: #534AB7; }
  .testi-name { font-size: 14px; font-weight: 500; }
  .testi-origin { font-size: 12px; color: var(--text-light); }

  /* ── CTA FINAL ── */
  .cta-section {
    padding: 7rem 5rem; text-align: center;
    background: var(--navy); position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('assets/img/antigua.jpg') center/cover;
    opacity: 0.12;
  }
  .cta-section > * { position: relative; }
  .cta-section .section-tag { color: rgba(255,255,255,0.5); }
  .cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 60px); font-weight: 300;
    color: #fff; line-height: 1.1; margin-bottom: 1rem;
  }
  .cta-section h2 em { font-style: italic; color: #5DCAA5; }
  .cta-section p { font-size: 15px; color: rgba(255,255,255,0.55); max-width: 480px; margin: 0 auto 2.5rem; }
  .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-cta-white {
    padding: 14px 32px; background: #fff; color: var(--navy);
    border: none; border-radius: var(--radius); font-size: 14px;
    font-family: 'DM Sans', sans-serif; font-weight: 500;
    cursor: pointer; text-decoration: none; transition: opacity 0.2s;
    display: inline-block;
  }
  .btn-cta-white:hover { opacity: 0.9; }
  .btn-cta-outline {
    padding: 14px 32px; background: transparent; color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius);
    font-size: 14px; font-family: 'DM Sans', sans-serif;
    cursor: pointer; text-decoration: none; transition: border-color 0.2s;
    display: inline-block;
  }
  .btn-cta-outline:hover { border-color: rgba(255,255,255,0.6); }

  /* ── FOOTER ── */
  footer {
    background: var(--text); color: rgba(255,255,255,0.5);
    padding: 2.5rem 5rem; display: flex;
    justify-content: space-between; align-items: center;
    font-size: 13px;
  }
  footer .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.8);
  }
  footer .footer-logo span { color: #5DCAA5; }
  footer a { color: rgba(255,255,255,0.4); text-decoration: none; margin-left: 1.5rem; }
  footer a:hover { color: rgba(255,255,255,0.7); }

  /* ── CONTACT FORM ── */
  .contact-section {
    background: var(--navy); position: relative; overflow: hidden;
  }
  .contact-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('assets/img/city-night.jpg') center/cover;
    opacity: 0.06;
  }
  .contact-inner {
    position: relative;
    display: grid; grid-template-columns: 1fr 1.1fr;
    max-width: 1100px; margin: 0 auto;
    padding: 6rem 5rem; gap: 5rem; align-items: start;
  }
  .contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 54px); font-weight: 300;
    color: #fff; line-height: 1.1; margin-bottom: 1rem;
  }
  .contact-title em { font-style: italic; color: #5DCAA5; }
  .contact-sub { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 2.5rem; max-width: 380px; }
  .contact-team { display: flex; flex-direction: column; gap: 14px; }
  .ct-member { display: flex; align-items: center; gap: 12px; }
  .ct-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 500; flex-shrink: 0;
  }
  .ct-av1 { background: rgba(29,158,117,0.25); color: #5DCAA5; }
  .ct-av2 { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); }
  .ct-name { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); }
  .ct-loc { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 1px; }
  .contact-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem 2rem 1.75rem; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }
  .contact-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400; margin-bottom: 1.5rem; color: var(--text);
  }
  .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
  .cf-field { display: flex; flex-direction: column; }
  .cf-label { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
  .cf-input, .cf-select, .cf-textarea {
    padding: 10px 14px; border: 0.5px solid var(--border);
    border-radius: var(--radius); font-size: 14px;
    font-family: 'DM Sans', sans-serif; background: var(--bg);
    color: var(--text); transition: border-color 0.2s;
    width: 100%;
  }
  .cf-input:focus, .cf-select:focus, .cf-textarea:focus { outline: none; border-color: var(--green); }
  .cf-select { appearance: none; }
  .cf-textarea { resize: vertical; min-height: 90px; }
  .cf-submit {
    width: 100%; padding: 13px; background: var(--green); color: #fff;
    border: none; border-radius: var(--radius); font-size: 14px;
    font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.2s;
  }
  .cf-submit:hover { background: var(--green-dark); }
  .cf-submit:disabled { background: var(--text-light); cursor: not-allowed; }
  .cf-privacy { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 10px; }
  .contact-success {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 3rem 2rem; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }
  .cs-icon { margin-bottom: 1.25rem; }
  .contact-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; font-weight: 300; margin-bottom: 0.5rem;
  }
  .contact-success p { font-size: 14px; color: var(--text-muted); }
  @media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-right { min-height: 350px; }
    .price-grid, .visa-grid { grid-template-columns: 1fr 1fr; }
    .dest-grid, .sub-listings, .testi-grid { grid-template-columns: 1fr 1fr; }
    .project-featured { grid-template-columns: 1fr; }
    .project-gallery { min-height: 300px; }
    .lifestyle-grid { grid-template-columns: 1fr 1fr; }
    .dd-img { min-height: 300px; }
    .dd-content { padding: 2.5rem 2rem; }
    .fishing-grid { grid-template-columns: 1fr 1fr; }
    .fishing-editorial { grid-template-columns: 1fr; }
    .fishing-ed-text { padding: 3rem 2rem; }
    .fishing-ed-photo { min-height: 300px; }
    .fishing-hero-content { padding: 0 2rem 3rem; }
    .fishing-content { padding: 3rem 2rem; }
    .team-grid { grid-template-columns: 1fr; }
    .team-card { grid-template-columns: 200px 1fr; }
    .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 2rem; }
    .contact-sub { max-width: 100%; }
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .price-section, .destinations-section, .projects-section,
    .destdetail-section .section-header, .fishing-content,
    .team-section, .lifestyle-section, .visa-section,
    .testi-section, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  }
  @media (max-width: 640px) {
    .price-grid, .visa-grid, .dest-grid, .sub-listings, .testi-grid, .lifestyle-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .projects-header-row { flex-direction: column; gap: 1rem; align-items: flex-start; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
    footer a { margin: 0 0.75rem; }
    .dd-block, .dd-block--alt { grid-template-columns: 1fr; direction: ltr; }
    .dd-img { min-height: 220px; }
    .dd-content { padding: 1.75rem 1.25rem; }
    .dd-block, .dd-block--alt { grid-template-columns: 1fr; direction: ltr; }
    .dd-img { min-height: 220px; }
    .dd-content { padding: 1.75rem 1.25rem; }
    .dd-grid { grid-template-columns: 1fr; }
    .fishing-grid { grid-template-columns: 1fr; }
    .fs-grid { grid-template-columns: 1fr 1fr; }
    .team-card { grid-template-columns: 1fr; }
    .team-photo { min-height: 300px; background-position: center 20%; }
    .cf-row { grid-template-columns: 1fr; }
    .contact-inner { padding: 3rem 1.5rem; }
  }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow { animation: fadeUp 0.6s ease both; }
  .hero h1 { animation: fadeUp 0.6s 0.1s ease both; }
  .hero p { animation: fadeUp 0.6s 0.2s ease both; }
  .hero-actions { animation: fadeUp 0.6s 0.3s ease both; }
  .hero-stats { animation: fadeUp 0.6s 0.4s ease both; }

/* ===========================================================
   ADDITIONS — Casa cards, Modal/gallery, Language switcher
   =========================================================== */

/* ── LANGUAGE SWITCHER ────────────────────────────── */
.lang-switcher { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  background: transparent; border: 0.5px solid var(--border);
  border-radius: var(--radius); color: var(--text-muted);
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
  font-family: 'DM Sans', sans-serif; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--green); color: var(--green); }
.lang-toggle svg { transition: transform 0.2s; }
.lang-menu.open ~ .lang-toggle svg,
.lang-switcher .lang-menu.open + .lang-toggle svg { transform: rotate(180deg); }
.lang-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  min-width: 160px; padding: 6px;
  z-index: 250;
}
.lang-menu.open { display: block; }
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 4px;
  font-size: 13px; color: var(--text);
  cursor: pointer; transition: background 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.lang-opt:hover { background: var(--bg); }
.lang-opt.active {
  background: var(--green-light); color: var(--green-dark);
  font-weight: 500;
}
.lang-opt-code {
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  background: var(--bg2); color: var(--text-muted);
  padding: 2px 7px; border-radius: 3px;
  min-width: 26px; text-align: center;
}
.lang-opt.active .lang-opt-code {
  background: var(--green); color: #fff;
}

/* ── CASAS GRID (the 5 residences) ─────────────────── */
.casas-section {
  padding: 4rem 5rem 6rem; background: var(--white);
}
.casas-header { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.casas-legend {
  display: flex; gap: 1.5rem; justify-content: center;
  margin-top: 1.25rem; flex-wrap: wrap;
}
.lg-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-muted);
}
.lg-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
}
.lg-finished { background: var(--green); }
.lg-progress { background: #C49A3C; }

.casas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
.casa-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.casa-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.10); }
.casa-img {
  position: relative; height: 220px; overflow: hidden;
}
.casa-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.casa-card:hover .casa-img img { transform: scale(1.05); }
.casa-status {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.casa-status.status-finished {
  background: rgba(29, 158, 117, 0.92); color: #fff;
}
.casa-status.status-progress {
  background: rgba(196, 154, 60, 0.92); color: #fff;
}
.casa-body {
  padding: 1.5rem; display: flex; flex-direction: column; flex: 1;
}
.casa-lote {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.4rem;
}
.casa-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: var(--text);
  line-height: 1.2; margin-bottom: 0.4rem;
}
.casa-meta {
  font-size: 12px; color: var(--text-muted); margin-bottom: 0.85rem;
}
.casa-icons {
  display: flex; gap: 1rem;
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.casa-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 1.2rem; flex: 1;
}
.btn-detail {
  align-self: flex-start;
  padding: 9px 18px;
  background: transparent; color: var(--green);
  border: 0.5px solid var(--green);
  border-radius: var(--radius);
  font-size: 12px; font-family: 'DM Sans', sans-serif;
  font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-detail:hover { background: var(--green); color: #fff; }

/* ── MODAL ────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 1000;
  align-items: flex-start; justify-content: center;
  padding: 0;
}
.modal.active { display: flex; }
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 18, 30, 0.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-content {
  position: relative;
  background: var(--white);
  width: 100%; max-width: 1100px;
  margin: 2.5rem auto; max-height: calc(100vh - 5rem);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  padding: 2rem 2rem 2.5rem;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 0.5px solid var(--border);
  color: var(--text-muted); font-size: 22px; line-height: 1;
  cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--green); color: #fff; border-color: var(--green); }
.modal-header { margin-bottom: 1.25rem; padding-right: 50px; }
.modal-lote {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.3rem;
}
.modal-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 400; color: var(--text);
  line-height: 1.15; margin-bottom: 0.5rem;
}
.modal-status {
  display: inline-block;
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.03em;
}
.modal-status.finished { background: var(--green-light); color: var(--green-dark); }
.modal-status.progress { background: #FAEBD0; color: #7E5811; }
.modal-main-img {
  width: 100%; height: 480px;
  background: var(--bg2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  cursor: pointer;
}
.modal-main-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity 0.13s;
}
.modal-thumbs-label {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light); margin: 0.75rem 0 0.6rem;
}
.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 2rem;
}
.modal-thumbs .thumb {
  position: relative;
  width: 100%; height: 76px;
  border-radius: 4px; overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.modal-thumbs .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.modal-thumbs .thumb:hover {
  border-color: #C49A3C;
  transform: translateY(-2px);
}
.modal-thumbs .thumb:hover img { transform: scale(1.08); }
.modal-thumbs .thumb.active {
  border-color: var(--green);
}
.modal-thumbs .thumb.active::after {
  content: "✓";
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.modal-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.modal-info-block h4 {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 0.85rem;
  padding-bottom: 0.5rem; border-bottom: 0.5px solid var(--border);
}
.modal-info-block ul { list-style: none; padding: 0; margin: 0; }
.modal-info-block li {
  position: relative; padding-left: 18px;
  font-size: 13px; color: var(--text); line-height: 1.6;
  margin-bottom: 0.5rem;
}
.modal-info-block li::before {
  content: "›"; position: absolute; left: 0; top: -1px;
  color: var(--green); font-weight: 500;
}
.modal-cta { text-align: center; padding-top: 1rem; border-top: 0.5px solid var(--border); }
.modal-cta .btn-primary {
  padding: 13px 32px; background: var(--green); color: #fff;
  border: none; border-radius: var(--radius); font-size: 14px;
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s;
}
.modal-cta .btn-primary:hover { background: var(--green-dark); }

/* ── Responsive overrides ────────────────────────── */
@media (max-width: 1024px) {
  .casas-grid { grid-template-columns: repeat(2, 1fr); }
  .casas-section { padding: 3rem 1.5rem 4rem; }
  .modal-content { margin: 1rem auto; padding: 1.5rem 1.25rem; max-height: calc(100vh - 2rem); }
  .modal-main-img { height: 320px; }
  .modal-info { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 640px) {
  .casas-grid { grid-template-columns: 1fr; }
  .modal-header h2 { font-size: 24px; }
  .modal-main-img { height: 240px; }
  .modal-thumbs { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .modal-thumbs .thumb { height: 56px; }
  .lang-menu { right: -8px; min-width: 150px; }
}

