:root {
    --verde: #143E37;
    --verde-osc: #0E2F29;
    --amarillo: #F2B705;
    --bg: #fff;
    --blanco: #fff;
    --hdr-h-big: 120px;
    /* alto inicial (grande) */
    --hdr-h-small: 80px;
    /* alto al hacer scroll */
}

html {
    scroll-behavior: smooth
}

*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: #0b1a17;
    font-size: 18px;
}


.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--hdr-h-big);
    display: grid;
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #eef1f3;
    backdrop-filter: saturate(120%) blur(6px);
    transition:
        height .28s ease,
        background-color .28s ease,
        color .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

/* La barra interna conserva tu layout */
.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px
}

/* Tamaño de marca/menú cuando es grande */
/* .brand-logo {
    width: 52px;
    height: 52px;
    transition: transform .28s ease, filter .28s ease, background .28s ease
}  */
/*  .brand-logo {
  width: 200px; 
  height: auto;
  object-fit: contain;
  display: block;
}
 */


/* .brand-title {
    font-size: 1.05rem;
    transition: color .28s ease
}

.brand-sub {
    font-size: .72rem
} */

/* Links del menú */
.menu a {
    color: var(--verde);
    transition: color .28s ease, background .2s ease, opacity .2s ease;
    padding: 10px 12px;
    border-radius: 10px;
}

.menu a:hover {
    background: rgba(20, 62, 55, .06)
}

/* CTA */
.cta {
    transition: transform .2s ease, background .28s ease
}

.cta:hover {
    transform: translateY(-2px)
}

/* ===== Estado SCROLLED (al bajar) ===== */
.header.scrolled {
    height: var(--hdr-h-small);
    background: rgba(20, 62, 55, .92);
    /* var(--verde) */
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.header.scrolled .brand-title,
.header.scrolled .brand-sub,
.header.scrolled .menu a {
    color: #fff
}

.header.scrolled .menu a:hover {
    background: rgba(255, 255, 255, .12)
}

.header.scrolled .cta {
    background: var(--amarillo);
    color: #0b1a17 !important
}

.header.scrolled .cta:hover {
    background: #ffcd2e
}

.header.scrolled .brand-logo {
    filter: brightness(1.1)
}

/* Fade extra: sobreponemos un velo sutil al entrar scrolled */
.header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .32s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0));
}

.header.scrolled::after {
    opacity: 1
}

/* Responsive */
@media (max-width: 980px) {
    :root {
        --hdr-h-big: 82px;
        --hdr-h-small: 60px
    }
}

@media (max-width: 620px) {
    .menu {
        display: none
    }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {

    .header,
    .header::after,
    .brand-logo,
    .menu a,
    .cta {
        transition: none
    }
}

/* .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: conic-gradient(from 0deg at 70% 70%, var(--verde) 0 250deg, transparent 250deg), linear-gradient(var(--amarillo), var(--amarillo));
    mask: radial-gradient(circle at 35% 65%, transparent 36px, #000 37px)
}

.brand-title {
    font-weight: 700;
    letter-spacing: .8px;
    color: var(--verde)
}

.brand-sub {
    display: block;
    font-size: .72rem;
    line-height: 1;
    color: var(--amarillo);
    margin-top: 2px;
    font-weight: 600;
    letter-spacing: 2.5px
} */

/* Contenedor de marca: logo + textos alineados */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* LOGO como imagen real (no background) */
.brand-logo {
  width: 100px;        /* Ajusta a tu gusto */
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px; /* opcional */
  transition: transform .28s ease, filter .28s ease;
}

/* Bloque de textos de marca */
.brand-text { line-height: 1; }

/* Colores base del texto */
.brand-title {
  display: block;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--verde);
  transition: color .28s ease;
  font-size: 1.05rem;
}
.brand-sub {
  display: block;
  font-size: .72rem;
  line-height: 1;
  color: var(--amarillo);
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 2.5px;
  transition: color .28s ease;
}

/* Estado con scroll: cambia solo el color de textos, NO el logo */
.header.scrolled .brand-title,
.header.scrolled .brand-sub {
  color: #fff;
}

/* (Opcional) pequeño efecto al hacer scroll sobre el logo */
.header.scrolled .brand-logo { filter: brightness(1.05); }

/* Responsivo: puedes reducir logo en pantallas chicas */
@media (max-width: 980px) {
  .brand-logo { width: 48px; }
}


.menu {
    display: flex;
    gap: 18px;
    align-items: center
}

.menu a {
    color: var(--verde);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    padding: 8px 10px;
    border-radius: 10px
}

.menu a:hover {
    background: rgba(20, 62, 55, .06)
}

.cta {
    background: var(--verde);
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 12px;
    transition: transform .2s ease, background .3s ease;
}

.cta:hover {
    background: var(--verde-osc);
    transform: translateY(-2px) scale(1.03);
}

