/* ================================================================
   ASESORÍA DE TESIS — Hero Section CSS
   Colores AIA: Naranja #f0842c | Gris/Plomo #2c3e50 | Azul #1a3a5c | Celeste #00b4d8
================================================================ */


/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ================================================================
   HERO — Foto de fondo, texto encima
================================================================ */
.at-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ── Imagen de fondo: la foto de graduación ── */
.at-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/Tesis/Graduacion.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    /* Escala suave al cargar */
    animation: atBgZoom 10s ease-out forwards;
}

@keyframes atBgZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
}

/* ── Overlay degradado izquierda → derecha (opacidad ajustada para ver foto) ── */
.at-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(26, 58, 92, 0.88) 0%,       /* azul oscuro AIA */
        rgba(26, 58, 92, 0.75) 35%,
        rgba(26, 58, 92, 0.30) 65%,
        rgba(26, 58, 92, 0.05) 100%
    );
    z-index: 1;
}

/* Borde naranja sutil abajo */
.at-hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f0842c, #00b4d8, transparent);
}

/* ── Contenido del hero ── */
.at-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 120px 60px 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* Badge empresa */
.at-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 132, 44, 0.18);
    border: 1.5px solid rgba(240, 132, 44, 0.55);
    border-radius: 50px;
    padding: 7px 18px;
    
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f0842c;
    backdrop-filter: blur(6px);
    animation: atBadgePulse 3s ease-in-out infinite;
}

.at-badge i { font-size: 0.85rem; }

@keyframes atBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240,132,44,0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(240,132,44,0); }
}

/* Texto intro */
.at-intro-text {
    
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    max-width: 520px;
    animation: atFadeUp 0.8s ease 0.1s both;
}

.at-intro-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* Línea divisoria naranja */
.at-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f0842c, #ffb347);
    border-radius: 2px;
    animation: atFadeUp 0.8s ease 0.2s both;
}

/* Título servicios: "Redacción y Asesoría de Tesis" */
.at-service-label {
    
    font-size: clamp(1.1rem, 2.5vw, 1.55rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    animation: atFadeUp 0.8s ease 0.3s both;
}

/* Título principal con degradado celeste */
.at-main-title {
    
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    max-width: 600px;
    animation: atFadeUp 0.8s ease 0.4s both;
}

.at-main-title .at-cyan {
    display: block;
    background: linear-gradient(90deg, #00b4d8, #48cae4, #90e0ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 16px rgba(0,180,216,0.5));
    animation: atGlow 4s ease-in-out infinite;
}

@keyframes atGlow {
    0%, 100% { filter: drop-shadow(0 2px 16px rgba(0,180,216,0.45)); }
    50%       { filter: drop-shadow(0 2px 28px rgba(0,180,216,0.8)); }
}

/* CTA Buttons */
.at-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
    animation: atFadeUp 0.8s ease 0.55s both;
}

.at-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f0842c 0%, #e06b10 100%);
    color: #fff;
    
    font-weight: 700;
    font-size: 0.88rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(240,132,44,0.45);
    position: relative;
    overflow: hidden;
}

.at-btn-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffb347, #f0842c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.at-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(240,132,44,0.6);
}

.at-btn-main:hover::before { opacity: 1; }
.at-btn-main span, .at-btn-main i { position: relative; z-index: 1; }

.at-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    
    font-weight: 700;
    font-size: 0.88rem;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    border: 1.5px solid rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.at-btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-3px);
}

/* ── Animaciones base ── */
@keyframes atFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll indicator ── */
.at-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.65;
    animation: atFadeUp 1s ease 1s both;
}

.at-scroll-hint span {
    font-size: 0.7rem;
    
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.at-scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    animation: atScrollBounce 1.5s ease-in-out infinite;
}

@keyframes atScrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(6px); }
}

/* ================================================================
   NUESTROS SERVICIOS — Grid 4 tarjetas con foto Academia.jpg
================================================================ */
.at-services-section {
    background: #ffffff;
    padding: 80px 40px 120px;
}

/* Encabezado */
.at-services-header {
    text-align: center;
    margin-bottom: 52px;
}

.at-services-title {
    
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #05056b;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.at-services-desc {
    
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    color: #475569;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.at-services-desc strong {
    color: #1a3a5c;
    font-weight: 700;
}

.at-services-desc span {
    color: #00b4d8;
    font-weight: 600;
    border-bottom: 2px solid #00b4d8;
    padding-bottom: 1px;
}

/* Grid 4 columnas */
.at-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta individual */
.at-svc-card {
    position: relative;
    height: 320px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
}

