:root {
    --primary: #0d1630; /* Logo Color */
    --secondary: #14264d;
    --accent: #FF7A00; /* Vibrant Orange */
    --light: #F8FAFC; /* Premium Light Gray */
    --white: #ffffff;
    --text: #1E293B; /* Deep Slate */
    --text-light: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(13, 22, 48, 0.08);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--light);
    color: var(--text);
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Crossfade global del cambio de tema (View Transitions API) */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.4s;
    animation-timing-function: ease;
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

/* ─── Accesibilidad: desactivar TODAS las animaciones si el usuario lo solicita ───
   Cubre a usuarios con motion sickness, dispositivos lentos y batería baja.
   También elimina el lag reportado en equipos de gama baja. */
@media (prefers-reduced-motion: reduce) {
    *:not(#preloader):not(#preloader *),
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Deshabilitar AOS */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    #preloader .ring {
        animation-duration: 1.2s !important;
        animation-iteration-count: infinite !important;
    }
    #preloader .loader-logo {
        animation: none !important;
        opacity: 1 !important;
    }
}

body.theme-transitioning,
body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
    transition:
        background 0.45s ease,
        background-color 0.45s ease,
        color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        outline-color 0.45s ease,
        fill 0.45s ease,
        stroke 0.45s ease,
        opacity 0.45s ease,
        filter 0.45s ease !important;
    transition-delay: 0s !important;
}

/* Transiciones base para dark mode (ida y vuelta) */
.about-section,
.services-section,
.projects-section,
.blog-section,
.contact-section,
.testimonial-section,
.partners-section,
.coverage-section,
.success-section,
.pricing-section,
.faq-section,
.tech-stack-section,
.counter-section,
.custom-navbar.navbar-scrolled,
.custom-navbar,
.navbar-toggler,
.service-card,
.project-card,
.blog-card,
.testimonial-card-inner,
.contact-form,
.contact-card,
.about-card-modern,
.step-card,
.success-card-inner,
.pricing-card,
.faq-item,
.counter-card,
footer,
.footer-bottom,
.nav-link,
.section-title,
h1, h2, h3, h4, h5,
.btn,
.form-control,
.partner-track img,
.pricing-cta-btn,
.chatbot-container,
.chatbot-toggle,
.zone-block {
    transition: background 0.45s ease, background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, fill 0.45s ease, stroke 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

a {
    text-decoration: none;
}

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

/* ─── Composición GPU para elementos animados frecuentemente ───
   Promueve estos elementos a su propia capa de composición,
   eliminando el jank (saltos) durante animaciones y scroll. */
.hero-team-card,
.partner-track,
.about-badge-float,
.loader .ring,
.whatsapp-float,
.az-chat-fab,
.az-chat-panel,
#btnTop {
    will-change: transform;
    transform: translateZ(0); /* Fuerza capa GPU en Safari */
}

/* El slider de socios necesita composición para el scroll suave */
.partner-slider {
    will-change: scroll-position;
}

/* Cards con hover 3D: solo activar will-change en hover para no consumir memoria innecesaria */
.service-card:hover,
.blog-card:hover,
.project-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
    will-change: transform, box-shadow;
}

section {
    margin-bottom: 0;
}

.row {
    margin-bottom: 0;
}

.btn-primary {
    background: rgba(13, 22, 48, 0.08) !important;
    border: 2px solid rgba(13, 22, 48, 0.3) !important;
    border-radius: 999px;
    box-shadow: 0 8px 25px rgba(13, 22, 48, 0.1);
    color: var(--primary) !important;
    font-weight: 700;
    padding: 16px 38px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 22, 48, 0.25);
}

.custom-navbar {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.custom-navbar.navbar-scrolled {
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(13, 22, 48, 0.06);
    box-shadow: 0 4px 20px rgba(13, 22, 48, 0.06);
}

.navbar-center-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Backdrop del menú mobile — overlay via body::after */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.menu-open::after {
    opacity: 1;
    pointer-events: auto;
}

body .fixed-top {
    z-index: 10001 !important;
}

body.menu-open .whatsapp-float,
body.menu-open #btnTop,
body.menu-open .az-chat-fab,
body.menu-open .az-chat-panel {
    pointer-events: none;
}

/* Hamburguesa → X animada (3 barras) */
.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-radius 0.3s ease;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:hover {
    background: rgba(255, 122, 0, 0.1) !important;
    border-radius: 50%;
}

.hamburger-box {
    width: 22px;
    height: 16px;
    position: relative;
    display: block;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    left: 0;
    z-index: 2;
    transition: transform 0.35s ease, opacity 0.35s ease, background 0.3s ease;
}

.line-top {
    top: 0;
}

.line-mid {
    top: 7px;
}

.line-bot {
    top: 14px;
}

.navbar-toggler:hover .hamburger-line {
    background: var(--accent);
}

/* X: middle bar fades, top & bottom morph using only transform */
.navbar-toggler:not(.collapsed) .line-mid {
    transform: scaleX(0);
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .line-top {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .line-bot {
    transform: translateY(-7px) rotate(-45deg);
}

/* Asegurar que la hamburguesa/X esté sobre el logo */
.hamburger-box {
    z-index: 5;
}

.navbar-brand {
    font-size: 1.6rem;
}

.logo-header {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-header:hover {
    transform: scale(1.02);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(13, 22, 48, 0.12);
}

.social-icons a {
    color: var(--primary);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icons a:hover,
.social-icons a:focus-visible {
    color: var(--accent);
    background: rgba(255, 122, 0, 0.08);
    transform: translateY(-2px);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
    color: var(--accent) !important;
    background: rgba(255, 122, 0, 0.06);
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 80px 0 70px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(245, 247, 250, 0.55), rgba(245, 247, 250, 0.35)),
        url('../img/hero-consultoria.png');
    background:
        linear-gradient(rgba(245, 247, 250, 0.55), rgba(245, 247, 250, 0.35)),
        -webkit-image-set(
            url('../img/hero-consultoria.avif') type('image/avif'),
            url('../img/hero-consultoria.webp') type('image/webp')
        );
    background:
        linear-gradient(rgba(245, 247, 250, 0.55), rgba(245, 247, 250, 0.35)),
        image-set(
            url('../img/hero-consultoria.avif') type('image/avif'),
            url('../img/hero-consultoria.webp') type('image/webp')
        );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroZoom 20s ease-in-out infinite alternate;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero::before {
        background:
            linear-gradient(rgba(245, 247, 250, 0.55), rgba(245, 247, 250, 0.35)),
            url('../img/hero-consultoria-768w.webp');
        background:
            linear-gradient(rgba(245, 247, 250, 0.55), rgba(245, 247, 250, 0.35)),
            image-set(
                url('../img/hero-consultoria-768w.avif') type('image/avif'),
                url('../img/hero-consultoria-768w.webp') type('image/webp')
            );
    }
}

@media (max-width: 480px) {
    .hero::before {
        background:
            linear-gradient(rgba(245, 247, 250, 0.55), rgba(245, 247, 250, 0.35)),
            url('../img/hero-consultoria-480w.webp');
        background:
            linear-gradient(rgba(245, 247, 250, 0.55), rgba(245, 247, 250, 0.35)),
            image-set(
                url('../img/hero-consultoria-480w.avif') type('image/avif'),
                url('../img/hero-consultoria-480w.webp') type('image/webp')
            );
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    margin: auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(13, 22, 48, 0.85);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    margin: 18px auto;
    color: var(--text);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-outline-light {
    background: rgba(13, 22, 48, 0.08) !important;
    border: 2px solid rgba(13, 22, 48, 0.3) !important;
    border-radius: 999px;
    box-shadow: 0 8px 25px rgba(13, 22, 48, 0.1);
    color: var(--primary) !important;
    font-weight: 700;
    padding: 16px 38px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-outline-light:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 22, 48, 0.25);
}

.btn-outline-accent {
    border: 2px solid var(--primary) !important;
    background: transparent !important;
    color: var(--primary) !important;
    border-radius: 999px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: rgba(255, 122, 0, 0.15) !important;
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    transform: translateY(-3px);
}

.hero-team-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--glass-shadow);
    border: var(--glass-border);
    margin-top: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
}

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

.hero-team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,122,0,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(13, 22, 48, 0.15);
    animation-play-state: paused;
}


.hero-team-card h3 {
    color: var(--primary);
}
.hero-team-card ul li {
    color: var(--text);
}

.hero-team-card h2 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.hero-team-card h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.team-members {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.member {
    text-align: center;
    flex: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
    position: relative;
}

.member:hover {
    transform: translateY(-8px);
}

.member-img-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent), #FFB067);
    background-size: 200% 200%;
    animation: gradientRotate 4s ease infinite;
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.25);
    transition: all 0.4s ease;
}

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