section {
    padding: 68px 20px
}

.wrap {
    max-width: 1200px;
    margin: 0 auto
}

.title {
    font-family: Poppins, Montserrat, sans-serif;
    color: var(--verde);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin: 0 0 14px
}

.lead {
    color: #2d3b37;
    max-width: 900px
}

.pill {
    display: inline-block;
    background: #fff5d1;
    border: 1px solid #ffe39a;
    color: #6b5200;
    font-size: .78rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 10px
}

.img-space {
    margin-top: 16px;
    text-align: center;
}

.img-space img {
    width: 40%;
    border-radius: 14px;
    object-fit: cover;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    align-items: center
}

.hero-card {
    border: 1px solid #eef1f3;
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #fff, #fbfbfb)
}

.hero-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px
}

.tick {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--amarillo);
    display: grid;
    place-items: center;
    color: #0e0e0e;
    font-weight: 900;
    font-size: .8rem
}

.flex {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.kgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.card {
    border: 1px solid #eef1f3;
    border-radius: 16px;
    padding: 20px;
    background: #fff
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.values li {
    list-style: none;
    border: 1px dashed #e6e9ec;
    border-radius: 12px;
    padding: 10px 12px
}

.routes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px
}

.service h3 {
    margin: .2rem 0 4px;
    color: var(--verde)
}

/* .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px
}

.gallery img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 200px
} */

/* ===== GALERÍA PRO ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.g-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eef1f3;
  background: #fff;
  transform: translateZ(0); /* evita blur en hover en algunos navegadores */
}

.g-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease;
}

/* overlay sutil */
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,.28));
  opacity: 0; transition: opacity .35s ease;
}

.g-item:hover img { transform: scale(1.06); filter: saturate(105%); }
.g-item:hover::after { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(2px);
  display: none; /* se muestra con .open */
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lb-figure {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.lb-img {
  width: 100%;
  height: 70vh;
  object-fit: contain;
  background: #000;
}

.lb-caption {
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}

/* Controles */
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  border: none;
  background: rgba(255,255,255,.14);
  color: #fff;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, opacity .2s ease;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.lb-close { top: 18px; right: 18px; font-size: 28px; }
.lb-prev { left: 6vw; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lb-next { right: 6vw; top: 50%; transform: translateY(-50%); font-size: 28px; }

.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); transform: scale(1.05); }

/* Nav en móviles más cerca de la imagen */
@media (max-width: 640px) {
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-img { height: 62vh; }
}

/* Evitar scroll de fondo cuando lightbox está abierto */
body.lb-lock { overflow: hidden; }


/* .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.full {
    grid-column: 1 / -1
}

label {
    display: block;
    font-weight: 600;
    color: #2a3a35;
    margin-bottom: 6px
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e3e8eb;
    border-radius: 12px;
    background: #fbfbfb;
    font-family: inherit
}

textarea {
    min-height: 110px;
    resize: vertical
} */

footer {
    border-top: 1px solid #eef1f3;
    padding: 28px 20px;
    margin-top: 26px
}

.foot {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .services {
        grid-template-columns: repeat(2, 1fr)
    }

    .values {
        grid-template-columns: repeat(2, 1fr)
    }

    .contact {
        grid-template-columns: 1fr
    }

    form {
        grid-template-columns: 1fr
    }

    .kgrid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 620px) {
    .menu {
        display: none
    }

    .services,
    .values {
        grid-template-columns: 1fr
    }
}

/* Animaciones base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Clase inicial oculta */
/* .reveal {
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease-out, transform .6s ease-out;
} */

/* Cuando entra en viewport */
/* .reveal.active {
    opacity: 1;
    visibility: visible;
    animation-duration: .9s;
    animation-fill-mode: both;
}

.reveal.up {
    animation-name: fadeInUp;
}

.reveal.left {
    animation-name: fadeInLeft;
}

.reveal.right {
    animation-name: fadeInRight;
} */

/* Estado inicial */
.reveal{
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
  /* posición inicial suave por si prefieres transiciones en lugar de keyframes */
  transform: translateY(26px);
  transition: opacity .6s ease-out, transform .6s ease-out, visibility 0s linear .6s;
}

/* Al entrar al viewport */
.reveal.active{
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s; /* visibility inmediata al activarse */
  animation-duration: .9s;
  animation-fill-mode: both;
}

/* Aplica la animación SOLO cuando esté active */
.reveal.active.up    { animation-name: fadeInUp; }
.reveal.active.left  { animation-name: fadeInLeft; }
.reveal.active.right { animation-name: fadeInRight; }

/* (Opcional) reducción de movimiento */
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal.active{
    transition: none;
    animation: none !important;
    transform: none;
    opacity: 1; visibility: visible;
  }
}

/* === Slider DELTA === */
.db-slider {
    position: relative;
    border: 1px solid #eef1f3;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
    
}

