/* ═══════════════════════════════════════════════════════
   SID PESAJE — Light Theme with Red & Warm Accents
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
    /* Surface tiers (white/light) */
    --surface:                 #ffffff;
    --surface-dim:             #fafafa;
    --surface-container-lowest:#ffffff;
    --surface-container-low:   #f7f5f4;
    --surface-container:       #f0edec;
    --surface-container-high:  #e8e5e4;
    --surface-container-highest:#dddad9;

    /* Brand - Red & warm accents */
    --primary:       #cc0000;
    --primary-dark:  #990000;
    --primary-light: #e63333;
    --secondary:     #D4AF37;
    --secondary-dim: #af8d11;
    --tertiary:      #E8734A;
    --on-surface:    #1a1a1a;
    --on-surface-variant: #5a5755;
    --outline:       #d4ccc8;
    --outline-variant: #e8e2de;

    /* Typography */
    --font-display: 'Manrope', sans-serif;
    --font-body:    'Inter', sans-serif;

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

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-fast: 300ms;
    --duration-normal: 500ms;
    --duration-slow: 800ms;
    --duration-reveal: 1200ms;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--on-surface);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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


/* ─── SECTION UTILITIES ─── */
.section__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.section__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--on-surface);
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--on-surface-variant);
    max-width: 560px;
    margin: var(--space-6) auto 0;
    line-height: 1.7;
}

.text-gold { color: var(--secondary); }
.text-red  { color: var(--primary); }

/* ─── NAVIGATION ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-3) 0;
    transition: all var(--duration-normal) var(--ease-out-expo);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: var(--space-2) 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    z-index: 1001;
}

.nav__logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--duration-fast) ease;
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.05);
}

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

.nav__link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    padding: var(--space-2) var(--space-4);
    border-radius: 0.25rem;
    transition: all var(--duration-fast) ease;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

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

/* ═══════════════════════════════════════════════════════
   BOTÓN CONTACTO DESTACADO — Brillo sutil permanente
   ═══════════════════════════════════════════════════════ */
.nav__link--cta {
    background: var(--primary);
    color: #fff !important;
    padding: var(--space-2) var(--space-6);
    margin-left: var(--space-4);
    border-radius: 0.375rem;
    /* Brillo sutil permanente */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 0 10px rgba(204, 0, 0, 0.4);
    filter: brightness(1.05);
    /* Transición suave */
    transition: background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease,
                color 0.3s ease,
                filter 0.3s ease;
}

.nav__link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    /* Brillo intensificado en hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 0 20px rgba(204, 0, 0, 0.6);
    filter: brightness(1.1);
}

.nav__link--cta:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15),
                0 0 10px rgba(204, 0, 0, 0.4);
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0.5rem;
    padding: var(--space-3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast) var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    border-radius: 0.25rem;
    transition: all var(--duration-fast) ease;
}

.nav__dropdown-menu a:hover {
    color: var(--primary);
    background: var(--surface-container-low);
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--on-surface);
    transition: all var(--duration-fast) ease;
    border-radius: 1px;
}

/* ─── BUTTONS ─── */
/* ═══════════════════════════════════════════════════════
   BUTTON STYLES — Mejoras estéticas con transiciones,
   sombras y efectos hover/active
   ═══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: var(--space-4) var(--space-8);
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    /* Transición suave para todos los estados */
    transition: background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease;
    letter-spacing: 0.02em;
    /* Sombra base sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Botón primario — Efecto hover con elevación y oscurecimiento */
.btn--primary {
    background: rgba(204, 0, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(204, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 4px 15px rgba(204, 0, 0, 0.2);
}

.btn--primary:hover {
    transform: translateY(-3px);
    background: rgba(153, 0, 0, 0.15); /* ~15% más oscuro */
    border-color: rgba(153, 0, 0, 0.5);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 8px 32px rgba(204, 0, 0, 0.3);
}

.btn--primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15),
                0 4px 15px rgba(204, 0, 0, 0.2);
}

/* Botón ghost — Efecto hover sutil */
.btn--ghost {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid rgba(204, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn--ghost:hover {
    background: rgba(153, 0, 0, 0.08); /* Tono oscurecido */
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.btn--ghost:active {
    transform: translateY(-1px);
    background: rgba(153, 0, 0, 0.12);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

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

/* ─── HERO ─── */
/* ═══════════════════════════════════════════════════════
   HERO — 3D PARALLAX ARTÍSTICO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-32) 0 var(--space-16);
    background: linear-gradient(170deg, #fff 0%, #fdf5f3 40%, #fef9f7 100%);
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(204, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.hero__gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero__gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.07) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}

.hero__gradient-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 115, 74, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25%      { transform: translateY(-20px) translateX(10px); }
    50%      { transform: translateY(-10px) translateX(-10px); }
    75%      { transform: translateY(-25px) translateX(5px); }
}

.hero__content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: var(--space-6);
    position: relative;
    padding-left: var(--space-10);
}

.hero__label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--primary);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-8);
    color: var(--on-surface);
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: var(--space-10);
}

.hero__cta-group {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-expo);
}

.hero__image-wrapper:hover .hero__image {
    transform: scale(1.05);
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204,0,0,0.1) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero__stat {
    text-align: center;
    padding: var(--space-6) var(--space-2);
    background: var(--surface);
    border-radius: 0.5rem;
    transition: all var(--duration-fast) var(--ease-out-expo);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.hero__stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.08);
    border-color: rgba(204, 0, 0, 0.1);
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--on-surface);
    display: inline;
}

.hero__stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero__stat-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    margin-top: var(--space-1);
}

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    z-index: 1;
}

.hero__scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { opacity: 1; transform: scaleY(1); }
    50%  { opacity: 0.3; transform: scaleY(0.5); }
    100% { opacity: 1; transform: scaleY(1); }
}

/* ─── AWARDS ─── */
.awards {
    padding: var(--space-32) 0;
    background: var(--surface-container-low);
    position: relative;
}

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

.award-card {
    background: var(--surface);
    border-radius: 0.75rem;
    padding: var(--space-10);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary);
    transition: width var(--duration-normal) var(--ease-out-expo);
    border-radius: 0 0 2px 2px;
}

.award-card:hover::before {
    width: 80px;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(204, 0, 0, 0.08);
}

.award-card__icon {
    margin-bottom: var(--space-6);
    opacity: 0.85;
}

.award-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-2);
}

.award-card__source {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.award-card__desc {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

/* ─── PRODUCTS ─── */
.products {
    padding: var(--space-32) 0;
    background: var(--surface);
    position: relative;
}

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

.product-card {
    background: var(--surface);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(204, 0, 0, 0.1);
}

.product-card__image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s var(--ease-out-expo);
}

.product-card:hover .product-card__image {
    transform: scale(1.08);
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    pointer-events: none;
}

.product-card__content {
    padding: var(--space-8);
}

.product-card__tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: var(--space-3);
    display: block;
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-3);
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--duration-fast) ease;
}

