/* ================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ================================ */

:root {
    /* Colors */
    --primary: #1a5f3f;
    --primary-dark: #0f3f29;
    --primary-light: #22c55e;
    --secondary: #fbbf24;
    --accent: #10b981;
    --success: #16a34a;
    --danger: #ef4444;
    --warning: #f97316;

    --bg-light: #fafafa;
    --bg-lighter: #f9fafb;
    --bg-white: #ffffff;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --border-light: #e5e7eb;
    --border-gray: #d1d5db;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --shadow-glow: 0 0 30px rgba(34, 197, 94, 0.2);
    --shadow-glow-primary: 0 0 40px rgba(26, 95, 63, 0.15);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
}

/* ================================
   RESET Y ESTILOS BASE
   ================================ */

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

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typescale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

p {
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-light);
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

/* ================================
   LAYOUT & CONTAINERS
   ================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: clamp(3rem, 10vw, 6rem) 0;
}

/* ================================
   TOP BAR PROMO
   ================================ */

.top-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    animation: slideDown 0.5s ease-out;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
}

.promo-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 40px;
    z-index: var(--z-sticky);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.header.scrolled {
    padding: var(--space-sm) 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    width: 50px;
    height: 50px;
    margin-right: var(--space-md);
}

.nav-menu {
    display: flex;
    gap: var(--space-2xl);
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.header-btn-phone,
.header-btn-whatsapp,
.header-btn-cta {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all var(--transition-base);
}

.header-btn-phone,
.header-btn-whatsapp {
    background: var(--bg-lighter);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.header-btn-phone:hover,
.header-btn-whatsapp:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header-btn-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-weight: 700;
}

.header-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 160px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
    z-index: calc(var(--z-sticky) - 1);
    box-shadow: var(--shadow-md);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-weight: 500;
    color: var(--text-dark);
}

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

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 15vw, 8rem) 0;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-white) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-mesh {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(34, 197, 94, 0.1) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 80%,
        rgba(26, 95, 63, 0.08) 0%,
        transparent 50%
    );
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-50px, -50px);
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(34, 197, 94, 0.05) 0%,
        transparent 70%
    );
    animation: float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 5%;
    width: 150px;
    height: 150px;
}

.floating-element:nth-child(3) {
    bottom: 10%;
    left: 50%;
    width: 100px;
    height: 100px;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 500px;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: clamp(0.6rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
    border-radius: 8px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-lighter);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    display: inline-block;
    margin-left: 4px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-trust {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    background: var(--border-light);
    align-self: stretch;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 400px;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(26, 95, 63, 0.2);
}

.hero-product-image,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================================
   ANIMACIONES DE ENTRADA
   ================================ */

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.1s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    opacity: 0;
    animation: revealUp 0.6s ease-out forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   CAROUSEL SECTION
   ================================ */

.carousel-section {
    background: var(--bg-lighter);
    padding: clamp(2rem, 8vw, 4rem) 0;
}

.section-title-small {
    text-align: center;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-gray);
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
}

.carousel-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.carousel {
    display: flex;
    gap: var(--space-xl);
    animation: scroll 20s linear infinite;
    padding: var(--space-md) 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-gray);
    white-space: nowrap;
    transition: all var(--transition-base);
}

