/* ===== Variables CSS ===== */
:root {
    /* Colores basados en el logo SIEM (verde-azul) */
    --color-primary: #0B6B5C;
    --color-primary-dark: #064D42;
    --color-primary-light: #0E8A77;
    --color-secondary: #1B8ECF;
    --color-secondary-dark: #156BA0;
    --color-secondary-light: #3AA5E0;
    --color-accent: #00C9A7;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-hero: linear-gradient(135deg, #0B6B5C 0%, #1B8ECF 50%, #00C9A7 100%);
    --gradient-dark: linear-gradient(135deg, #064D42 0%, #156BA0 100%);

    /* Neutros */
    --color-white: #FFFFFF;
    --color-black: #1A1A2E;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    --color-gray-400: #CED4DA;
    --color-gray-500: #6C757D;
    --color-gray-600: #495057;
    --color-gray-700: #343A40;

    /* Estados */
    --color-success: #28A745;
    --color-warning: #FFC107;
    --color-error: #DC3545;

    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Tamaños */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Espaciado */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Bordes */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 40px rgba(11, 107, 92, 0.3);

    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: var(--transition-base);
}

.header.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav__link {
    color: var(--color-gray-700);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
    color: var(--color-primary);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 60px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav__link {
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    padding: var(--space-2) 0;
}

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

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--color-white);
    color: var(--color-primary) !important;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav__link--cta:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
}

.nav__link--cta::after {
    display: none;
}

.header.scrolled .nav__link--cta {
    background: var(--gradient-primary);
    color: var(--color-white) !important;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: var(--text-xl);
    cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    cursor: pointer;
}

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

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(11, 107, 92, 0.4);
}

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

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

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

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

.btn--full {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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='%23ffffff' fill-opacity='0.05'%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");
    opacity: 0.5;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
}

.hero__title {
    font-family: var(--font-secondary);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: var(--space-6);
}

.hero__title--highlight {
    display: block;
    background: linear-gradient(90deg, #00C9A7, #3AA5E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 540px;
}

.hero__buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.hero__stats {
    display: flex;
    gap: var(--space-8);
}

.hero__stat {
    text-align: center;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.hero__stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-white);
}

.hero__stat-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

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

.hero__image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.hero__img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero__wave svg {
    display: block;
    width: 100%;
    height: 120px;
    fill: var(--color-white);
}

/* ===== Section Headers ===== */
.section__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section__header--light .section__subtitle,
.section__header--light .section__title,
.section__header--light .section__description {
    color: var(--color-white);
}

.section__subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-3);
}

.section__title {
    font-family: var(--font-secondary);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--space-4);
}

.section__description {
    font-size: var(--text-lg);
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Value Proposition ===== */
.value-proposition {
    padding: var(--space-16) 0;
    background: var(--color-gray-100);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.value__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.value__card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.value__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.value__icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.value__icon i {
    font-size: var(--text-2xl);
    color: var(--color-white);
}

.value__title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

.value__text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* ===== Services ===== */
.services {
    padding: var(--space-24) 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service__card {
    position: relative;
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-base);
}

.service__card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service__card--featured {
    background: var(--gradient-primary);
    border: none;
}

.service__card--featured .service__title,
.service__card--featured .service__description,
.service__card--featured .service__features li,
.service__card--featured .service__link {
    color: var(--color-white);
}

.service__card--featured .service__icon {
    background: rgba(255, 255, 255, 0.2);
}

.service__badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.service__icon {
    width: 60px;
    height: 60px;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.service__icon i {
    font-size: var(--text-2xl);
    color: var(--color-primary);
}

.service__card--featured .service__icon i {
    color: var(--color-white);
}

.service__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-3);
}

.service__description {
    color: var(--color-gray-500);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
}

.service__features {
    margin-bottom: var(--space-6);
}

.service__features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-gray-600);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.service__features li i {
    color: var(--color-success);
    font-size: var(--text-xs);
}

.service__card--featured .service__features li i {
    color: var(--color-accent);
}

.service__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-sm);
}

.service__link:hover {
    gap: var(--space-3);
}