.product-card__link:hover {
    gap: var(--space-4);
    color: var(--primary-dark);
}

/* ─── SERVICES ─── */
.services {
    padding: var(--space-32) 0;
    background: var(--surface-container-low);
}

.services__header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.services__header .section__title {
    text-align: center;
}

.services__header .section__subtitle {
    margin: var(--space-6) auto 0;
    text-align: center;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-24);
}

/* Service Plus Card */
.service-plus-card {
    background: rgba(204, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: var(--space-10);
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    border: 1px solid rgba(204, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-plus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(204, 0, 0, 0.08);
}

.service-plus-card__icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(204, 0, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-6);
    transition: all var(--duration-fast) ease;
}

.service-plus-card:hover .service-plus-card__icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.service-plus-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-3);
}

.service-plus-card__desc {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.service-plus-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.service-plus-card__features li {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.service-plus-card__features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* Process Timeline */
.process-timeline {
    margin-bottom: var(--space-24);
    padding: var(--space-12) var(--space-8);
    background: var(--surface);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

.process-timeline__title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-12);
    color: var(--on-surface);
}

.process-timeline__path {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-timeline__path::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--outline-variant);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.process-step__node {
    width: 60px;
    height: 60px;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all var(--duration-fast) ease;
}

.process-step:hover .process-step__node {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.2);
}

.process-step__name {
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-2);
}

.process-step__desc {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    max-width: 150px;
    margin: 0 auto;
}

/* Glassmorphism Benefits */
.benefits {
    position: relative;
}

.benefits__title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-12);
    color: var(--on-surface);
}

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

.benefit-glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(0,0,0,0.03);
}

.benefit-glass:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
    border-color: rgba(204, 0, 0, 0.2);
}

.benefit-glass__num {
    position: absolute;
    top: -10px;
    right: -10px;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(204, 0, 0, 0.05);
    line-height: 1;
    transition: color var(--duration-fast) ease;
}

.benefit-glass:hover .benefit-glass__num {
    color: rgba(204, 0, 0, 0.15);
}

.benefit-glass h4 {
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-2);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.benefit-glass p {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    position: relative;
    z-index: 1;
}

/* ─── ABOUT ─── */
.about {
    padding: var(--space-32) 0;
    background: var(--surface);
    position: relative;
}

/* Mission / Vision / Commitment cards */
.about__mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.about__card {
    background: var(--surface-container-low);
    border-radius: 0.75rem;
    padding: var(--space-10);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.about__card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--tertiary));
    transition: width var(--duration-normal) var(--ease-out-expo);
    border-radius: 2px 2px 0 0;
}

.about__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(204, 0, 0, 0.06);
}

.about__card:hover::before {
    width: 60%;
}

.about__card-icon {
    margin-bottom: var(--space-6);
    display: flex;
    justify-content: center;
}

.about__card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-4);
}

.about__card-text {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.8;
}

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

.metric {
    background: var(--surface-container-low);
    border-radius: 0.75rem;
    padding: var(--space-10) var(--space-6);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out-expo);
    border: 1px solid rgba(0,0,0,0.04);
}

.metric:hover {
    background: var(--surface);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(204, 0, 0, 0.06);
}

.metric__value {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.metric__label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

/* ─── CONTACT ─── */
.contact {
    padding: var(--space-32) 0;
    background: var(--surface-container-low);
}

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

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

.contact__info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--surface);
    border-radius: 0.5rem;
    transition: all var(--duration-fast) var(--ease-out-expo);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact__info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.06);
}

.contact__info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 0, 0, 0.06);
    border-radius: 0.5rem;
}

.contact__info-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-1);
}

.contact__info-card p {
    font-size: 0.88rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.contact__emergency {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: var(--space-1);
    padding: var(--space-1) var(--space-3);
    background: rgba(204, 0, 0, 0.06);
    border-radius: 0.25rem;
}

/* Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.form__group {
    position: relative;
}

.form__input {
    width: 100%;
    background: rgba(204, 0, 0, 0.05);
    border: 1px solid rgba(204, 0, 0, 0.2);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-6) var(--space-4) var(--space-3);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--on-surface);
    outline: none;
    transition: all var(--duration-fast) ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.form__input:focus {
    border-color: var(--primary);
    background: rgba(204, 0, 0, 0.1);
}

.form__label {
    position: absolute;
    left: var(--space-4);
    top: var(--space-6);
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    pointer-events: none;
    transition: all var(--duration-fast) var(--ease-out-expo);
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
    top: 0;
    left: 0;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

.form__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--duration-normal) var(--ease-out-expo);
}

.form__input:focus ~ .form__line {
    width: 100%;
}

.form__textarea {
    resize: none;
    min-height: 120px;
}

/* ─── CONTACT MAP ─── */
.contact__map {
    width: 100%;
    margin-top: var(--space-20);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--surface);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.contact__map:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(204, 0, 0, 0.08);
}

.contact__map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 12px;
    margin-bottom: 2rem;
}

/* Scroll reveal for the map */
.contact__map.reveal-element {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
}

.contact__map.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact__map.reveal-element.revealed:hover {
    transform: translateY(-4px) scale(1);
}

/* ─── FOOTER ─── */
.footer {
    padding: var(--space-20) 0 var(--space-8);
    background: #1a1a1a;
    color: #fff;
}

.footer__logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-top: var(--space-6);
    max-width: 320px;
}

.footer__links h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--space-6);
}

.footer__links a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    padding: var(--space-2) 0;
    transition: all var(--duration-fast) ease;
}

.footer__links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
}

.footer__bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

.footer__social {
    display: flex;
    gap: var(--space-4);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    transition: all var(--duration-fast) ease;
}

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

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATIONS (scroll-triggered)
   ═══════════════════════════════════════════════════════ */