.member-img-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #FFB067, var(--accent));
    background-size: 200% 200%;
    animation: gradientRotate 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.member:hover .member-img-wrap::after {
    opacity: 0.6;
}

.member:hover .member-img-wrap {
    transform: scale(1.08);
    box-shadow: 0 16px 40px rgba(255, 122, 0, 0.45);
}

.member-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background: #fff;
    transition: transform 0.4s ease;
}

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

.member-social {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(13, 22, 48, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.member:hover .member-social {
    opacity: 1;
    transform: scale(1);
}

.member-social a {
    color: #fff;
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.member-social a:hover {
    transform: scale(1.2);
    color: var(--accent);
    background: rgba(255,122,0,0.2);
}

.member-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.member:hover .member-name {
    color: var(--accent);
}

.member-role {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.3;
    margin-top: 2px;
}

.member-hover-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.member:hover .member-hover-info {
    max-height: 40px;
    margin-top: 6px;
}

.member-hover-info span {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.3;
    background: rgba(255,122,0,0.1);
    padding: 3px 8px;
    border-radius: 8px;
}

.team-availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #22c55e;
    position: relative;
    z-index: 1;
}

.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

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

.team-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(13, 22, 48, 0.08);
    font-weight: 500;
}

.hero-benefits {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    color: #ffffff;
}

.hero-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero-benefits i {
    color: var(--accent);
    font-size: 1.2rem;
}

.scroll-mouse {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 32px;
    height: 52px;
    border: 2px solid var(--accent);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent);
    border-radius: 10px;
    animation: scrollWheel 2s infinite;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    z-index: 9999;
    text-decoration: none;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-badge {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding: 4px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
}

.section-title {
    color: var(--primary);
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 15px 0 0;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 12px auto 0;
    max-width: 560px;
    line-height: 1.7;
}

/* Coverage section */
.coverage-section {
    padding: 110px 0;
    position: relative;
    background: #ffffff;
}

.coverage-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 12px auto 0;
    max-width: 620px;
    line-height: 1.7;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.coverage-lead {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.coverage-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.zone-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fbff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(13, 22, 48, 0.04);
    transition: all 0.3s ease;
}

.zone-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 22, 48, 0.06);
    border-color: rgba(255, 122, 0, 0.15);
}

.zone-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(255, 122, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.zone-block:hover .zone-icon {
    background: var(--accent);
    color: #ffffff;
}

.zone-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.zone-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.coverage-map-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(13, 22, 48, 0.08);
    border: 1px solid rgba(13, 22, 48, 0.06);
}

.coverage-map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Steps methodology */
.coverage-steps {
    margin-top: 80px;
    text-align: center;
}

.coverage-steps-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
}

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

.step-card {
    background: #f8fbff;
    border: 1px solid rgba(13, 22, 48, 0.04);
    border-radius: 16px;
    padding: 36px 28px 32px;
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13, 22, 48, 0.06);
    border-color: rgba(255, 122, 0, 0.15);
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(13, 22, 48, 0.25);
    line-height: 1;
    pointer-events: none;
}

body.dark-mode .step-number {
    color: rgba(255, 255, 255, 0.12);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 122, 0, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 1.5rem;
    transition: all 0.35s ease;
}

.step-card:hover .step-icon {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

section[id] {
    scroll-margin-top: -30px;
}

.about-section,
.projects-section,
.testimonial-section,
.blog-section,
.contact-section,
.partners-section {
    padding: 110px 0;
    background: #ffffff;
}

.about-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Decorative background blob */
.about-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Image wrapper */
.about-img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    z-index: 1;
    padding: 24px 42px 50px 24px;
    transition: filter 0.3s ease;
}

.about-main-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(13, 22, 48, 0.15);
    display: block;
    position: relative;
    z-index: 1;
}

/* Floating experience badge */
.about-badge-float {
    position: absolute;
    bottom: 0;
    right: 8px;
    background: var(--accent);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.35);
    z-index: 2;
    animation: floatBadge 3s ease-in-out infinite;
}

.about-badge-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-badge-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.about-badge-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.35;
}

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

/* Orange decorative square */
.about-deco-square {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    border: 4px solid var(--accent);
    border-radius: 18px;
    opacity: 0.4;
    z-index: 0;
}

/* Lead paragraph */
.about-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Title accent word */
.title-accent {
    color: var(--accent);
}

/* Horizontal modern cards */
.about-cards-modern {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-card-modern {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--light);
    border-radius: 16px;
    padding: 22px 24px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 20px rgba(13, 22, 48, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card-modern:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(255, 122, 0, 0.12);
}

.acm-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--accent), #FFB067);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

.acm-body h4 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.acm-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 26px 20px;
    height: 100%;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 51, 160, 0.12);
}

.about-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.about-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.counter-section {
    padding: 110px 0;
    position: relative;
    background: linear-gradient(rgba(248, 251, 255, 0.65), rgba(248, 251, 255, 0.75)), url('../img/counter_bg.jpg') center/cover fixed;
}

.counter-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    height: 100%;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.04) 0%, rgba(13, 22, 48, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.counter-card:hover::before {
    opacity: 1;
}

.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 22, 48, 0.08);
    border-color: rgba(255, 122, 0, 0.3);
}

.counter-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 122, 0, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: var(--accent);
    font-size: 1.6rem;
    transition: all 0.4s ease;
}

.counter-card:hover .counter-card-icon {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.3);
}

.counter-card .counter {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1;
}

