/* ============================================
   ESTILOS GENERALES
   ============================================ */

:root {
    --primary-dark: #003a5d;
    --primary-light: #005a8a;
    --accent-gold: #f4b94e;
    --accent-light: #fdf4e0;
    --text-dark: #17212b;
    --text-muted: #667085;
    --bg-light: #f5f8fb;
    --white: #ffffff;
    --line: #dce7ee;
    --shadow-sm: 0 4px 12px rgba(0, 58, 93, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 58, 93, 0.15);
    --radius: 16px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */

header {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

header .brand { display: flex; align-items: center; gap: 10px; }

header .brand-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

header .nav-links { display: flex; gap: 24px; align-items: center; }

header .nav-links a {
    position: relative;
    padding: 8px 0;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition);
    font-size: 0.9rem;
}

header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

header .nav-links a:hover { color: var(--primary-dark); }
header .nav-links a:hover::after { width: 100%; }

header .nav-cta {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: var(--accent-gold);
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    color: var(--text-dark);
    transition: all var(--transition);
}

header .nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.4s ease;
    z-index: -1;
}

header .nav-cta:hover {
    background: #e5a83a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 185, 78, 0.3);
}

header .nav-cta:hover::before { left: 100%; }

/* ============================================
   HERO
   ============================================ */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

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

.hero .eyebrow {
    display: inline-block;
    background: rgba(244, 185, 78, 0.2);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-gold);
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 700;
    color: var(--text-dark);
    transition: all var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e5a83a;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(244, 185, 78, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--white);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.mini-proof {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.mini-proof span { display: flex; align-items: center; gap: 6px; }
.mini-proof b { color: var(--white); font-weight: 700; }

.hero-card.lead-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0;
    box-shadow: var(--shadow-lg);
}

.form-box {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--line);
}

.form-box h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: border var(--transition);
    background: var(--white);
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(0, 58, 93, 0.1);
}

.form-box .btn-primary { width: 100%; text-align: center; margin-top: 4px; }

.trust-badge {
    margin-top: 12px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   SECCIONES COMUNES
   ============================================ */

.section-head { max-width: 720px; margin: 0 auto 48px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: 2.4rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

section { padding: 80px 0; }
section:nth-child(even) { background: var(--white); }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.problem { background: var(--bg-light); }

/* ============================================
   PROBLEMAS
   ============================================ */

.problem-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 4px 12px rgba(0, 58, 93, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    width: 100%;
    position: relative;
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.problem-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.problem-card .card-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
}

.problem-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 700;
}

.problem-card .short-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.problem-card .more-text {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px dashed var(--accent-gold);
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.problem-card.expanded .more-text {
    display: block;
    animation: fadeSlideIn 0.4s ease forwards;
}

.problem-card.expanded .short-text { display: none; }
.problem-card.expanded { border-color: var(--primary-dark); box-shadow: var(--shadow-lg); }

.problem-card .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 40px;
    padding: 8px 18px;
    margin-top: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.problem-card .read-more-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--text-dark);
}

.problem-card .read-more-btn i {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.problem-card.expanded .read-more-btn i { transform: rotate(180deg); }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SERVICIOS - FLIP CARDS
   ============================================ */

.services { background: var(--white); }

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.flip-container {
    perspective: 1000px;
    width: 100%;
    height: 380px;
    cursor: pointer;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-container.flipped .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    overflow: hidden;
    text-align: left;
}

.flip-front {
    z-index: 2;
    justify-content: flex-end;
    color: white;
}

.flip-front .service-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-gold);
    opacity: 0.9;
    line-height: 1;
    margin: 0;
}

.flip-front h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.flip-front .service-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.flip-front .hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.flip-back {
    transform: rotateY(180deg);
    z-index: 1;
    background: var(--primary-dark);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
    justify-content: flex-start;
    padding-top: 32px;
}

.flip-back h3 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.flip-back-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 0;
    width: 100%;
}

.flip-back .formatted-text.truncated {
    max-height: 140px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    line-height: 1.65;
    width: 100%;
}

.flip-back .formatted-text.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, var(--primary-dark));
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.flip-back .formatted-text.expanded {
    max-height: none !important;
    overflow-y: auto !important;
}

.flip-back .formatted-text.expanded::after { opacity: 0; }

.flip-back .service-read-more {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    position: relative;
    z-index: 3;
}

.flip-back .service-read-more:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: scale(1.03);
}

.flip-back .service-read-more i {
    transition: transform 0.4s ease;
    font-size: 0.7rem;
}

.flip-back .service-read-more.expanded i { transform: rotate(180deg); }

.flip-back .flip-label {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(244, 185, 78, 0.3);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* ============================================
   MÉTODO - LÍNEA DE TIEMPO
   ============================================ */

.method {
    background: linear-gradient(180deg, #fff, var(--bg-light));
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 20px 0 40px;
    gap: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--line);
    z-index: 1;
}

.timeline-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    transition: transform 0.3s ease;
}

.timeline-step:hover { transform: translateY(-8px); }

