/* ============================================
   CAVALIA LANDING PAGE - STYLES
   Plataforma de Inteligencia de Pacientes para Veterinarias
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Variables)
   ============================================ */
:root {
    /* Colores principales */
    --color-primary: #6B9B9E;        /* Verde azulado del logo */
    --color-primary-light: #8BC4C7;  /* Verde claro accent */
    --color-primary-dark: #547A7C;   /* Verde oscuro hover */
    --color-dark: #2C3E3F;           /* Gris oscuro texto */
    --color-light-bg: #F5F7F8;       /* Gris claro fondo */
    --color-white: #FFFFFF;
    --color-success: #10B981;        /* Verde éxito */
    --color-border: #E5E7EB;         /* Bordes sutiles */
    --color-whatsapp: #25D366;       /* Verde WhatsApp */
    --color-whatsapp-dark: #1DA851;  /* WhatsApp hover */
    --color-danger: #EF4444;         /* Rojo para cantidades perdidas */

    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;

    /* Espaciado (múltiplos de 8px) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 80px;

    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Z-index */
    --z-sticky: 100;
    --z-modal: 1000;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-md);
}

strong {
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-success {
    background-color: var(--color-success);
    color: var(--color-white);
}

.btn-success:hover {
    background-color: #0EA572;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 48px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-white {
    background-color: var(--color-white);
}

.section-gray {
    background-color: var(--color-light-bg);
}

.section-gradient-green {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-size: var(--font-size-3xl);
}

.section-title.light {
    color: var(--color-white);
}

.section-title .title-icon {
    display: block;
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    margin-top: calc(var(--spacing-lg) * -1);
    margin-bottom: var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-light-bg) 0%, var(--color-white) 100%);
    opacity: 1;
    transform: none;
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(107, 155, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 196, 199, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(107, 155, 158, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(107, 155, 158, 0);
    }
}

.logo {
    height: 160px;
    margin: 0 auto var(--spacing-xl);
}

