/*
Theme Name: Lomas del Roble
Theme URI: https://lomasdelroble.cl
Author: Inmobiliaria Puyehue
Author URI: https://lomasdelroble.cl
Description: Tema personalizado para Lomas del Roble.
Version: 1.1.0
Text Domain: lomas-del-roble
*/

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

    :root {
      --verde-oscuro: #1a2e1e;
      --verde-medio: #2d4a2f;
      --verde-claro: #4a7c52;
      --dorado: #c8a96a;
      --crema: #f5f0e8;
      --blanco: #fefcf8;
      --gris-calido: #8a8278;
      --negro: #0d1a0f;
    }

    html { scroll-behavior: smooth; }

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

    /* ─── NAV ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; justify-content: space-between; align-items: center;
      padding: 1.2rem 3rem;
      background: rgba(13,26,15,0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(200,169,106,0.2);
      transition: all 0.3s;
    }
    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--crema);
      letter-spacing: 0.12em;
      text-decoration: none;
    }
    .nav-logo img {
        max-width: 150px;
        filter: brightness(0) invert(1);
    }
    .nav-logo span { color: var(--dorado); }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a {
      color: rgba(245,240,232,0.75);
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 400;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--dorado); }
    .nav-cta {
      background: var(--dorado);
      color: var(--negro) !important;
      padding: 0.55rem 1.4rem;
      border-radius: 2px;
      font-weight: 500 !important;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: #e0c07a !important; }
    .barra-contacto{
        border-top: 1px solid white;
        padding-top: 10px;
        margin-top: 20px;
        display: flex;
        justify-content: flex-end;
    }
    .barra-contacto a{
        color: rgba(245,240,232,0.75);
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 400;
        letter-spacing: 0.15em;
        margin-left: 20px;
    }
    /* --- ESTILOS HAMBURGUESA --- */