.reveal-element {
    opacity: 0;
    transform: translateY(60px);
    transition: 
        opacity var(--duration-reveal) var(--ease-out-expo),
        transform var(--duration-reveal) var(--ease-out-expo);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals for product cards */
.product-card.reveal-element {
    transform: translateY(80px) scale(0.96);
}

.product-card.reveal-element.revealed {
    transform: translateY(0) scale(1);
}

/* Service cards slide from left */
.service-card.reveal-element {
    transform: translateX(-40px);
    opacity: 0;
}

.service-card.reveal-element.revealed {
    transform: translateX(0);
    opacity: 1;
}

/* Award cards scale entrance */
.award-card.reveal-element {
    transform: translateY(40px) scale(0.9);
    opacity: 0;
}

.award-card.reveal-element.revealed {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* About cards */
.about__card.reveal-element {
    transform: translateY(50px) scale(0.92);
    opacity: 0;
}

.about__card.reveal-element.revealed {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Metrics pop entrance */
.metric {
    transform: scale(0.85);
    opacity: 0;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.metric.revealed {
    transform: scale(1);
    opacity: 1;
}

/* Contact cards slide in */
.contact__info-card {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.contact__info-card.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ─── AUTH GATE & GOOGLE LOGIN ─── */
.contact__form {
    position: relative;
    overflow: hidden;
}

.auth-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.auth-gate__header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--on-surface);
    margin: var(--space-4) 0 var(--space-2);
}

.auth-gate__header p {
    font-size: 0.95rem;
    color: var(--on-surface-variant);
    max-width: 400px;
}

/* Botón de autenticación Google — Mejorado con hover/active */
.btn-apple-auth {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: #fff;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    /* Sombra base sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Transición suave para todos los estados */
    transition: background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.btn-apple-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.15);
    background: #f8f8f8;
}

.btn-apple-auth:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
}

/* ─── AUTHENTICATED USER BAR ─── */
.auth-user-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-user-bar__photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-user-bar__info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.auth-user-bar__name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--on-surface);
}

.auth-user-bar__email {
    font-size: 0.75rem;
    color: var(--on-surface-variant);
}

.auth-user-bar__logout {
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    /* Sombra base sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Transición suave */
    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-user-bar__logout:hover {
    transform: translateY(-3px);
    background: rgba(153, 0, 0, 0.12);
    color: var(--primary);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.auth-user-bar__logout:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.form__feedback {
    margin-top: var(--space-4);
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.form__feedback.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    color: #1da851;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.form__feedback.error {
    display: block;
    background: rgba(204, 0, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(204, 0, 0, 0.2);
}

/* Dark Mode Overrides for Auth */
[data-theme="dark"] .auth-gate {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .btn-apple-auth {
    background: #1d1d1f;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-apple-auth:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: #2d2d2f;
}

[data-theme="dark"] .auth-user-bar {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .auth-user-bar__photo {
    border-color: #333;
}


/* ═══════════════════════════════════════════════════════
   PARALLAX / DEPTH EFFECTS
   ═══════════════════════════════════════════════════════ */
.hero__image-wrapper {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
    transition: transform 0.8s var(--ease-out-expo);
}

.hero__image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta-group {
        justify-content: center;
    }

    .hero__label {
        padding-left: 0;
    }

    .hero__label::before {
        display: none;
    }

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

    .services__layout {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .services__header {
        position: static;
        text-align: center;
    }

    .services__header .section__title,
    .services__header .section__subtitle {
        text-align: center;
    }

    .services__header .section__subtitle {
        margin: var(--space-6) auto 0;
    }

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

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

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

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

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    :root {
        --space-32: 5rem;
        --space-20: 3.5rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 380px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-24) var(--space-8);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: right var(--duration-normal) var(--ease-out-expo);
        gap: var(--space-2);
        box-shadow: -8px 0 32px rgba(0,0,0,0.08);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__link {
        font-size: 1.1rem;
        padding: var(--space-3) 0;
        color: var(--on-surface);
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: var(--space-4);
    }

    .nav__dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0 0 0 var(--space-6);
        display: none;
    }

    .nav__dropdown.open .nav__dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .hero__stat {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-4);
        padding: var(--space-4) var(--space-6);
    }

    .hero__stat-label {
        margin-top: 0;
    }

    .hero__image-wrapper {
        transform: none;
    }

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

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

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

    .nav__toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .floating-shape {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════
   FLOATING DECORATIVE SHAPES (always visible, always moving)
   ═══════════════════════════════════════════════════════ */

.floating-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    will-change: transform;
    transition: transform 0.1s linear;
}

.floating-shape--1 {
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    top: 15%;
    left: 5%;
}

.floating-shape--2 {
    width: 40px;
    height: 40px;
    background: var(--primary);
    top: 30%;
    right: 8%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.floating-shape--3 {
    width: 60px;
    height: 60px;
    border: 2px solid var(--secondary);
    top: 55%;
    left: 8%;
    transform: rotate(45deg);
}

.floating-shape--4 {
    width: 30px;
    height: 30px;
    background: var(--tertiary);
    border-radius: 50%;
    top: 70%;
    right: 12%;
    opacity: 0.06;
}

.floating-shape--5 {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    top: 85%;
    left: 12%;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    opacity: 0.05;
}

/* ═══════════════════════════════════════════════════════
   HERO GEOMETRIC ACCENTS
   ═══════════════════════════════════════════════════════ */

.hero__geo {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.hero__geo--circle {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(204, 0, 0, 0.08);
    border-radius: 50%;
    top: 12%;
    right: 15%;
    animation: geoSpin 25s linear infinite;
}

.hero__geo--ring {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(212, 175, 55, 0.06);
    border-radius: 50%;
    bottom: 15%;
    left: 10%;
    animation: geoSpin 35s linear infinite reverse;
}

.hero__geo--ring::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(232, 115, 74, 0.05);
    border-radius: 50%;
    animation: geoSpin 20s linear infinite;
}

.hero__geo--dots {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 5%;
    background-image:
        radial-gradient(circle, rgba(204, 0, 0, 0.1) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.5;
}

@keyframes geoSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════
   BUTTON GLOW EFFECT — Botones de contacto destacados
   Brillo sutil permanente con intensificación en hover
   ═══════════════════════════════════════════════════════ */

.btn--glow {
    position: relative;
    overflow: hidden;
    /* Brillo sutil permanente */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 0 10px rgba(204, 0, 0, 0.4);
}

.btn--glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(204,0,0,0.6), rgba(232,115,74,0.4), rgba(204,0,0,0.6));
    border-radius: inherit;
    z-index: -1;
    animation: glowPulse 2.5s ease-in-out infinite;
    filter: blur(8px);
}

/* Hover para botones con glow — elevación y brillo intenso */
.btn--glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 0 20px rgba(204, 0, 0, 0.6);
}

.btn--glow:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15),
                0 0 10px rgba(204, 0, 0, 0.4);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 0.8; transform: scale(1.05); }
}

/* ═══════════════════════════════════════════════════════
   HERO IMAGE ANIMATED FRAME
   ═══════════════════════════════════════════════════════ */

.hero__image-frame {
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-radius: inherit;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(var(--surface), var(--surface)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary), var(--primary)) border-box;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: frameRotate 4s linear infinite;
    background-size: 300% 300%;
}

.hero__image-wrapper:hover .hero__image-frame {
    opacity: 0.6;
}

@keyframes frameRotate {
    from { background-position: 0% 50%; }
    to   { background-position: 300% 50%; }
}

/* ═══════════════════════════════════════════════════════
   ENHANCED CARD TRANSITIONS
   ═══════════════════════════════════════════════════════ */

.award-card__icon,
.about__card-icon,
.service-card__number,
.contact__info-icon {
    transition: all 0.4s var(--ease-out-expo);
}