.carousel-item:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* ================================
   PROBLEM & SOLUTION SECTIONS
   ================================ */

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

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-gray);
    margin-bottom: clamp(2rem, 8vw, 4rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problems-grid,
.solutions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.problem-card,
.solution-item {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--bg-lighter);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.problem-card h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.problem-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.solution-section {
    background: var(--bg-lighter);
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
}

.solution-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.solution-item {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    align-items: start;
    transition: all var(--transition-base);
}

.solution-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.solution-item h3 {
    color: var(--primary);
}

.solution-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.solution-text h3,
.solution-text p {
    margin-bottom: 0;
}

/* ================================
   FORM SECTION
   ================================ */

.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: clamp(3rem, 10vw, 6rem) 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.form-header h2 {
    color: var(--primary);
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.form-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.conversion-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: clamp(0.6rem, 2vw, 0.8rem) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: none;
    font-family: var(--font-secondary);
}

.error-message {
    color: var(--danger);
    font-size: 0.8rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: var(--space-md);
}

/* ================================
   BENEFITS SECTION
   ================================ */

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.benefit-card {
    padding: clamp(2rem, 4vw, 2.5rem);
    background: var(--bg-lighter);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: var(--bg-white);
}

.benefit-card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.benefit-card h3 {
    color: var(--primary);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: var(--space-md);
}

.benefit-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ================================
   GALLERY SECTION
   ================================ */

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 95, 63, 0.95), transparent);
    padding: clamp(1rem, 3vw, 1.5rem);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ================================
   PRODUCTS SECTION
   ================================ */

.products-section {
    background: var(--bg-lighter);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--border-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.product-image img,
.product-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card > * {
    padding: 0 var(--space-lg);
}

.product-card > h3 {
    padding-top: var(--space-lg);
    color: var(--primary);
}

.product-card > p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.product-features {
    list-style: none;
    padding: 0 var(--space-lg);
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.product-features li {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.product-features li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: 700;
    margin-right: var(--space-md);
}

.product-card .btn {
    margin: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-lg);
    width: auto;
    align-self: flex-start;
    margin-left: var(--space-lg);
}

/* ================================
   TIMELINE SECTION
   ================================ */

.how-we-work {
    background: var(--bg-white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    padding-left: var(--space-lg);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 80px;
    bottom: -80px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(26, 95, 63, 0.2);
}

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

.timeline-content p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.timeline-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin: -20px 0;
    font-weight: 300;
}

/* ================================
   STATS SECTION
   ================================ */

.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}

.stat-number {
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    display: block;
}