.nav-toggle {
    display: none; /* Oculto en desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--crema, #f5f0e8);
    transition: all 0.3s ease;
}

/* --- MEDIA QUERY PARA MÓVIL --- */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex; /* Mostrar solo en móvil */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        width: 80%;
        height: 100vh;
        background: rgba(13,26,15,0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0; /* Entra a pantalla */
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .barra-contacto {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
        border-top: 1px solid rgba(200,169,106,0.3);
    }

    .barra-contacto a {
        margin-left: 0;
    }

    .nav-logo img {
        max-width: 100px;
    }
    .nav-cta {
        display: inline-block;
    }

    /* Animación X del botón cuando está abierto */
    .nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}
    /* ─── HERO SLIDESHOW ─── */
    .hero {
      position: relative;
      height: 100vh;
      min-height: 680px;
      display: flex; align-items: flex-end;
      overflow: hidden;
    }

    .hero-slideshow {
      position: absolute; inset: 0; z-index: 0;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }

    .hero-video-wrap {
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
    }

    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 500ms ease;
    }

    .hero-video-wrap.video-ready .hero-video {
      opacity: 1;
    }

    .hero-video-wrap.video-fallback .hero-video {
      display: none;
    }

    .hero-video-noscript {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slide {
      position: absolute; inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1.4s ease-in-out;
      will-change: transform, opacity;
    }

    .slide.active {
      opacity: 1;
    }

    /* Ken Burns animations — each slide gets its own motion */
    @keyframes kb0 {
      0%   { transform: scale(1.08) translate(0%, 0%); }
      100% { transform: scale(1.0)  translate(-1.5%, -1%); }
    }
    @keyframes kb1 {
      0%   { transform: scale(1.0)  translate(2%, 1%); }
      100% { transform: scale(1.08) translate(0%, 0%); }
    }
    @keyframes kb2 {
      0%   { transform: scale(1.06) translate(-2%, 0%); }
      100% { transform: scale(1.0)  translate(0%, 1.5%); }
    }
    @keyframes kb3 {
      0%   { transform: scale(1.04) translate(1%, -1%); }
      100% { transform: scale(1.1)  translate(-1%, 0%); }
    }
    @keyframes kb4 {
      0%   { transform: scale(1.1)  translate(0%, 1%); }
      100% { transform: scale(1.02) translate(1.5%, -0.5%); }
    }

    .slide-0.active { animation: kb0 8s ease-in-out forwards; }
    .slide-1.active { animation: kb1 8s ease-in-out forwards; }
    .slide-2.active { animation: kb2 8s ease-in-out forwards; }
    .slide-3.active { animation: kb3 8s ease-in-out forwards; }
    .slide-4.active { animation: kb4 8s ease-in-out forwards; }

    /* Cinematic overlay: dark vignette + bottom gradient */
    .slide-overlay {
      position: absolute; inset: 0; z-index: 1;
      background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.35) 100%),
        linear-gradient(to bottom,
          rgba(0,0,0,0.15) 0%,
          rgba(0,0,0,0.05) 40%,
          rgba(13,26,15,0.55) 75%,
          rgba(13,26,15,0.88) 100%);
    }

    /* Caption bar bottom */
    .slide-caption-bar {
      position: absolute;
      bottom: 0; left: 0; right: 0; z-index: 3;
      display: flex; justify-content: space-between; align-items: center;
      padding: 0 3rem 1.8rem;
      pointer-events: none;
    }
    .slide-caption-text {
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(245,240,232,0.45);
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      transition: opacity 0.6s;
      max-width: 400px;
    }
    .slide-dots {
      display: flex; gap: 0.5rem;
      pointer-events: all;
    }
    .dot {
      width: 28px; height: 2px;
      background: rgba(245,240,232,0.25);
      border: none; cursor: pointer;
      padding: 0; border-radius: 1px;
      transition: all 0.4s;
      position: relative;
      overflow: hidden;
    }
    .dot.active {
      background: rgba(245,240,232,0.2);
    }
    .dot.active::after {
      content: '';
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 100%;
      background: var(--dorado);
      animation: dotProgress 7s linear forwards;
    }
    @keyframes dotProgress {
      from { width: 0%; }
      to   { width: 100%; }
    }
    .dot:hover { background: rgba(200,169,106,0.5); }

    /* clases generales */
    .boton-general {
        background: var(--dorado);
        color: var(--negro) !important;
        padding: 0.55rem 1.4rem;
        border-radius: 2px;
        font-weight: 500 !important;
        transition: background 0.2s !important;
        text-decoration: none;
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        display:inline-block;
        margin-bottom:5px;
    }
    .boton-general:hover {
        background: #e0c07a !important;
    }

    /* hero content z-index above slideshow */
    .hero-content {
      position: relative; z-index: 3;
      padding: 0 3rem 5rem;
      max-width: 800px;
      color: rgba(245,240,232,0.45);
        line-height: 1.5;
    }

    .hero-content h1{
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(2.2rem, 4vw, 3.5rem);
        font-weight: 300;
        line-height: 1.15;
        color: white;
        margin-bottom: 15px;
    }

    .scroll-hint {
      position: absolute; bottom: 2.5rem; right: 3rem;
      display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
      color: rgba(245,240,232,0.4); font-size: 0.65rem; letter-spacing: 0.2em;
      text-transform: uppercase; z-index: 3;
    }

    
    .slide-0 {
      background-image: url('assets/images/image_1.jpg');
    }

    .slide-1 {
      background-image: url('assets/images/image_2.jpg');
    }

    .slide-2 {
      background-image: url('assets/images/image_3.jpg');
    }

    .slide-3 {
      background-image: url('assets/images/image_4.jpg');
    }

    .slide-4 {
      background-image: url('assets/images/image_5.jpg');
    }

    .scroll-line {
      width: 1px; height: 3.5rem;
      background: linear-gradient(to bottom, rgba(200,169,106,0.6), transparent);
      animation: scrollPulse 2s ease-in-out infinite;
    }
    @keyframes scrollPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

    /* ─── STATS BAR ─── */
    .stats-bar {
      background: var(--verde-oscuro);
      padding: 2.5rem 3rem;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border-bottom: 1px solid rgba(200,169,106,0.15);
    }
    .stat-item {
      padding: 0.5rem 2rem;
      border-right: 1px solid rgba(200,169,106,0.15);
      display: flex; flex-direction: column; gap: 0.3rem;
    }
    .stat-item:last-child { border-right: none; }
    .stat-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.4rem;
      font-weight: 300;
      color: var(--dorado);
      line-height: 1;
    }
    .stat-label {
      font-size: 0.72rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(245,240,232,0.5);
    }

    /* ─── PROYECTO ─── */
    .section { padding: 7rem 3rem; }
    .section-eyebrow {
      font-size: 0.7rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--verde-claro);
      margin-bottom: 1rem;
      display: flex; align-items: center; gap: 1rem;
    }
    .section-eyebrow::after {
      content: ''; flex: 0 0 2rem; height: 1px;
      background: var(--verde-claro);
    }
    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.2rem, 4vw, 3.5rem);
      font-weight: 300;
      line-height: 1.15;
      color: var(--verde-oscuro);
      margin-bottom: 1.5rem;
    }
    .section-title em { font-style: italic; color: var(--verde-claro); }

    .proyecto-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
    .proyecto-text p {
      color: var(--gris-calido);
      line-height: 1.85;
      font-size: 0.95rem;
      font-weight: 300;
      margin-bottom: 1.2rem;
    }
    .proyecto-visual {
      position: relative;
    }
    .img-placeholder {
      width: 100%; aspect-ratio: 4/3;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }
    .img-placeholder-bg {
      width: 100%; height: 100%;
      background: linear-gradient(135deg, #2d4a2f 0%, #4a7c52 40%, #1a2e1e 100%);
      display: flex; align-items: center; justify-content: center;
    }
    .img-caption {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 1.5rem;
      background: linear-gradient(to top, rgba(13,26,15,0.85), transparent);
      color: rgba(245,240,232,0.8);
      font-size: 0.75rem;
      letter-spacing: 0.12em;
    }
    .img-accent {
      position: absolute;
      width: 160px; height: 160px;
      border: 1px solid var(--dorado);
      border-radius: 3px;
      bottom: -1.5rem; right: -1.5rem;
      z-index: -1;
    }

    /* landscape SVG inside img */
    .landscape-svg { width: 70%; opacity: 0.3; }

    /* ─── VENTAJAS ─── */
    .ventajas { background: var(--crema); }
    .ventajas-header {
      display: flex; justify-content: space-between; align-items: flex-end;
      margin-bottom: 4rem;
    }
    .ventajas-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }
    .ventaja-card {
      background: var(--blanco);
      padding: 2.5rem;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }
    .ventaja-card::before {
      content: '';
      position: absolute; top: 0; left: 0;
      width: 3px; height: 0;
      background: var(--dorado);
      transition: height 0.35s;
    }
    .ventaja-card:hover::before { height: 100%; }
    .ventaja-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
    .ventaja-icon {
      width: 3rem; height: 3rem;
      margin-bottom: 1.5rem;
      color: var(--verde-claro);
    }
    .ventaja-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem;
      font-weight: 400;
      color: var(--verde-oscuro);
      margin-bottom: 0.8rem;
    }
    .ventaja-desc {
      font-size: 0.85rem;
      color: var(--gris-calido);
      line-height: 1.7;
      font-weight: 300;
    }

    /* ─── UBICACION ─── */
    .ubicacion-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 5rem;
      align-items: center;
    }
    .distancias { margin-top: 2.5rem; }
    .distancia-item {
      display: flex; align-items: center;
      padding: 1.2rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.07);
      gap: 1.5rem;
    }
    .dist-time {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 300;
      color: var(--dorado);
      min-width: 4rem;
      line-height: 1;
    }
    .dist-label { font-size: 0.9rem; color: var(--verde-oscuro); font-weight: 400; }
    .dist-sub { font-size: 0.75rem; color: var(--gris-calido); font-weight: 300; margin-top: 0.2rem; }

    .mapa-placeholder {
      width: 100%; aspect-ratio: 1;
      background: linear-gradient(135deg, #e8ede9 0%, #d4e0d6 100%);
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .mapa-placeholder::before {
      content: '';
      position: absolute; inset: 0;
      background: 
        radial-gradient(circle at 60% 40%, rgba(74,124,82,0.2) 0%, transparent 50%);
    }

    /* ─── FINANCIAMIENTO ─── */
    .financiamiento { background: var(--verde-oscuro); }
    .financiamiento .section-title { color: var(--crema); }
    .financiamiento .section-eyebrow { color: var(--dorado); }
    .financiamiento .section-eyebrow::after { background: var(--dorado); }

    .fin-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: 3.5rem;
    }
    .fin-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(200,169,106,0.15);
      padding: 2.5rem;
      transition: all 0.3s;
      position: relative;
    }
    .fin-card:hover {
      background: rgba(200,169,106,0.08);
      border-color: rgba(200,169,106,0.35);
    }
    .fin-card.destacado {
      background: rgba(200,169,106,0.1);
      border-color: var(--dorado);
    }
    .fin-tag {
      display: inline-block;
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--dorado);
      border: 1px solid rgba(200,169,106,0.4);
      padding: 0.25rem 0.7rem;
      border-radius: 2px;
      margin-bottom: 1.5rem;
    }
    .fin-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 300;
      color: var(--crema);
      margin-bottom: 1rem;
    }
    .fin-price {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem;
      font-weight: 300;
      color: var(--dorado);
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    .fin-price-sub {
      font-size: 0.75rem;
      color: rgba(245,240,232,0.4);
      letter-spacing: 0.1em;
      margin-bottom: 1.5rem;
    }
    .fin-list { list-style: none; }
    .fin-list li {
      font-size: 0.85rem;
      color: rgba(245,240,232,0.65);
      padding: 0.5rem 0;
      border-bottom: 1px solid rgba(200,169,106,0.08);
      display: flex; gap: 0.75rem; align-items: center;
      font-weight: 300;
    }
    .fin-list li::before { content: '—'; color: var(--dorado); font-size: 0.7rem; }
    .fin-boton {
        text-decoration-line: none;
        color: var(--dorado);
        border: 1px solid;
        border-radius: 5px;
        padding: 10px 20px;
        text-transform: uppercase;
        font-size: 1.7rem;
        display: inline-block;
        transition: 0.2s;
    }
    .fin-boton:hover {
        background-color: var(--dorado);
        color: black;
    }

    /* ─── GALERÍA ─── */
    .galeria-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-template-rows: 240px 240px;
      gap: 4px;
      margin-top: 3rem;
    }
    .gal-item {
      border-radius: 3px;
      overflow: hidden;
      position: relative;
    }
    .gal-item:first-child { grid-row: 1 / 3; }
    .gal-bg {
      width: 100%; height: 100%;
      transition: transform 0.5s;
    }
    .gal-item:hover .gal-bg { transform: scale(1.05); }
    .gal-overlay {
      position: absolute; inset: 0;
      background: rgba(13,26,15,0);
      display: flex; align-items: flex-end; padding: 1.2rem;
      transition: background 0.3s;
    }
    .gal-item:hover .gal-overlay { background: rgba(13,26,15,0.4); }
    .gal-label {
      font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
      color: rgba(245,240,232,0);
      transition: color 0.3s;
    }
    .gal-item:hover .gal-label { color: rgba(245,240,232,0.8); }

    /* ─── CTA / CONTACTO ─── */
    .cta-section {
      background: var(--crema);
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 600px;
    }
    .cta-left {
      background: linear-gradient(135deg, rgba(13,26,15,0.88), rgba(26,46,30,0.82)), url('assets/images/image_6.jpg') center/cover no-repeat;
      padding: 5rem 4rem;
      display: flex; flex-direction: column; justify-content: center;
      position: relative; overflow: hidden;
    }
    .cta-left::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 0% 100%, rgba(74,124,82,0.3), transparent 60%);
    }
    .cta-left .section-title { color: var(--crema); position: relative; z-index: 1; }
    .cta-left .section-eyebrow { position: relative; z-index: 1; }
    .cta-benefits { list-style: none; margin-top: 2rem; position: relative; z-index: 1; }
    .cta-benefits li {
      display: flex; gap: 1rem; align-items: flex-start;
      padding: 0.8rem 0;
      border-bottom: 1px solid rgba(200,169,106,0.12);
      color: rgba(245,240,232,0.7);
      font-size: 0.9rem; font-weight: 300; line-height: 1.5;
    }
    .cta-benefits li::before { content: '✦'; color: var(--dorado); font-size: 0.6rem; margin-top: 0.35rem; flex-shrink: 0; }

    .cta-right {
      padding: 5rem 4rem;
      display: flex; flex-direction: column; justify-content: center;
    }
    .cta-right h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.8rem; font-weight: 300;
      color: var(--verde-oscuro);
      margin-bottom: 2rem;
    }
    .form-group { margin-bottom: 1.2rem; }
    .form-group label {
      display: block;
      font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--gris-calido); margin-bottom: 0.5rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 0.85rem 1rem;
      border: 1px solid rgba(0,0,0,0.12);
      background: var(--blanco);
      font-family: 'Jost', sans-serif;
      font-size: 0.9rem; font-weight: 300;
      color: var(--negro);
      border-radius: 2px;
      outline: none;
      transition: border-color 0.2s;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--verde-claro); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .form-submit {
      width: 100%; margin-top: 1rem;
      background: var(--verde-oscuro);
      color: var(--crema);
      border: none; padding: 1.1rem;
      font-family: 'Jost', sans-serif;
      font-size: 0.8rem; font-weight: 500;
      letter-spacing: 0.2em; text-transform: uppercase;
      cursor: pointer; border-radius: 2px;
      transition: background 0.25s;
    }
    .form-submit:hover { background: var(--verde-medio); }
    .form-whatsapp {
      width: 100%; margin-top: 0.7rem;
      background: #25D366;
      color: white;
      border: none; padding: 1.1rem;
      font-family: 'Jost', sans-serif;
      font-size: 0.8rem; font-weight: 500;
      letter-spacing: 0.15em; text-transform: uppercase;
      cursor: pointer; border-radius: 2px;
      transition: background 0.25s;
      text-decoration: none; display: block; text-align: center;
    }
    .form-whatsapp:hover { background: #1ebe5a; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--negro);
      padding: 3rem;
      display: flex; justify-content: space-between; align-items: center;
      border-top: 1px solid rgba(200,169,106,0.1);
    }
    .footer-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem; font-weight: 300;
      color: var(--crema); letter-spacing: 0.1em;
    }
    .footer-logo img {
        max-width: 100px;
        filter: brightness(0) invert(1);
    }
    .footer-logo span { color: var(--dorado); }
    .footer-info { text-align: center; }
    .footer-info p {
      font-size: 0.75rem; color: rgba(245,240,232,0.35);
      font-weight: 300; line-height: 1.8;
    }
    .footer-contact { text-align: right; }
    .footer-contact a {
      display: block;
      color: rgba(245,240,232,0.55);
      text-decoration: none;
      font-size: 0.8rem; font-weight: 300;
      margin-bottom: 0.3rem;
      transition: color 0.2s;
    }
    .footer-contact a:hover { color: var(--dorado); }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(30px); }
      to   { opacity:1; transform:translateY(0); }
    }
    .hero-eyebrow { animation: fadeUp 0.8s ease 0.2s both; }
    .hero h1      { animation: fadeUp 0.9s ease 0.4s both; }
    .hero-sub     { animation: fadeUp 0.8s ease 0.6s both; }
    .hero-badges  { animation: fadeUp 0.8s ease 0.75s both; }
    .hero-btns    { animation: fadeUp 0.8s ease 0.9s both; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {  
      .hero-content { padding: 0 1.5rem 4rem; }
      .section { padding: 5rem 1.5rem; }
      .stats-bar { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; }
      .proyecto-grid, .ubicacion-grid, .fin-grid,
      .ventajas-grid, .cta-section { grid-template-columns: 1fr; }
      .galeria-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 500px; }
      .gal-item:first-child { grid-row: auto; }
      footer { flex-direction: column; gap: 2rem; text-align: center; }
      .footer-contact { text-align: center; }
      .ventajas-header { flex-direction: column; gap: 1.5rem; }
    }

/* Modal Base */
.galeria-modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  user-select: none;
}

/* Imagen principal */
.modal-content {
  margin: auto;
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95%;
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* Botones de Navegación */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  font-size: 30px;
  padding: 20px 15px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10001;
  border-radius: 5px;
}

.modal-nav:hover { background: rgba(255,255,255,0.2); }
.prev { left: 20px; }
.next { right: 20px; }

.modal-close {
  position: absolute;
  top: 20px; right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10002;
}

#modal-caption {
  position: absolute;
  bottom: 40px;
  left: 0; width: 100%;
  text-align: center;
  color: #ccc;
  font-size: 1.1rem;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;

    animation: scrollBounce 2s infinite;
    will-change: transform;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }

    40% {
        transform: translateY(10px);
        opacity: 1;
    }

    60% {
        transform: translateY(6px);
        opacity: 0.9;
    }
}

.grecaptcha-badge{
    display:none;
}