.award-card__icon svg,
.about__card-icon svg,
.contact__info-icon svg {
    transition: transform 0.6s var(--ease-out-expo);
}

.award-card:hover .award-card__icon svg {
    animation: iconBounce 0.6s var(--ease-out-expo);
}

.contact__info-card:hover .contact__info-icon svg {
    transform: rotate(12deg) scale(1.1);
}

@keyframes iconBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25) rotate(5deg); }
    70%  { transform: scale(0.95) rotate(-2deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

/* Product link arrow animation */
.product-card__link svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.product-card__link:hover svg {
    transform: translateX(4px);
    animation: arrowBounce 0.6s var(--ease-out-expo);
}

@keyframes arrowBounce {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(8px); }
    100% { transform: translateX(4px); }
}

/* Section label animated line */
.section__label {
    position: relative;
    overflow: hidden;
}

.section__label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out-expo);
}

.revealed .section__label::after,
.section__header.revealed .section__label::after {
    transform: scaleX(1);
}

/* Hero stat hover effect enhancement */
.hero__stat {
    position: relative;
    overflow: hidden;
}

.hero__stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(204,0,0,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero__stat:hover::after {
    opacity: 1;
}

/* Metric hover enhancement */
.metric {
    position: relative;
    overflow: hidden;
}

.metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--tertiary));
    transition: width 0.6s var(--ease-out-expo);
    border-radius: 0 0 2px 2px;
}

.metric:hover::before {
    width: 60%;
}

/* Service card number color transition */
.service-card:hover .service-card__title {
    color: var(--primary);
    transition: color 0.3s ease;
}

/* Nav link relative position for underline */
.nav__link {
    position: relative;
}

/* ═══════════════════════════════════════════════════════
   TEAM SECTION
   ═══════════════════════════════════════════════════════ */

.team {
    padding: var(--space-32) 0;
    background: var(--surface-container-low);
    position: relative;
}

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

.team-card {
    background: var(--surface);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 48px rgba(204, 0, 0, 0.12);
    border-color: rgba(204,0,0,0.1);
    z-index: 2;
}

.team-card__image-wrapper {
    position: relative;
    aspect-ratio: 1/1.1;
    overflow: hidden;
    background: var(--surface-container-high);
}

.team-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.2s var(--ease-out-expo), filter 0.8s ease;
    filter: grayscale(15%);
}

.team-card:hover .team-card__image {
    transform: scale(1.12);
    filter: grayscale(0%);
}

.team-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(204,0,0,0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.team-card:hover .team-card__overlay {
    opacity: 1;
}

.team-card__info {
    padding: var(--space-6);
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--surface);
    transition: transform 0.5s var(--ease-out-expo), background-color 0.5s ease;
}

.team-card:hover .team-card__info {
    transform: translateY(-8px);
}

.team-card__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: var(--space-2);
    transition: color 0.4s ease;
}

.team-card:hover .team-card__name {
    color: var(--primary);
}

.team-card__role {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: var(--space-3);
    transition: color 0.3s ease;
}

.team-card:hover .team-card__role {
    color: var(--primary);
}

.team-card__desc {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
    opacity: 0.9;
}

/* Responsive Team Grid */
@media (max-width: 1024px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

@media (max-width: 600px) {
    .team__grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   ENHANCED SERVICES SECTION
   ═══════════════════════════════════════════════════════ */

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

.service-plus-card {
    background: var(--surface);
    border-radius: 1rem;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--ease-out-expo);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.service-plus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 64px rgba(204, 0, 0, 0.1);
    background: linear-gradient(to bottom, var(--surface), var(--surface-container-lowest));
    z-index: 2;
}

.service-plus-card__icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--surface-container-low);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-6);
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
}

.service-plus-card:hover .service-plus-card__icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.3);
}

.service-plus-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-3);
    transition: color 0.4s ease;
}

.service-plus-card:hover .service-plus-card__title {
    color: var(--primary);
}

.service-plus-card__desc {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

/* Features list initially hidden, expanding on hover */
.service-plus-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.7s var(--ease-out-expo);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.service-plus-card:hover .service-plus-card__features {
    max-height: 250px;
    opacity: 1;
    padding-top: var(--space-4);
    margin-top: auto;
}

.service-plus-card__features li {
    font-size: 0.8rem;
    color: var(--on-surface-variant);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-plus-card:hover .service-plus-card__features li {
    transform: translateX(0);
    opacity: 1;
}

.service-plus-card:hover .service-plus-card__features li:nth-child(1) { transition-delay: 0.1s; }
.service-plus-card:hover .service-plus-card__features li:nth-child(2) { transition-delay: 0.2s; }
.service-plus-card:hover .service-plus-card__features li:nth-child(3) { transition-delay: 0.3s; }
.service-plus-card:hover .service-plus-card__features li:nth-child(4) { transition-delay: 0.4s; }

.service-plus-card__features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ─── PROCESS TIMELINE ─── */
.process-timeline {
    margin: var(--space-24) 0;
    background: var(--surface);
    padding: var(--space-12);
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.process-timeline__title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--on-surface);
    margin-bottom: var(--space-12);
}

.process-timeline__path {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-timeline__path::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--tertiary));
    opacity: 0.2;
    z-index: 1;
}

.process-timeline__path::after {
    content: '';
    position: absolute;
    top: 23px;
    left: 40px;
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary);
    z-index: 2;
    animation: flowLine 4s linear infinite;
}

@keyframes flowLine {
    0% { left: 40px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 90px); opacity: 0; }
}

.process-step {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 200px;
}

.process-step__node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--primary);
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: 0 0 0 8px rgba(255,255,255,0.7);
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary);
}

.process-step:hover .process-step__node {
    background: var(--primary);
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.4);
}

.process-step__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-2);
    transition: color 0.3s ease;
}

.process-step:hover .process-step__name {
    color: var(--primary);
}

.process-step__desc {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
}

/* ─── BENEFITS GLASSMORPHISM ─── */
.benefits {
    margin-top: var(--space-20);
    position: relative;
}

.benefits__title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--on-surface);
    margin-bottom: var(--space-8);
}

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

.benefit-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.benefit-glass::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), transparent, var(--tertiary));
    z-index: -1;
    border-radius: 1.1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.benefit-glass:hover::before {
    opacity: 1;
}

.benefit-glass:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 48px rgba(204, 0, 0, 0.1);
}

.benefit-glass__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(204, 0, 0, 0.2);
    position: absolute;
    top: var(--space-2);
    right: var(--space-4);
    transition: all 0.6s var(--ease-out-expo);
}

.benefit-glass:hover .benefit-glass__num {
    color: rgba(204, 0, 0, 0.08);
    -webkit-text-stroke: transparent;
    transform: scale(1.1) translate(-5px, 5px);
}

.benefit-glass h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-2);
    margin-top: var(--space-6);
    transition: color 0.3s ease;
}

