/* =============================
   ESTILOS ESPECÍFICOS PARA index.html
   Sección Hero CON ANIMACIONES NATURALES
============================= */

/* Sección Hero con imagen de fondo - ANIMACIÓN DE ENTRADA NATURAL */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/catarata-en-el-bosque.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 40px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    animation: heroReveal 2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efecto de agua fluyendo sutil en el fondo */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 65%,
        rgba(84, 148, 154, 0.05) 70%,
        transparent 75%
    );
    animation: waterFlow 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes waterFlow {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Overlay oscuro con animación de profundidad */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    animation: overlayFadeIn 1.5s ease-out 0.3s both;
}

@keyframes overlayFadeIn {
    0% {
        background-color: rgba(0, 0, 0, 0);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.4);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: contentFloat 6s ease-in-out infinite;
}

@keyframes contentFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Logo en la sección Hero - ANIMACIÓN COMO AMANECER */
.hero-logo {
    margin-bottom: 2rem;
    animation: sunriseLogo 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s both;
}

@keyframes sunriseLogo {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    70% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo como imagen con efecto de destello sutil */
.hero-logo-img {
    display: block;
    margin: 0 auto;
    width: clamp(180px, 18vw, 250px);
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35)) 
               brightness(1);
    }
    50% {
        filter: drop-shadow(0 15px 30px rgba(84, 148, 154, 0.3))
               brightness(1.05);
    }
}

/* Slogan en tres líneas - ANIMACIÓN COMO HOJAS CAYENDO */
.hero-slogan {
    font-family: 'Jost', sans-serif;
    margin-bottom: 3rem;
    overflow: hidden;
}

/* Cada línea aparece con retardo como brisa moviendo hojas */
.slogan-line-1,
.slogan-line-2,
.slogan-line-3 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 0.7;
    margin: 0.5rem 0;
    color: #ffffff;
    opacity: 0;
    transform: translateX(-100px);
    animation: leafSway 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.slogan-line-1 {
    animation-delay: 0.8s;
}

.slogan-line-2 {
    animation-delay: 1.2s;
}

.slogan-line-3 {
    animation-delay: 1.6s;
}

@keyframes leafSway {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
    }
    60% {
        transform: translateX(20px) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

/* Efecto de brillo sutil en el texto */
.slogan-line-1::after,
.slogan-line-2::after,
.slogan-line-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: textShimmer 6s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 150%;
    }
}

/* Botón Comunidad Audaz - ANIMACIÓN COMO BROTE QUE CRECE */
.hero-button {
    font-family: 'Jost', sans-serif;
    display: inline-block;
    background-color: #54949a;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: none;
    padding: 8px 40px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 4px;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    animation: buttonGrow 1s cubic-bezier(0.22, 0.61, 0.36, 1) 2s forwards,
               gentleWave 3s ease-in-out infinite 3s;
    position: relative;
    overflow: hidden;
}

@keyframes buttonGrow {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    70% {
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes gentleWave {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(84, 148, 154, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(84, 148, 154, 0.4);
    }
}

/* Efecto de gotas de agua cayendo sobre el botón */
.hero-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    animation: waterDrops 4s linear infinite;
}

@keyframes waterDrops {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100%) rotate(360deg);
        opacity: 0;
    }
}

.hero-button:hover {
    background-color: #f7f3ee;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 5px;
    animation-play-state: paused;
    color: #222221;
}

.hero-button:hover::before {
    animation-play-state: paused;
}

.hero-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Partículas de naturaleza flotantes (opcional, muy sutiles) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.1) 50%, transparent 50%),
        radial-gradient(2px 2px at 80% 70%, rgba(255, 255, 255, 0.1) 50%, transparent 50%),
        radial-gradient(3px 3px at 40% 80%, rgba(255, 255, 255, 0.05) 50%, transparent 50%);
    background-size: 300px 300px;
    animation: particlesFloat 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes particlesFloat {
    0% {
        background-position: 0 0, 100px 100px, 200px 200px;
    }
    100% {
        background-position: 300px 300px, 400px 400px, 500px 500px;
    }
}