.counter-card p {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.counter-card-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.services-section {
    padding: 110px 0;
    background: #f8fbff;
}

.services-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 12px auto 0;
    max-width: 600px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(13, 22, 48, 0.06);
    border-radius: 16px;
    padding: 36px 30px 32px;
    box-shadow: 0 2px 12px rgba(13, 22, 48, 0.04);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13, 22, 48, 0.08);
    border-color: rgba(255, 122, 0, 0.2);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 122, 0, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition: all 0.35s ease;
}

.service-card:hover .service-card-icon {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

body.dark-mode .service-card p {
    color: #cbd5e1 !important;
}

.service-card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-card-link i {
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}

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

.service-card:hover .service-card-link i {
    transform: translateX(4px);
}
.related-service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.related-service-link i {
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}
.card:hover .related-service-link {
    color: var(--primary);
}
body.dark-mode .card:hover .related-service-link {
    color: #fff;
}
.card:hover .related-service-link i {
    transform: translateX(4px);
}
.projects-section {
    padding: 110px 0;
    position: relative;
    background: #f8fafc;
}

.project-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 15px 0 0;
    line-height: 1.7;
}

.project-card {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(13,22,48,0.10);
    border-color: rgba(255,122,0,0.2);
}

.project-img-wrap {
    position: relative;
    overflow: hidden;
    transition: filter 0.3s ease;
}

.project-img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.project-card:hover .project-img-wrap img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 20px 16px;
    background: linear-gradient(to top, rgba(13,22,48,0.85) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay-content {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech {
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project-info {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-category {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.project-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 8px;
    line-height: 1.35;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.project-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.project-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: var(--primary);
}

.project-link:hover i {
    transform: translateX(4px);
}

/* ─── Resultados (success) - light theme ─── */

.success-section {
    padding: 110px 0;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.success-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,122,0,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.success-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 15px 0 0;
    line-height: 1.7;
}

.success-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    color: var(--text);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--glass-shadow);
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(255,122,0,0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
}

.success-card:hover::before {
    opacity: 1;
}

.success-card:hover {
    border-color: rgba(255,122,0,0.25);
    box-shadow: 0 20px 48px rgba(13,22,48,0.08);
}

.success-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: translate 0.4s ease;
}

.success-card:hover .success-card-inner {
    translate: 0 -8px;
}

.success-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255,122,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.4s ease;
    margin-bottom: 4px;
}

.success-card:hover .success-icon-wrap {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(255,122,0,0.3);
}

.success-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.success-num {
    font-size: 3.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent) 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.success-suffix {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.4;
}

.success-bar {
    width: 80%;
    height: 4px;
    background: rgba(0,0,0,0.06);
    border-radius: 4px;
    overflow: hidden;
    margin: 4px 0 8px;
}

.success-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ffb347);
    border-radius: 4px;
    transition: width 1s ease;
}

.success-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.success-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    max-width: 260px;
}

.success-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255,122,0,0.08);
    padding: 4px 14px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.success-card:hover .success-tag {
    background: rgba(255,122,0,0.15);
}

.testimonial-section {
    padding: 110px 0;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.75)), url('../img/testimonial_bg.jpg') center/cover fixed;
}

.testimonial-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 15px 0 0;
    line-height: 1.7;
}

.testimonial-card {
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: var(--glass-shadow);
    transition: all 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(255,122,0,0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(13,22,48,0.10);
    border-color: rgba(255,122,0,0.25);
}

.testimonial-card-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-quote-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,122,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.05) rotate(-8deg);
}

.testimonial-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff9a3e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar span {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 2px;
}

.testimonial-info span {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ─── Testimonial submit form ─── */

.testimonial-form-section {
    margin-top: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-form-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px dashed rgba(255,122,0,0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--glass-shadow);
}

.testimonial-form-toggle:hover {
    background: rgba(255,122,0,0.08);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255,122,0,0.15);
}

.testimonial-form-toggle i:last-child {
    transition: transform 0.35s ease;
}

.testimonial-form-toggle.active i:last-child {
    transform: rotate(180deg);
}

.testimonial-submit-form {
    display: none;
    margin-top: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: var(--glass-shadow);
}

.testimonial-submit-form.open {
    display: block;
    animation: fadeSlideUp 0.4s ease;
}

.testimonial-submit-form.closing {
    display: block;
    animation: fadeSlideDown 0.4s ease;
}

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

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

.testimonial-form-header {
    margin-bottom: 24px;
    text-align: center;
}

.testimonial-form-header h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 4px;
}

.testimonial-form-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.rating-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.rating-select span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.rating-stars {
    display: flex;
    gap: 6px;
    direction: row;
}

.rating-stars i {
    font-size: 1.6rem;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-stars i.hover,
.rating-stars i.active {
    color: #f59e0b;
    transform: scale(1.1);
}

.rating-stars i.active {
    text-shadow: 0 0 12px rgba(245,158,11,0.4);
}

.tform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tform-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.tform-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.tform-group input,
.tform-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    font-size: 0.93rem;
    color: var(--text);
    transition: all 0.3s ease;
    outline: none;
}

.tform-group input:focus,
.tform-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,122,0,0.1);
    background: #ffffff;
}

.tform-group input::placeholder,
.tform-group textarea::placeholder {
    color: #94a3b8;
}

.tform-group textarea {
    resize: vertical;
    min-height: 90px;
}

.tform-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), #ff9a3e);
    color: #ffffff;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
}

.tform-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255,122,0,0.3);
}

.tform-submit i {
    transition: transform 0.3s ease;
}

.tform-submit:hover i {
    transform: translateX(4px) translateY(-2px);
}

.tform-feedback {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin: 12px 0 0;
    min-height: 0;
}

.tform-feedback:empty {
    display: none;
}



.partner-slider {
    overflow: hidden;
    margin-top: 60px;
}

.partner-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.partner-track img {
    width: 180px;
    height: 90px;
    object-fit: contain;
    margin-right: 70px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-track picture {
    display: inline-flex;
}

.partner-track img:hover {
    filter: none;
    opacity: 1;
}

.blog-section {
    padding: 110px 0;
    position: relative;
    background: #f8fafc;
}

.blog-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 15px 0 0;
    line-height: 1.7;
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(13,22,48,0.10);
    border-color: rgba(255,122,0,0.2);
}

.blog-img-wrap {
    position: relative;
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.06);
}

.blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,122,0,0.9);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.blog-content {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.blog-meta span {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    font-size: 0.75rem;
}

.blog-content h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 8px;
    line-height: 1.35;
}

.blog-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff9a3e);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-author span:last-child {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
}

.blog-read-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.blog-read-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary);
}

.blog-read-more:hover i,
.blog-card:hover .blog-read-more i {
    transform: translateX(4px);
}

.blog-card:hover .blog-read-more {
    color: var(--primary);
}

/* Related article cards en páginas de blog */
.related-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13,22,48,0.08);
    border-color: rgba(255,122,0,0.2) !important;
}
.related-card:hover .related-link {
    color: var(--primary) !important;
}
.related-card:hover .related-link i {
    transform: translateX(4px);
}
.related-link i {
    transition: transform 0.3s ease;
}

/* ─── Blog trend submit form ─── */

.blog-trend-section {
    margin-top: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.blog-trend-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px dashed rgba(255,122,0,0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--glass-shadow);
}

.blog-trend-toggle:hover {
    background: rgba(255,122,0,0.08);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255,122,0,0.15);
}