.benefit-glass:hover h4 {
    color: var(--primary);
}

.benefit-glass p {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* Media Queries */
@media (max-width: 1024px) {
    .services__grid, .benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline__path { flex-direction: column; align-items: center; gap: var(--space-8); }
    .process-timeline__path::before, .process-timeline__path::after { display: none; }
    .process-step { width: 100%; max-width: 300px; }
}

@media (max-width: 600px) {
    .services__grid, .benefits__grid { grid-template-columns: 1fr; }
}

/* ─── CONTACT MAP ─── */
.contact__map {
    margin-top: var(--space-20);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    background: var(--surface);
    transition: all 0.5s var(--ease-out-expo);
}

.contact__map:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(204, 0, 0, 0.15);
}

.contact__map iframe {
    width: 100%;
    height: 450px;
    display: block;
    border-radius: 12px;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .contact__map iframe { height: 350px; }
}

@media (max-width: 600px) {
    .contact__map iframe { height: 300px; }
}

/* ═══════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON — Liquid Glass
   ═══════════════════════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 14px 24px;
    border-radius: 50px;
    /* Liquid Glass */
    background: rgba(37, 211, 102, 0.82);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(37, 211, 102, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    /* Bobbing + Reveal */
    animation: waFloatBob 3s ease-in-out infinite, waReveal 0.8s var(--ease-out-expo) 1s both;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.whatsapp-float:hover {
    background: rgba(37, 211, 102, 0.95);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 16px 48px rgba(37, 211, 102, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: #fff;
}

.whatsapp-float:active {
    transform: translateY(-1px) scale(0.98);
}

.whatsapp-float__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
    transition: transform 0.4s var(--ease-out-expo);
}

.whatsapp-float:hover .whatsapp-float__icon {
    transform: rotate(-8deg) scale(1.1);
}

.whatsapp-float__text {
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Pulse ring */
.whatsapp-float__pulse {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: waPulse 2.5s ease-out infinite;
    pointer-events: none;
}

/* Bobbing animation */
@keyframes waFloatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Reveal entrance */
@keyframes waReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Pulse ring animation */
@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* ─── MOBILE: circle only ─── */
@media (max-width: 768px) {
    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float__text {
        display: none;
    }
    .whatsapp-float__icon {
        width: 26px;
        height: 26px;
    }
}

/* ─── DARK MODE ─── */
[data-theme="dark"] .whatsapp-float {
    background: rgba(37, 211, 102, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(37, 211, 102, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

[data-theme="dark"] .whatsapp-float:hover {
    background: rgba(37, 211, 102, 0.9);
    box-shadow:
        0 16px 48px rgba(37, 211, 102, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

/* ═══════════════════════════════════════════════════════
   SID-AI VIRTUAL ASSISTANT — Liquid Glass
   ═══════════════════════════════════════════════════════ */

/* ─── BACKDROP OVERLAY ─── */
.sidai-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sidai-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ─── TRIGGER BUTTON ─── */
.sidai-trigger {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 1002;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.85), rgba(180, 20, 20, 0.9));
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    box-shadow:
        0 8px 32px rgba(204, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: sidaiTriggerBob 3s ease-in-out infinite, waReveal 0.8s var(--ease-out-expo) 1.2s both;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.sidai-trigger:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow:
        0 16px 48px rgba(204, 0, 0, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.sidai-trigger:active {
    transform: translateY(-1px) scale(0.96);
}

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

.sidai-trigger__icon {
    position: absolute;
    width: 28px;
    height: 28px;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
}

.sidai-trigger__icon--close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.sidai-trigger.active .sidai-trigger__icon--open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.sidai-trigger.active .sidai-trigger__icon--close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Pulse */
.sidai-trigger__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(204, 0, 0, 0.5);
    animation: waPulse 2.5s ease-out infinite 2s;
    pointer-events: none;
}

.sidai-trigger.active .sidai-trigger__pulse {
    animation: none;
    opacity: 0;
}

/* ─── CHAT WINDOW ─── */
.sidai-chat {
    position: fixed;
    bottom: 100px;
    left: 28px;
    z-index: 1001;
    width: 400px;
    max-height: 560px;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    /* Liquid Glass */
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(32px) saturate(1.8) brightness(1.05);
    -webkit-backdrop-filter: blur(32px) saturate(1.8) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.12),
        0 8px 32px rgba(204, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.6) inset;
    /* Hidden by default */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.sidai-chat.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ─── HEADER ─── */
.sidai-chat__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.9), rgba(160, 10, 10, 0.95));
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.sidai-chat__avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidai-chat__status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25D366;
    border: 2px solid rgba(204, 0, 0, 0.9);
    animation: sidaiPulseOnline 2s ease-in-out infinite;
}

@keyframes sidaiPulseOnline {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.sidai-chat__info {
    flex: 1;
    min-width: 0;
}

.sidai-chat__name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
}

.sidai-chat__status {
    font-size: 0.72rem;
    opacity: 0.8;
    letter-spacing: 0.01em;
}

.sidai-chat__close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.sidai-chat__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ─── MESSAGES ─── */
.sidai-chat__messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    max-height: 340px;
    scrollbar-width: thin;
    scrollbar-color: rgba(204, 0, 0, 0.2) transparent;
}

.sidai-chat__messages::-webkit-scrollbar {
    width: 4px;
}

.sidai-chat__messages::-webkit-scrollbar-track {
    background: transparent;
}

.sidai-chat__messages::-webkit-scrollbar-thumb {
    background: rgba(204, 0, 0, 0.2);
    border-radius: 4px;
}

/* Message bubbles */
.sidai-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: sidaiMsgIn 0.4s var(--ease-out-expo) both;
}

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

.sidai-msg--bot {
    align-self: flex-start;
}

.sidai-msg--user {
    align-self: flex-end;
}

.sidai-msg__bubble {
    padding: 12px 16px;
    border-radius: 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

.sidai-msg--bot .sidai-msg__bubble {
    background: rgba(245, 245, 245, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--on-surface);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidai-msg--user .sidai-msg__bubble {
    background: linear-gradient(135deg, #CC0000, #a50000);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.2);
}

.sidai-msg__time {
    font-size: 0.65rem;
    color: var(--on-surface-variant);
    margin-top: 4px;
    opacity: 0.6;
}

.sidai-msg--user .sidai-msg__time {
    align-self: flex-end;
}

/* Typing indicator */
.sidai-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    background: rgba(245, 245, 245, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1rem;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 70px;
    align-self: flex-start;
}

.sidai-typing__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--on-surface-variant);
    animation: sidaiTypingBounce 1.4s ease-in-out infinite;
}

.sidai-typing__dot:nth-child(2) { animation-delay: 0.15s; }
.sidai-typing__dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes sidaiTypingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ─── SUGGESTION CHIPS ─── */
.sidai-chat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}

.sidai-chip {
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(204, 0, 0, 0.15);
    background: rgba(204, 0, 0, 0.04);
    color: var(--on-surface);
    font-size: 0.78rem;
    font-family: var(--font-body);
    cursor: pointer;
    /* Sombra base sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Transición suave */
    transition: background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    white-space: nowrap;
}

.sidai-chip:hover {
    transform: translateY(-3px);
    background: rgba(153, 0, 0, 0.12); /* Oscurecido */
    border-color: rgba(153, 0, 0, 0.35);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 0 8px rgba(204, 0, 0, 0.15);
}

.sidai-chip:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ─── INPUT AREA ─── */
.sidai-chat__input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.sidai-chat__input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--on-surface);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sidai-chat__input::placeholder {
    color: var(--on-surface-variant);
    opacity: 0.6;
}

.sidai-chat__input:focus {
    border-color: rgba(204, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.06);
}

.sidai-chat__send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #CC0000, #a50000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    /* Sombra base con brillo sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 4px 16px rgba(204, 0, 0, 0.2),
                0 0 8px rgba(204, 0, 0, 0.3);
    /* Transición suave */
    transition: background 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.sidai-chat__send:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 8px 24px rgba(204, 0, 0, 0.35),
                0 0 15px rgba(204, 0, 0, 0.5);
}

