/* =====================================================
   AUTOMASTER TOLUCA - Taller Mecánico
   Diseño Industrial/Automotriz Premium
   ===================================================== */

/* ===================== VARIABLES ===================== */
:root {
    /* Colores Primarios - Automotriz/Industrial */
    --primary-color: #FF6B00;
    /* Naranja Mecánico */
    --primary-dark: #E55A00;
    /* Naranja Oscuro */
    --primary-light: #FF8C3A;
    /* Naranja Claro */

    /* Colores Secundarios */
    --secondary-color: #1A1A1A;
    /* Negro Carbón */
    --accent-color: #0EA5E9;
    /* Azul Técnico */
    --accent-light: #38BDF8;
    /* Azul Claro */

    /* Neutros */
    --text-color: #1F2937;
    /* Texto principal */
    --text-light: #6B7280;
    /* Texto secundario */
    --text-lighter: #9CA3AF;
    /* Texto terciario */
    --bg-color: #FFFFFF;
    /* Fondo principal */
    --bg-alt: #F3F4F6;
    /* Fondo alternativo */
    --bg-dark: #111827;
    /* Fondo oscuro */
    --bg-darker: #0D0D0D;
    /* Fondo más oscuro */

    /* Tipografía */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

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

    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Otros */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px rgba(255, 107, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 5rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-secondary);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--spacing-4xl) 0;
}

.text-accent {
    color: var(--primary-color);
}

.section__header {
    margin-bottom: var(--spacing-3xl);
}

.section__header--center {
    text-align: center;
}

.section__subtitle {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
}

.section__subtitle i {
    font-size: var(--fs-lg);
}

.section__title {
    font-family: var(--font-primary);
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.section__description {
    font-size: var(--fs-lg);
    color: var(--text-light);
    max-width: 600px;
}

.section__header--center .section__description {
    margin: 0 auto;
}

/* ===================== BOTONES ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn i {
    font-size: var(--fs-xl);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn--outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(4px);
}

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

.btn--whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    opacity: 1;
    transition: var(--transition);
}

.header.scrolled::before {
    opacity: 0;
}

.header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 1;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: white;
}

.nav__logo i {
    font-size: var(--fs-3xl);
    color: var(--primary-color);
}

.nav__list {
    display: flex;
    gap: var(--spacing-xl);
}

.nav__link {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--spacing-sm) 0;
    position: relative;
}

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

.nav__link:hover,
.nav__link.active {
    color: white;
}

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

.nav__buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: white;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: white;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.7) 50%, rgba(26, 26, 26, 0.9) 100%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-4xl) 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1.25rem;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero__badge i {
    font-size: var(--fs-lg);
}

.hero__title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero__description {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
}

.hero__stats {
    display: flex;
    gap: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.hero__stat-label {
    display: block;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-xs);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero__scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: var(--fs-xl);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ===================== SERVICES ===================== */
.services {
    background-color: var(--bg-alt);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, var(--bg-color), transparent);
}

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

.service__card {
    position: relative;
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__card--featured {
    background: linear-gradient(135deg, var(--secondary-color), #2d2d2d);
    color: white;
}

.service__card--featured .service__description,
.service__card--featured .service__features li {
    color: rgba(255, 255, 255, 0.8);
}

.service__badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.375rem 0.75rem;
    background: var(--primary-color);
    color: white;
    font-family: var(--font-primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
}

.service__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
}

.service__icon i {
    font-size: 2rem;
    color: white;
}

.service__title {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.service__description {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.service__features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.service__features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--fs-sm);
    color: var(--text-light);
}

.service__features i {
    color: var(--primary-color);
    font-size: var(--fs-base);
}

/* ===================== ABOUT ===================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.about__images {
    position: relative;
}

.about__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image--main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about__image--secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border: 5px solid white;
}

.about__image--secondary img {
    height: 150px;
    object-fit: cover;
}

.about__experience {
    position: absolute;
    top: 20px;
    left: -20px;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.about__experience-number {
    display: block;
    font-family: var(--font-primary);
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1;
}

.about__experience-text {
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about__description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.about__description strong {
    color: var(--secondary-color);
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.about__feature {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.about__feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.about__feature-icon i {
    font-size: var(--fs-2xl);
    color: var(--primary-color);
}

.about__feature-content h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.about__feature-content p {
    font-size: var(--fs-sm);
    color: var(--text-light);
}

/* ===================== WHY US ===================== */
.why-us {
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    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='%23ffffff' fill-opacity='0.03'%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");
}

.why-us .section__subtitle {
    color: var(--primary-color);
}

.why-us .section__title {
    color: white;
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.why-us__card {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.why-us__card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.why-us__number {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.why-us__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-glow);
}

.why-us__icon i {
    font-size: 2.5rem;
    color: white;
}

.why-us__card h3 {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
}

.why-us__card p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===================== CTA ===================== */
.cta {
    position: relative;
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    overflow: hidden;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-primary);
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta__description {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta .btn--primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* ===================== CONTACT ===================== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
}

.contact__intro {
    color: var(--text-light);
    margin-bottom: var(--spacing-2xl);
}

.contact__data {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact__item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.contact__icon i {
    font-size: var(--fs-xl);
    color: white;
}

.contact__text h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.contact__text p,
.contact__text a {
    color: var(--text-light);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

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

.contact__social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.contact__social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 50%;
    font-size: var(--fs-xl);
    color: var(--text-color);
    transition: var(--transition);
}

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

.contact__social-link--whatsapp:hover {
    background: #25D366;
}

.contact__map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--bg-darker);
    color: white;
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer__logo i {
    font-size: var(--fs-3xl);
    color: var(--primary-color);
}

.footer__description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: var(--fs-lg);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer__links h4,
.footer__services h4,
.footer__contact h4 {
    font-family: var(--font-primary);
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.footer__links h4::after,
.footer__services h4::after,
.footer__contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer__links ul,
.footer__services ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__links a,
.footer__services a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-sm);
    transition: var(--transition);
}

.footer__links a:hover,
.footer__services a:hover {
    color: var(--primary-color);
    padding-left: var(--spacing-sm);
}

.footer__contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-sm);
}

.footer__contact i {
    color: var(--primary-color);
    font-size: var(--fs-base);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fs-sm);
}

/* ===================== SMARTIZABLE BADGE ===================== */
.smartizable-branding {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 6px 15px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.smartizable-branding:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.smartizable-branding .s-initial {
    font-family: 'Brush Script MT', cursive;
    font-size: 16px;
    font-weight: bold;
    margin-right: 1px;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.smartizable-branding .smart-text {
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.smartizable-branding:hover .smart-text {
    opacity: 1;
}

/* ===================== ANIMACIONES ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===================== RESPONSIVE ===================== */
@media screen and (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .about__images {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media screen and (max-width: 768px) {
    .section {
        padding: var(--spacing-3xl) 0;
    }

    .section__title {
        font-size: var(--fs-3xl);
    }

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

    .hero__stats {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: flex-start;
    }

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

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    .cta__title {
        font-size: var(--fs-3xl);
    }

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

    .footer__links h4::after,
    .footer__services h4::after,
    .footer__contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    /* Mobile Nav */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-darker);
        padding: 6rem var(--spacing-xl) var(--spacing-xl);
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .nav__link {
        font-size: var(--fs-lg);
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
    }

    .nav__cta span {
        display: none;
    }

    .nav__cta {
        padding: 0.75rem;
        border-radius: 50%;
    }
}

@media screen and (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta__buttons {
        flex-direction: column;
    }

    .cta__buttons .btn {
        width: 100%;
    }

    .about__image--secondary {
        display: none;
    }
}