.db-slides {
    display: flex;
    transition: transform .6s ease;
    will-change: transform
}

.db-slide {
    min-width: 100%;
    position: relative
}

.db-slide img {
    width: 100%;
    height: clamp(220px, 46vw, 460px);
    object-fit: cover;
    display: block
}

/* Caption */
.db-caption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: linear-gradient(90deg, rgba(20, 62, 55, .9), rgba(20, 62, 55, .25));
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    backdrop-filter: blur(2px);
}

/* Flechas */
.db-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, .9);
    color: var(--verde);
    font-size: 26px;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: transform .15s ease, background .2s ease, opacity .2s ease;
}

.db-arrow:hover {
    transform: translateY(-50%) scale(1.06);
    background: #fff
}

.db-prev {
    left: 10px
}

.db-next {
    right: 10px
}

/* Dots */
.db-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.db-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, .6);
    padding: 0;
    transition: transform .15s ease, background .2s ease;
}

.db-dots button[aria-current="true"] {
    background: var(--amarillo);
    border-color: var(--amarillo);
    transform: scale(1.2)
}

/* Accesibilidad / estados */
.db-slider:focus-within .db-arrow {
    opacity: 1
}

.db-arrow:focus,
.db-dots button:focus {
    outline: 2px solid var(--amarillo);
    outline-offset: 2px
}

/* Responsive */
@media (max-width: 620px) {
    .db-caption {
        font-size: .9rem;
        left: 10px;
        right: 10px
    }

    .db-arrow {
        width: 38px;
        height: 38px;
        font-size: 24px
    }
}

/* ==== HERO con video ==== */
.hero {
    position: relative;
    padding: 0;
    /* el alto lo controla el contenedor interior */
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(105%) contrast(105%);
    /* punch sutil */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* degrado para legibilidad */
    background:
        radial-gradient(1200px 500px at 20% 30%, rgba(20, 62, 55, .35), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .45));
}

/* reusa tu grid, pero con padding alto para el hero */
.hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 8vw, 90px) 20px clamp(48px, 6vw, 70px);
    min-height: clamp(420px, 72vh, 760px);
    align-items: center;
}

/* tarjetas/ textos con fondo translúcido para contraste */
.hero-card {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .6);
}

.hero h1,
.hero .lead,
.hero .pill,
.hero strong {
    color: #fff
}

.hero .pill {
    background: rgba(242, 183, 5, .15);
    border-color: rgba(255, 227, 154, .6);
    color: #fff;
}

/* responsivo */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation: none;
    }
}

/* ==== Sección estilo Delta ==== */
.delta-intro {
    padding: 60px 20px;
    background: #fff
}

.delta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.delta-photos {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.delta-photos .photo {
    overflow: hidden;
    border-radius: 60px
}

.delta-photos img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .5s
}

.delta-photos img:hover {
    transform: scale(1.05)
}

.delta-photos .badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--verde);
    color: #fff;
    padding: 20px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.2;
}

.delta-photos .badge small {
    display: block;
    font-size: .8rem;
    font-weight: 500;
    margin-top: 2px
}

.delta-text .tag {
    display: inline-block;
    background: #fff5d1;
    border: 1px solid #ffe39a;
    color: #6b5200;
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.delta-text h2 {
    font-size: 2rem;
    color: var(--verde);
    margin: 0 0 14px;
    font-weight: 700
}

.delta-text h2 .highlight {
    color: var(--amarillo)
}

.delta-text p {
    color: #2d3b37;
    margin-bottom: 14px
}

.delta-text .strong {
    font-weight: 600;
    color: var(--verde)
}

.cta-btn {
    display: inline-block;
    margin-top: 10px;
    background: var(--verde);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background .3s ease, transform .2s ease;
}

.cta-btn:hover {
    background: var(--verde-osc);
    transform: translateY(-2px)
}

@media(max-width:900px) {
    .delta-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .delta-photos {
        grid-template-columns: 1fr 1fr
    }
}

/* Evita el “flash” de estilos al cargar */
html.preload .header,
html.preload .header::after,
html.preload .brand-logo,
html.preload .menu a,
html.preload .cta {
    transition: none !important;
}

/* ===== Métricas Delta ===== */
.delta-stats {
    padding: 40px 20px;
    background: linear-gradient(180deg, #0E2F29, #143E37);
    /* verde oscuro a verde */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Tarjetas */
.stat-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(4px);
    border-radius: 18px;
    padding: 18px 20px;
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon num"
        "icon label";
    column-gap: 14px;
    align-items: center;
    overflow: hidden;
    transition: transform .18s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(242, 183, 5, .7);
    /* amarillo */
    background: rgba(255, 255, 255, .10);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* Icono */
.stat-icon {
    grid-area: icon;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #2a7d6e;
    /* contraste agradable */
    box-shadow: inset 0 0 0 6px rgba(242, 183, 5, .18);
}

/* Número + sufijo */
.stat-num {
    grid-area: num;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.3vw, 2.2rem);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-num .suffix {
    font-weight: 700;
    color: var(--amarillo);
}

/* Etiqueta */
.stat-label {
    grid-area: label;
    font-weight: 600;
    color: #e9f4f1;
    opacity: .95;
}

/* Responsive */
@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 16px 18px;
    }
}

/* Entradas con fade (reusa tus reveal) */
 .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* ==== TOPBAR con Font Awesome ==== */
.topbar {
    background: var(--verde);
    color: #fff;
    font-size: .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

/* Íconos */
.topbar i {
    margin-right: 6px;
    font-size: 1rem;
    color: var(--amarillo);
}

.topbar-right i {
    margin-right: 0;
    font-size: 1.1rem;
    color: #fff;
    transition: color .25s ease, transform .25s ease;
}

.topbar-right a:hover i {
    color: var(--amarillo);
    transform: scale(1.2);
}

/* Links */
.topbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500
}

.topbar a:hover {
    color: var(--amarillo)
}

/* Responsive */
@media(max-width:768px) {
    .topbar-content {
        flex-direction: column;
        gap: 6px;
        text-align: center
    }

    .topbar-left,
    .topbar-right {
        justify-content: center
    }
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .6s ease, visibility .6s ease;
}

.loader-logo {
  width: 240px;   /* más grande */
  height: auto;
  animation: pulse 1.8s infinite ease-in-out;
}

/* Animación pulso */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
}