.sidai-chat__send:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(204, 0, 0, 0.25);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
    .sidai-chat {
        left: 8px;
        right: 8px;
        bottom: 8px;
        width: auto;
        max-height: calc(100dvh - 80px);
        border-radius: 1rem;
    }
    .sidai-trigger {
        bottom: 20px;
        left: 20px;
        width: 54px;
        height: 54px;
    }
    .sidai-chat__messages {
        max-height: calc(100dvh - 220px);
    }
}

/* ─── DARK MODE ─── */
[data-theme="dark"] .sidai-chat {
    background: rgba(24, 24, 24, 0.88);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(204, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

[data-theme="dark"] .sidai-chat__header {
    background: linear-gradient(135deg, rgba(180, 10, 10, 0.95), rgba(140, 5, 5, 0.98));
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sidai-msg--bot .sidai-msg__bubble {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.05);
    color: #f5f5f5;
}

[data-theme="dark"] .sidai-chat__input-area {
    background: rgba(24, 24, 24, 0.8);
    border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sidai-chat__input {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.06);
    color: #f5f5f5;
}

[data-theme="dark"] .sidai-chip {
    background: rgba(204, 0, 0, 0.08);
    border-color: rgba(204, 0, 0, 0.2);
    color: #e0e0e0;
}

[data-theme="dark"] .sidai-chip:hover {
    background: rgba(204, 0, 0, 0.15);
    border-color: rgba(204, 0, 0, 0.35);
}

[data-theme="dark"] .sidai-typing {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sidai-trigger {
    background: linear-gradient(135deg, rgba(180, 10, 10, 0.9), rgba(150, 5, 5, 0.95));
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(204, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

[data-theme="dark"] .sidai-backdrop {
    background: rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════
   LIQUID GLASS REFRACTION SYSTEM
   Organic distortion + advanced glassmorphism + 3D depth
   ═══════════════════════════════════════════════════════ */

/* ─── NAV LIQUID GLASS ─── */
.nav {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(28px) saturate(1.8) brightness(1.05);
    -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 4px 30px rgba(0, 0, 0, 0.04);
    z-index: 9999;
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(204, 0, 0, 0.02) 0%,
        rgba(232, 115, 74, 0.015) 25%,
        transparent 50%,
        rgba(212, 175, 55, 0.015) 75%,
        rgba(204, 0, 0, 0.02) 100%
    );
    background-size: 200% 100%;
    animation: liquidGlassShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.nav__container {
    position: relative;
    z-index: 1;
}

@keyframes liquidGlassShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 200% 50%; }
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(32px) saturate(2) brightness(1.08);
    -webkit-backdrop-filter: blur(32px) saturate(2) brightness(1.08);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.5) inset,
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(204, 0, 0, 0.03);
}

/* Liquid glass refraction layer on nav (applied via JS) */
.nav__liquid-refraction {
    position: absolute;
    inset: 0;
    filter: url(#liquid-glass-nav);
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
    background: inherit;
    border-radius: inherit;
}

/* ─── SECTION LIQUID GLASS OVERLAYS ─── */
.awards,
.services,
.about,
.team,
.contact {
    position: relative;
    overflow: hidden;
}

.awards::before,
.services::before,
.team::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(204, 0, 0, 0.012) 0%,
        transparent 40%,
        rgba(232, 115, 74, 0.008) 60%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: sectionGlassFloat 12s ease-in-out infinite alternate;
}

@keyframes sectionGlassFloat {
    0% { opacity: 0.5; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(-8px); }
}

.awards .section__container,
.services .section__container,
.about .section__container,
.team .section__container,
.contact .section__container {
    position: relative;
    z-index: 1;
}

/* ─── PRODUCT CARDS — 3D LIQUID GLASS FLOAT ─── */
.product-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255,255,255,0.8) inset;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 40%,
        rgba(204, 0, 0, 0.02) 60%,
        rgba(255, 255, 255, 0.08) 100%
    );
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo);
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(204, 0, 0, 0.12);
    box-shadow: 
        0 32px 80px rgba(204, 0, 0, 0.1),
        0 16px 40px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 0 0 1px rgba(204, 0, 0, 0.05);
}

/* Product images float with 3D depth */
.product-card__image {
    transform-style: preserve-3d;
    will-change: transform;
}

.product-card:hover .product-card__image {
    transform: scale(1.08) translateZ(30px);
}

/* Chromatic edge on product cards */
.product-card .product-card__image-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(204, 0, 0, 0.3),
        rgba(232, 115, 74, 0.2),
        rgba(212, 175, 55, 0.15),
        rgba(204, 0, 0, 0.3)
    );
    z-index: 3;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo);
    pointer-events: none;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 2px;
}

.product-card:hover .product-card__image-wrapper::after {
    opacity: 1;
}

/* ─── SERVICE CARDS LIQUID GLASS ─── */
.service-plus-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.7) inset;
    transform-style: preserve-3d;
}

.service-plus-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(204, 0, 0, 0.2),
        rgba(232, 115, 74, 0.15),
        transparent,
        rgba(212, 175, 55, 0.1),
        rgba(204, 0, 0, 0.2)
    );
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo);
    pointer-events: none;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1.5px;
    animation: chromaticBorderShift 6s ease-in-out infinite;
}

.service-plus-card:hover::after {
    opacity: 1;
}

@keyframes chromaticBorderShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-plus-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 
        0 24px 64px rgba(204, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255,255,255,0.9) inset;
}

/* ─── AWARD CARDS LIQUID GLASS ─── */
.award-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.7) inset;
}

