@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap");

/* Variables del tema */
:root {
    --bg: #f6fbf6; /* fondo claro */
    --texto: #18201DB3; /* color texto */
    --tono-apagado: #5b6b5b; /* tono apagado */
    --verde-500: #1D622A; /* verde principal */
    --verde-300: #8fd19b;
    --marron-700: #6b4226; /* marrón */
    --marron-900: #6b4226;
    --fondo-tarjeta: #ffffff;
    --glass: rgba(255, 255, 255, 0.65);
    --perla: #f0eeeb;
    --shadow: 0 8px 24px rgba(35, 48, 41, 0.08);
    --texto-boton: #ffffff;
    --focus: rgba(47, 158, 68, 0.18);
    --verde-oscuro: #1e4d36;
}

.dark-mode {
    --bg: #070707; /* fondo oscuro */
    --texto: #e8f8ea; /* texto claro */
    --tono-apagado: #9aa69a;
    --verde-500: #34d058;
    --verde-300: #66e07f;
    --marron-700: #000000; /* marrón en oscuro */
    --marron-900: #e8b48a;
    --fondo-tarjeta: #0f0f0f;
    --glass: rgba(10, 10, 10, 0.6);
    --perla: #ece9e4;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    --texto-boton: #ffffff;
    --focus: rgba(52, 208, 88, 0.12);
    --verde-oscuro: #1e4d36;
}
/* Estilos específicos para la página About */
/* Header */
.hero-conocenos {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--fondo-tarjeta);
}
.hero-bg-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background: linear-gradient(145deg, var(--verde-300) 0%, #b7e4c7 60%, #95d5b2 100%);
    border-radius: 0 0 0 60% / 0 0 40% 0;
    z-index: 0;
}

.hero-conocenos .container-fluid {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--verde-500);
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 2.5rem;
    height: 2px;
    background: var(--verde);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.08;
    color: var(--verde-500);
    margin-bottom: 1.8rem;
}
.hero-title em {
    font-style: italic;
    color: var(--marron-900);
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--texto);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-stat-row {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--verde-500);
    line-height: 1;
}
.hero-stat span {
    font-size: .8rem;
    color: var(--texto);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.hero-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: .8rem;
    height: auto;
    overflow: hidden;
}
.hero-img-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}
.hero-img-grid img:first-child {
    grid-row: span 2;
    border-radius: 2rem 1rem 1rem 2rem;
}

/* Misión */
.mision-section {
    background: var(--verde-300);
    color: var(--texto);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}
.mision-section::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 20rem;
    color: var(--bg);
    line-height: 1;
    pointer-events: none;
}

.mision-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    line-height: 1.4;
    font-style: italic;
    max-width: 860px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: var(--bg)
}
.mision-autor {
    text-align: center;
    font-size: .85rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .7;
}
p.mision-quote {
    color: var(--bg);
}
p.mision-autor {
    color: var(--bg);
}

/* Valores */
.valores-section {
    padding: 7rem 0;
    background: var(--bg);
}
.section-label {
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--verde-500);
    font-weight: 500;
    margin-bottom: .6rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--verde-500);
    margin-bottom: 3.5rem;
}

.valor-card {
    padding: 2.2rem 1.8rem;
    border: 1.5px solid #e8e8e8;
    border-radius: 1.2rem;
    transition: all .3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.valor-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--verde-500), var(--verde-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.valor-card:hover {
    border-color: var(--verde-300);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(45,106,79,.1);
}
.valor-card:hover::after { transform: scaleX(1); }

.valor-icon {
    width: 3rem;
    height: 3rem;
    background: var(--verde-300);
    border-radius: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg);
    margin-bottom: 1.2rem;
}
.valor-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--verde-500);
    margin-bottom: .6rem;
}
.valor-card p {
    font-size: .9rem;
    color: var(--texto);
    line-height: 1.7;
    margin: 0;
}

/* Historia */
.historia-section {
    padding: 7rem 0;
    background: var(--perla);
}
h3.section-label.historia-label {
    color: var(--verde-oscuro) ;
}

h2.section-title.historia-title {
    color: var(--verde-oscuro) ;
}
.timeline {
    position: relative;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: .75rem;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--focus), var(--verde-500), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 1;
    transform: none;
}

.timeline-dot {
    position: absolute;
    left: -2.45rem;
    top: .3rem;
    width: 1rem;
    height: 1rem;
    background: var(--focus);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--verde-500);
}