.stat-label {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.9;
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */

.testimonials-section {
    background: var(--bg-lighter);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-white);
    padding: clamp(2rem, 4vw, 2.5rem);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.author-name {
    font-weight: 700;
    color: var(--primary);
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ================================
   GUARANTEE SECTION
   ================================ */

.guarantee-section {
    background: var(--bg-white);
    text-align: center;
}

.guarantee-content {
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.guarantee-content h2 {
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.guarantee-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.guarantee-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

/* ================================
   FAQ SECTION
   ================================ */

.faq-section {
    background: var(--bg-lighter);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-toggle {
    width: 100%;
    padding: var(--space-lg);
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.faq-toggle:hover {
    background: var(--bg-lighter);
}

.faq-toggle.active {
    background: var(--bg-lighter);
    color: var(--primary);
}

.faq-icon {
    display: block;
    font-size: 1.5rem;
    transition: transform var(--transition-base);
    color: var(--primary-light);
}

.faq-toggle.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    padding: 0 var(--space-lg);
}

.faq-content.active {
    max-height: 500px;
    padding: var(--space-lg);
}

.faq-content p {
    color: var(--text-gray);
    margin-bottom: 0;
}

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

.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.cta-final h2 {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.cta-final p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ================================
   QUICK FORM SECTION
   ================================ */

.quick-form-section {
    background: var(--bg-white);
    padding: clamp(2rem, 5vw, 3rem) 0;
    border-top: 1px solid var(--border-light);
}

.quick-form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
}

.quick-form-container h3 {
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.quick-form input,
.quick-form textarea {
    padding: var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.quick-form input:focus,
.quick-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact-section {
    background: var(--bg-lighter);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
}

.contact-card {
    background: var(--bg-white);
    padding: clamp(2rem, 4vw, 2.5rem);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.contact-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
}

.contact-card .btn {
    margin-top: var(--space-md);
    align-self: center;
}

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

.footer {
    background: var(--primary);
    color: white;
    padding: clamp(3rem, 8vw, 5rem) 0 var(--space-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: var(--primary-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    transition: color var(--transition-base);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    margin-bottom: 0;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-2xl);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: var(--space-sm);
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* ================================
   FLOATING CTA
   ================================ */

.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.floating-cta-button {
    position: relative;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(26, 95, 63, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(26, 95, 63, 0.4);
}

.fab-main.active {
    background: var(--primary-light);
}

.fab-icon {
    display: inline-block;
    transition: transform var(--transition-base);
}

.fab-main.active .fab-icon {
    transform: rotate(45deg);
}

.fab-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all var(--transition-base);
    transform-origin: bottom right;
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
    background: white;
    border: 2px solid var(--primary-light);
    color: var(--primary);
}

.fab-item:hover {
    background: var(--primary-light);
    color: white;
    transform: scale(1.1);
}

.fab-whatsapp {
    animation: slideUp 0.3s ease-out 0s forwards;
}

.fab-phone {
    animation: slideUp 0.3s ease-out 0.1s forwards;
}

.fab-quote {
    animation: slideUp 0.3s ease-out 0.2s forwards;
}

.fab-menu.active .fab-whatsapp {
    animation: slideUp 0.3s ease-out forwards;
}

.fab-menu.active .fab-phone {
    animation: slideUp 0.3s ease-out 0.05s forwards;
}

.fab-menu.active .fab-quote {
    animation: slideUp 0.3s ease-out 0.1s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .nav-menu {
        gap: var(--space-lg);
    }

    .nav-menu a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header-actions {
        gap: var(--space-sm);
    }

    .header-btn-phone,
    .header-btn-whatsapp {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .header-btn-cta {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .hero-trust {
        gap: var(--space-md);
        justify-content: center;
    }

    .trust-divider {
        width: 2px;
        height: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-final-buttons {
        flex-direction: column;
    }

    .cta-final-buttons .btn {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: var(--space-lg);
    }

    .timeline-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
    }

    .top-bar {
        padding: var(--space-sm) var(--space-md);
    }

    .promo-text {
        font-size: 0.7rem;
    }

    .header-container {
        padding: var(--space-md);
    }

    .logo svg {
        width: 40px;
        height: 40px;
        margin-right: var(--space-sm);
    }

    section {
        padding: clamp(2rem, 8vw, 4rem) 0;
    }

    .hero {
        padding: clamp(2rem, 10vw, 4rem) 0;
    }

    .benefit-item {
        font-size: 0.85rem;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
    }

    .trust-divider {
        width: 40px;
        height: 2px;
        align-self: auto;
    }

    .problems-grid,
    .solutions-list,
    .benefits-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        border-radius: 12px;
    }

    .floating-cta {
        bottom: 10px;
        right: 10px;
    }

    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .fab-item {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .stats-grid {
        gap: clamp(1.5rem, 3vw, 2rem);
    }

    .stat-number {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .testimonials-carousel {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .carousel-item {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9rem;
    }
}

/* ================================
   THEME PREFERENCES
   ================================ */

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

    .carousel {
        animation: none !important;
    }

    .gradient-mesh {
        animation: none !important;
    }

    .floating-element {
        animation: none !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1a1a1a;
        --bg-lighter: #242424;
        --bg-white: #1f1f1f;
        --text-dark: #e5e5e5;
        --text-gray: #b3b3b3;
        --text-light: #808080;
        --border-light: #404040;
        --border-gray: #505050;
    }

    .form-container {
        background: rgba(31, 31, 31, 0.95);
    }

    .carousel-item,
    .product-card,
    .testimonial-card,
    .benefit-card,
    .solution-item,
    .problem-card,
    .contact-card {
        background: var(--bg-white);
    }

    .form-group input,
    .form-group textarea,
    .form-group select,
    .quick-form input,
    .quick-form textarea {
        background: var(--bg-lighter);
        color: var(--text-dark);
        border-color: var(--border-light);
    }
}