.hero-headline {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-headline .highlight {
    color: var(--color-primary);
}

.hero-subheadline {
    font-size: var(--font-size-xl);
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.video-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #D1D5DB 0%, #9CA3AF 100%);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--font-size-2xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.play-button i {
    margin-left: 4px;
}

.video-placeholder p {
    color: #6B7280;
    font-size: var(--font-size-sm);
    margin: 0;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO VISUAL CONTAINER (Dashboard + WhatsApp)
   ============================================ */
.hero-visual-container {
    position: relative;
    max-width: 850px;
    margin: 40px auto;
    padding-bottom: 60px;
}

.dashboard-wrapper {
    width: 100%;
}

.dashboard-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.whatsapp-mockup-overlay {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 220px;
    max-width: 250px;
    z-index: 10;
}

.whatsapp-mockup-overlay .phone-frame {
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border-radius: 24px;
    font-size: 11px;
}

.whatsapp-mockup-overlay .phone-header {
    padding: 8px 10px;
}

.whatsapp-mockup-overlay .contact-avatar {
    width: 28px;
    height: 28px;
}

.whatsapp-mockup-overlay .contact-avatar i {
    font-size: 12px;
}

.whatsapp-mockup-overlay .contact-name {
    font-size: 11px;
}

.whatsapp-mockup-overlay .contact-status {
    font-size: 9px;
}

.whatsapp-mockup-overlay .phone-header-left i:first-child,
.whatsapp-mockup-overlay .phone-header-right i {
    font-size: 12px;
}

.whatsapp-mockup-overlay .phone-header-right {
    gap: 10px;
}

.whatsapp-mockup-overlay .chat-body {
    padding: 8px;
    min-height: auto;
}

.whatsapp-mockup-overlay .chat-date {
    font-size: 9px;
    margin-bottom: 6px;
}

.whatsapp-mockup-overlay .message {
    padding: 6px 8px;
    margin-bottom: 4px;
    max-width: 85%;
    border-radius: 6px;
}

.whatsapp-mockup-overlay .message p {
    font-size: 10px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.whatsapp-mockup-overlay .message-time {
    font-size: 8px;
}

.whatsapp-mockup-overlay .message-time i {
    font-size: 8px;
}

/* ============================================
   WHATSAPP MOCKUP
   ============================================ */
.whatsapp-mockup {
    width: 100%;
    max-width: 380px;
    margin: 0 auto var(--spacing-2xl);
}

.phone-frame {
    background-color: #E5DDD5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 8px #1a1a1a, 0 0 0 10px #333;
}

.phone-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.phone-header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.phone-header-left i:first-child {
    font-size: 18px;
    opacity: 0.9;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-avatar i {
    font-size: 18px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.contact-status {
    font-size: 12px;
    opacity: 0.8;
}

.phone-header-right {
    display: flex;
    gap: var(--spacing-lg);
}

.phone-header-right i {
    font-size: 18px;
    opacity: 0.9;
}

.chat-body {
    padding: var(--spacing-md);
    min-height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9c9c9' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.chat-date {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.chat-date {
    display: inline-block;
    background-color: rgba(225, 218, 208, 0.9);
    color: #54656F;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    margin: 0 auto var(--spacing-md);
    display: block;
    width: fit-content;
}

.message {
    max-width: 85%;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-sm);
    position: relative;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.message p {
    margin: 0 0 4px 0;
}

.message p:last-of-type {
    margin-bottom: 0;
}

.message.received {
    background-color: #FFFFFF;
    border-top-left-radius: 0;
    margin-right: auto;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.message.sent {
    background-color: #DCF8C6;
    border-top-right-radius: 0;
    margin-left: auto;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.message-time {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #667781;
    margin-top: 4px;
}

.message.sent .message-time i {
    color: #53BDEB;
    margin-left: 2px;
}

.mockup-caption {
    text-align: center;
    color: #6B7280;
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.mockup-caption i {
    color: var(--color-primary);
}

/* Responsive para el mockup */
@media (max-width: 480px) {
    .whatsapp-mockup {
        max-width: 320px;
    }

    .phone-frame {
        border-radius: 20px;
    }

    .chat-body {
        min-height: 260px;
        padding: var(--spacing-sm);
    }

    .message {
        font-size: 13px;
    }
}

/* ============================================
   STATS GRID (Problema Section)
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.stat-card {
    background-color: var(--color-white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.stat-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.stat-text {
    color: #6B7280;
    margin: 0;
}

/* ============================================
   PROBLEMA SECTION (New Design)
   ============================================ */
.section-problema {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
}

.section-problema .section-title {
    margin-bottom: 24px;
}

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

.problema-card {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.problema-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.problema-text {
    font-size: 16px;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.4;
}

.problema-cta {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
    transition: text-decoration var(--transition-fast);
}

.problema-cta:hover {
    text-decoration: underline;
}

/* ============================================
   CALCULATOR SECTION (Compact)
   ============================================ */
.section-calculadora {
    padding: 48px 0 !important;
}

.section-calculadora .section-title {
    margin-bottom: 20px;
}

.calculator-card {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 12px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.input-group label i {
    color: var(--color-primary);
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 10px 12px;
    height: 40px;
    font-size: 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 155, 158, 0.2);
}

.input-group input::placeholder {
    color: #9CA3AF;
}

.calculator-result {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--color-border);
    animation: fadeIn var(--transition-base);
}

.calculator-result.show {
    display: block;
}

.calculator-result .result-card {
    padding: 12px 16px;
}

.calculator-result .result-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.calculator-result .result-item {
    margin-bottom: 8px;
}

.calculator-result .result-item:last-of-type {
    margin-bottom: 0;
}

.calculator-result .result-card .btn {
    margin-top: 12px;
}

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

.result-card h3 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    color: var(--color-dark);
}

.result-card h3 i {
    color: var(--color-primary);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: var(--spacing-md);
    background-color: var(--color-light-bg);
    border-radius: var(--border-radius-md);
}

.result-item.highlight-box {
    background-color: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--color-success);
}

.result-label {
    font-size: 14px;
    font-weight: 500;
}

.amount {
    font-size: 24px;
    font-weight: 700;
}

.amount.negative {
    color: var(--color-danger);
}

.amount.positive {
    color: var(--color-success);
}

.result-card .btn {
    margin-top: var(--spacing-lg);
    width: 100%;
}

.calculator-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
}

/* ============================================
   TIMELINE (Cómo Funciona)
   ============================================ */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-top: var(--spacing-sm);
}

.timeline-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.timeline-content p {
    color: #6B7280;
    margin: 0;
}

/* ============================================
   PHASES TIMELINE (Ventaja Datos)
   ============================================ */
.section-ventaja {
    padding: 48px 0 !important;
}

.ventaja-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.4;
}

.phases-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.phase {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    transition: background-color var(--transition-base);
}

.phase:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.phase-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.phase h3 {
    color: var(--color-white);
    margin-bottom: 8px;
    font-size: 16px;
}

.phase p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.ventaja-footnote {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.highlight-text {
    text-align: center;
    font-size: var(--font-size-xl);
    color: var(--color-white);
}

/* ============================================
   CTA BUTTONS ROW
   ============================================ */
.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-buttons-calc {
    margin-top: 12px;
}

.btn-cta-primary {
    display: inline-block;
    background-color: #6B9B9E;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.btn-cta-primary:hover {
    background-color: #5A8A8D;
}

.btn-cta-secondary {
    display: inline-block;
    background-color: white;
    color: #6B9B9E;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border: 1px solid #6B9B9E;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.btn-cta-secondary:hover {
    background-color: #F5F7F8;
}

/* ============================================
   FORM SECTION
   ============================================ */
.section-form {
    background-color: #F5F7F8;
    padding: 48px 24px;
}

.form-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E3F;
    text-align: center;
    margin: 0 0 8px 0;
}

.form-subtitle {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #2C3E3F;
    margin-bottom: 4px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 40px;
    font-size: 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 8px 12px;
    background: white;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group select {
    appearance: auto;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6B9B9E;
}

.form-group input::placeholder {
    color: #9CA3AF;
}

.btn-form-submit {
    width: 100%;
    background-color: #6B9B9E;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.btn-form-submit:hover {
    background-color: #5A8A8D;
}

.btn-form-submit:disabled {
    background-color: #9CA3AF;
    cursor: not-allowed;
}

.form-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #D1D5DB;
}

.form-divider span {
    padding: 0 16px;
    color: #9CA3AF;
    font-size: 13px;
}

.btn-whatsapp-alt {
    display: block;
    width: 100%;
    background-color: #25D366;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-whatsapp-alt:hover {
    background-color: #20BD5A;
}

.form-privacy {
    font-size: 11px;
    color: #9CA3AF;
    text-align: center;
    margin-top: 12px;
}

/* Form Confirmation */
.form-confirmation {
    display: none;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.confirmation-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.confirmation-title {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E3F;
    margin: 0 0 8px 0;
}

.confirmation-text {
    font-size: 14px;
    color: #6B7280;
    margin: 8px 0 0 0;
    line-height: 1.5;
}

/* Legacy - keep for backwards compatibility */
.section-cta-new {
    background-color: var(--color-white);
    padding: 48px 24px;
    text-align: center;
}

.cta-title {
    color: #2C3E3F;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.cta-subtitle {
    color: #6B7280;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 0;
}

.btn-cta-new {
    display: inline-block;
    background-color: #6B9B9E;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 8px;
    margin-top: 24px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.btn-cta-new:hover {
    opacity: 0.9;
}

/* ============================================
   FOOTER SIMPLE
   ============================================ */
.footer-simple {
    background-color: #2C3E3F;
    padding: 24px;
    text-align: center;
}

.footer-simple p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   RESULTS GRID
   ============================================ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.result-stat {
    text-align: center;
    padding: var(--spacing-2xl);
    background-color: var(--color-light-bg);
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-base);
}

.result-stat:hover {
    transform: translateY(-4px);
}

.result-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.result-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.result-stat p {
    color: #6B7280;
    margin: 0;
}

/* ============================================
   INVESTMENT CARD
   ============================================ */
.investment-card {
    background-color: var(--color-white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.card-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
}

.investment-card h3 {
    margin-bottom: var(--spacing-xl);
}

.checklist {
    list-style: none;
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.checklist li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist li i {
    color: var(--color-success);
    font-size: var(--font-size-lg);
}

.no-commitment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: #6B7280;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
}

.no-commitment i {
    color: var(--color-primary);
}

/* ============================================
   GUARANTEE BOX
   ============================================ */
.guarantee-box {
    background: linear-gradient(135deg, rgba(107, 155, 158, 0.1) 0%, rgba(139, 196, 199, 0.1) 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.guarantee-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
}

.guarantee-box h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-2xl);
}

.guarantee-box p {
    color: var(--color-dark);
    font-size: var(--font-size-lg);
    margin: 0;
}

/* ============================================
   FOUNDER SECTION
   ============================================ */
.founder-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    max-width: 900px;
    margin: 0 auto;
}

.founder-image {
    flex-shrink: 0;
}

.founder-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.founder-content h2 {
    margin-bottom: var(--spacing-lg);
}

.founder-content p {
    color: #4B5563;
}

.link-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.link-with-arrow:hover {
    gap: var(--spacing-md);
}

.link-with-arrow i.fa-linkedin {
    font-size: var(--font-size-xl);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-align: left;
    color: var(--color-dark);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: var(--font-size-2xl);
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer p {
    padding: 0 0 var(--spacing-lg) 0;
    color: #6B7280;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */
.section-cta-final {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
    color: var(--color-white);
}

.cta-headline {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.cta-subtext {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    opacity: 0.8;
    font-size: var(--font-size-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.footer-logo {
    height: 70px;
    margin: 0 auto var(--spacing-md);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.footer-contact .separator {
    margin: 0 var(--spacing-sm);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
    margin: 0;
}

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

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .cta-buttons-row {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .problema-grid {
        gap: 15px;
    }

    .problema-card {
        padding: 15px;
        height: auto;
        min-height: 100px;
    }

    .problema-text {
        font-size: 14px;
    }

    .stats-grid,
    .phases-timeline,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phases-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .phases-timeline .phase:last-child {
        grid-column: span 1;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 28px;
        --font-size-3xl: 24px;
        --font-size-2xl: 20px;
    }

    section {
        padding: 32px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Hero Mobile */
    .hero-headline {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-headline br {
        display: none;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .hero-visual-container {
        width: 100%;
        margin-top: 24px;
        padding-bottom: 0;
        padding-right: 0;
    }

    .dashboard-wrapper {
        width: 100%;
    }

    .dashboard-image {
        width: 100%;
        transform: none;
        border-radius: 12px;
    }

    .whatsapp-mockup-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        width: 60%;
        max-width: none;
        margin: -40px auto 0 auto;
        display: block;
    }

    .mockup-caption {
        margin-top: 16px;
    }

    /* Hero Buttons Mobile */
    .cta-buttons-row {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Problema Section Mobile */
    .problema-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .problema-card {
        width: 100%;
        height: auto;
        padding: 16px;
        flex-direction: row;
        gap: 12px;
    }

    .problema-icon {
        font-size: 24px;
        margin-bottom: 0;
    }

    .problema-text {
        font-size: 14px;
        text-align: left;
    }

    .problema-cta {
        font-size: 18px;
    }

    /* Calculator Mobile */
    .calculator-card {
        max-width: 100%;
        padding: 16px;
    }

    .cta-buttons-calc {
        flex-direction: column;
        gap: 8px;
    }

    .cta-buttons-calc .btn-cta-primary,
    .cta-buttons-calc .btn-cta-secondary {
        width: 100%;
    }

    /* Ventaja Section Mobile */
    .stats-grid,
    .phases-timeline,
    .results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .phases-timeline .phase:last-child {
        grid-column: span 1;
    }

    .phase {
        width: 100%;
    }

    .ventaja-title {
        font-size: 20px;
    }

    .phase h3 {
        font-size: 15px;
    }

    .phase p {
        font-size: 13px;
    }

    /* Form Section Mobile */
    .section-form {
        padding: 32px 16px;
    }

    .form-wrapper {
        max-width: 100%;
        padding: 20px;
    }

    .form-title {
        font-size: 22px;
    }

    .form-confirmation {
        padding: 32px 16px;
    }

    /* Legacy */
    .cta-title {
        font-size: 24px;
    }

    .btn-cta-new {
        width: 100%;
    }

    .guarantee-box {
        padding: var(--spacing-xl);
    }

    .investment-card {
        padding: var(--spacing-xl);
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-4xl: 26px;
        --font-size-3xl: 22px;
    }

    .hero-headline {
        font-size: 26px;
    }

    .urgency-badge {
        font-size: 12px;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .whatsapp-mockup-overlay {
        width: 70%;
    }

    .stat-card {
        padding: var(--spacing-xl);
    }

    .result-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .form-wrapper {
        padding: 16px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    section {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.faq-question:focus,
input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: var(--z-modal);
}

.skip-link:focus {
    top: 0;
}