/* ===== Advantages ===== */
.advantages {
    padding: var(--space-24) 0;
    background: var(--color-gray-100);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.advantage__card {
    display: flex;
    gap: var(--space-6);
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.advantage__card:hover {
    box-shadow: var(--shadow-xl);
}

.advantage__number {
    font-family: var(--font-secondary);
    font-size: var(--text-4xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.advantage__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-3);
}

.advantage__text {
    color: var(--color-gray-500);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.advantage__highlight {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-primary);
    font-weight: 500;
    font-size: var(--text-sm);
}

/* Comparison Table */
.comparison {
    background: var(--color-white);
    padding: var(--space-12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.comparison__title {
    font-family: var(--font-secondary);
    font-size: var(--text-2xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--color-black);
}

.comparison__table-wrapper {
    overflow-x: auto;
}

.comparison__table {
    width: 100%;
    border-collapse: collapse;
}

.comparison__table th,
.comparison__table td {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.comparison__table th {
    font-weight: 600;
    color: var(--color-gray-600);
    background: var(--color-gray-100);
}

.comparison__table th.comparison__highlight {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.comparison__table td.comparison__highlight {
    background: rgba(11, 107, 92, 0.05);
    color: var(--color-primary);
    font-weight: 600;
}

.comparison__table td i.fa-check-circle {
    color: var(--color-success);
    margin-right: var(--space-2);
}

.comparison__table td i.fa-times-circle {
    color: var(--color-error);
    margin-right: var(--space-2);
}

/* ===== About ===== */
.about {
    padding: var(--space-24) 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about__text {
    color: var(--color-gray-600);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.about__mission,
.about__values {
    margin-bottom: var(--space-6);
}

.about__mission h4,
.about__values h4 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.about__mission p {
    color: var(--color-gray-600);
    padding-left: var(--space-8);
}

.about__values-list {
    padding-left: var(--space-8);
}

.about__values-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-gray-600);
    margin-bottom: var(--space-2);
}

.about__values-list li i {
    color: var(--color-success);
    font-size: var(--text-sm);
}

.about__image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.about__card {
    background: var(--gradient-primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--color-white);
}

.about__card:first-child {
    grid-column: span 2;
}

.about__card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.about__card-icon i {
    font-size: var(--text-2xl);
}

.about__card h4 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.about__card p {
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* ===== Process ===== */
.process {
    padding: var(--space-24) 0;
    background: var(--color-gray-100);
}

.process__timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.process__step {
    position: relative;
    text-align: center;
}

.process__step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: var(--text-2xl);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    position: relative;
    z-index: 1;
}

.process__step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 3px;
    background: var(--color-gray-300);
}

.process__step:nth-child(3)::after,
.process__step:last-child::after {
    display: none;
}

.process__step-content h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

.process__step-content p {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

/* ===== Clients ===== */
.clients {
    padding: var(--space-24) 0;
}

.clients__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.client__card {
    text-align: center;
    padding: var(--space-8);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.client__card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.client__card i {
    font-size: var(--text-4xl);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.client__card h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

.client__card p {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

.clients__problems {
    text-align: center;
    background: var(--color-gray-100);
    padding: var(--space-12);
    border-radius: var(--radius-xl);
}

.clients__problems h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-6);
}

.problems__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.problem__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    box-shadow: var(--shadow-sm);
}

.problem__tag i {
    color: var(--color-warning);
    font-size: var(--text-xs);
}

/* ===== Guarantees ===== */
.guarantees {
    padding: var(--space-24) 0;
    background: var(--gradient-primary);
}

.guarantees__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.guarantee__card {
    text-align: center;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.guarantee__card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.guarantee__card i {
    font-size: var(--text-4xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.guarantee__card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.guarantee__card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

/* ===== Contact ===== */
.contact {
    padding: var(--space-24) 0;
    background: var(--color-gray-100);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact__description {
    color: var(--color-gray-600);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.contact__detail i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.contact__detail h4 {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: var(--space-1);
}

.contact__detail a {
    color: var(--color-black);
    font-weight: 500;
}

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

/* Form */
.contact__form-wrapper {
    background: var(--color-white);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.form__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-6);
    text-align: center;
}

.form__group {
    margin-bottom: var(--space-5);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form__group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: var(--space-2);
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: var(--transition-base);
    background: var(--color-white);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 107, 92, 0.1);
}

.form__group textarea {
    resize: vertical;
    min-height: 100px;
}

.form__group--checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.form__group--checkbox input {
    width: auto;
    accent-color: var(--color-primary);
}

.form__group--checkbox label {
    margin-bottom: 0;
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

.form__success {
    text-align: center;
    padding: var(--space-12);
}

.form__success i {
    font-size: var(--text-6xl);
    color: var(--color-success);
    margin-bottom: var(--space-4);
}

.form__success h3 {
    font-size: var(--text-2xl);
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

.form__success p {
    color: var(--color-gray-500);
}

/* ===== CTA ===== */
.cta {
    padding: var(--space-16) 0;
    background: var(--color-black);
    text-align: center;
}

.cta__content h2 {
    font-family: var(--font-secondary);
    font-size: var(--text-3xl);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.cta__content p {
    color: var(--color-gray-400);
    margin-bottom: var(--space-8);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-gray-700);
    padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer__logo {
    height: 80px;
    width: auto;
    margin-bottom: var(--space-4);
}

.footer__slogan {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.footer__description {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
}

.footer__links h4,
.footer__services h4,
.footer__contact h4 {
    color: var(--color-white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
}

.footer__links ul li,
.footer__services ul li {
    margin-bottom: var(--space-3);
}

.footer__links ul li a,
.footer__services ul li a {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    transition: var(--transition-base);
}

.footer__links ul li a:hover,
.footer__services ul li a:hover {
    color: var(--color-white);
    padding-left: var(--space-2);
}

.footer__contact ul li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.footer__contact ul li i {
    color: var(--color-primary-light);
}

.footer__bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-gray-600);
    text-align: center;
}

.footer__bottom p {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: var(--z-fixed);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ===== Responsive ===== */
@media screen and (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 2;
    }

    .hero__image {
        order: 1;
    }

    .hero__description {
        margin: 0 auto var(--space-8);
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__image-wrapper {
        width: 300px;
        height: 300px;
    }

    .hero__img {
        width: 200px;
    }

    .value__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .process__timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__step:nth-child(2)::after,
    .process__step:nth-child(4)::after {
        display: none;
    }

    .guarantees__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--color-white);
        box-shadow: var(--shadow-2xl);
        padding: var(--space-16) var(--space-8);
        transition: var(--transition-base);
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--space-6);
    }

    .nav__link {
        color: var(--color-gray-700);
        font-size: var(--text-lg);
    }

    .nav__link--cta {
        background: var(--gradient-primary);
        color: var(--color-white) !important;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: var(--space-6);
        right: var(--space-6);
        font-size: var(--text-2xl);
        color: var(--color-gray-700);
    }

    .nav__toggle {
        display: block;
        color: var(--color-white);
    }

    .header.scrolled .nav__toggle {
        color: var(--color-gray-700);
    }

    .hero__title {
        font-size: var(--text-3xl);
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-4);
    }

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

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

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

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

    .process__step::after {
        display: none;
    }

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

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

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto var(--space-4);
    }

    .footer__contact ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section__title {
        font-size: var(--text-2xl);
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }

    .hero__image-wrapper {
        width: 250px;
        height: 250px;
    }

    .hero__img {
        width: 150px;
    }

    .comparison__table {
        font-size: var(--text-sm);
    }

    .comparison__table th,
    .comparison__table td {
        padding: var(--space-3);
    }
}

/* ===== Chatbot ===== */
.chatbot {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: var(--z-modal);
    font-family: var(--font-primary);
}

.chatbot__toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: var(--text-2xl);
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chatbot__toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(11, 107, 92, 0.4);
}

.chatbot__toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: chatbot-pulse 2s infinite;
    z-index: -1;
}

@keyframes chatbot-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 0; }
}

.chatbot__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--color-error);
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.chatbot__window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    max-height: 550px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chatbot__window.active {
    display: flex;
}

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

.chatbot__header {
    background: var(--gradient-primary);
    padding: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.chatbot__avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.chatbot__info h4 {
    color: var(--color-white);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 2px;
}

.chatbot__info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.chatbot__info p::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
}

.chatbot__close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.chatbot__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot__messages {
    flex: 1;
    padding: var(--space-5);
    overflow-y: auto;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    background: var(--color-gray-100);
}

.chatbot__message {
    display: flex;
    gap: var(--space-3);
    animation: fadeIn 0.3s ease;
}

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

.chatbot__message--bot {
    align-self: flex-start;
}

.chatbot__message--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chatbot__message-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    color: var(--color-white);
    flex-shrink: 0;
}

.chatbot__message--user .chatbot__message-avatar {
    background: var(--color-secondary);
}

.chatbot__message-content {
    background: var(--color-white);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    max-width: 260px;
    box-shadow: var(--shadow-sm);
}

.chatbot__message--user .chatbot__message-content {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.chatbot__message-content p {
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: 0;
}

.chatbot__message-time {
    font-size: 10px;
    color: var(--color-gray-400);
    margin-top: var(--space-1);
}

.chatbot__message--user .chatbot__message-time {
    color: rgba(255, 255, 255, 0.7);
}

.chatbot__typing {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
}

.chatbot__typing-dots {
    display: flex;
    gap: 4px;
}

.chatbot__typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--color-gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.chatbot__typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot__typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.chatbot__quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
}

.chatbot__quick-reply {
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.chatbot__quick-reply:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.chatbot__input-area {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
}

.chatbot__input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    transition: var(--transition-base);
}

.chatbot__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.chatbot__send {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.chatbot__send:hover {
    transform: scale(1.1);
}

.chatbot__send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Chatbot */
@media screen and (max-width: 480px) {
    .chatbot__window {
        width: calc(100vw - 40px);
        max-height: 70vh;
        right: -10px;
    }

    .chatbot {
        bottom: 90px;
    }
}