/* Ocultar loader */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ==== MVV sección mejorada ==== */
.mvv-section{
  position:relative;
  padding: 60px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  overflow:hidden;
}

/* Fondo decorativo con shapes suaves en colores Delta */
.mvv-bg{
  position:absolute; inset:-10% -10% auto -10%; height: 380px;
  background:
    radial-gradient(600px 220px at 15% 40%, rgba(20,62,55,.18), transparent 60%),
    radial-gradient(420px 180px at 85% 20%, rgba(242,183,5,.25), transparent 60%);
  z-index:0; pointer-events:none; filter: blur(2px);
}

/* Headings */
.mvv-head{ text-align:center; position:relative; z-index:1; }
.mvv-tag{
  display:inline-block;
  background: #fff5d1;
  border:1px solid #ffe39a;
  color:#6b5200;
  font-weight:700;
  font-size:.82rem;
  border-radius:999px;
  padding:6px 12px;
  letter-spacing:.5px;
}
.mvv-title{
  margin:8px 0 6px;
  font-size:clamp(1.6rem, 3vw, 2.2rem);
  color: var(--verde);
  font-weight:800;
}
.mvv-lead{
  color:#2d3b37;
  opacity:.9;
}

/* Grid de tarjetas */
.mvv-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-top: 22px;
}
@media (max-width: 980px){ .mvv-grid{ grid-template-columns:1fr; } }