.award-card:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(204, 0, 0, 0.1);
    box-shadow: 
        0 20px 56px rgba(204, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.05),
        0 1px 0 rgba(255,255,255,0.9) inset;
}

/* ─── ABOUT CARDS LIQUID GLASS ─── */
.about__card {
    background: rgba(247, 245, 244, 0.6);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.03),
        0 1px 0 rgba(255,255,255,0.6) inset;
}

.about__card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(204, 0, 0, 0.08);
    box-shadow: 
        0 20px 48px rgba(204, 0, 0, 0.06),
        0 8px 20px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.8) inset;
}

/* ─── BENEFIT GLASS ENHANCED ─── */
.benefit-glass {
    backdrop-filter: blur(18px) saturate(1.5) brightness(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.5) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.8) inset;
}

.benefit-glass:hover {
    backdrop-filter: blur(24px) saturate(1.8) brightness(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(1.8) brightness(1.1);
    box-shadow: 
        0 20px 60px rgba(204, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.9) inset;
}

/* ─── CONTACT INFO CARDS LIQUID GLASS ─── */
.contact__info-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.03),
        0 1px 0 rgba(255,255,255,0.6) inset;
}

.contact__info-card:hover {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 
        0 8px 32px rgba(204, 0, 0, 0.06),
        0 1px 0 rgba(255,255,255,0.8) inset;
}

/* ─── CONTACT FORM LIQUID GLASS ─── */
.contact__form {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
    padding: var(--space-10);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.6) inset;
}

/* ─── PROCESS TIMELINE LIQUID GLASS ─── */
.process-timeline {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.7) inset;
}

/* ─── HERO STAT LIQUID GLASS ─── */
.hero__stat {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.7) inset;
}

.hero__stat:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 12px 36px rgba(204, 0, 0, 0.08),
        0 1px 0 rgba(255,255,255,0.9) inset;
}

/* ─── LIQUID GLASS CURSOR INTERACTION GLOW ─── */
.liquid-glass-cursor-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
    filter: blur(30px);
}

/* ─── TEAM CARDS LIQUID GLASS ─── */
.team-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255,255,255,0.6) inset;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 28px 56px rgba(204, 0, 0, 0.1),
        0 12px 28px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255,255,255,0.9) inset;
}

/* ─── METRIC LIQUID GLASS ─── */
.metric {
    background: rgba(247, 245, 244, 0.6);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.03),
        0 1px 0 rgba(255,255,255,0.5) inset;
}

.metric:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 16px 48px rgba(204, 0, 0, 0.06),
        0 1px 0 rgba(255,255,255,0.8) inset;
}

/* ─── DROPDOWN LIQUID GLASS ─── */
.nav__dropdown-menu {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255,255,255,0.7) inset;
}

/* ═══════════════════════════════════════════════════════
   THEME TOGGLE & DARK MODE
   ═══════════════════════════════════════════════════════ */

/* Dark Mode Tokens */
:root[data-theme="dark"] {
    --surface:                 #121212;
    --surface-dim:             #1a1a1a;
    --surface-container-lowest:#0f0f0f;
    --surface-container-low:   #1e1e1e;
    --surface-container:       #242424;
    --surface-container-high:  #2a2a2a;
    --surface-container-highest:#333333;

    --primary:       #f03e3e;
    --primary-dark:  #c92a2a;
    --primary-light: #ff6b6b;
    --on-surface:    #f5f5f5;
    --on-surface-variant: #b0b0b0;
    --outline:       #404040;
    --outline-variant: #2e2e2e;
}

/* Base transitions for smooth theme switching */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, fill 0.5s ease, stroke 0.5s ease, box-shadow 0.5s ease !important;
  transition-delay: 0 !important;
}