.timeline-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-step:hover .timeline-circle {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(244, 185, 78, 0.4);
}

.timeline-content { padding: 0 8px; }
.timeline-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.timeline-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================
   RESULTADOS - CARRUSEL
   ============================================ */

.results {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.results .section-head h2 { color: white; }
.results .section-head p { color: #cfe3ea; }

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-container {
    overflow: hidden;
    flex: 1;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 33.333%;
    padding: 12px;
    box-sizing: border-box;
}

.carousel-slide .result {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.carousel-slide .result:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.03);
    border-color: var(--accent-gold);
}

.carousel-slide .result strong {
    display: block;
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 900;
}

.carousel-slide .result span {
    color: #e1f0f5;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.carousel-slide .result p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 90%;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
    z-index: 10;
    font-size: 1.1rem;
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active { background: var(--accent-gold); transform: scale(1.2); }
.carousel-dot:hover { background: rgba(255, 255, 255, 0.6); }

/* ============================================
   INSIGHTS - CON LECTURA Y CONTRASTE
   ============================================ */

.insights { background: var(--bg-light); }

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.insight-card {
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
}

.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.insight-card .insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.insight-card .insight-number {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.insight-card .insight-badge {
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.insight-card .insight-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.insight-card .insight-icon-wrapper i { font-size: 1.4rem; }

.insight-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.insight-card .short-text {
    font-size: 0.92rem;
    line-height: 1.6;
    display: block;
    margin-bottom: 0;
}

.insight-card .more-text {
    display: none;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    animation: fadeSlideIn 0.4s ease forwards;
}

.insight-card.expanded .short-text { display: none; }
.insight-card.expanded .more-text { display: block; }

.insight-card .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 40px;
    padding: 8px 18px;
    margin-top: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.insight-card .read-more-btn:hover {
    background: var(--primary-dark);
    color: white;
}

.insight-card .read-more-btn i {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.insight-card.expanded .read-more-btn i { transform: rotate(180deg); }

/* ============================================
   CTA FINAL
   ============================================ */

.cta { background: var(--primary-dark); padding: 80px 0; }

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-box h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 600px;
}

.cta-box .btn-primary { flex-shrink: 0; }

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #071d2b;
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

footer .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

footer .brand-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

footer .brand-logo:hover { opacity: 1; }

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.6);
}

.social-links { display: flex; gap: 12px; margin-top: 16px; }

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
}

footer h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-contact ul { list-style: none; padding: 0; margin: 0; }

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact ul li i { width: 20px; text-align: center; color: var(--accent-gold); }
.footer-contact ul li a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s ease; }
.footer-contact ul li a:hover { color: var(--accent-gold); }

.legal-links { list-style: none; padding: 0; margin: 0; }
.legal-links li { margin-bottom: 8px; }
.legal-links a { color: rgba(255, 255, 255, 0.4); transition: color 0.3s ease; font-size: 0.9rem; }
.legal-links a:hover { color: var(--accent-gold); }

.footer-bottom {
    padding: 20px 0 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */

.whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    z-index: 100;
}

.whatsapp:hover { transform: scale(1.1) rotate(-5deg); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding: 60px 0; }
    .hero h1 { font-size: 2.4rem; }
    .section-head h2 { font-size: 1.8rem; }
    header .nav-links { display: none; }
    .service-cards { grid-template-columns: 1fr 1fr; }
    .flip-container { height: 300px; }
    .carousel-slide { flex: 0 0 50%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 20px 24px;
        gap: 40px;
        position: relative;
    }
    .timeline::before {
        top: 32px;
        left: 12px;
        right: auto;
        width: 3px;
        height: calc(100% - 50px);
    }
    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        gap: 20px;
        padding: 0 0 0 10px;
        position: relative;
    }
    .timeline-step:hover { transform: none; }
    .timeline-circle {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .timeline-content { flex: 1; padding-top: 4px; }

    .service-cards { grid-template-columns: 1fr; }
    .flip-container { height: 280px; }

    .carousel-slide { flex: 0 0 100%; padding: 6px; }
    .carousel-slide .result { height: 220px; padding: 24px 16px; }
    .carousel-slide .result strong { font-size: 2.2rem; }
    .carousel-btn { width: 38px; height: 38px; font-size: 0.9rem; }

    .insights-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-desc { max-width: 100%; }
    .footer-contact ul li { justify-content: center; text-align: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { text-align: center; width: 100%; justify-content: center; }
    .cta-box { flex-direction: column; text-align: center; }
    .cta-box .btn-primary { width: 100%; text-align: center; }
    .mini-proof { flex-direction: column; gap: 8px; }
    header .brand-logo { height: 38px; max-width: 150px; }
    .section-head h2 { font-size: 1.5rem; }
    .form-box { padding: 20px; }
    .form-box h3 { font-size: 1.2rem; }
    .flip-container { height: 260px; }
    .insights-grid { grid-template-columns: 1fr; }
    .insight-card { padding: 24px 20px; }
}