/* Tarjeta vidrio con borde brillante */
.mvv-card{
  border:1px solid rgba(20,62,55,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.78));
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  position: relative;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
}
.mvv-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  border-color: rgba(242,183,5,.55);
}
.mvv-card h3{
  color: var(--verde);
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.mvv-card p{ margin: 0; color:#2d3b37; }

/* Icono circular con acento */
.mvv-icon{
  width: 54px; height: 54px; border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--verde), #1b5a50);
  color:#fff; font-size: 24px;
  box-shadow: inset 0 0 0 6px rgba(242,183,5,.18);
  margin-bottom: 12px;
}

/* subrayado animado */
.mvv-underline{
  position:absolute; left:20px; right:20px; bottom:14px; height:3px;
  background: linear-gradient(90deg, rgba(242,183,5,.0), rgba(242,183,5,1), rgba(242,183,5,.0));
  transform: scaleX(.3); transform-origin:center;
  opacity:.0; border-radius:3px;
  transition: transform .5s ease, opacity .5s ease;
}
.mvv-card:hover .mvv-underline{ transform: scaleX(1); opacity:1; }

/* Valores como chips con icono */
.mvv-values-wrap{ position:relative; z-index:1; }
.mvv-values{
  list-style:none; padding:0; margin: 10px 0 0;
  display:flex; flex-wrap:wrap; gap:10px;
}
.mvv-values li{
  display:flex; align-items:center; gap:8px;
  background:#fff; color:#2a3a35;
  border:1px dashed #e6e9ec;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.mvv-values li i{ color: var(--amarillo); }
.mvv-values li:hover{
  transform: translateY(-2px);
  border-color: rgba(242,183,5,.6);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

/* Stagger: retrasa las animaciones de hijos .reveal dentro de .stagger */
.stagger > .reveal:nth-child(1){ animation-delay: .05s; }
.stagger > .reveal:nth-child(2){ animation-delay: .15s; }
.stagger > .reveal:nth-child(3){ animation-delay: .25s; }
.stagger > .reveal:nth-child(4){ animation-delay: .35s; }
.stagger > .reveal:nth-child(5){ animation-delay: .45s; }

/* ===== NOSOTROS (ABOUT) ===== */
.about{
  position: relative;
  padding: 80px 20px;
  background:
    radial-gradient(1000px 500px at 10% 10%, rgba(20,62,55,.08), transparent 60%),
    radial-gradient(800px 400px at 95% 80%, rgba(242,183,5,.10), transparent 60%),
    linear-gradient(180deg, #fff, #f9fbfb);
  overflow: hidden;
}
.about::before{
  content:""; position:absolute; inset:-40% -10% auto -10%; height:60%;
  background: conic-gradient(from 220deg at 10% 50%, rgba(20,62,55,.06), transparent 40% 60%, rgba(20,62,55,.05));
  filter: blur(10px);
}
.about-grid{
  display:grid; gap:40px;
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
}
@media (max-width: 980px){ .about-grid{ grid-template-columns:1fr } }

/* Texto */
.about-tag{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff5d1; border:1px solid #ffe39a; color:#6b5200;
  padding:6px 12px; border-radius:999px; font-weight:700; font-size:.95rem; margin-bottom:10px;
}
.about-text .title{ margin:8px 0 10px; color:var(--verde) }

/* Highlights */
.about-highlights{
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:16px 0 10px;
}
.hl{
  display:flex; gap:10px; align-items:flex-start;
  background:#fff; border:1px solid #eef1f3; border-radius:14px; padding:12px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.hl:hover{ transform: translateY(-3px); box-shadow:0 8px 18px rgba(0,0,0,.06) }
.hl-icon{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
  background:rgba(242,183,5,.18); color:#6b5200; font-size:1.1rem; }
.hl-text b{ color:var(--verde) }
@media (max-width: 700px){ .about-highlights{ grid-template-columns:1fr 1fr } }

/* Card compromisos */
.about-card{
  margin-top:12px; background:#fff; border:1px solid #eef1f3; border-radius:16px; padding:16px 18px;
}
.about-card h3{ margin:0 0 8px; color:var(--verde) }
.about-list{ list-style:none; margin:0; padding:0; display:grid; gap:8px }
.about-list .tick{
  width:20px; height:20px; border-radius:50%;
  background:var(--amarillo); color:#0b1a17; display:inline-grid; place-items:center;
  font-weight:900; font-size:.85rem; margin-right:8px;
}

/* Collage */
.about-photos{ position:relative; min-height:460px }
.ph{ position:absolute; overflow:hidden; border-radius:54px; border:6px solid #fff;
     box-shadow:0 10px 28px rgba(0,0,0,.12); }
.ph img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s ease }
.ph:hover img{ transform: scale(1.05) }

/* posiciones */
.ph-a{ top:0; left:0; width:46%; height:60% }
.ph-b{ top:18%; left:38%; width:48%; height:64%; border-radius:60px }
.ph-c{ bottom:-4%; left:16%; width:46%; height:48% }

.about-badge{
  position:absolute; right:-6px; bottom:10%; transform: translateY(10%);
  background: var(--verde); color:#fff; border:1px solid rgba(255,255,255,.4);
  padding:18px 22px; border-radius:50px; font-weight:800; font-size:1.2rem; text-align:center;
  box-shadow:0 10px 24px rgba(20,62,55,.25);
}
.about-badge small{ display:block; font-weight:600; font-size:.8rem; margin-top:4px; color:#e9f4f1 }

@media(max-width:980px){
  .about-photos{ min-height:380px }
  .ph-a{ width:52%; height:58% }
  .ph-b{ left:44%; width:50%; height:60% }
  .ph-c{ left:10%; width:54%; height:45% }
}
@media(max-width:560px){
  .about-photos{ min-height:320px }
  .ph{ border-width:4px; border-radius:36px }
  .about-badge{ right:-4px; font-size:1.05rem; padding:14px 18px }
}


/* ===== SERVICIOS ===== */
.svc { padding: 70px 20px; background: linear-gradient(180deg,#fff,#fbfbfb); }

/* Etiqueta */
.svc-tag{
  display:inline-block; margin-bottom:10px;
  background:#fff5d1; border:1px solid #ffe39a; color:#6b5200;
  font-weight:700; font-size:.85rem; padding:6px 12px; border-radius:999px;
}

/* Pilares */
.svc-pillars{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:18px;
}
.svc-card{
  background:#fff; border:1px solid #eef1f3; border-radius:16px; padding:18px;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card:hover{ transform:translateY(-4px); box-shadow:0 12px 24px rgba(0,0,0,.06); border-color:#e7ecef; }
.svc-card h3{ margin:.3rem 0 .35rem; color:var(--verde) }
.svc-icon{
  width:46px; height:46px; border-radius:12px; display:grid; place-items:center;
  background:rgba(242,183,5,.20); color:#6b5200; font-size:1.2rem; font-weight:700;
  box-shadow: inset 0 0 0 6px rgba(242,183,5,.16);
}

/* Grid principal (lista + media) */
.svc-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:22px; margin-top:20px; align-items:center; }
@media (max-width: 980px){ .svc-pillars{grid-template-columns:1fr} .svc-grid{ grid-template-columns:1fr; } }

/* Checklist */
.svc-list{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(2, minmax(220px,1fr)); gap:10px 16px;
}
@media (max-width: 680px){ .svc-list{ grid-template-columns:1fr; } }
.svc-list li{
  display:flex; align-items:flex-start; gap:10px; color:#263732; font-weight:600;
}
.svc-list .ico{
  flex:0 0 22px; height:22px; border-radius:50%;
  background:var(--amarillo); display:inline-grid; place-items:center;
  position:relative; top:2px;
}
/* check SVG generado con CSS (sin librerías) */
.svc-list .ico::before{
  content:""; width:10px; height:6px; border:2px solid #0b1a17; border-top:none; border-right:none;
  transform: translateY(-1px) rotate(-45deg); display:block;
}

/* Media derecha */
.svc-media-inner{
  position:relative; border-radius:16px; overflow:hidden; border:1px solid #eef1f3;
  background:linear-gradient(180deg,#fff,#fbfbfb);
}
.svc-media-inner img{ width:80%; height:auto; object-fit:cover; display:block; }
.svc-badge{
  position:absolute; right:12px; bottom:12px;
  background: var(--verde); color:#fff; border:1px solid rgba(255,255,255,.5);
  border-radius:14px; padding:10px 12px; line-height:1.1; text-align:center;
  font-weight:800; min-width:64px; box-shadow:0 10px 20px rgba(20,62,55,.25);
}
.svc-badge small{ display:block; font-weight:600; opacity:.95 }

/* Integración con tus reveals (opcional: pequeño retraso) */
.reveal[style*="--d"]{ transition-delay: calc(var(--d,0ms) * 1ms); }


/* ===== INFRA ===== */
.infra{ padding:70px 20px; background:linear-gradient(180deg,#fff,#fbfbfb); }
.infra-tag{
  display:inline-block; background:#fff5d1; border:1px solid #ffe39a; color:#6b5200;
  font-weight:700; font-size:.85rem; padding:6px 12px; border-radius:999px; margin-bottom:10px;
}
.infra-head .title{ margin:8px 0 6px; color:var(--verde) }

.infra-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:18px;
}
@media(max-width:1100px){ .infra-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .infra-grid{ grid-template-columns:1fr; } }

.infra-card{
  background:#fff; border:1px solid #eef1f3; border-radius:16px; padding:16px;
  display:flex; flex-direction:column; gap:10px; position:relative;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.infra-card:hover{ transform:translateY(-4px); box-shadow:0 12px 24px rgba(0,0,0,.06); border-color:#e7ecef; }

.infra-icon{
  width:48px; height:48px; border-radius:12px; display:grid; place-items:center;
  background:rgba(242,183,5,.20); color:#6b5200; font-size:1.1rem;
  box-shadow: inset 0 0 0 6px rgba(242,183,5,.16);
}

.infra-card header{ display:flex; align-items:center; justify-content:space-between; gap:10px }
.infra-card h3{ margin:.2rem 0; color:var(--verde) }

.badge{
  display:inline-block; padding:6px 10px; border-radius:999px; font-weight:700; font-size:.8rem;
  background:rgba(20,62,55,.08); color:var(--verde);
}
.badge.metric{
  background: rgba(242,183,5,.2); color:#6b5200; border:1px solid rgba(242,183,5,.45);
}

.desc{ color:#2d3b37; margin:0 }
.hint{ color:#7a8883; margin:-6px 0 0 }

.specs{ list-style:none; margin:0; padding:0; display:grid; gap:8px }
.specs li{ display:flex; align-items:center; gap:8px; color:#24322e; font-weight:600 }
.specs i{ color: var(--verde); }

.map-btn{
  margin-top:auto; align-self:flex-start;
  background:var(--verde); color:#fff; text-decoration:none; font-weight:600;
  padding:10px 14px; border-radius:12px; transition: background .25s ease, transform .18s ease;
}
.map-btn:hover{ background:var(--verde-osc); transform: translateY(-2px); }

.infra-media{
  margin-top:22px; position:relative; border:1px solid #eef1f3; border-radius:16px; overflow:hidden; text-align: center;
  background:linear-gradient(180deg,#fff,#fbfbfb);
}
.infra-media img{ width:50%; height:auto; object-fit:cover; display:block; }
.media-badge{
  position:static; right:12px; bottom:12px; background:var(--verde); color:#fff;
  border:1px solid rgba(255,255,255,.5); border-radius:14px; padding:10px 12px; text-align:center;
  font-weight:800; min-width:120px; box-shadow:0 10px 20px rgba(20,62,55,.25);
}
.media-badge small{ display:block; font-weight:600; opacity:.95 }


/* BOTÓN WHATSAPP FLOTANTE */
.whatsapp-float{
  position: fixed;
  width: 56px; height: 56px;
  bottom: 22px; right: 22px;
  background: #25D366; /* verde oficial WhatsApp */
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  z-index: 999;
  transition: transform .2s ease, box-shadow .25s ease;
}
.whatsapp-float:hover{
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  background: #20b955;
}

/* ===== GALERÍA (Masonry + Lightbox) ===== */
.gal{ padding: 68px 20px; background: linear-gradient(180deg,#fff,#fbfbfb); }

/* Masonry con column-count */
.gallery-masonry{
  column-count: 3;
  column-gap: 14px;
}
@media (max-width: 980px){ .gallery-masonry{ column-count: 2; } }
@media (max-width: 560px){ .gallery-masonry{ column-count: 1; } }

.g-item{
  display:block; margin: 0 0 14px; position:relative;
  border-radius: 14px; overflow: hidden;
  border:1px solid #eef1f3; background:#fff;
  break-inside: avoid; /* clave para masonry */
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
  transform: translateZ(0);
}
.g-item img{
  width:100%; height:auto; display:block;
  transition: transform .5s ease, filter .4s ease;
}
.g-item::after{
  /* borde estilizado al hover */
  content:""; position:absolute; inset:0; border-radius:14px;
  box-shadow: inset 0 0 0 0 rgba(242,183,5,.9); transition: box-shadow .25s ease;
  pointer-events:none;
}
.g-item:hover img{ transform: scale(1.04); filter: saturate(108%) contrast(104%); }
.g-item:hover::after{ box-shadow: inset 0 0 0 3px var(--amarillo); }

/* Lightbox */
.g-lightbox{
  position:fixed; inset:0; background: rgba(10,15,14,.8);
  display:none; place-items:center; z-index:1000;
}
.g-lightbox.active{ display:grid; }
.g-stage{
  position:relative; max-width:min(94vw, 1200px); max-height:86vh;
  margin:0; padding:0; display:grid; gap:10px; justify-items:center;
}
.g-stage img{
  max-width:100%; max-height:80vh; border-radius:12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
#g-caption{
  color:#eaf3f1; font-weight:600; text-align:center;
  background: rgba(20,62,55,.5);
  padding:6px 10px; border-radius:10px; max-width: min(90vw, 1000px);
}

/* Controles */
.g-close{
  position:absolute; top:14px; right:16px;
  width:42px; height:42px; border-radius:50%; border:none; cursor:pointer;
  background:#fff; color:#0b1a17; font-size:24px; font-weight:700;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}
.g-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border:none; border-radius:50%; cursor:pointer;
  background:rgba(255,255,255,.95); color:var(--verde); font-size:28px; font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}
.g-prev{ left:18px; } .g-next{ right:18px; }
.g-nav:hover, .g-close:hover{ filter: brightness(1.05); }

/* Reveal integración */
.gallery-masonry.reveal{ opacity:0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease; }
.gallery-masonry.reveal.active{ opacity:1; transform:none; }

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .g-item img, .gallery-masonry.reveal{ transition:none !important; transform:none !important; }
}

/* ===== CONTACTO – FILA DE 4 TARJETAS ===== */
.contact-delta{ padding: 60px 20px; }
.contact-cards{
  display:grid; grid-template-columns: repeat(4,1fr);
  gap:16px; margin-bottom:28px;
}
@media (max-width:1100px){ .contact-cards{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:620px){ .contact-cards{ grid-template-columns: 1fr; } }

.c-card{
  background: #e9f6f2;              /* tinte verdoso claro */
  border: 1px solid #d7ebe5;
  border-radius: 22px;
  padding: 18px 16px;
  text-align:center;
  box-shadow: 0 8px 24px rgba(20,62,55,.06) inset;
}
.c-card h4{ margin:8px 0 6px; color: var(--verde); }
.c-card p{ margin:0; color:#2d3b37; }
.c-card a{ color:#134a41; text-decoration:none; }
.c-card .c-icon{
  width: 64px; height:64px; margin: -38px auto 10px;       /* “badge” flotando */
  border-radius: 16px; display:grid; place-items:center;
  background: #bfe3d9; color:#fff; font-size:26px;
  box-shadow: 0 6px 16px rgba(20,62,55,.18);
  border: 6px solid #e9f6f2;
}

/* ===== CONTACTO – GRID IMAGEN + FORM ===== */
.contact-grid{
  display:grid; grid-template-columns: 1.05fr 1fr; gap:26px; align-items:stretch;
}
@media (max-width:980px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-photo{
  margin:0; border-radius:26px; overflow:hidden;
  border:1px solid #eef1f3; background:#fff;
}
.contact-photo img{ width:100%; height:100%; max-height:560px; object-fit:cover; display:block; }

.contact-panel{
  background: #eaf6f3;
  border: 1px solid #d6ebe6;
  border-radius: 26px;
  padding: 22px;
  position: relative;
}
.contact-panel::after{
  content:""; position:absolute; inset:10px; border-radius:22px;
  border:1px solid rgba(255,255,255,.7); pointer-events:none;
}

.contact-head h2{
  margin:0 0 6px; color: var(--verde); font-size: clamp(1.4rem,2.4vw,2rem);
}
.contact-head p{ margin:0 0 16px; color:#2d3b37; opacity:.9; }

/* ===== FORM ===== */
.contact-form{ display:grid; gap:12px; position:relative; z-index:1; }
.contact-form .row{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width:680px){ .contact-form .row{ grid-template-columns:1fr; } }

.f-field{
  display:grid; grid-template-columns:36px 1fr; align-items:center; gap:10px;
  padding: 10px 12px;
  background:#fff; border:1px solid #e3e8eb; border-radius:14px;
  transition:border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}
.f-field i{ color: var(--verde); font-size:1rem; display:grid; place-items:center; }
.f-field input,.f-field select,.f-field textarea{
  border:none; outline:none; width:100%; background:transparent; font:inherit; color:#0b1a17;
}
.f-field select{ padding: 10px 0; }
.f-field textarea{ min-height:120px; resize:vertical; }
.f-textarea{ align-items:start; }

.f-field:focus-within{
  border-color: rgba(20,62,55,.45);
  box-shadow: 0 0 0 4px rgba(20,62,55,.08);
}

/* Botón Delta */
.btn-delta{
  display:inline-flex; align-items:center; gap:8px;
  border:none; cursor:pointer; font-weight:700;
  padding:12px 18px; border-radius:12px;
  background: var(--verde); color:#fff;
  transition: transform .15s ease, background .25s ease, box-shadow .25s ease;
}
.btn-delta:hover{ background: var(--verde-osc); transform: translateY(-2px); }
.btn-delta:active{ transform: translateY(0); }

/* Mensaje de éxito */
.contact-success{
  margin:10px 0 0; padding:10px 12px; border:1px solid #cdeed9;
  background:#f3fff7; color:#1c4b26; border-radius:10px;
}

/* ===== BANNER INTERMEDIO CON FONDO FIJO ===== */
.delta-cta{
  --cta-img: url("image/TRANSPORTE DELTA DEL BALSAS.jpg"); /* ⇦ cambia por tu fondo */
  position: relative;
  isolation: isolate;
  padding: clamp(70px, 20vh, 140px) 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  /* Fondo fijo (parallax simple) */
  background-image:
    radial-gradient(1200px 500px at 20% 30%, rgba(20,62,55,.35), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.35) 40%, rgba(0,0,0,.55)),
    var(--cta-img);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-attachment: scroll, scroll, fixed; /* la imagen va fija */
}

/* Contenido */
.delta-cta__content{ max-width: 900px; margin: 0 auto; }
.delta-cta h2{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .3px;
}
.delta-cta p{
  margin: 0 auto 18px;
  opacity: .95;
  max-width: 780px;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
}

/* Logo pequeño arriba */
.delta-cta__logo{
  width: clamp(68px, 10vw, 92px);
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}

/* Botones */
.btn-primary, .btn-ghost{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  margin: 6px;
  transition: transform .15s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn-primary{
  background: var(--verde);
  color:#fff;
  border: 1px solid rgba(255,255,255,.15);
}
.btn-primary:hover{ background: var(--verde-osc); transform: translateY(-2px); }

.btn-ghost{
  background: transparent;
  color:#fff;
  border: 1px solid rgba(255,255,255,.6);
}
.btn-ghost:hover{
  color:#0b1a17;
  background: var(--amarillo);
  border-color: var(--amarillo);
  transform: translateY(-2px);
}

/* Sutileza: brillo amarillo detrás del contenido */
.delta-cta::after{
  content:"";
  position:absolute; inset:auto -20% -30% -20%;
  height: 60%;
  background: radial-gradient(50% 60% at 50% 50%, rgba(242,183,5,.25), transparent 70%);
  z-index:-1;
}

/* Accesibilidad: si el usuario prefiere menos movimiento, desactiva el efecto fijo */
@media (prefers-reduced-motion: reduce){
  .delta-cta{ background-attachment: scroll, scroll, scroll; }
}

/* iOS fallback (a veces ignora background-attachment: fixed); mantenemos el look */
@supports (-webkit-overflow-scrolling: touch){
  .delta-cta{ background-attachment: scroll, scroll, scroll; }
}
