/* Casa del Mar widget — teal theme */
  .ldg-mar-wrap {
    --ldg-bnb-background: #ffffff;
    --ldg-bnb-border-radius: 0.42em;
    --ldg-bnb-box-shadow: none;
    --ldg-bnb-padding: 14px;
    --ldg-bnb-input-background: #ffffff;
    --ldg-bnb-button-border-radius: 3.58em;
    --ldg-bnb-color-primary: #2aacb8;
    --ldg-bnb-color-primary-lighter: #7fd4dc;
    --ldg-bnb-color-primary-darker: #1a8a94;
    --ldg-bnb-color-primary-contrast: #ffffff;
    --ldg-component-calendar-cell-selection-bg-color: #2aacb8;
    --ldg-component-calendar-cell-selection-color: #ffffff;
    --ldg-component-calendar-cell-selected-bg-color: #e0f5f7;
    --ldg-component-calendar-cell-selected-color: #1c2b2d;
    --ldg-bnb-font-family: inherit;
    width: 100%;
  }
  /* Casa del Sol widget — amber/gold theme */
  .ldg-sol-wrap {
    --ldg-bnb-background: #ffffff;
    --ldg-bnb-border-radius: 0.42em;
    --ldg-bnb-box-shadow: none;
    --ldg-bnb-padding: 14px;
    --ldg-bnb-input-background: #ffffff;
    --ldg-bnb-button-border-radius: 3.58em;
    --ldg-bnb-color-primary: #e8a430;
    --ldg-bnb-color-primary-lighter: #f5cc80;
    --ldg-bnb-color-primary-darker: #b07818;
    --ldg-bnb-color-primary-contrast: #ffffff;
    --ldg-component-calendar-cell-selection-bg-color: #e8a430;
    --ldg-component-calendar-cell-selection-color: #ffffff;
    --ldg-component-calendar-cell-selected-bg-color: #fdf3e0;
    --ldg-component-calendar-cell-selected-color: #1c2b2d;
    --ldg-bnb-font-family: inherit;
    width: 100%;
  }
  :root {
    --cream:       #faf7f2;
    --linen:       #f2ede3;
    --sand:        #e8dcc8;
    --sand-dark:   #c9b89a;
    --teal:        #2aacb8;
    --teal-light:  #e0f5f7;
    --teal-deep:   #1a8a94;
    --sol:         #e8a430;
    --sol-light:   #fdf3e0;
    --mar:         #2aacb8;
    --mar-light:   #e0f5f7;
    --text:        #1c2b2d;
    --text-mid:    #4a6165;
    --text-muted:  #8aa4a8;
    --white:       #ffffff;
    --border:      rgba(42,172,184,0.18);
    --border-sand: rgba(201,184,154,0.38);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--cream);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    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: 1.8rem 5rem;
    background: rgba(250,247,242,0.55);
    backdrop-filter: blur(8px);
    transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
  }
  .img-placeholder {
    width: 100%; height: 100%;
    background-color: #ddf0f2;
    background-image: repeating-linear-gradient(
      -45deg,
      rgba(42,172,184,0.12) 0px,
      rgba(42,172,184,0.12) 10px,
      transparent 10px,
      transparent 24px
    );
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.5rem; color: var(--teal-deep);
    font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
    border-radius: inherit;
  }
  .img-placeholder span { font-size: 1.6rem; }
  nav.scrolled {
    background: rgba(250,247,242,0.96);
    backdrop-filter: blur(14px);
    padding: 1rem 5rem;
    box-shadow: 0 1px 0 var(--border-sand);
  }
  .nav-logo {
    display: flex; flex-direction: column; line-height: 1;
    text-decoration: none;
  }
  .nav-logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 400;
    letter-spacing: 0.14em; color: var(--text);
  }
  .nav-logo-sub {
    font-size: 0.6rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--text-muted);
    margin-top: 2px;
  }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    color: var(--text-mid); text-decoration: none;
    font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--teal); }
  .nav-whatsapp { color: #25D366 !important; }
  .nav-whatsapp:hover { color: #128C7E !important; }
  .nav-whatsapp-btn {
    display: flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 50%;
    color: #25D366; transition: background 0.2s, box-shadow 0.2s;
    background: var(--white);
    border: 1px solid rgba(37,211,102,0.35);
    box-shadow: 0 1px 6px rgba(28,43,45,0.08);
  }
  .nav-whatsapp-btn:hover { background: #f0fdf4; box-shadow: 0 2px 10px rgba(37,211,102,0.18); }
  .nav-book {
    background: var(--teal); color: var(--white);
    padding: 0.65rem 1.8rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.73rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; font-weight: 500; border-radius: 2px;
    transition: background 0.2s;
  }
  .nav-book:hover { background: var(--teal-deep); }
  .nav-ctas { display: flex; gap: 0.6rem; }
  .nav-book-mar {
    background: var(--teal); color: var(--white);
    padding: 0.55rem 1.2rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; font-weight: 500; border-radius: 2px;
    transition: background 0.2s;
  }
  .nav-book-mar:hover { background: var(--teal-deep); }
  .nav-book-sol {
    background: var(--sol); color: var(--white);
    padding: 0.55rem 1.2rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; font-weight: 500; border-radius: 2px;
    transition: background 0.2s;
  }
  .nav-book-sol:hover { background: #c98820; }

  /* ── HERO ── */
  #hero {
    position: relative; height: 75vh; min-height: 560px;
    display: flex; align-items: center; overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: #ddf0f2 url('mar-pictures/Ocean-Top-Down.jpeg') center/cover no-repeat;
  }
  .hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(250,247,242,0.82) 0%, rgba(250,247,242,0.82) 36%, rgba(250,247,242,0.3) 50%, rgba(250,247,242,0.0) 100%);
  }
  .hero-content {
    position: relative; z-index: 2;
    padding: 0 5rem; max-width: 860px;
    animation: fadeUp 1s ease-out 0.2s both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 1.4rem;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 28px; height: 1px; background: var(--teal);
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 300; line-height: 1.1; color: var(--text); margin-bottom: 0.6rem;
  }
  .hero-title em { font-style: italic; color: var(--teal); }
  .hero-title .sol { font-style: italic; color: var(--sol); }
  .hero-divider {
    width: 40px; height: 1px;
    background: linear-gradient(to right, var(--teal), var(--sol));
    margin: 1.4rem 0;
  }
  .hero-sub {
    font-size: 0.95rem; color: var(--text-mid);
    line-height: 1.8; margin-bottom: 2.5rem; max-width: 440px;
  }
  .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--teal); color: var(--white);
    padding: 0.9rem 2.2rem; font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 500; text-decoration: none; border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex; align-items: center; gap: 0.6rem;
    border: none; cursor: pointer;
  }
  .btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }
  .btn-ghost {
    background: transparent; color: var(--text);
    padding: 0.9rem 2.2rem; font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 400; text-decoration: none; border-radius: 2px;
    border: 1px solid var(--border-sand);
    transition: border-color 0.2s, color 0.2s;
    display: inline-flex; align-items: center; gap: 0.6rem;
  }
  .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
  .btn-contact {
    background: var(--white); color: var(--text);
    padding: 0.9rem 2.2rem; font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 500; text-decoration: none; border-radius: 2px;
    border: 1px solid var(--border-sand);
    transition: border-color 0.2s, box-shadow 0.2s;
    display: inline-flex; align-items: center; gap: 0.6rem;
    box-shadow: 0 2px 12px rgba(28,43,45,0.08);
  }
  .btn-contact:hover { border-color: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,0.15); }

  .hero-badges {
    position: absolute; bottom: 3.5rem; right: 5rem;
    display: flex; gap: 0.8rem; z-index: 2;
    animation: fadeUp 1s ease-out 0.7s both;
  }
  .badge-pill {
    background: var(--white); border: 1px solid var(--border-sand);
    border-radius: 40px; padding: 0.55rem 1.1rem;
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.72rem; color: var(--text-mid);
    box-shadow: 0 4px 16px rgba(28,43,45,0.07);
  }
  .badge-dot { width: 6px; height: 6px; border-radius: 50%; }
  .badge-dot.teal { background: var(--teal); }
  .badge-dot.sol  { background: var(--sol); }

  /* ── FEATURES STRIP ── */
  #features {
    background: var(--teal-light);
    padding: 2.5rem 5rem;
    display: flex; gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }
  .feature-item {
    flex: 1; min-width: 150px;
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0 2rem;
    border-right: 1px solid var(--border);
  }
  .feature-item:first-child { padding-left: 0; }
  .feature-item:last-child { border-right: none; }
  .feature-icon { font-size: 1.5rem; flex-shrink: 0; }
  .feature-name { font-size: 0.8rem; font-weight: 500; color: var(--text); margin-bottom: 0.1rem; }
  .feature-desc { font-size: 0.7rem; color: var(--text-muted); }

  /* ── TESTIMONIALS ── */
  #testimonials {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 5rem;
    text-align: center;
    overflow: hidden;
  }
  .testimonial-slider { position: relative; max-width: 720px; margin: 0 auto; }
  .testimonial-track { position: relative; min-height: 160px; }
  .testimonial-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.5s ease;
    pointer-events: none;
  }
  .testimonial-slide.active {
    opacity: 1; position: relative;
    pointer-events: auto;
  }
  .testimonial-stars {
    color: var(--sol); font-size: 1rem; letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
  }
  .testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 300; font-style: italic;
    color: var(--text); line-height: 1.75;
    margin-bottom: 1.4rem;
  }
  .testimonial-author {
    font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--text-muted);
  }
  .testimonial-dots {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; margin-top: 1.8rem;
  }
  .testimonial-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sand-dark); border: none; cursor: pointer;
    padding: 0; transition: background 0.2s, transform 0.2s;
  }
  .testimonial-dot.active { background: var(--teal); transform: scale(1.35); }

  @media (max-width: 960px) {
    #testimonials { padding: 2.5rem 1.5rem; }
    .testimonial-track { min-height: 220px; }
  }

  /* ── VILLAS SECTION ── */
  #villas {
    background: var(--white);
    padding: 4.5rem 5rem 9rem;
  }
  .villas-intro {
    text-align: center; max-width: 580px; margin: 0 auto 5rem;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 1.2rem;
  }
  .eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--teal); }
  .eyebrow.sol-eye { color: var(--sol); }
  .eyebrow.sol-eye::before { background: var(--sol); }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300;
    line-height: 1.15; color: var(--text); margin-bottom: 1.2rem;
  }
  .section-title em { font-style: italic; color: var(--teal); }
  .section-title .sol { font-style: italic; color: var(--sol); }
  .body-text {
    font-size: 0.92rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem;
  }

  /* Villa cards side by side */
  .villa-cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    border: 1px solid var(--border-sand); border-radius: 6px;
    overflow: hidden; align-items: start;
  }
  .villa-card { position: relative; display: flex; flex-direction: column; }
  .villa-img {
    width: 100%; height: 420px; object-fit: cover;
    display: block; transition: transform 0.7s ease;
  }
  .villa-card:hover .villa-img { transform: scale(1.03); }
  .villa-img-wrap { overflow: hidden; height: 420px; }
  .villa-body {
    padding: 2.5rem;
    border-top: 1px solid var(--border-sand);
  }
  .villa-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border-radius: 40px; padding: 0.3rem 1rem;
    font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 500; margin-bottom: 1.2rem;
  }
  .villa-tag.mar { background: var(--mar-light); color: var(--teal-deep); border: 1px solid var(--border); }
  .villa-tag.sol { background: var(--sol-light); color: #9a6300; border: 1px solid rgba(232,164,48,0.25); }
  .villa-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem; font-weight: 300; line-height: 1.1;
    margin-bottom: 0.3rem;
  }
  .villa-name.mar { color: var(--teal-deep); }
  .villa-name.sol { color: #9a6300; }
  .villa-subtitle {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 1.2rem;
  }
  .villa-desc {
    font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem;
  }
  .villa-features {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem;
  }
  .vf-tag {
    background: var(--cream); border: 1px solid var(--border-sand);
    border-radius: 40px; padding: 0.3rem 0.8rem;
    font-size: 0.68rem; color: var(--text-mid);
  }
  /* Stat tags hidden on desktop, shown on mobile */
  .vf-stat { display: none; }
  .villa-divider {
    width: 1px; background: var(--border-sand);
    position: absolute; top: 0; bottom: 0; right: 0;
  }

  /* ── ABOUT / TRUST ── */
  #about { background: var(--white); padding: 5.5rem 5rem 5rem; border-top: 1px solid var(--border-sand); border-bottom: 1px solid var(--border-sand); }
  .about-layout {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem;
    align-items: start;
  }
  .about-exterior-img {
    width: 100%; height: 185px; object-fit: cover;
    border-radius: 4px; display: block; margin-bottom: 0.9rem;
  }
  .trust-badge-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem;
  }
  .trust-badge {
    display: flex; flex-direction: column; gap: 0.3rem;
    background: var(--cream); border: 1px solid var(--border-sand);
    border-radius: 4px; padding: 0.8rem 0.9rem;
  }
  .trust-badge-icon { font-size: 1.1rem; }
  .trust-badge-label {
    font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted); margin-top: 0.1rem;
  }
  .trust-badge-val { font-size: 0.75rem; color: var(--text); font-weight: 400; line-height: 1.4; }
  .about-text .body-text strong { color: var(--text); font-weight: 500; }
  .about-contact {
    display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.8rem;
  }
  .about-contact-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; color: var(--text-mid); text-decoration: none;
    border-bottom: 1px solid var(--border-sand);
    padding-bottom: 0.1rem;
    transition: color 0.2s, border-color 0.2s;
  }
  .about-contact-link:hover { color: var(--teal); border-color: var(--teal); }
  @media (max-width: 960px) {
    #about { padding: 4rem 1.5rem; }
    .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  }

  /* ── GALLERY ── */
  #gallery {
    background: var(--cream); padding: 8rem 5rem;
  }
  .gallery-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 3rem;
  }
  .gallery-view-all {
    display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap;
  }
  .gallery-view-all-btn {
    font-size: 0.72rem; padding: 0.65rem 1.4rem;
  }
  .gallery-link {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--teal); text-decoration: none;
    display: flex; align-items: center; gap: 0.4rem;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 300px 220px;
    gap: 10px;
  }
  .gi { overflow: hidden; border-radius: 4px; }
  .gi img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
  .gi:hover img { transform: scale(1.05); }
  .g1 { grid-column: span 5; grid-row: span 2; }
  .g2 { grid-column: span 4; }
  .g3 { grid-column: span 3; }
  .g4 { grid-column: span 3; }
  .g5 { grid-column: span 4; }

  /* ── AMENITIES ── */
  #amenities { background: var(--white); padding: 8rem 5rem; }
  .amenities-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    margin-top: 3.5rem;
  }
  .amenity-card {
    background: var(--cream); border: 1px solid var(--border-sand);
    border-radius: 4px; padding: 1.4rem 1.4rem;
    display: flex; flex-direction: row; align-items: center; gap: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  }
  .amenity-card:hover {
    border-color: var(--teal);
    box-shadow: 0 8px 28px rgba(42,172,184,0.1);
    transform: translateY(-3px);
  }
  .amenity-icon { font-size: 1.5rem; flex-shrink: 0; }
  .amenity-text { display: flex; flex-direction: column; }
  .amenity-name { font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 0.25rem; }
  .amenity-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.55; }

  /* ── POOL MOMENT ── */
  #pool {
    position: relative; height: 520px; overflow: hidden;
    display: flex; align-items: center;
  }
  .pool-bg {
    position: absolute; inset: 0;
    background: #ddf0f2 url('mar-pictures/pool-lounge-dusk.JPG') center / 100% auto no-repeat;
  }
  .pool-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(250,247,242,0) 32%, rgba(250,247,242,0.86) 66%, rgba(250,247,242,0.96) 100%);
  }
  .pool-content {
    position: relative; z-index: 2;
    margin-left: auto; max-width: 420px; padding: 0 5rem;
  }
  .pool-content .section-title { margin-bottom: 1rem; }
  .pool-content .body-text { margin-bottom: 1.5rem; }
  .pool-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .pool-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--teal-light); color: var(--teal-deep);
    border: 1px solid var(--border); border-radius: 40px;
    padding: 0.4rem 0.9rem; font-size: 0.7rem; letter-spacing: 0.06em;
  }

  /* ── EXTRA SERVICES ── */
  .extra-services {
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border-sand);
  }
  .extra-services-header {
    display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem;
  }
  .extra-services-badge {
    font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
    background: var(--mar-light); color: var(--teal-deep);
    border: 1px solid var(--border); border-radius: 40px;
    padding: 0.25rem 0.7rem; font-weight: 500; flex-shrink: 0;
  }
  .extra-services-badge.sol {
    background: var(--sol-light); color: #9a6300;
    border-color: rgba(232,164,48,0.3);
  }
  .extra-services-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem; font-weight: 400; color: var(--text);
  }
  .extra-services-sub {
    font-size: 0.8rem; color: var(--text-mid); line-height: 1.7;
    margin-bottom: 1.2rem;
  }
  .extra-services-list {
    display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.1rem;
  }
  .extra-service-item {
    display: flex; align-items: center; gap: 0.45rem;
    background: var(--cream); border: 1px solid var(--border-sand);
    border-radius: 40px; padding: 0.4rem 0.9rem;
    font-size: 0.75rem; color: var(--text);
  }
  .es-icon { font-size: 0.9rem; }
  .es-label { font-weight: 400; }
  .extra-services-note {
    font-size: 0.72rem; color: var(--text-muted); line-height: 1.65;
    margin-bottom: 1.1rem; font-style: italic;
  }
  .extra-services-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--white); border: 1px solid var(--border-sand);
    color: var(--text); border-radius: 2px;
    padding: 0.65rem 1.2rem; font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 500; text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(28,43,45,0.06);
  }
  .extra-services-cta:hover {
    border-color: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,0.15);
  }

  /* ── BOOKING ── */
  #book { background: var(--linen); padding: 8rem 5rem; }
  .book-layout {
    display: grid; grid-template-columns: 1fr 1.45fr; gap: 6rem;
    align-items: start; margin-top: 3rem;
  }
  .book-info .body-text { margin-bottom: 1rem; }
  .price-display {
    background: var(--white); border: 1px solid var(--border-sand);
    border-radius: 4px; padding: 1.5rem 1.8rem;
    margin: 1.8rem 0; display: flex; align-items: baseline; gap: 0.5rem;
  }
  .price-from { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-right: 0.2rem; }
  .price-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; font-weight: 400; color: var(--teal); line-height: 1;
  }
  .price-unit { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
  .bank-note {
    background: var(--teal-light); border-left: 3px solid var(--teal);
    border-radius: 0 4px 4px 0; padding: 1.2rem 1.4rem;
    font-size: 0.8rem; color: var(--teal-deep); line-height: 1.75; margin-bottom: 1.5rem;
  }
  .bank-note strong { display: block; margin-bottom: 0.3rem; font-weight: 500; }
  .whatsapp-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.7rem;
    width: 100%; background: #25D366; color: var(--white);
    padding: 0.85rem; font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 500; text-decoration: none; border-radius: 2px;
    transition: background 0.2s; margin-top: 0.9rem;
  }
  .whatsapp-btn:hover { background: #128C7E; }

  /* ── WIDGET CLOSE BUTTON ── */
  .widget-close {
    width: 100% !important; margin-bottom: 0.7rem !important;
    padding: 1rem !important; border: none !important; cursor: pointer !important;
    border-radius: 2px !important;
    font-family: 'DM Sans', sans-serif !important; font-size: 0.8rem !important;
    letter-spacing: 0.14em !important; text-transform: uppercase !important;
    font-weight: 500 !important;
    display: flex !important; align-items: center !important;
    justify-content: center !important; gap: 0.5rem !important;
    transition: background 0.2s, transform 0.2s;
    box-sizing: border-box !important;
  }
  .widget-close:hover { transform: translateY(-1px); }
  .widget-close-mar { background: var(--teal) !important; color: var(--white) !important; }
  .widget-close-mar:hover { background: var(--teal-deep) !important; }
  .widget-close-sol { background: var(--sol) !important; color: var(--white) !important; }
  .widget-close-sol:hover { background: #c98820 !important; }

  .lodgify-container {
    background: var(--white); border: 1px solid var(--border-sand);
    border-radius: 4px; padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(28,43,45,0.07);
  }
  .lodgify-header {
    margin-bottom: 1.8rem; padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-sand);
  }
  .lodgify-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 400; color: var(--text); margin-bottom: 0.3rem;
  }
  .lodgify-sub { font-size: 0.76rem; color: var(--text-muted); }
  .widget-placeholder {
    background: var(--cream); border: 1px dashed var(--border-sand);
    border-radius: 4px; padding: 3rem 2rem; text-align: center;
    color: var(--text-muted); font-size: 0.8rem; line-height: 1.8;
  }
  .widget-placeholder strong { display: block; color: var(--teal); font-size: 0.86rem; margin-bottom: 0.4rem; }

  .villa-booking {
    margin-top: auto;
    border-top: 1px solid var(--border-sand);
    padding: 2rem 2.5rem 2.5rem;
    background: var(--cream);
  }
  .villa-booking-label {
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    margin-bottom: 1rem; font-weight: 500;
  }
  .villa-booking-label.mar { color: var(--teal-deep); }
  .villa-booking-label.sol { color: #9a6300; }
  .btn-availability {
    width: 100%; padding: 1rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.8rem;
    letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
    border-radius: 2px; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-availability-mar { background: var(--teal); color: var(--white); }
  .btn-availability-mar:hover { background: var(--teal-deep); transform: translateY(-1px); }
  .btn-availability-sol { background: var(--sol); color: var(--white); }
  .btn-availability-sol:hover { background: #c98820; transform: translateY(-1px); }

  /* ── LOCATION ── */
  #location { background: var(--white); padding: 8rem 5rem; }
  .location-layout {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem;
    align-items: center; margin-top: 3rem;
  }
  .map-frame { height: 420px; border-radius: 4px; overflow: hidden; border: 1px solid var(--border-sand); }
  .map-frame iframe { width: 100%; height: 100%; border: none; }
  .location-details .body-text { margin-bottom: 1rem; }
  .location-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
  .loc-tag {
    background: var(--teal-light); color: var(--teal-deep);
    border: 1px solid var(--border); border-radius: 40px;
    padding: 0.4rem 1rem; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  }

  /* ── RULES ── */
  #rules { background: var(--cream); padding: 8rem 5rem; }
  .rules-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem;
  }
  .rule-card {
    background: var(--white); border: 1px solid var(--border-sand);
    border-radius: 4px; padding: 2rem;
    display: flex; gap: 1.2rem; align-items: flex-start;
    transition: border-color 0.2s;
  }
  .rule-card:hover { border-color: var(--teal); }
  .rule-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
  .rule-title { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.3rem; }
  .rule-val { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--text); margin-bottom: 0.2rem; }
  .rule-note { font-size: 0.73rem; color: var(--text-muted); line-height: 1.6; }

  /* ── FOOTER ── */
  footer { background: var(--text); color: var(--cream); padding: 4rem 5rem 2.5rem; }
  .footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 3rem; padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(250,247,242,0.1);
  }
  .footer-logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 400; letter-spacing: 0.14em; margin-bottom: 0.4rem;
  }
  .footer-logo-main .mar { color: var(--teal); }
  .footer-logo-main .sol { color: var(--sol); }
  .footer-tagline { font-size: 0.7rem; color: rgba(250,247,242,0.4); letter-spacing: 0.06em; }
  .footer-links { display: flex; gap: 2.5rem; list-style: none; }
  .footer-links a {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(250,247,242,0.45); text-decoration: none; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--teal); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; }
  .footer-copy { font-size: 0.68rem; color: rgba(250,247,242,0.28); }
  .footer-credit { font-size: 0.68rem; color: rgba(250,247,242,0.22); }

  .hero-search-wrap {
    margin-top: 2rem;
    max-width: 760px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 8px 40px rgba(28,43,45,0.10);
  }
  .hero-search-label {
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 0.6rem; display: block;
  }

  .pool-mobile-text { display: none; }

  /* ── BURGER MENU ── */
  .nav-burger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 2.4rem; height: 2.4rem;
    background: none; border: none; cursor: pointer; padding: 0.3rem;
  }
  .nav-burger span {
    display: block; width: 22px; height: 1.5px;
    background: var(--text); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 200;
  }
  .mobile-menu.is-open { display: block; }
  .mobile-menu-backdrop {
    position: absolute; inset: 0;
    background: rgba(28,43,45,0.5); backdrop-filter: blur(4px);
  }
  .mobile-menu-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px);
    background: var(--cream);
    display: flex; flex-direction: column;
    padding: 2rem 2rem 3rem;
    box-shadow: -8px 0 40px rgba(28,43,45,0.18);
    animation: slideInRight 0.28s ease-out;
  }
  @keyframes slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }
  .mobile-menu-close {
    align-self: flex-end; background: none; border: none; cursor: pointer;
    font-size: 1.8rem; line-height: 1; color: var(--text-mid);
    margin-bottom: 2rem;
    transition: color 0.2s;
  }
  .mobile-menu-close:hover { color: var(--text); }
  .mobile-menu-links {
    list-style: none; display: flex; flex-direction: column; gap: 0;
    border-top: 1px solid var(--border-sand);
    margin-bottom: 2.5rem;
  }
  .mobile-menu-links li { border-bottom: 1px solid var(--border-sand); }
  .mobile-menu-links a {
    display: block; padding: 1rem 0;
    font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text); text-decoration: none;
    transition: color 0.2s;
  }
  .mobile-menu-links a:hover { color: var(--teal); }
  .mobile-menu-ctas {
    display: flex; flex-direction: column; gap: 0.7rem; margin-top: auto;
  }
  .mobile-menu-ctas .nav-book {
    display: block; text-align: center; padding: 0.85rem;
    font-size: 0.72rem;
  }

  /* ── MOBILE ── */
  @media (max-width: 960px) {
    /* Nav */
    nav, nav.scrolled { padding: 1.1rem 1.5rem; }
    .nav-links { display: none; }
    .nav-ctas { display: none; }
    .nav-burger { display: flex; }

    /* Hero */
    #hero { align-items: flex-end; padding-bottom: 2rem; height: 70vh; min-height: 480px; margin-top: 4.4rem; }
    .hero-title em, .hero-title .sol { color: var(--text); font-style: normal; }
    .hero-content { padding: 0 1.5rem; max-width: 100%; display: flex; flex-direction: column; }
    .hero-eyebrow { order: 10; margin-top: 0.5rem; margin-bottom: 0; }
    .hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); }
    .hero-divider { margin: 0.6rem 0; }
    .hero-sub { font-size: 0.88rem; max-width: 100%; margin-bottom: 0.5rem; }
    .hero-eyebrow { order: 10; margin-top: 0.3rem; margin-bottom: 0; }
    .hero-ctas { display: none; }
    .hero-badges { display: none; }
    .hero-bg::after {
      background: linear-gradient(to bottom,
        rgba(250,247,242,0) 0%,
        rgba(250,247,242,0) 28%,
        rgba(250,247,242,0.70) 60%,
        rgba(250,247,242,0.93) 100%);
    }

    /* Features strip */
    #features {
      padding: 1.5rem;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .feature-item {
      flex: 1 1 40%;
      min-width: 140px;
      padding: 0;
      border-right: none;
    }

    /* Sections padding */
    #villas, #gallery, #amenities, #pool, #location, #rules, footer { padding: 4rem 1.5rem; }

    /* Villas */
    .villa-cards {
      grid-template-columns: 1fr;
      margin: 0 -1.5rem; border-radius: 0;
      border-left: none; border-right: none;
    }
    .villa-divider { display: none; }
    .villa-img-wrap { height: auto !important; aspect-ratio: 4/3; }
    .villa-img { height: 100%; }
    .villa-body { padding: 1.5rem; }
    .villa-booking { padding: 1.5rem; }
    /* Hide tag row, stats row; show stat pills in features */
    .villa-tag-row { display: none !important; }
    .villa-stats { display: none !important; }
    .vf-stat { display: inline-flex; background: var(--white); font-weight: 500; color: var(--text); }
    .view-all-mobile {
      display: flex; width: 100%; justify-content: center;
      border-radius: 4px; margin-top: 1.2rem;
      padding: 0.75rem 1rem; font-size: 0.7rem;
    }
    .view-all-mobile.mar {
      background: var(--mar-light); color: var(--teal-deep);
      border-color: var(--border);
    }
    .view-all-mobile.mar:hover { background: #c8edf0; border-color: var(--teal); }
    .view-all-mobile.sol {
      background: var(--sol-light); color: #9a6300;
      border-color: rgba(232,164,48,0.3);
    }
    .view-all-mobile.sol:hover { background: #fae8bc; border-color: var(--sol); }

    /* Gallery */
    .gallery-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: repeat(3, 180px);
    }
    .g1 { grid-column: span 2; grid-row: span 1; }
    .g2,.g3,.g4,.g5 { grid-column: span 1; }

    /* Gallery view-all buttons — colored + centered on mobile */
    .gallery-view-all { justify-content: center; flex-direction: column; align-items: center; gap: 0.8rem; }
    .gallery-view-all-btn { width: 100%; max-width: 340px; justify-content: center; border-radius: 4px; }
    .gallery-view-all-btn.mar {
      background: var(--mar-light); color: var(--teal-deep); border-color: var(--border);
    }
    .gallery-view-all-btn.sol {
      background: var(--sol-light); color: #9a6300; border-color: rgba(232,164,48,0.3);
    }

    /* Amenities */
    .amenities-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .amenity-card { padding: 1rem; }
    .amenity-icon { font-size: 1.25rem; }

    /* Pool — mobile: show only the short text */
    #pool { height: auto; padding: 0; align-items: flex-end; min-height: 420px; }
    .pool-bg { position: absolute; }
    .pool-bg::after { display: none; }
    .pool-content { padding: 1.2rem 1.5rem 2rem; max-width: 100%; margin-left: 0; }
    .pool-tags { flex-wrap: wrap; }
    .pool-eyebrow-hide,
    .pool-title-hide,
    .pool-body-hide,
    .pool-tags-hide { display: none; }
    .pool-mobile-text {
      display: block;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.6rem, 5vw, 2.2rem);
      font-weight: 300; line-height: 1.25; color: #f0ebe2;
      font-style: italic;
      text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    }

    /* Location */
    .location-layout { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
    .map-frame { height: 260px; }

    /* Rules */
    .rules-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .rule-card { padding: 1.4rem; }

    /* Footer */
    footer { padding: 3rem 1.5rem 2rem; }
    .footer-top { flex-direction: column; gap: 2rem; }
    .footer-links { flex-wrap: wrap; gap: 1rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  }

  @media (max-width: 480px) {
    .amenities-grid { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 180px); }
    .g1,.g2,.g3,.g4,.g5 { grid-column: span 1; grid-row: span 1; }
    .hero-title { font-size: 2.4rem; }
  }

  /* ── FLOATING BUTTON STACK (mobile only) ── */
  .float-stack { display: none; }
  @media (max-width: 960px) {
    .float-stack {
      display: flex; flex-direction: column; gap: 0.45rem;
      position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 90;
      align-items: stretch; width: 172px;
    }
    .float-btn {
      display: flex; align-items: center; justify-content: center; gap: 0.45rem;
      border-radius: 40px; padding: 0.55rem 1rem;
      font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
      letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
      text-decoration: none; text-align: center;
      box-shadow: 0 4px 20px rgba(28,43,45,0.14);
      transition: box-shadow 0.2s, transform 0.15s;
    }
    .float-btn:hover { transform: translateY(-1px); }
    .float-btn-mar {
      background: var(--teal); color: var(--white);
    }
    .float-btn-mar:hover { background: var(--teal-deep); }
    .float-btn-sol {
      background: var(--sol); color: var(--white);
    }
    .float-btn-sol:hover { background: #c98820; }
    .float-btn-wa {
      background: var(--white); color: var(--text);
      border: 1px solid var(--border-sand);
    }
    .float-btn-wa:hover { border-color: #25D366; box-shadow: 0 6px 24px rgba(37,211,102,0.18); }
  }

  /* ── HELPERS / MODIFIERS (replacing former inline styles) ── */
  .btn-primary.btn-sol { background: var(--sol); }
  .btn-primary.btn-sol:hover { background: #c98820; }
  .villa-booking.sol { background: var(--sol-light); }
  .ldg-iframe { width: 100%; border: none; display: block; min-height: 420px; }
  .map-img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .amenities-intro { max-width: 520px; margin-top: 0.5rem; }
  .is-hidden { display: none !important; }

  /* ── VILLA TAG ROW (tag + view-all aligned) ── */
  .villa-tag-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; margin-bottom: 1.2rem;
  }
  .villa-tag-row .villa-tag { margin-bottom: 0; }

  /* ── LOCATION MAP LINK ── */
  .location-map-link {
    color: var(--teal); text-decoration: underline; text-underline-offset: 2px;
    transition: color 0.2s;
  }
  .location-map-link:hover { color: var(--teal-deep); }

  /* ── VILLA TITLE ROW + STATS + VIEW-ALL BUTTON ── */
  .villa-name-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; margin-bottom: 0.3rem;
  }
  .view-all-btn {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: var(--white); border: 1px solid var(--border-sand);
    color: var(--text-mid); cursor: pointer;
    padding: 0.5rem 1rem; border-radius: 40px;
    font-family: 'DM Sans', sans-serif; font-size: 0.66rem;
    letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .view-all-btn:hover { border-color: var(--teal); color: var(--teal); }
  .view-all-btn.sol:hover { border-color: var(--sol); color: #9a6300; }
  /* Mobile-only view-all — hidden on desktop */
  @media (min-width: 961px) { .view-all-mobile { display: none; } }
  .villa-stats {
    display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem;
    margin-bottom: 1.2rem;
  }
  .villa-stat {
    position: relative; font-size: 0.8rem; color: var(--text-mid);
    padding-left: 1.1rem;
  }
  .villa-stat::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--teal); transform: translateY(-50%);
  }
  .villa-card#sol .villa-stat::before { background: var(--sol); }

  /* ── PHOTO GALLERY MODAL ── */
  body.no-scroll { overflow: hidden; }
  .photo-modal { position: fixed; inset: 0; z-index: 200; display: none; }
  .photo-modal.is-open { display: block; }
  .photo-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(28,43,45,0.78); backdrop-filter: blur(4px);
  }
  .photo-modal-inner {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 4vh auto; max-height: 92vh;
    background: var(--cream); border-radius: 8px;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  }
  .photo-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.6rem; border-bottom: 1px solid var(--border-sand);
    flex-shrink: 0;
  }
  .photo-modal-title {
    font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--text);
  }
  .photo-modal-close {
    background: none; border: none; cursor: pointer;
    font-size: 1.5rem; line-height: 1; color: var(--text-mid);
    width: 2.2rem; height: 2.2rem; border-radius: 50%;
    transition: background 0.2s, color 0.2s;
  }
  .photo-modal-close:hover { background: var(--sand); color: var(--text); }
  .photo-modal-grid {
    overflow-y: auto; padding: 1.4rem;
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px; column-gap: 14px; row-gap: 14px;
  }
  .photo-modal-item {
    display: block; width: 100%; height: 100%;
    padding: 0; border: none; cursor: pointer; background: none;
    overflow: hidden; border-radius: 4px;
  }
  .photo-modal-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s ease;
  }
  .photo-modal-item:hover img { transform: scale(1.05); }

  /* ── LIGHTBOX (single enlarged photo) ── */
  .lightbox {
    position: absolute; inset: 0; z-index: 2;
    background: rgba(10,18,19,0.94);
    display: flex; align-items: center; justify-content: center;
  }
  .lightbox.is-hidden { display: none !important; }
  .lightbox-img {
    max-width: 92%; max-height: 84%;
    object-fit: contain; border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  }
  .lightbox-close {
    position: absolute; top: 1.2rem; right: 1.4rem;
    background: none; border: none; cursor: pointer;
    font-size: 2rem; line-height: 1; color: rgba(255,255,255,0.85);
  }
  .lightbox-close:hover { color: #fff; }
  .lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12); border: none; cursor: pointer;
    color: #fff; font-size: 2rem; line-height: 1;
    width: 3rem; height: 3rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .lightbox-nav:hover { background: rgba(255,255,255,0.28); }
  .lightbox-prev { left: 1.2rem; }
  .lightbox-next { right: 1.2rem; }
  .lightbox-counter {
    position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.8); font-size: 0.8rem; letter-spacing: 0.1em;
  }

  @media (max-width: 960px) {
    .photo-modal-inner { margin: 0; max-height: 100vh; height: 100vh; border-radius: 0; }
    .photo-modal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .view-all-btn { font-size: 0.6rem; padding: 0.45rem 0.8rem; }
    .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.6rem; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
  }
  @media (max-width: 480px) {
    .photo-modal-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  }