.timeline-year {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--verde-oscuro);
    margin-bottom: .3rem;
}
.timeline-item h4 {
    font-family: 'Playfair Display', serif;
    color: var(--verde-oscuro);
    margin-bottom: .4rem;
}
.timeline-item p {
    font-size: .9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.historia-img {
    border-radius: 2rem;
    overflow: hidden;
    height: 480px;
}
.historia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Equipo */
.equipo-section {
    padding: 7rem 0;
    background: var(--bg);
}

.equipo-card {
    text-align: center;
    padding: 2rem 1.2rem;
}
.equipo-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border:solid 3px var(--marron-900);
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    position: relative;
}
.equipo-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--verde-500), var(--verde-300));
    z-index: -1;
}
.equipo-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--verde-500);
    margin-bottom: .2rem;
}
.equipo-card .role {
    font-size: .78rem;
    color: var(--verde-500);
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: .8rem;
}
.equipo-card p {
    font-size: .85rem;
    color: var(--texto);
    line-height: 1.6;
}

/* Compromiso */
.compromiso-section {
    padding: 7rem 0;
    background: linear-gradient(160deg, var(--verde-300) 0%, #fff 60%);
    color: var(--verde-oscuro);
}
p.section-label.compromiso-label {
    color: var(--verde-oscuro) ;
}

h2.section-title.compromiso-title {
    color: var(--verde-oscuro) ;
}
.compromiso-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.compromiso-num {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--verde-oscuro);
    color: #fff;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
}
.compromiso-item h5 {
    font-weight: 600;
    color: var(--verde-oscuro);
    margin-bottom: .2rem;
    font-size: .95rem;
}
.compromiso-item p {
    font-size: .85rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.compromiso-badge {
    background: var(--verde);
    color: var(--verde-oscuro);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
}
.compromiso-badge .big-num {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    display: block;
}
.compromiso-badge p {
    font-size: .85rem;
    opacity: .8;
    margin: .5rem 0 0;
}
.badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

/* CTA */
.cta-section {
    background: var(--verde-500);
    padding: 6rem 0;
    text-align: center;
    color: var(--bg);
    position: relative;
    overflow: hidden;
}
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.cta-section::before { width: 500px; height: 500px; top: -200px; left: -100px; }
.cta-section::after  { width: 400px; height: 400px; bottom: -200px; right: -100px; }

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
}
.cta-section p {
    opacity: .85;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.btn-cta-blanco {
    background: #fff;
    color: #000000;
    border: none;
    padding: .9rem 2.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all .25s;
    display: inline-block;
}
.btn-cta-blanco:hover {
    background: var(--verde-300);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.btn-cta-outline-blanco {
    background: transparent;
    color: var(--bg);
    border: 2px solid rgb(255, 255, 255);
    padding: .9rem 2.5rem;
    border-radius: 3rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all .25s;
    display: inline-block;
    margin-left: 1rem;
}
.btn-cta-outline-blanco:hover {
    border-color: #3e3d3d;
    background: rgba(255,255,255,.1);
}
.btn-back {
    margin-top: 3rem;
    text-align: center;
}

.back-btn {
    background: transparent;
    color: var(--bg);
    cursor: pointer;
    border: 2px solid #fff;
    padding: .9rem 2.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all .25s;
}

.back-btn:hover {
    background: #fff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

/* AVATARES (colores individuales) */
.avatar-ana  { background: linear-gradient(135deg, #1b4332, #40916c); }
.avatar-manuel { background: linear-gradient(135deg, #2d6a4f, #52b788); }
.avatar-monica { background: linear-gradient(135deg, #52b788, #95d5b2); }

/* ── BADGES variantes ── */
.badge-sm .big-num { font-size: 2.5rem; }
.badge-full { grid-column: span 2; }

/* ── CTA inner ── */
.cta-inner { position: relative; z-index: 1; }
/*Trabajando con el responsive*/

@media screen and (max-width: 850px){
    /*Página About*/
    .hero-stat-row {
        flex-direction: column;
        align-items: start;
    }
    .hero-img-grid { height: 340px; }
    .hero-stat-row { gap: 1.5rem; }
    .historia-img { height: 320px; margin-bottom: 3rem; }
    .btn-cta-outline-blanco { margin-left: 0; margin-top: .8rem; }
}