/* Specific Dark Mode overrides — Liquid Glass adapted */
[data-theme="dark"] .hero {
    background: linear-gradient(170deg, #121212 0%, #1a1111 40%, #1e1414 100%);
}
[data-theme="dark"] .footer {
    background: #0a0a0a;
}
[data-theme="dark"] .nav {
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(32px) saturate(1.8) brightness(0.95);
    -webkit-backdrop-filter: blur(32px) saturate(1.8) brightness(0.95);
    border-bottom-color: rgba(240, 62, 62, 0.08);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 4px 30px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .nav::before {
    background: linear-gradient(
        90deg,
        rgba(240, 62, 62, 0.03) 0%,
        rgba(255, 107, 107, 0.02) 25%,
        transparent 50%,
        rgba(212, 175, 55, 0.02) 75%,
        rgba(240, 62, 62, 0.03) 100%
    );
}
[data-theme="dark"] .nav--scrolled {
    background: rgba(18, 18, 18, 0.88);
    backdrop-filter: blur(36px) saturate(2) brightness(0.92);
    -webkit-backdrop-filter: blur(36px) saturate(2) brightness(0.92);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.03) inset,
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 1px 3px rgba(240, 62, 62, 0.05);
}
[data-theme="dark"] .nav__dropdown-menu {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .nav__menu {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}
[data-theme="dark"] .product-card {
    background: rgba(30, 30, 30, 0.7);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.04) inset;
}
[data-theme="dark"] .product-card:hover {
    background: rgba(40, 40, 40, 0.85);
    border-color: rgba(240, 62, 62, 0.15);
    box-shadow:
        0 32px 80px rgba(240, 62, 62, 0.08),
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 0 60px rgba(240, 62, 62, 0.04);
}
[data-theme="dark"] .service-plus-card {
    background: rgba(30, 30, 30, 0.65);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .service-plus-card:hover {
    background: rgba(40, 40, 40, 0.85);
    box-shadow:
        0 24px 64px rgba(240, 62, 62, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.05) inset;
}
[data-theme="dark"] .award-card {
    background: rgba(30, 30, 30, 0.65);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .award-card:hover {
    background: rgba(40, 40, 40, 0.85);
    border-color: rgba(240, 62, 62, 0.12);
    box-shadow:
        0 20px 56px rgba(240, 62, 62, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.05) inset;
}
[data-theme="dark"] .about__card {
    background: rgba(30, 30, 30, 0.55);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .about__card:hover {
    background: rgba(40, 40, 40, 0.75);
    box-shadow:
        0 20px 48px rgba(240, 62, 62, 0.05),
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.04) inset;
}
[data-theme="dark"] .benefit-glass {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.04) inset;
}
[data-theme="dark"] .benefit-glass:hover {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(240, 62, 62, 0.1);
    box-shadow:
        0 20px 60px rgba(240, 62, 62, 0.06),
        0 1px 0 rgba(255,255,255,0.05) inset;
}
[data-theme="dark"] .contact__info-card {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .contact__form {
    background: rgba(30, 30, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .team-card {
    background: rgba(30, 30, 30, 0.65);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .team-card:hover {
    background: rgba(40, 40, 40, 0.85);
    box-shadow:
        0 28px 56px rgba(240, 62, 62, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.05) inset;
}
[data-theme="dark"] .metric {
    background: rgba(30, 30, 30, 0.55);
    border-color: rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .hero__stat {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
[data-theme="dark"] .process-timeline {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255,255,255,0.03) inset;
}
/* Ensure Header navigation stays above all items, including the Social Proof section */
.nav, header, .header, .nav__container, .nav__dropdown-menu {
    z-index: 99999 !important;
}

/* Theme Toggle Button — Mejoras hover/active */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: var(--space-4);
    position: relative;
    /* Sombra base sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Transición suave */
    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
    overflow: hidden;
}

.theme-toggle:hover {
    color: var(--primary);
    background: var(--surface-container-high);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.theme-toggle:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.theme-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.6s ease;
}

/* Light Theme -> Show Moon, Hide Sun */
.theme-icon--sun {
    transform: translateY(30px) rotate(90deg) scale(0.5);
    opacity: 0;
}
.theme-icon--moon {
    transform: translateY(0) rotate(0) scale(1);
    opacity: 1;
}

/* Dark Theme -> Show Sun, Hide Moon */
[data-theme="dark"] .theme-icon--sun {
    transform: translateY(0) rotate(0) scale(1);
    opacity: 1;
}
[data-theme="dark"] .theme-icon--moon {
    transform: translateY(-30px) rotate(-90deg) scale(0.5);
    opacity: 0;
}



/* Logo adaptation removed: Logo is consistently red in both themes */


/* ═══════════════════════════════════════════════════════
   BOTÓN ENVIAR REQUERIMIENTO — Efectos mejorados
   ═══════════════════════════════════════════════════════ */
#submitMessageBtn {
    transition: background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 0 10px rgba(204, 0, 0, 0.4);
}

#submitMessageBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 0 20px rgba(204, 0, 0, 0.6);
}

#submitMessageBtn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15),
                0 0 10px rgba(204, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════
   LIQUID GLASS SPLINE INTEGRATION
   ═══════════════════════════════════════════════════════ */
.glass-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glass-hero-background spline-viewer {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    transition: opacity var(--duration-normal) ease;
}

[data-theme="dark"] .glass-hero-background spline-viewer {
    opacity: 0.8;
}

/* Enhanced shadow for cards in dark mode to offset transparent glass */
[data-theme="dark"] .service-plus-card,
[data-theme="dark"] .product-card {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Ensure Hero Content is always above Spline */
.hero__content {
    z-index: 10;
}

/* ═══════════════════════════════════════════════════════
   INSTAGRAM FEED (SOCIAL PROOF)
   ═══════════════════════════════════════════════════════ */
.instagram-section {
    padding: 6rem 0;
    background: var(--surface, #ffffff);
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .instagram-section {
    background: var(--surface, #121212);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .instagram-feed {
        grid-template-columns: 1fr;
    }
}

.instagram-post, .instagram-skeleton {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

[data-theme="dark"] .instagram-post,
[data-theme="dark"] .instagram-skeleton {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-post:hover img {
    transform: scale(1.08);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay svg {
    width: 48px;
    height: 48px;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transform: scale(0.8) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-post:hover .instagram-overlay svg {
    transform: scale(1) translateY(0);
}

.instagram-video-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
}

.instagram-video-icon svg {
    width: 16px;
    height: 16px;
}

/* SKELETON LOADING */
.instagram-skeleton {
    background: linear-gradient(90deg, rgba(130,130,130,0.05) 25%, rgba(130,130,130,0.12) 50%, rgba(130,130,130,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
}

[data-theme="dark"] .instagram-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.02) 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* FALLBACK */
.instagram-fallback {
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 2rem;
    background: rgba(204, 0, 0, 0.03);
    border-radius: 16px;
    border: 1px dashed rgba(204, 0, 0, 0.2);
}

[data-theme="dark"] .instagram-fallback {
    background: rgba(240, 62, 62, 0.05);
    border-color: rgba(240, 62, 62, 0.2);
}

.fallback-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary, #cc0000), #a50000);
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.25);
}

.fallback-banner::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: white;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="20" height="20" rx="5" stroke="black" stroke-width="1.5" fill="none"/><circle cx="12" cy="12" r="5" stroke="black" stroke-width="1.5" fill="none"/><circle cx="17.5" cy="6.5" r="1.5" fill="black"/></svg>') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="20" height="20" rx="5" stroke="black" stroke-width="1.5" fill="none"/><circle cx="12" cy="12" r="5" stroke="black" stroke-width="1.5" fill="none"/><circle cx="17.5" cy="6.5" r="1.5" fill="black"/></svg>') center/contain no-repeat;
}

.fallback-banner:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(204, 0, 0, 0.35);
}

/* ═══════════════════════════════════════════════════
   TECH SPEC MODALS
   ═══════════════════════════════════════════════════ */
.tech-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s ease;
}

.tech-modal.active {
    visibility: visible;
    opacity: 1;
}

.tech-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tech-modal__content {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .tech-modal__content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-modal.active .tech-modal__content {
    transform: translateY(0) scale(1);
}

.tech-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Sombra base sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Transición suave */
    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.tech-modal__close:hover {
    transform: translateY(-3px);
    background: rgba(204, 0, 0, 0.08);
    color: var(--primary, #cc0000);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.tech-modal__close:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .tech-modal__close {
    color: #aaa;
}
[data-theme="dark"] .tech-modal__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tech-modal__title {
    color: var(--primary, #cc0000);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .tech-modal__title {
    color: #f03e3e;
}

.tech-modal__desc {
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .tech-modal__desc {
    color: #d0d0d0;
}

/* ═══════════════════════════════════════════════════════
   SECCIÓN: Autoridad y Confianza
   ═══════════════════════════════════════════════════════ */
.autoridad-confianza {
    background: #0a0a0a;
    color: #ffffff;
    padding: var(--space-32) 0;
    position: relative;
    z-index: 10;
}

.autoridad-confianza .section__title {
    color: #ffffff;
}

.autoridad-confianza .section__subtitle,
.autoridad-confianza .section__label {
    opacity: 0.9;
}

.autoridad-confianza__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.card-confianza {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.card-confianza:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 0, 0, 0.4); /* Rojo logo SIDP */
    box-shadow: 0 8px 32px rgba(204, 0, 0, 0.15); /* Rojo logo SIDP glow */
}

/* Icon accent in requested Azul. 
   Fall back to standard corporative SIDP Blue: #0050A0 if omitted in global CSS */
.card-confianza__icon {
    color: #0050A0; 
    margin-bottom: 1.5rem;
    display: inline-flex;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(0, 80, 160, 0.1);
}

.card-confianza__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-confianza__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7); /* Texto secundario gris claro */
}

/* Responsive constraints */
@media (max-width: 1023px) {
    .autoridad-confianza__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-confianza:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .autoridad-confianza__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .card-confianza:nth-child(3) {
        max-width: 100%;
    }
}