.blog-trend-toggle i:last-child {
    transition: transform 0.35s ease;
}

.blog-trend-toggle.active i:last-child {
    transform: rotate(180deg);
}

.blog-trend-form {
    display: none;
    margin-top: 20px;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(13,22,48,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.blog-trend-form.open {
    display: block;
    animation: fadeSlideUp 0.4s ease;
}

.blog-trend-form.closing {
    display: block;
    animation: fadeSlideDown 0.4s ease;
}

.trend-form-header {
    margin-bottom: 24px;
    text-align: center;
}

.trend-form-header h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 4px;
}

.trend-form-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.tform-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    font-size: 0.93rem;
    color: var(--text);
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.tform-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,122,0,0.1);
    background: #ffffff;
}

.contact-section {
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(248, 250, 252, 0.65), rgba(248, 250, 252, 0.75)), url('../img/contact_bg.jpg') center/cover fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,122,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 15px 0 0;
    line-height: 1.7;
}

.contact-subtitle strong {
    color: var(--accent);
    font-weight: 700;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13,22,48,0.08);
    border-color: rgba(255,122,0,0.2);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255,122,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon {
    background: var(--accent);
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 8px 25px rgba(255,122,0,0.25);
}

.contact-card-icon i {
    color: var(--accent);
    font-size: 1.2rem;
    transition: color 0.4s ease;
}

.contact-card:hover .contact-card-icon i {
    color: var(--white);
}

.contact-card-body h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 2px;
}

.contact-card-body a {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.25s;
}

.contact-card-body a:hover {
    color: var(--accent);
}

.contact-card-body span {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 1px;
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 36px 34px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form:hover {
    box-shadow: 0 20px 40px rgba(13,22,48,0.08);
    border-color: rgba(255,122,0,0.2);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 4px;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}

.input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.input-wrap:focus-within i {
    color: var(--accent);
}

/* Icono del textarea alineado con el placeholder */
.input-wrap .fa-comment-dots {
    top: 18px;
    transform: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    font-size: 0.93rem;
    color: var(--text);
    transition: all 0.3s ease;
    outline: none;
}

.contact-form textarea {
    padding-left: 42px;
    resize: vertical;
    min-height: 110px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,122,0,0.1);
    background: var(--white);
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), #ff9a3e);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    margin-top: 4px;
}

.contact-submit-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255,122,0,0.35);
}

.contact-submit-btn:hover i {
    transform: translateX(4px) translateY(-2px);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.contact-submit-btn:disabled i {
    transform: none !important;
}

.form-feedback {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin: 12px 0 0;
    min-height: 0;
    transition: all 0.3s ease;
}

.form-feedback:empty {
    display: none;
}

.form-feedback[style*="color"] {} /* placeholder for JS color */

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
}

footer {
    background: var(--primary);
    color: #e2e8f0;
    padding: 80px 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #FFB067, var(--accent));
    background-size: 200% 100%;
    animation: footerAccent 4s ease infinite;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-brand-col {
    text-align: center;
}

.footer-brand-col .footer-social {
    justify-content: center;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 18px 0 24px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-contact li i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
    font-size: 0.85rem;
}

.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom strong {
    color: #e2e8f0;
}

#btnTop {
    position: fixed;
    right: 20px;
    bottom: 92px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
}

#btnTop.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#btnTop:hover {
    box-shadow: 0 6px 20px rgba(255,122,0,0.3);
}

#btnTop.visible:hover {
    transform: translateY(-3px);
}

#preloader {
    position: fixed;
    inset: 0;
    background: #081120;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: opacity 0.5s ease;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    z-index: 1;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(0, 195, 255, 0.6));
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top: 3px solid #FF7A00;
    border-radius: 50%;
}

.ring:nth-child(2) {
    animation-delay: 0.15s;
}

.ring:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(18px);
    }
}