/* Foto de fondo: Academia.jpg */
.at-svc-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/Tesis/TesisList-4.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cada tarjeta muestra un recorte diferente de la foto */
.at-cards-grid .at-svc-card:nth-child(1) .at-svc-bg { background-position: 20% top; }
.at-cards-grid .at-svc-card:nth-child(2) .at-svc-bg { background-position: 40% top; }
.at-cards-grid .at-svc-card:nth-child(3) .at-svc-bg { background-position: 65% top; }
.at-cards-grid .at-svc-card:nth-child(4) .at-svc-bg { background-position: 85% top; }

.at-svc-card:hover .at-svc-bg { transform: scale(1.07); }

/* Overlay oscuro → más denso en la base */
.at-svc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 18, 35, 0.90) 0%,
        rgba(10, 18, 35, 0.55) 45%,
        rgba(10, 18, 35, 0.20) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.at-svc-card:hover .at-svc-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 18, 35, 0.95) 0%,
        rgba(10, 18, 35, 0.65) 50%,
        rgba(10, 18, 35, 0.28) 100%
    );
}

/* Línea naranja borde superior al hover */
.at-svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f0842c, #00b4d8);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.at-svc-card:hover::before { transform: scaleX(1); }

/* Contenido: título + botón */
.at-svc-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.at-svc-content h3 {
    
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Botón "Click here" */
.at-svc-btn {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 22px;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.at-svc-btn:hover {
    background: #f0842c;
    border-color: #f0842c;
    color: #fff;
    box-shadow: 0 4px 18px rgba(240, 132, 44, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
    .at-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .at-svc-card { height: 260px; }
}

@media (max-width: 520px) {
    .at-cards-grid {
        grid-template-columns: 1fr;
    }
    .at-services-section { padding: 60px 20px; }
    .at-svc-card { height: 240px; }
}

/* ================================================================
   BANNER TITULACIÓN — Foto grupo como fondo + texto centrado
================================================================ */
.at-banner-tit {
    position: relative;
    width: 100%;
    height: clamp(280px, 40vw, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Foto grupo de fondo */
.at-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/Tesis/Titulacion.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.04);
    transition: transform 8s ease-out;
    animation: atBannerZoom 12s ease-out forwards;
}

@keyframes atBannerZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
}

/* Overlay: oscuro uniforme para que el texto sea legible */
.at-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 28, 44, 0.62);
    z-index: 1;
}

/* Línea naranja en borde superior */
.at-banner-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f0842c, #00b4d8, #f0842c);
}

/* Línea naranja en borde inferior */
.at-banner-overlay::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00b4d8, #f0842c, #00b4d8);
}

/* Contenido centrado */
.at-banner-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 32px;
    animation: atFadeUp 0.9s ease 0.2s both;
}

/* Título grande: "TU ALIADO PARA LA TITULACIÓN" */
.at-banner-title {
    
    font-size: clamp(1.8rem, 5.5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    margin-bottom: 16px;
}

/* Subtítulo */
.at-banner-sub {
    
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .at-hero-inner { padding: 110px 28px 70px; }
    .at-hero-overlay {
        background: linear-gradient(105deg,rgba(26,58,92,0.92) 0%,rgba(26,58,92,0.82) 55%,rgba(26,58,92,0.50) 100%);
    }
    .at-cta-row { gap: 12px; }
    .at-btn-main, .at-btn-ghost { padding: 12px 22px; font-size: 0.82rem; }
    .at-banner-tit { height: clamp(200px, 55vw, 340px); }
}

@media (max-width: 480px) {
    .at-hero-inner { padding: 100px 20px 60px; }
    .at-cta-row { flex-direction: column; align-items: flex-start; }
    .at-banner-title { font-size: clamp(1.5rem, 7vw, 2.2rem); }
}


/* ================================================================
   POR QUÉ ELEGIRNOS — Split layout
================================================================ */
.at-why-section {
    background: #f8faff;
    padding: 100px 48px;
}

.at-why-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* Image column */
.at-why-img-col {
    position: relative;
}

.at-why-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.at-why-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(3,0,131,0.14);
    display: block;
}

/* Floating badge */
.at-why-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #f0842c, #e06b10);
    border-radius: 20px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 32px rgba(240,132,44,0.4);
    animation: atBadgeFloat 3s ease-in-out infinite;
}

