
    :root {
      --gold: #7a6200;
      --gold-light: #9a8020;
      --gold-dark: #5c4a00;
      --gold-pale: #f5edd5;
      --wine: #5f1914;
      --wine-dark: #1a0a08;
      --wine-soft: #7a2e28;
      --cream: #FDFBF7;
      --cream-warm: #f8f4ec;
      --warm-bg: #f3efe6;
      --text-dark: #2c2420;
      --text-medium: #5a5048;
      --text-light: #8a8078;
      --white: #FFFFFF;
      --border: rgba(122, 98, 0, 0.16);
      --shadow: 0 28px 80px rgba(0,0,0,0.18);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Jost', sans-serif;
      background: var(--cream);
      color: var(--text-dark);
      overflow-x: hidden;
    }

    body.no-scroll { overflow: hidden; }

    img { max-width: 100%; }

    a { color: inherit; }

    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.25rem 5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(26, 10, 8, 0.92);
      border-bottom: 1px solid rgba(245,237,213,0.08);
      backdrop-filter: blur(18px);
      transition: padding 0.35s ease, background 0.35s ease;
    }

    .nav-logo {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      padding: 0.5rem 1rem;
      background: var(--cream-warm);
      box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 1px rgba(122,98,0,0.08);
      position: relative;
    }

    .nav-logo::before {
      content: '';
      position: absolute;
      inset: 4px;
      border: 1px solid rgba(122,98,0,0.22);
      pointer-events: none;
    }

    .nav-logo img {
      height: 46px;
      width: auto;
      display: block;
      position: relative;
      z-index: 1;
    }

    .nav-links {
      display: flex;
      gap: 2.4rem;
      align-items: center;
    }

    .nav-links a {
      color: rgba(255,255,255,0.72);
      text-decoration: none;
      font-size: 0.74rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      transition: color 0.25s ease;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 0;
      height: 1px;
      background: var(--gold-pale);
      transition: width 0.3s ease;
    }

    .nav-links a:hover { color: var(--gold-pale); }
    .nav-links a:hover::after { width: 100%; }

    .nav-cta {
      border: 1px solid rgba(245,237,213,0.35);
      padding: 0.72rem 1.35rem;
      color: var(--gold-pale) !important;
    }

    .nav-cta:hover {
      background: var(--gold-pale);
      color: var(--wine) !important;
    }

    .mobile-menu-toggle {
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(245,237,213,0.35);
      background: rgba(26,10,8,0.9);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
    }

    .mobile-menu-toggle span {
      width: 20px;
      height: 1.5px;
      background: var(--gold-pale);
      display: block;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    nav.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    nav.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
    nav.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    .mobile-menu {
      display: none;
    }

    .property-hero {
      position: relative;
      min-height: 100vh;
      padding: 8.5rem 5rem 5rem;
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 4rem;
      align-items: center;
      background:
        radial-gradient(circle at 72% 22%, rgba(245,237,213,0.14), transparent 30%),
        linear-gradient(145deg, rgba(95,25,20,0.98), rgba(26,10,8,0.98));
      color: var(--white);
      overflow: hidden;
    }

    .property-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(245,237,213,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,237,213,0.035) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 82%);
      pointer-events: none;
    }

    .property-hero-text,
    .property-hero-media {
      position: relative;
      z-index: 2;
    }

    .breadcrumb {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      align-items: center;
      margin-bottom: 1.8rem;
      color: rgba(255,255,255,0.52);
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .breadcrumb a {
      text-decoration: none;
      color: rgba(245,237,213,0.78);
    }

    .property-label {
      font-size: 0.74rem;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: var(--gold-pale);
      margin-bottom: 1.2rem;
    }

    .property-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.45rem, 5vw, 4.7rem);
      font-weight: 400;
      line-height: 1.08;
      color: var(--white);
      margin-bottom: 1.35rem;
    }

    .property-hero h1 em {
      font-style: italic;
      color: var(--gold-pale);
    }

    .hero-lead {
      max-width: 620px;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem;
      line-height: 1.7;
      color: rgba(255,255,255,0.72);
      margin-bottom: 2rem;
    }

    .hero-price {
      display: flex;
      align-items: baseline;
      gap: 0.8rem;
      margin-bottom: 2rem;
    }

    .hero-price strong {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 600;
      color: var(--gold-pale);
    }

    .hero-price span {
      font-size: 0.76rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.46);
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
    }

    .btn-primary,
    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0.95rem 1.7rem;
      text-decoration: none;
      text-transform: uppercase;
      font-size: 0.76rem;
      letter-spacing: 0.18em;
      transition: all 0.35s ease;
      border-radius: 999px;
    }

    .btn-primary {
      background: var(--gold-pale);
      color: var(--wine);
      border: 1px solid var(--gold-pale);
      box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      background: var(--white);
      border-color: var(--white);
    }

    .btn-secondary {
      color: var(--gold-pale);
      border: 1px solid rgba(245,237,213,0.35);
    }

    .btn-secondary:hover {
      transform: translateY(-2px);
      border-color: var(--gold-pale);
      background: rgba(245,237,213,0.08);
    }

    .property-hero-media {
      display: grid;
      grid-template-columns: 0.72fr 1fr;
      gap: 1rem;
      align-items: end;
    }

    .hero-card {
      position: relative;
      overflow: hidden;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(245,237,213,0.16);
      box-shadow: var(--shadow);
    }

    .hero-card.main {
      height: min(74vh, 760px);
      border-radius: 8px;
    }

    .hero-card.side {
      height: min(54vh, 560px);
      border-radius: 8px;
      transform: translateY(2.3rem);
      opacity: 0.88;
    }

    .hero-card img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center 55%;
      transition: transform 0.8s ease;
    }

    .hero-card:hover img { transform: scale(1.035); }


    .hero-card.side img {
      object-position: center center;
    }

    @media (max-width: 768px) {
      .hero-card.main { order: 1; }
      .hero-card.side { order: 2; }
    }

    .quick-specs {
      position: relative;
      z-index: 3;
      margin: -3.5rem auto 0;
      width: min(1120px, calc(100% - 2rem));
      display: grid;
      grid-template-columns: repeat(var(--spec-columns, 5), 1fr);
      background: var(--cream);
      border: 1px solid var(--border);
      box-shadow: 0 22px 70px rgba(0,0,0,0.12);
      border-radius: 6px;
      overflow: hidden;
    }

    .spec-item {
      padding: 1.7rem 1.2rem;
      text-align: center;
      border-right: 1px solid var(--border);
    }

    .spec-item:last-child { border-right: none; }

    .spec-item span {
      display: block;
      color: var(--text-light);
      font-size: 0.68rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 0.45rem;
    }

    .spec-item strong {
      display: block;
      font-family: 'Playfair Display', serif;
      font-size: 1.22rem;
      color: var(--wine);
      font-weight: 600;
    }

    section {
      padding: 6.5rem 4rem;
    }

    .section-inner {
      width: min(1120px, 100%);
      margin: 0 auto;
    }

    .section-label {
      font-size: 0.72rem;
      letter-spacing: 0.36em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4vw, 3.25rem);
      font-weight: 400;
      line-height: 1.18;
      color: var(--text-dark);
      margin-bottom: 1rem;
    }

    .section-title em {
      font-style: italic;
      color: var(--wine);
    }

    .gold-divider {
      width: 64px;
      height: 1px;
      background: var(--gold);
      margin: 1.5rem 0 2rem;
      position: relative;
    }

    .gold-divider::after {
      content: '◆';
      position: absolute;
      top: -7px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.5rem;
      color: var(--gold);
      background: var(--cream);
      padding: 0 0.5rem;
    }

    .overview-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 4.5rem;
      align-items: start;
    }

    .overview-text p {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.22rem;
      line-height: 1.9;
      color: var(--text-medium);
      margin-bottom: 1.25rem;
    }

    .overview-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2.2rem;
      box-shadow: 0 18px 60px rgba(95,25,20,0.07);
      position: sticky;
      top: 7rem;
    }

    .overview-card h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.55rem;
      font-weight: 500;
      color: var(--wine);
      margin-bottom: 1.4rem;
    }

    .detail-list {
      display: grid;
      gap: 0.9rem;
    }

    .detail-row {
      display: flex;
      justify-content: space-between;
      gap: 1.2rem;
      padding-bottom: 0.9rem;
      border-bottom: 1px solid rgba(122,98,0,0.12);
      font-size: 0.92rem;
    }

    .detail-row span { color: var(--text-light); }
    .detail-row strong { color: var(--text-dark); text-align: right; font-weight: 500; }

    .gallery-section {
      background: var(--warm-bg);
    }

    .gallery-header {
      display: flex;
      justify-content: space-between;
      gap: 2rem;
      align-items: end;
      margin-bottom: 2.6rem;
    }

    .gallery-header p:last-child {
      max-width: 420px;
      color: var(--text-light);
      line-height: 1.7;
      font-size: 0.95rem;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 150px;
      gap: 1rem;
    }

    .gallery-item {
      position: relative;
      display: block;
      overflow: hidden;
      border-radius: 6px;
      background: #ddd;
      cursor: zoom-in;
      border: 1px solid rgba(122,98,0,0.12);
    }

    .gallery-item.tall { grid-row: span 3; }
    .gallery-item.medium { grid-row: span 2; }
    .gallery-item.wide { grid-column: span 2; grid-row: span 2; }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.65s ease, filter 0.65s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.045);
      filter: saturate(1.05) contrast(1.02);
    }

    .gallery-item::after {
      content: attr(data-label);
      position: absolute;
      left: 1rem;
      bottom: 1rem;
      padding: 0.35rem 0.75rem;
      background: rgba(26,10,8,0.72);
      color: var(--gold-pale);
      font-size: 0.66rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(8px);
      transition: all 0.3s ease;
    }

    .gallery-item:hover::after {
      opacity: 1;
      transform: translateY(0);
    }

    .features {
      background: var(--cream);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin-top: 3rem;
    }

    .feature-box {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2.3rem;
      box-shadow: 0 14px 48px rgba(95,25,20,0.05);
    }

    .feature-box h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.45rem;
      color: var(--wine);
      font-weight: 500;
      margin-bottom: 1.4rem;
    }

    .feature-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem 1rem;
      list-style: none;
    }

    .feature-list li {
      position: relative;
      padding-left: 1.05rem;
      color: var(--text-medium);
      font-size: 0.92rem;
      line-height: 1.5;
    }

    .feature-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.58rem;
      width: 5px;
      height: 5px;
      background: var(--gold);
      transform: rotate(45deg);
    }

    .cta-section {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(145deg, rgba(95,25,20,0.96), rgba(26,10,8,0.98)),
        var(--property-cover);
      background-size: cover;
      background-position: center;
      color: var(--white);
      text-align: center;
    }

    .cta-section .section-inner {
      max-width: 760px;
    }

    .cta-section .section-label,
    .cta-section .section-title em {
      color: var(--gold-pale);
    }

    .cta-section .section-title {
      color: var(--white);
    }

    .cta-section .gold-divider {
      margin-left: auto;
      margin-right: auto;
      background: rgba(245,237,213,0.45);
    }

    .cta-section .gold-divider::after {
      background: transparent;
      color: rgba(245,237,213,0.65);
    }

    .cta-section p {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem;
      line-height: 1.8;
      color: rgba(255,255,255,0.72);
      margin-bottom: 2.4rem;
    }

    footer {
      background: var(--wine);
      padding: 3rem 4rem;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      column-gap: 2.5rem;
      border-top: 1px solid rgba(255,255,255,0.08);
    }

    .footer-left {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .footer-logo img {
      height: 70px;
      width: auto;
      display: block;
    }

    .back-home-btn {
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(245, 237, 213, 0.28);
      background: rgba(253, 251, 247, 0.96);
      color: var(--wine);
      text-decoration: none;
      box-shadow: 0 10px 24px rgba(0,0,0,0.16);
      transition: transform 0.3s ease;
    }

    .back-home-btn:hover { transform: translateY(-2px); }
    .back-home-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

    .footer-social {
      display: flex;
      gap: 1rem;
      justify-self: center;
      align-items: center;
    }

    .footer-social a {
      width: 36px;
      height: 36px;
      border: 1px solid rgba(255,255,255,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      border-radius: 2px;
    }

    .footer-social a:hover {
      border-color: rgba(255,255,255,0.5);
      background: rgba(255,255,255,0.08);
    }

    .footer-social svg { width: 14px; height: 14px; fill: var(--white); }

    .footer-copy {
      font-size: 0.72rem;
      color: rgba(255,255,255,0.4);
      letter-spacing: 0.1em;
      text-align: right;
      white-space: nowrap;
    }

    .whatsapp-float {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 90;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(145deg, #3bf06f 0%, #25D366 62%, #1fbe58 100%);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 26px rgba(37,211,102,0.38), 0 0 0 10px rgba(59,240,111,0.10);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      animation: floatPulse 2.8s ease-in-out infinite;
    }

    .whatsapp-float:hover {
      transform: scale(1.08);
      box-shadow: 0 12px 30px rgba(37,211,102,0.46), 0 0 0 12px rgba(59,240,111,0.14);
    }

    .whatsapp-float svg { width: 28px; height: 28px; fill: white; }

    @keyframes floatPulse {
      0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,0.38), 0 0 0 10px rgba(59,240,111,0.10); }
      50% { box-shadow: 0 12px 32px rgba(37,211,102,0.50), 0 0 0 14px rgba(59,240,111,0.14); }
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(10, 5, 4, 0.94);
      padding: 2rem;
    }

    .lightbox.active { display: flex; }

    .lightbox-img {
      max-width: min(92vw, 1180px);
      max-height: 86vh;
      object-fit: contain;
      border-radius: 4px;
      box-shadow: 0 30px 100px rgba(0,0,0,0.55);
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
      position: absolute;
      border: 1px solid rgba(245,237,213,0.26);
      background: rgba(253,251,247,0.08);
      color: var(--gold-pale);
      cursor: pointer;
      transition: all 0.25s ease;
    }

    .lightbox-close:hover,
    .lightbox-prev:hover,
    .lightbox-next:hover {
      background: rgba(253,251,247,0.16);
      border-color: rgba(245,237,213,0.52);
    }

    .lightbox-close {
      top: 1.2rem;
      right: 1.2rem;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      font-size: 1.8rem;
      line-height: 1;
    }

    .lightbox-prev,
    .lightbox-next {
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 64px;
      font-size: 2rem;
      border-radius: 999px;
    }

    .lightbox-prev { left: 1.5rem; }
    .lightbox-next { right: 1.5rem; }

    .lightbox-caption {
      position: absolute;
      bottom: 1.2rem;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(245,237,213,0.8);
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      text-align: center;
    }



    .lightbox-img.is-changing {
      opacity: 0.15;
      transform: scale(0.985);
    }

    .lightbox-counter {
      position: absolute;
      bottom: 3.1rem;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(245,237,213,0.58);
      font-size: 0.68rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      text-align: center;
      pointer-events: none;
    }

    .lightbox-img {
      transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 1100px) {
      nav { padding: 1rem 2.5rem; }
      .property-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 8rem 2.5rem 5rem;
      }
      .property-hero-media { max-width: 760px; }
      .quick-specs { grid-template-columns: repeat(3, 1fr); }
      .spec-item:nth-child(3) { border-right: none; }
      .spec-item:nth-child(n+4) { border-top: 1px solid var(--border); }
      .overview-grid { grid-template-columns: 1fr; }
      .overview-card { position: static; }
      .gallery-grid { grid-template-columns: repeat(3, 1fr); }
      .features-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      nav {
        padding: 0.85rem 1rem;
      }
      .nav-logo { padding: 0.42rem 0.75rem; max-width: calc(100% - 64px); }
      .nav-logo img { height: 40px; }
      .nav-links { display: none; }
      .mobile-menu-toggle { display: inline-flex; }
      .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 340px);
        height: 100vh;
        background: #1a0a08;
        padding: 6.5rem 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
        box-shadow: -12px 0 40px rgba(0,0,0,0.25);
        transform: translateX(108%);
        transition: transform 0.35s ease;
        z-index: 130;
      }
      nav.menu-open .mobile-menu { transform: translateX(0); }
      .mobile-menu a {
        display: block;
        color: var(--gold-pale);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        font-size: 0.8rem;
        padding: 1rem 0.2rem;
        border-bottom: 1px solid rgba(245, 237, 213, 0.12);
      }
      .property-hero {
        min-height: auto;
        padding: 7.2rem 1.2rem 3rem;
      }
      .property-hero-media {
        grid-template-columns: 1fr;
      }
      .hero-card.main,
      .hero-card.side {
        height: auto;
        aspect-ratio: 3 / 4;
        transform: none;
      }
      .hero-price { display: block; }
      .hero-price span { display: block; margin-top: 0.5rem; }
      .hero-actions { align-items: stretch; }
      .btn-primary, .btn-secondary { width: 100%; }
      .quick-specs {
        margin-top: 0;
        width: 100%;
        border-radius: 0;
        grid-template-columns: repeat(2, 1fr);
      }
      .spec-item { border-top: 1px solid var(--border); }
      .spec-item:nth-child(odd) { border-right: 1px solid var(--border); }
      .spec-item:nth-child(even) { border-right: none; }
      section { padding: 4rem 1.2rem; }
      .gallery-header { display: block; }
      .gallery-header p:last-child { margin-top: 1rem; }
      .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
      }
      .gallery-item,
      .gallery-item.tall,
      .gallery-item.medium,
      .gallery-item.wide {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 3 / 4;
      }
      .feature-list { grid-template-columns: 1fr; }
      footer {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        text-align: center;
        padding: 2.5rem 1rem;
      }
      .footer-left,
      .footer-social,
      .footer-copy { justify-self: center; text-align: center; }
      .whatsapp-float { right: 1rem; bottom: 1rem; }
      .lightbox { padding: 0.85rem; }
      .lightbox-prev,
      .lightbox-next {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 54px;
        font-size: 1.8rem;
        background: rgba(26, 10, 8, 0.54);
        -webkit-tap-highlight-color: transparent;
      }
      .lightbox-prev { left: 0.6rem; }
      .lightbox-next { right: 0.6rem; }
      .lightbox-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 42px;
        height: 42px;
        background: rgba(26, 10, 8, 0.62);
      }
      .lightbox-img {
        max-width: 100%;
        max-height: 78vh;
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
      }
      .lightbox-caption { width: calc(100% - 2rem); bottom: 2.9rem; }
      .lightbox-counter { bottom: 1.15rem; }
    }
  

    /* Correção mobile: a galeria não pode depender do efeito reveal.
       Em alguns navegadores mobile/in-app, o IntersectionObserver pode não ativar
       a grid ao entrar direto pela âncora #galeria, deixando espaço em branco. */
    .gallery-grid {
      opacity: 1;
      transform: none;
      visibility: visible;
    }

    @media (max-width: 768px) {
      .gallery-section {
        padding-bottom: 6rem;
      }

      .gallery-grid,
      .gallery-grid.reveal {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        gap: 1rem !important;
      }

      .gallery-item,
      .gallery-item.tall,
      .gallery-item.medium,
      .gallery-item.wide {
        display: block !important;
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 3 / 4;
        min-height: 340px;
        opacity: 1 !important;
        visibility: visible !important;
      }

      .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
      }
    }

    @supports not (aspect-ratio: 3 / 4) {
      @media (max-width: 768px) {
        .gallery-item,
        .gallery-item.tall,
        .gallery-item.medium,
        .gallery-item.wide {
          height: 440px;
        }
      }
    }

  
:focus-visible { outline: 3px solid #9a8020; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; } .reveal { opacity:1; transform:none; } }