@media (max-width: 1199px) {
    .hero {
        min-height: auto;
        padding: 120px 0 25px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .hero-team-card {
        padding: 22px;
    }

    .hero-benefits {
        gap: 24px;
        margin-top: 28px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-image img {
        max-width: 440px;
    }
}

@media (max-width: 991px) {
    section[id] {
        scroll-margin-top: -15px;
    }

    .logo-header {
        width: 150px;
        max-width: 42vw;
    }

    .custom-navbar {
        background: transparent !important;
        min-height: 90px;
        padding: 10px 0;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .custom-navbar.navbar-scrolled {
        background: rgba(248, 250, 252, 0.95) !important;
        border-bottom: 1px solid rgba(13, 22, 48, 0.08);
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        top: 10px;
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
        margin: 0;
        z-index: 300;
    }

    .navbar-toggler {
        position: absolute;
        left: 20px;
        top: 22px;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        z-index: 200;
        outline: none !important;
    }

    @keyframes menuFadeOut {
        0% { opacity: 1; }
        100% { opacity: 0; }
    }
    
    .navbar-collapse {
        margin-top: 10px;
        background: #ffffff;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        position: relative;
        z-index: 100;
        overflow: hidden;
        border: 3px solid rgba(13, 22, 48, 0.08);
    }
    
    .navbar-collapse.menu-exit {
        animation: menuFadeOut 0.55s ease forwards;
    }
    
    @keyframes menuFadeOut {
        0% { opacity: 1; }
        100% { opacity: 0; }
    }

    .navbar-center-wrap {
        flex-direction: column;
        width: 100%;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 20px;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-radius: 10px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin: 20px 0 0;
        padding: 20px 0 0;
        border-top: 1px solid #e5e7eb;
        border-left: none;
        width: 100%;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    #darkModeToggle {
        margin-left: 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 20px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-team-card {
        margin-top: 18px;
    }

    .hero-benefits {
        justify-content: center;
        gap: 18px 22px;
    }

    .team-members {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .member {
        flex: 0 0 calc(50% - 12px);
        max-width: 220px;
    }

    .about-image {
        margin-bottom: 24px;
    }

    .about-section,
    .projects-section,
    .testimonial-section,
    .blog-section,
    .contact-section,
    .partners-section,
    .services-section,
    .success-section,
    .counter-section,
    .coverage-section {
        padding: 72px 0;
    }

    .coverage-grid {
        gap: 40px;
        margin-top: 40px;
    }

    .coverage-steps {
        margin-top: 60px;
    }

    .counter-card .counter {
        font-size: 3.2rem;
    }

    .project-img-wrap img,
    .blog-img-wrap img {
        height: 200px;
    }

    .testimonial-card {
        padding: 28px;
    }

    .scroll-mouse {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-header {
        width: 180px;
        height: auto;
        transition: 0.3s ease;
    }

    .custom-navbar {
        min-height: 80px;
        padding: 8px 0;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 30px;
        align-items: flex-start;
    }

    .hero-badge {
        margin-bottom: 14px;
    }

    .hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.35;
        margin-bottom: 14px;
        text-align: center;
        opacity: 1 !important;
        visibility: visible !important;
        color: #0d1630 !important;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
        margin: 16px 0 0;
    }

    .hero-team-card {
        padding: 20px;
    }

    .hero-benefits {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 24px;
    }

    .team-members {
        flex-direction: column;
        align-items: center;
    }

    .member {
        flex: 1 1 100%;
        max-width: 220px;
    }

    .member-img-wrap {
        width: 85px;
        height: 85px;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-section,
    .projects-section,
    .testimonial-section,
    .blog-section,
    .contact-section,
    .partners-section,
    .services-section,
    .success-section,
    .counter-section,
    .coverage-section {
        padding: 64px 0;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .coverage-zones {
        grid-template-columns: 1fr 1fr;
    }

    .coverage-map-container {
        height: 320px;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .step-card {
        padding: 28px 20px 24px;
    }

    .coverage-steps-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 36px;
    }

    .counter-card {
        padding: 28px 20px;
    }

    .counter-card .counter {
        font-size: 2.6rem;
    }

    .project-img-wrap img,
    .blog-img-wrap img {
        height: 180px;
    }

    .testimonial-card {
        padding: 22px;
    }

    .contact-form {
        padding: 28px 20px;
    }

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

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

	.testimonial-submit-form {
		padding: 24px 20px;
	}

	.rating-stars i {
		font-size: 1.4rem;
	}

	.map-section iframe {
        height: 300px;
    }

    footer {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
        padding-bottom: 40px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .scroll-mouse {
        display: none;
    }



.whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        right: 16px;
        bottom: 16px;
    }

    #btnTop {
        right: 16px;
        bottom: 78px;
        width: 50px;
        height: 50px;
    }

    .az-chat-fab {
        right: 16px;
        bottom: 142px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 35px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 1.35rem !important;
        line-height: 1.35;
        opacity: 1 !important;
        visibility: visible !important;
        color: #0d1630 !important;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .btn-primary {
        width: 100%;
        padding: 14px 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 32px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .counter-card .counter {
        font-size: 2.2rem;
    }

    .counter-card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .counter-card-label {
        font-size: 0.8rem;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 32px;
    }

    .coverage-zones {
        grid-template-columns: 1fr;
    }

    .coverage-map-container {
        height: 240px;
    }

    .coverage-steps {
        margin-top: 48px;
    }

    .coverage-steps-title {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

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

    .step-card {
        padding: 24px 20px 22px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .project-info {
        padding: 20px;
    }

    .blog-content {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .logo-footer {
        width: 200px;
        margin: 0 auto;
    }

    .partner-track img {
        width: 110px;
        height: 60px;
        margin-right: 28px;
    }
}

.logo-footer {
    width: 270px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    transition: 0.3s ease;
}

.logo-footer:hover {
    transform: scale(1.02);
}

/* =============================================
   DARK MODE
   ============================================= */

body.dark-mode {
    --primary: #e8edf7;
    --secondary: #c5d0e8;
    --accent: #FF7A00;
    --light: #0a0f1e;
    --white: #111827;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --glass-bg: rgba(17, 24, 39, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    background: #0a0f1e;
    color: #e2e8f0;
}

body.dark-mode .custom-navbar {
    background: transparent;
    border-bottom-color: transparent;
}

body.dark-mode .custom-navbar.navbar-scrolled {
    background: rgba(10, 15, 30, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .about-section,
body.dark-mode .services-section,
body.dark-mode .projects-section,
body.dark-mode .blog-section,
body.dark-mode .contact-section,
body.dark-mode .partners-section,
body.dark-mode .coverage-section,
body.dark-mode .success-section,
body.dark-mode .pricing-section,
body.dark-mode .faq-section,
body.dark-mode .tech-stack-section {
    background: #0a0f1e;
}

body.dark-mode .testimonial-section {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.70) 0%, rgba(17, 24, 39, 0.80) 100%), url('../img/testimonial_bg.jpg') center/cover fixed;
}

body.dark-mode .counter-section {
    background: linear-gradient(135deg, rgba(13, 22, 48, 0.70) 0%, rgba(17, 24, 39, 0.80) 100%), url('../img/counter_bg.jpg') center/cover fixed;
}

body.dark-mode .contact-section {
    background: linear-gradient(135deg, rgba(13, 22, 48, 0.70) 0%, rgba(17, 24, 39, 0.80) 100%), url('../img/contact_bg.jpg') center/cover fixed;
}

body.dark-mode .service-card,
body.dark-mode .project-card,
body.dark-mode .blog-card,
body.dark-mode .contact-form,
body.dark-mode .contact-card,
body.dark-mode .about-card-modern,
body.dark-mode .step-card,
body.dark-mode .success-card-inner,
body.dark-mode .pricing-card,
body.dark-mode .faq-item,
body.dark-mode .counter-card {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
}

body.dark-mode .faq-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

body.dark-mode .nav-link,
body.dark-mode .section-title,
body.dark-mode h1, body.dark-mode h2,
body.dark-mode h3, body.dark-mode h4,
body.dark-mode h5 {
    color: #e2e8f0 !important;
}

body.dark-mode .section-badge {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(255, 122, 0, 0.45);
    padding: 4px 14px;
    border-radius: 999px;
}

body.dark-mode .about-img-wrapper,
body.dark-mode .project-img-wrap {
    filter: brightness(0.85);
}

body.dark-mode footer {
    background: #060b18;
    border-top-color: rgba(255,255,255,0.05);
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(255,255,255,0.05);
}

body.dark-mode .faq-answer {
    color: #94a3b8;
}

body.dark-mode .blog-card .blog-content {
    background: #111827;
}

body.dark-mode .testimonial-submit-form,
body.dark-mode .blog-trend-form {
    background: #111827;
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #1e2a3a !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .partner-track img {
    filter: grayscale(100%);
    opacity: 0.7;
}

body.dark-mode .partner-track img:hover {
    filter: none;
    opacity: 1;
}

body.dark-mode .pricing-popular {
    background: linear-gradient(135deg, #1a2540 0%, #0d1630 100%);
}

/* Dark Mode Toggle Button (Navbar) */
#darkModeToggle {
    background: transparent;
    color: var(--primary);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 10px;
}

#darkModeToggle:hover {
    color: var(--accent);
    transform: rotate(20deg);
}

body.dark-mode #darkModeToggle {
    color: #FF7A00;
}

/* =============================================
   DARK MODE — NAVBAR, HERO, BOTONES, GLOBALES
   ============================================= */

body.dark-mode .navbar-scrolled {
    background: rgba(10, 15, 30, 0.92) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .social-icons {
    border-left-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .social-icons a {
    color: #e2e8f0;
}

body.dark-mode .social-icons a:hover {
    color: var(--accent);
}

body.dark-mode .navbar-toggler {
    background: transparent !important;
}

body.dark-mode .navbar-toggler:hover {
    background: rgba(255, 122, 0, 0.15) !important;
}

body.dark-mode .hamburger-line {
    background: #e2e8f0;
}

body.dark-mode .navbar-collapse.show,
body.dark-mode .navbar-collapse.collapsing {
    background: rgba(10, 15, 30, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .navbar-center-wrap {
    background: transparent;
}

@media (max-width: 991.98px) {
    body.dark-mode .navbar-center-wrap {
        background: rgba(10, 15, 30, 0.96);
    }
    
    body.dark-mode .social-icons {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        justify-content: center;
        margin-top: 20px;
    }
}




/* HERO y texto general que usa variables */
body.dark-mode .hero h1 {
    color: #f1f5f9;
}

body.dark-mode .hero p,
body.dark-mode .hero-description {
    color: #cbd5e1 !important;
}

body.dark-mode .hero::before {
    background:
        linear-gradient(rgba(8, 12, 26, 0.7), rgba(8, 12, 26, 0.55)),
        url('../img/hero-consultoria.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* BOTONES HERO — btn-primary / btn-outline-light */
body.dark-mode .btn-primary {
    background: rgba(255, 122, 0, 0.12) !important;
    border-color: rgba(255, 122, 0, 0.4) !important;
    color: var(--accent) !important;
}

body.dark-mode .btn-primary:hover {
    background: var(--accent) !important;
    color: #fff !important;
}

body.dark-mode .btn-outline-light {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #f1f5f9 !important;
}

body.dark-mode .btn-outline-light:hover {
    background: #f1f5f9 !important;
    color: #0d1630 !important;
}

body.dark-mode .btn.btn-lg {
    border-color: rgba(255, 255, 255, 0.3);
}

/* HERO TEAM CARD */
body.dark-mode .hero-team-card {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

body.dark-mode .hero-team-card h2,
body.dark-mode .hero-team-card h3,
body.dark-mode .hero-team-card ul li,
body.dark-mode .member-name,
body.dark-mode .member-role,
body.dark-mode .team-description,
body.dark-mode .member-hover-info span {
    color: #94a3b8 !important;
}

body.dark-mode .member-hover-info span {
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}

body.dark-mode .team-availability {
    color: #94a3b8;
}

body.dark-mode .avail-dot {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

body.dark-mode .member-img-wrap {
    border-color: rgba(255, 255, 255, 0.08);
}

/* PRELOADER */
body.dark-mode #preloader {
    background: #0a0f1e;
}

body.dark-mode .loader-logo {
    filter: drop-shadow(0 0 10px rgba(0, 195, 255, 0.6));
}

/* SCROLL MOUSE */
body.dark-mode .scroll-mouse {
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .scroll-mouse .wheel {
    background: var(--accent);
}

/* BACK TO TOP */
body.dark-mode #btnTop {
    background: #111827;
    color: var(--accent);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode #btnTop:hover {
    background: var(--accent);
    color: #fff;
}

/* CHAT FAB BADGE borde */
body.dark-mode .az-chat-fab .chat-fab-badge {
    border-color: #0a0f1e;
}

/* CTA SECTION (ya es oscuro, refuerzo de texto) */
body.dark-mode .cta-section {
    background: linear-gradient(135deg, #060b18 0%, #0d1630 60%, #0a1428 100%);
}

body.dark-mode .cta-content h2,
body.dark-mode .cta-content p,
body.dark-mode .cta-badge {
    color: #f1f5f9;
}

body.dark-mode .cta-content p {
    color: #cbd5e1 !important;
}

body.dark-mode .cta-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .cta-btn-secondary {
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Tech stack */
body.dark-mode .tech-item {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
}

body.dark-mode .tech-item img[src*="wordpress"] {
    filter: brightness(0) invert(1);
}

body.dark-mode .tech-item span {
    color: #cbd5e1;
}

body.dark-mode .tech-item:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

body.dark-mode .tech-item:hover span {
    color: #e2e8f0;
}

body.dark-mode .tech-item::after {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.08);
}

/* ABOUT / NOSOTROS textos */
body.dark-mode .about-lead,
body.dark-mode .about-card-modern .acm-body p,
body.dark-mode .acm-body h4,
body.dark-mode .section-subtitle,
body.dark-mode .services-subtitle,
body.dark-mode .coverage-subtitle,
body.dark-mode .coverage-lead,
body.dark-mode .zone-info p,
body.dark-mode .zone-info h4,
body.dark-mode .step-card h4,
body.dark-mode .step-card p,
body.dark-mode .pricing-desc,
body.dark-mode .pricing-label,
body.dark-mode .project-info p,
body.dark-mode .success-card-inner p,
body.dark-mode .testimonial-text,
body.dark-mode .testimonial-info span,
body.dark-mode .project-subtitle,
body.dark-mode .success-subtitle,
body.dark-mode .testimonial-subtitle,
body.dark-mode .blog-subtitle,
body.dark-mode .blog-content p,
body.dark-mode .footer-desc,
body.dark-mode .footer-links a,
body.dark-mode .footer-contact li,
body.dark-mode .footer-contact a,
body.dark-mode .footer-col h5,
body.dark-mode .contact-subtitle,
body.dark-mode .contact-card-body span {
    color: #cbd5e1 !important;
}

body.dark-mode .section-title .title-accent,
body.dark-mode .cta-content h2 span {
    color: var(--accent);
}

body.dark-mode .footer-links a:hover,
body.dark-mode .footer-contact a:hover {
    color: var(--accent) !important;
}

/* Pricing features list */
body.dark-mode .pricing-features li {
    color: #cbd5e1;
}

body.dark-mode .pricing-amount {
    color: #f1f5f9;
}

body.dark-mode .pricing-badge,
body.dark-mode .pricing-badge-popular {
    color: #f1f5f9;
}

body.dark-mode .pricing-cta {
    border-color: var(--accent);
    color: var(--accent);
}

body.dark-mode .pricing-cta:hover {
    background: var(--accent);
    color: #fff;
}

body.dark-mode .pricing-popular .pricing-cta {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

body.dark-mode .pricing-popular .pricing-cta:hover {
    background: #e06800;
    border-color: #e06800;
}

/* Contact form labels */
body.dark-mode .form-group label,
body.dark-mode .tform-group label,
body.dark-mode .rating-select > span,
body.dark-mode .testimonial-form-header h4,
body.dark-mode .testimonial-form-header p,
body.dark-mode .trend-form-header h4,
body.dark-mode .trend-form-header p {
    color: #e2e8f0;
}

/* Placeholder inputs dark */
body.dark-mode ::placeholder {
    color: #64748b;
    opacity: 1;
}

/* FAQ question text */
body.dark-mode .faq-question-text {
    color: #e2e8f0;
}

body.dark-mode .faq-icon {
    color: var(--accent);
}

/* =============================================
   DARK MODE — BLOG (páginas individuales)
   ============================================= */

body.dark-mode .blog-hero {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .blog-hero::before {
    filter: brightness(0.45) saturate(1.1);
}

/* Textos inline del blog que usan var(--primary) / text-dark / #fff */
body.dark-mode .blog-hero h1,
body.dark-mode .blog-hero .display-4,
body.dark-mode .blog-content-section h2,
body.dark-mode .blog-content-section h4,
body.dark-mode .related-blog-title,
body.dark-mode .fw-bolder,
body.dark-mode .fw-bold {
    color: #f1f5f9 !important;
}

body.dark-mode .blog-hero .text-dark,
body.dark-mode .blog-content-section .text-dark,
body.dark-mode .text-dark {
    color: #e2e8f0 !important;
}

body.dark-mode .blog-hero .text-muted,
body.dark-mode .blog-content-section .text-muted,
body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

/* Tarjeta de artículo principal */
body.dark-mode .blog-content-section .card {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1;
}

body.dark-mode .blog-content-section .card-body {
    color: #cbd5e1 !important;
}

body.dark-mode .blog-content-section .lead {
    color: #cbd5e1 !important;
}

body.dark-mode .blog-content-section .card-body p {
    color: #cbd5e1 !important;
}

/* Caja CTA dentro del artículo (tenía background #fff inline) */
body.dark-mode .blog-content-section [style*="background: #ffffff"],
body.dark-mode .blog-content-section [style*="background:#ffffff"] {
    background: #111827 !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .blog-content-section [style*="background: #ffffff"] h4,
body.dark-mode .blog-content-section [style*="background:#ffffff"] p {
    color: #cbd5e1 !important;
}

/* Artículos relacionados */
body.dark-mode .container .card.border-0 {
    background: #111827 !important;
    color: #cbd5e1;
}

body.dark-mode .container .card .text-muted {
    color: #94a3b8 !important;
}

body.dark-mode .container .card h4 {
    color: #f1f5f9 !important;
}

/* Badges del blog que usan var(--primary) de fondo */
body.dark-mode .badge[style*="var(--primary)"] {
    background-color: var(--accent) !important;
    color: #fff !important;
}

/* Avatar AZ en blog hero *//* Footer de blog usa mismo footer que index */
body.dark-mode .footer-links a {
    color: #cbd5e1;
}

/* Blog <main> con fondo inline #f8f9fa */
body.dark-mode main[style*="background-color"] {
    background-color: #0a0f1e !important;
}

/* Blog navbar (estilos inline propios) */
body.dark-mode .blog-hero + * {
    color: #e2e8f0;
}

body.dark-mode nav.custom-navbar .container a[style*="var(--primary)"] {
    color: #e2e8f0 !important;
}

body.dark-mode nav.custom-navbar .container a[style*="var(--primary)"]:hover {
    color: var(--accent) !important;
    background: rgba(255, 122, 0, 0.06) !important;
}

body.dark-mode #darkModeToggle[style] {
    color: #FF7A00 !important;
    background: transparent !important;
}

/* BOTÓN ENVIAR SOLICITUD — texto siempre blanco en dark */
body.dark-mode .contact-submit-btn {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--accent), #ff9a3e) !important;
}

body.dark-mode .contact-submit-btn:disabled {
    color: #ffffff !important;
}

/* LOGO en modo oscuro: volverlo blanco */
body.dark-mode .logo-header,
body.dark-mode .logo-footer {
    filter: brightness(0) invert(1);
}

/* COBERTURA: zone cards legibles en dark */
body.dark-mode .coverage-section {
    background: #0a0f1e;
}

body.dark-mode .zone-block {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.07);
}

body.dark-mode .zone-block:hover {
    border-color: rgba(255, 122, 0, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.dark-mode .zone-info h4 {
    color: #f1f5f9 !important;
}

body.dark-mode .zone-info p {
    color: #94a3b8 !important;
}

body.dark-mode .zone-icon {
    background: rgba(255, 122, 0, 0.15);
    color: var(--accent);
}

body.dark-mode .coverage-map-container {
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* =============================================
   SECCIÓN PRECIOS
   ============================================= */

.pricing-section {
    padding: 100px 0;
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(13, 22, 48, 0.08);
    box-shadow: 0 4px 24px rgba(13,22,48,0.06);
    position: relative;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: rgba(13,22,48,0.1);
    transition: background 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13,22,48,0.12);
}

.pricing-card:hover::before {
    background: var(--accent);
}

.pricing-popular {
    background: linear-gradient(135deg, #0d1630 0%, #14264d 100%);
    color: var(--white);
    transform: scale(1.04);
    box-shadow: 0 20px 60px rgba(13,22,48,0.25);
    border: none;
}

.pricing-popular::before {
    background: var(--accent);
}

.pricing-popular:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 30px 70px rgba(13,22,48,0.35);
}

.pricing-popular h3,
.pricing-popular p,
.pricing-popular li,
.pricing-popular .pricing-badge-popular {
    color: #e2e8f0;
}

.pricing-badge-popular {
    display: inline-block;
    background: var(--accent);
    color: #fff !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.pricing-badge {
    display: inline-block;
    background: rgba(13,22,48,0.07);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.pricing-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary);
}

.pricing-card .pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-popular .pricing-desc {
    color: #94a3b8;
}

.pricing-price {
    margin: 28px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(13,22,48,0.07);
    border-bottom: 1px solid rgba(13,22,48,0.07);
}

.pricing-popular .pricing-price {
    border-color: rgba(255,255,255,0.1);
}

.pricing-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.pricing-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.pricing-popular .pricing-amount {
    color: #fff;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    padding: 9px 0;
    border-bottom: 1px solid rgba(13,22,48,0.05);
    line-height: 1.5;
}

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

.pricing-popular .pricing-features li {
    color: #cbd5e1;
    border-bottom-color: rgba(255,255,255,0.07);
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    cursor: pointer;
    margin-top: auto;
}

.pricing-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.pricing-popular .pricing-cta {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255,122,0,0.35);
}

.pricing-popular .pricing-cta:hover {
    background: #e06800;
    border-color: #e06800;
    box-shadow: 0 12px 35px rgba(255,122,0,0.45);
}

.pricing-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,122,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.pricing-popular .pricing-icon {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.pricing-card:hover .pricing-icon {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(255,122,0,0.3);
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 56px auto 0;
    }
    .pricing-popular {
        transform: scale(1);
    }
    .pricing-popular:hover {
        transform: translateY(-10px);
    }
}

/* =============================================
   SECCIÓN FAQ
   ============================================= */

.faq-section {
    padding: 100px 0;
    background: var(--light);
}

.faq-list {
    max-width: 820px;
    margin: 56px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(13,22,48,0.07);
}

.faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(255,122,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    user-select: none;
}

.faq-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.5;
    flex: 1;
    transition: translate 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item.aos-animate:hover .faq-question-text {
    translate: 0 -6px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(13,22,48,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 28px 22px;
}

/* =============================================
   STACK TECNOLÓGICO
   ============================================= */

.tech-stack-section {
    padding: 80px 0;
    background: var(--light);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(13,22,48,0.07);
    min-width: 100px;
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    position: relative;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(13,22,48,0.12);
    border-color: var(--accent);
}

.tech-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.tech-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    letter-spacing: 0.3px;
}

.tech-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tech-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

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

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d1630 0%, #14264d 60%, #1a3060 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,122,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,122,0,0.6);
    animation: floatParticle 6s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.9; }
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-content h2 span {
    color: var(--accent);
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 40px;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 16px 36px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(255,122,0,0.4);
    transition: all 0.3s ease;
    animation: pulseBtn 2.5s infinite;
}

@keyframes pulseBtn {
    0%, 100% { box-shadow: 0 8px 30px rgba(255,122,0,0.4); }
    50% { box-shadow: 0 8px 50px rgba(255,122,0,0.65); }
}

.cta-btn-primary:hover {
    background: #e06800;
    transform: translateY(-4px);
    animation: none;
    box-shadow: 0 16px 45px rgba(255,122,0,0.5);
    color: #fff;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 16px 36px;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-4px);
    color: #fff;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.cta-badge i {
    color: var(--accent);
}

/* =============================================
   BLOG — FILTROS POR CATEGORÍA
   ============================================= */

.blog-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    margin-bottom: 0;
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(13,22,48,0.12);
    background: var(--white);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.blog-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--white);
    transform: translateY(-2px);
}

.blog-filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(13,22,48,0.2);
}

body.dark-mode .blog-filter-btn {
    background: #111827;
    border-color: rgba(255,255,255,0.1);
    color: #94a3b8;
}

body.dark-mode .blog-filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

body.dark-mode .blog-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.blog-card {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.blog-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.blog-col.d-none-filter {
    display: none !important;
}

.blog-row.blog-row-center {
    justify-content: center;
}

/* =============================================
   CHATBOT WIDGET — Oracle-Inspired Design
   ============================================= */

.az-chat-fab {
    position: fixed;
    right: 20px;
    bottom: 160px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d1630 0%, #1a2d5a 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(13,22,48,0.4);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    outline: none;
}

.az-chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(13,22,48,0.5);
}

.az-chat-fab .chat-fab-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff5722;
    border: 2.5px solid #fff;
}

.az-chat-panel {
    position: fixed;
    right: 20px;
    bottom: 160px;
    width: 345px;
    height: 405px;
    max-height: calc(100vh - 190px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(13,22,48,0.3), 0 0 0 1px rgba(13,22,48,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.az-chat-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.az-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #0d1630;
    color: #fff;
    position: relative;
}

.az-chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.az-chat-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7a00, #ff5722);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255,122,0,0.3);
}

.az-chat-header-info {
    flex: 1;
    min-width: 0;
}

.az-chat-header-info h5 {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: 0.01em;
}

.az-chat-header-info span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
}

.az-chat-header-info span::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}

.az-chat-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.7);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.az-chat-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.az-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(13,22,48,0.08) transparent;
    background: #f8f9fb;
}

.az-chat-msg {
    max-width: 82%;
    font-size: 0.875rem;
    line-height: 1.55;
    border-radius: 14px;
    padding: 10px 16px;
    animation: msgIn 0.3s ease;
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    position: relative;
    overflow-wrap: break-word;
    word-break: break-word;
}

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

.az-chat-msg.bot {
    align-self: flex-start;
    background: #fff;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(13,22,48,0.06), 0 0 0 1px rgba(13,22,48,0.04);
}

.az-chat-msg.user {
    align-self: flex-end;
    background: #0d1630;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.az-chat-msg.bot strong {
    color: #0d1630;
}

.az-chat-msg.bot a {
    color: #0066ff;
    text-decoration: underline;
    font-weight: 500;
}

.az-chat-msg.bot a:hover {
    color: #004dcc;
}

body.dark-mode .az-chat-msg.bot a {
    color: #60a5fa;
}

body.dark-mode .az-chat-msg.bot a:hover {
    color: #93c5fd;
}

.az-chat-typing {
    align-self: flex-start;
    background: #fff;
    border-radius: 14px 14px 14px 4px;
    padding: 14px 18px;
    display: flex;
    gap: 5px;
    align-items: center;
    box-shadow: 0 1px 4px rgba(13,22,48,0.06), 0 0 0 1px rgba(13,22,48,0.04);
}

.az-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: typingDot 1.2s infinite ease-in-out;
}

.az-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.az-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.az-chat-msg-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(13,22,48,0.07);
}

.az-chat-msg-suggestion {
    font-size: 0.75rem;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(13,22,48,0.12);
    color: #0d1630;
    background: rgba(13,22,48,0.04);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-family: inherit;
}

.az-chat-msg-suggestion:hover {
    background: #0d1630;
    color: #fff;
    border-color: #0d1630;
}

.az-chat-msg-suggestion.used {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
    background: rgba(13,22,48,0.03);
    color: #94a3b8;
    border-color: rgba(13,22,48,0.06);
}

.az-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px 14px;
    background: #f8f9fb;
}

.az-chat-suggestion {
    font-size: 0.78rem;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(13,22,48,0.1);
    color: #0d1630;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(13,22,48,0.04);
}

.az-chat-suggestion:hover {
    background: #0d1630;
    color: #fff;
    border-color: #0d1630;
    box-shadow: 0 4px 12px rgba(13,22,48,0.15);
}

.az-chat-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px 18px;
    background: #fff;
}

.az-chat-input {
    flex: 1;
    border: 1px solid rgba(13,22,48,0.1);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #f1f4f9;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.az-chat-input:focus {
    border-color: #0d1630;
    background: #fff;
}

.az-chat-input::placeholder {
    color: #94a3b8;
}

.az-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #0d1630;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.az-chat-send:hover {
    background: #ff7a00;
    transform: scale(1.05);
}

/* ── DARK MODE ── */

body.dark-mode .az-chat-panel {
    background: #0f1724;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

body.dark-mode .az-chat-messages {
    background: #0a0f1a;
}

body.dark-mode .az-chat-msg.bot {
    background: #1a2332;
    color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.03);
}

body.dark-mode .az-chat-msg.user {
    background: linear-gradient(135deg, #1a2d5a, #0d1630);
}

body.dark-mode .az-chat-msg.bot strong {
    color: #ff7a00;
}

body.dark-mode .az-chat-typing {
    background: #1a2332;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.03);
}

body.dark-mode .az-chat-typing span {
    background: #64748b;
}

body.dark-mode .az-chat-msg-suggestion {
    border-color: rgba(255,255,255,0.12);
    color: #94a3b8;
    background: rgba(255,255,255,0.04);
}

body.dark-mode .az-chat-msg-suggestion:hover {
    background: #ff7a00;
    color: #fff;
    border-color: #ff7a00;
}

body.dark-mode .az-chat-msg-suggestion.used {
    opacity: 0.35;
    background: rgba(255,255,255,0.02);
    color: #475569;
    border-color: rgba(255,255,255,0.04);
}

body.dark-mode .az-chat-suggestions {
    background: #0a0f1a;
}

body.dark-mode .az-chat-suggestion {
    border-color: rgba(255,255,255,0.1);
    color: #94a3b8;
    background: #1a2332;
}

body.dark-mode .az-chat-suggestion:hover {
    background: #ff7a00;
    border-color: #ff7a00;
    color: #fff;
}

body.dark-mode .az-chat-footer {
    background: #0f1724;
}

body.dark-mode .az-chat-input {
    background: #1a2332;
    border-color: rgba(255,255,255,0.08);
    color: #e2e8f0;
}

body.dark-mode .az-chat-input:focus {
    border-color: #ff7a00;
    background: #1e2a3a;
}

body.dark-mode .az-chat-input::placeholder {
    color: #64748b;
}

body.dark-mode .az-chat-send {
    background: #ff7a00;
}

body.dark-mode .az-chat-send:hover {
    background: #e06800;
    box-shadow: 0 4px 16px rgba(255,122,0,0.3);
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .az-chat-panel {
        right: 16px;
        width: 300px;
        max-height: calc(100vh - 200px);
        height: 380px;
        bottom: 160px;
        border-radius: 16px;
    }

    .az-chat-messages {
        padding: 14px 14px 6px;
    }

    .az-chat-suggestions {
        padding: 0 14px 8px;
    }

    .az-chat-footer {
        padding: 10px 14px 12px;
    }

    .az-chat-header {
        padding: 10px 14px;
    }
}