@keyframes atBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.at-why-badge-num {
    
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.at-why-badge-label {
    
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Text column */
.at-why-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f0842c;
    margin-bottom: 16px;
}

.at-why-title {
    
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.at-why-title span {
    color: #00b4d8;
}

.at-why-desc {
    
    font-size: 0.97rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 32px;
}

/* Feature list */
.at-why-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.at-why-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.at-feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0,180,216,0.1);
    color: #00b4d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.at-why-feat:hover .at-feat-icon {
    background: #00b4d8;
    color: #fff;
    transform: scale(1.08);
}

.at-why-feat strong {
    
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
    margin-bottom: 2px;
}

.at-why-feat p {
    
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

.at-why-cta { display: inline-flex; }


/* ================================================================
   PROCESO DE TRABAJO — 4 pasos
================================================================ */
.at-process-section {
    background: #ffffff;
    padding: 100px 48px;
}

.at-process-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.at-process-header {
    text-align: center;
    margin-bottom: 64px;
}

.at-process-title {
    
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

/* Steps grid — image background cards */
.at-steps-grid {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
    align-items: center;
    gap: 0;
}

/* Each step card — same base as at-svc-card */
.at-step {
    position: relative;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.at-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 56px rgba(0,0,0,0.28);
}

/* Background image */
.at-step-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.at-step:hover .at-step-bg {
    transform: scale(1.07);
}

/* Dark gradient overlay — denser at bottom */
.at-step-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 18, 35, 0.94) 0%,
        rgba(10, 18, 35, 0.65) 50%,
        rgba(10, 18, 35, 0.22) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.at-step:hover .at-step-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 18, 35, 0.98) 0%,
        rgba(10, 18, 35, 0.75) 55%,
        rgba(10, 18, 35, 0.30) 100%
    );
}

/* Accent top line on hover */
.at-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f0842c, #00b4d8);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.at-step:hover::before {
    transform: scaleX(1);
}

/* Content layered on top */
.at-step-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

/* Ghost step number — watermark */
.at-step-num {
    
    font-size: 3.2rem;
    font-weight: 900;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    letter-spacing: -2px;
    transition: color 0.3s ease;
}

.at-step:hover .at-step-num {
    color: rgba(240,132,44,0.35);
}

/* Icon pill */
.at-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a3a5c, #00b4d8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(0,180,216,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.at-step:hover .at-step-icon {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 10px 28px rgba(0,180,216,0.5);
}

.at-step-content h3 {
    
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.4px;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
}

.at-step-content p {
    
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0;
}

/* Connector arrow between step cards */
.at-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    gap: 4px;
}

.at-step-connector::after {
    content: '\f054';
    
    font-weight: 900;
    font-size: 1rem;
    color: #f0842c;
}


/* ================================================================
   EQUIPO ASESOR — Texto + collage de fotos + estadísticas
================================================================ */
.at-team-section {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%);
    padding: 100px 48px;
}

.at-team-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.at-team-section .at-why-tag {
    color: #00b4d8;
}

.at-team-title {
    
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.at-team-title span {
    color: #00b4d8;
}

.at-team-desc {
    
    font-size: 0.97rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* Stats row */
.at-stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.at-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.at-stat-num {
    
    font-size: 2.2rem;
    font-weight: 900;
    color: #f0842c;
    line-height: 1;
}

.at-stat-label {
    
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Photo collage */
.at-team-collage {
    display: grid;
    grid-template-rows: auto auto;
    gap: 16px;
}

.at-team-main {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.at-team-thumb-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.at-team-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.at-team-thumb:hover {
    transform: scale(1.04);
}

/* Banner CTA button */
.at-banner-cta {
    margin-top: 28px;
}

/* ── RESPONSIVE nuevas secciones ── */
@media (max-width: 1024px) {
    .at-why-inner,
    .at-team-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Steps: 2 cards per row, hide connectors */
    .at-steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .at-step-connector { display: none; }

    .at-step { height: 300px; }

    .at-why-main-img { height: 380px; }
    .at-why-badge { right: 16px; bottom: -16px; }
}

@media (max-width: 768px) {
    .at-why-section,
    .at-process-section,
    .at-team-section { padding: 70px 24px; }

    /* Steps: 1 card per row */
    .at-steps-grid { grid-template-columns: 1fr; }

    .at-step { height: 260px; }

    .at-stats-row { gap: 24px; }

    .at-team-collage { gap: 12px; }

    .at-team-main { height: 240px; }
    .at-team-thumb { height: 100px; }
}

@media (max-width: 480px) {
    .at-why-main-img { height: 280px; }
    .at-team-thumb-stack { grid-template-columns: repeat(3, 1fr); }
    .at-step { height: 240px; }
}