/* Efecto de brisa sutil en los bordes */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 
        inset 0 0 100px rgba(84, 148, 154, 0.1),
        inset 0 0 200px rgba(84, 148, 154, 0.05);
    animation: breezeEdge 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes breezeEdge {
    0% {
        box-shadow: 
            inset 0 0 100px rgba(84, 148, 154, 0.1),
            inset 0 0 200px rgba(84, 148, 154, 0.05);
    }
    100% {
        box-shadow: 
            inset 0 0 120px rgba(84, 148, 154, 0.15),
            inset 0 0 220px rgba(84, 148, 154, 0.08);
    }
}

/* =============================
   ESTILOS ESPECÍFICOS PARA index.html
   Sección Quiénes Somos
============================= */

/* Sección Quiénes Somos */
.about-section {
    padding: 80px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

/* Título Quiénes Somos */
.about-title {
    /* FUENTE ACTUAL: Jost (cambiar según necesites) */
    font-family: 'Jost', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-container.animate-in .about-title {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.2s;
}

/* Texto descriptivo */
.about-text {
    /* FUENTE ACTUAL: Jost (cambiar según necesites) */
    font-family: 'Jost', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: justify;
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-container.animate-in .about-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.about-text strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* Botón Acerca de nosotros */
.about-button {
    /* FUENTE ACTUAL: Jost (cambiar según necesites) */
    font-family: 'Jost', sans-serif;
    display: inline-block;
    background-color: transparent;
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 30px;
    border: 2px solid #1a1a1a;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

.about-container.animate-in .about-button {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.1;
}

.about-button:hover {
    background-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* =============================
   ✅ SERVICES SECTION (ajustada al mockup)
============================= */

.services-section {
    padding: 90px 20px 70px;
    background-color: #e8e6e1;
    text-align: center;
}

/* Kicker (arriba del título) */
.services-section::before {
    content: 'De la raíz al futuro';
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #6e655c; /* gris cálido */
    margin-bottom: -0.5rem;
    letter-spacing: 0.8px;
    
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-section.animate-in::before {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

/* Título principal */
.services-section .section-title {
    font-family: 'Jost', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #3b2a1f; /* café del mockup */
    margin-bottom: 56px;
    text-transform: none;
    
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(25px) scale(0.96);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-section.animate-in .section-title {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.25s;
}

.services-container {
    max-width: 1550px;
    margin: 0 auto;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 46px; /* más aire como el mockup */
    margin-bottom: 44px;
}

/* Card */
.service-card {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    height: 470px;
    display: flex;
    flex-direction: column;

    /* sombra suave como el mockup */
    box-shadow: 0 18px 38px rgba(0,0,0,0.18);
    
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(60px) scale(0.92);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Delays escalonados para cada card */
.service-card:nth-child(1) {
    transition-delay: 0.45s;
}

.service-card:nth-child(2) {
    transition-delay: 0.6s;
}

.service-card:nth-child(3) {
    transition-delay: 0.75s;
}

.service-card:nth-child(4) {
    transition-delay: 0.9s;
}

.services-section.animate-in .service-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hover effect suave y elegante */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 28px 55px rgba(0,0,0,0.28);
}

/* Textura fondo */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/concepto-de-fondo-de-telon-de-fondo-con-textura.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    opacity: 0.25; 
}

/* Efecto de zoom sutil en la textura al hacer hover */
.service-card:hover::before {
    transform: scale(1.05);
}

/* Overlay color */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    mix-blend-mode: multiply;

}

/* Colores (muy similares a tu mockup) */
.service-card:nth-child(1)::after { background-color: #213b5e; }
.service-card:nth-child(2)::after { background-color: #3e564e; }
.service-card:nth-child(3)::after { background-color: #9f1c26; }
.service-card:nth-child(4)::after { background-color: #549399; }

/* Contenido */
.card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 46px 34px 60px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ✅ Logo centrado arriba */
.card-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.card-logo-img{
    display: block;
    height: 64px;        /* tamaño similar al mockup */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.22));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo crece sutilmente al hacer hover en la card */
.service-card:hover .card-logo-img {
    transform: scale(1.08) translateY(-3px);
}

/* Texto */
.card-text {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Título (grande en centro superior) */
.card-title {
    font-family: 'Jost', sans-serif;
    font-size: 2.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

/* ✅ Subtitle con Inter */
.card-subtitle {
    font-family: 'InterVar', 'Inter', 'Jost', sans-serif;
    font-size: 1.02rem;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    margin: 0 0 20px 0;
    line-height: 1.2;
    max-width: 290px;
}

/* ✅ Description con Inter, justificada y más angosta como el mockup */
.card-description {
    font-family: 'InterVar', 'Inter', 'Jost', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255,255,255,0.90);
    line-height: 1.55;

    text-align: justify; /* ✅ Cambiado de center a justify */
    max-width: 290px;
    margin: 0 auto;
}


/* ✅ Botón Saber Más (mockup) */
.services-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: 'Jost', sans-serif;
    background-color: #3d5a4a;
    color: #ffffff;
    text-decoration: none;

    padding: 14px 44px;
    border-radius: 999px;

    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 4px;

    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    border: 2px solid transparent; /* base */
}

.services-section.animate-in .services-more-button {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.0s;
}

.services-more-button:hover {
    background-color: #ffffff;
    color: #3d5a4a;
    padding: 14px 60px;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(61, 90, 74, 0.25);
    border: 2px solid #3d5a4a; /* borde en hover */
}

.services-more-button:active {
    transform: translateY(0px);
    box-shadow: 0 12px 24px rgba(61, 90, 74, 0.18);
    padding: 14px 58px;
}

/* ======================================================
   ✅ SECCIÓN: NUESTRA PROMESA (PROMISE) - VERSIÓN -15%
   - Ancho y altura reducidos en un 15%
   - Mantiene gradiente, lazy imgs y transiciones
====================================================== */

.promise-section{
  background: #f4f4f4;
  padding: 80px 20px;
  font-family: 'Jost', sans-serif;

  /* ✅ mejora performance al no renderizar hasta que sea visible */
  content-visibility: auto;
  /* 900px original -> 85% = 765px */
  contain-intrinsic-size: 765px;
}

.promise-frame{
  /* 1800px original -> 85% = 1530px */
  max-width: 1730px;
  margin: 0 auto;
  border-radius: 48px;
  padding: 60px 60px 60px;
  position: relative;
  overflow: hidden;

  background-image: url('../img/PATTERM.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: transparent !important;

  /* ✅ reduce costo de composición */
  contain: layout paint style;
}

.promise-frame::before{ content: none !important; }

/* Encabezado */
.promise-header{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  margin-bottom: 38px;
}

.promise-kicker{
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: -1rem;
}

.promise-title{
  font-size: 2.6rem;
  font-weight: 700;
}

.promise-subtitle{
  font-family: 'Inter', sans-serif; 
  font-size: 1rem;
  line-height: 1.2;
  opacity: 0.9;
  margin: 0;
}

/* Stack */
/* 650px original -> 85% = 552.5px -> redondeado a 553px */
/* --stack-offset: 420px original -> 85% = 357px */
/* --peek-left: 200px original -> 85% = 170px */
.promise-stack{
  position: relative;
  z-index: 2;
  height: 553px;
  overflow: visible;

  --stack-offset: 357px;
  --peek-left: 170px;

  margin-left: var(--stack-offset);
  width: calc(100% - var(--stack-offset));
}

/* Card base */
.promise-card{
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;

  /* ✅ sin bordes */
  border: 0 !important;
  outline: 0 !important;

  /* ✅ sombra más suave (evita "bordeado" visual) */
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);

  /* ✅ transiciones similares pero menos costosas */
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);

  will-change: transform;
}

/* ✅ Imagen real (más liviano que background-image) */
.promise-card-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}

/* ✅ AJUSTE ESPECÍFICO para la imagen de "Naturaleza" (hoja de té) */
.promise-card-img[src*="hoja-de-te-en-el-campo.jpg"] {
  object-position: center 65%; /* Enfoca más la parte inferior */
}

/* Posiciones */
.promise-card[data-pos="0"]{
  z-index: 3;
  transform: translateX(0) scale(1);
  filter: brightness(1) saturate(1);
  opacity: 1;
}

.promise-card[data-pos="1"]{
  z-index: 2;
  transform: translateX(calc(var(--peek-left) - var(--stack-offset))) scale(1);
  filter: brightness(0.95) saturate(0.95);
  opacity: 0.98;
}

.promise-card[data-pos="2"]{
  z-index: 1;
  transform: translateX(calc(-1 * var(--stack-offset))) scale(1);
  filter: brightness(0.90) saturate(0.90);
  opacity: 0.96;
}

/* ✅ Overlay con GRADIENTE REAL (no caja transparente) */
.promise-card-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 40px 34px 34px;

  /* ✅ gradiente usando #3c554c */
  background: linear-gradient(
    to top,
    rgba(60, 85, 76, 0.98) 0%,
    rgba(60, 85, 76, 0.78) 42%,
    rgba(60, 85, 76, 0.15) 78%,
    rgba(60, 85, 76, 0.00) 100%
  );

  text-align: center;
  color: #ffffff;
}

/* Textos */
.promise-card-title{
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.promise-card-text{
  font-family: 'Inter', sans-serif; 
  font-size: 1rem;
  opacity: 0.95;
  margin: 0 0 18px;
}

/* Botón */
.promise-card-btn{
  display: inline-block;
  background: #ffffff;
  color: #2b2b2b;
  text-decoration: none;

  padding: 12px 22px;
  border-radius: 999px;

  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promise-card-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  background-color: rgba(0, 0, 0, 0.3); /* negro semi-transparente */
  color: #fff;
  border: 0.3px solid #fff;
}

/* Flecha */
.promise-arrow{
  position: absolute;
  right: 50px;
  top: 88%;
  transform: translateY(-50%);
  z-index: 10;

  width: 58px;
  height: 58px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.40);

  /* ✅ quitamos blur (caro) */
  backdrop-filter: none;

  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease, background 0.25s ease;
}

.promise-arrow:hover{
  background: rgba(255,255,255,0.16);
  transform: translateY(-50%) scale(1.04);
}

.promise-arrow-icon{
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  margin-top: -2px;
  opacity: 0.95;
}



/* ====================================
   SECCIÓN: SOMOS LA RAÍZ DE UN CAMBIO AUDAZ (ROOTS)
   Objetivo: banda oscura full width + imagen izquierda + texto derecha
==================================== */

/* ✅ AGREGAR FUENTE INTER */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_slnt,wght_1.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.roots-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;

  /* ✅ IMPORTANTE: sin padding lateral para permitir full width */
  padding: 80px 0;

  background-image: url('../img/primer-plano-hojas-y-flores.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay verde sobre toda la sección (lo dejas porque dijiste que está bien) */
.roots-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(34, 77, 44, 0.85) 0%,
    rgba(45, 95, 55, 0.75) 50%,
    rgba(34, 77, 44, 0.85) 100%);
  z-index: 1;
}

/* ✅ Quitar el límite de ancho para que NO recorte la banda */
.roots-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex; /* ✅ Agregado para centrar verticalmente */
  align-items: center; /* ✅ Agregado para centrar verticalmente */
  min-height: calc(100vh - 160px); /* ✅ Altura mínima ajustada */
}

/* ✅ Banda oscura full width (como en el mockup) */
.roots-content {
  position: relative;

  width: 100%;
  border-radius: 0; /* en el mockup se ve recto */
  box-shadow: none;

  /* Banda oscura */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);

  /* Espacio interno responsivo (se ve "amplio" como en la imagen) */
  padding: 90px clamp(18px, 5vw, 110px) 70px;

  display: grid;

  /* ✅ Imagen izquierda más ancha, texto derecha un poco menos */
  grid-template-columns: minmax(520px, 58%) minmax(380px, 42%);
  gap: clamp(20px, 1.5vw, 35px); /* ✅ Gap reducido */

  align-items: center; /* ✅ Cambiado de 'start' a 'center' para centrar verticalmente */
  min-height: 600px; /* ✅ Altura mínima para asegurar buen centrado */
}

/* ✅ Título sobre la imagen */
.roots-right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative; /* ✅ Necesario para posicionar el título de forma absoluta */
  order: 1;
  
  /* Animación de entrada */
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.roots-section.animate-in .roots-right {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.roots-title {
  font-family: 'Jost', sans-serif; /* ✅ Mantiene Jost */
  position: absolute;
  top: 16px; /* ✅ Posición desde arriba de la imagen */
  left: 30px; /* ✅ Posición desde la izquierda de la imagen */
  
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3.5px;
  color: rgba(255,255,255,0.95);
  margin: 0;
  
  z-index: 2; /* ✅ Asegura que esté sobre la imagen */
  
  /* ✅ Sombra para mejor legibilidad */
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  
  /* Animación de entrada */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.roots-section.animate-in .roots-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* ✅ Reordenar columnas SIN cambiar HTML:
   roots-right (imagen) a la izquierda, roots-left (texto) a la derecha */
.roots-left  { order: 2; }

/* Columna derecha - Texto */
.roots-left {
  color: #ffffff;
  display: flex; /* ✅ Agregado para centrar botón */
  flex-direction: column; /* ✅ Agregado para centrar botón */
  align-items: flex-start; /* ✅ Mantiene alineación izquierda del contenido */
  
  /* Animación de entrada */
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.roots-section.animate-in .roots-left {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

/* Título grande: "Nuestras" + "ESTRATEGIAS" más grande (como la imagen) */
.roots-subtitle {
  font-family: 'Jost', sans-serif; /* ✅ Mantiene Jost */
  font-size: 38px;
  font-weight: 450;
  line-height: 1.05;
  margin: 0 0 18px 0;
  
  /* Animación de entrada */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.roots-section.animate-in .roots-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.roots-subtitle span {
  font-family: 'Jost', sans-serif; /* ✅ Mantiene Jost */
  display: block;
  font-size: 62px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ✅ Párrafo con fuente Inter */
.roots-description {
  font-family: 'Inter', sans-serif; /* ✅ Ya tiene Inter */
  font-size: 16px; /* ✅ Tamaño más razonable - 25px era demasiado grande */
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  text-align: left; /* en el mockup se ve alineado, no justificado */
  max-width: 640px;
  margin-bottom: 25px; /* ✅ Agregado para separación */
  font-weight: 400;
  
  /* Animación de entrada */
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.roots-section.animate-in .roots-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

/* Lista de estrategias: con guion "-" como en la imagen */
.roots-strategies {
  list-style: none;
  padding: 0;
  margin: 0 0 34px 0;
  max-width: 680px;
}

.roots-strategies li {
  margin-bottom: 18px;
  display: block;
  font-family: 'Inter', sans-serif; /* ✅ Cambiado a Inter */
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  
  /* Animación de entrada */
  opacity: 0;
  transform: translateX(25px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Delays escalonados para cada estrategia */
.roots-strategies li:nth-child(1) {
  transition-delay: 0.8s;
}

.roots-strategies li:nth-child(2) {
  transition-delay: 0.95s;
}

.roots-strategies li:nth-child(3) {
  transition-delay: 1.1s;
}

.roots-strategies li:nth-child(4) {
  transition-delay: 1.25s;
}

.roots-section.animate-in .roots-strategies li {
  opacity: 1;
  transform: translateX(0);
}

.roots-strategies li::before {
  content: "-";
  margin-right: 4px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
}

.strategy-title {
  font-family: 'Inter', sans-serif; /* ✅ Cambiado a Inter */
  font-weight: 550;
  font-size: 20px;
  letter-spacing: 0.6px;
  color: #ffffff;
}

.strategy-text {
  font-family: 'Inter', sans-serif; /* ✅ Cambiado a Inter */
  font-weight: 400;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
}
/* ✅ Botón blanco tipo "píldora" (como el mockup) - CENTRADO */
.roots-button {
  display: block;
  padding: 12px 26px;

  background: #ffffff;
  color: #1a1a1a;

  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-decoration: none;
  text-align: center;

  border: 1px solid transparent; /* base para evitar salto */
  border-radius: 999px;

  margin: 0 auto;

  transition: 
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Animación de entrada */
  opacity: 0;
  transform: translateY(20px) scale(0.92);
}

.roots-section.animate-in .roots-button {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

/* ✨ Hover solicitado */
.roots-button:hover {
  background-color: rgba(0, 0, 0, 0.6); /* negro transparente */
  color: #ffffff;
  border-color: #ffffff;

  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}

.roots-button:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* ✅ Imagen grande, proporción similar al mockup */
.roots-image-container {
  width: 100%;
  max-width: 900px; /* ✅ Reducido de 1000px para mejor proporción */
  border-radius: 0; /* el mockup se ve casi recto */
  overflow: hidden;

  /* Mantener altura consistente */
  aspect-ratio: 16 / 9;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  position: relative; /* ✅ Para que el título se posicione relativo a este contenedor */
  transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.roots-image-container:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.roots-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto zoom suave en la imagen al hover */
.roots-image-container:hover .roots-image {
  transform: scale(1.06);
}