/* ============================================================
   ASCENT — SHARED STYLESHEET v2.0
   Reemplaza Tailwind CDN. CSS nativo modular y escalable.
   ============================================================ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
    --color-bg:        #0f172a;
    --color-surface:   #1e293b;
    --color-border:    #334155;
    --color-border-sm: #475569;
    --color-text:      #f8fafc;
    --color-muted:     #94a3b8;
    --color-subtle:    #64748b;
    --color-brand-400: #38bdf8;
    --color-brand-500: #0284c7;
    --color-brand-600: #0369a1;
    --color-brand-700: #075985;
    --color-brand-800: #0c4a6e;
    --color-green:     #4ade80;
    --color-yellow:    #facc15;
    --color-red:       #f87171;
    --radius-sm:       0.375rem;   /* 6px */
    --radius-md:       0.75rem;    /* 12px */
    --radius-lg:       1rem;       /* 16px */
    --radius-xl:       1.5rem;     /* 24px */
    --shadow-brand:    0 0 30px rgba(2,132,199,0.5);
    --transition-fast: all 0.2s ease;
    --transition-std:  all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --header-h:        100px;
    --header-h-mobile: 72px;
    --max-w:           80rem;  /* 1280px */
    --max-w-sm:        56rem;  /* 896px */
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
.font-heading { font-family: 'Montserrat', sans-serif; }

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }

.text-xs    { font-size: 0.75rem; }
.text-sm    { font-size: 0.875rem; }
.text-base  { font-size: 1rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-2xl   { font-size: 1.5rem; }
.text-3xl   { font-size: 1.875rem; }
.text-4xl   { font-size: 2.25rem; }
.text-5xl   { font-size: 3rem; }
.text-6xl   { font-size: 3.75rem; }

.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold{ font-weight: 800; }

.leading-tight   { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-wide   { letter-spacing: 0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.italic    { font-style: italic; }

/* Text colors */
.text-white   { color: #f8fafc; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-brand-400 { color: var(--color-brand-400); }
.text-brand-500 { color: var(--color-brand-500); }
.text-brand-700 { color: var(--color-brand-700); }
.text-green-400 { color: var(--color-green); }
.text-yellow-400 { color: var(--color-yellow); }
.text-red-500   { color: var(--color-red); }
.text-red-400   { color: #f87171; }
.text-yellow-300 { color: #fde047; }
.text-green-300  { color: #86efac; }
.text-blue-400  { color: #60a5fa; }

/* Gradients */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #f8fafc, #94a3b8);
}
.text-gradient-brand {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #38bdf8, #0284c7);
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
main { flex: 1; }
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.grid-1  { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3  { display: grid; gap: 2rem; }
.grid-5-col { display: grid; gap: 3rem; }
@media (min-width: 768px)  {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .grid-5-col { grid-template-columns: 3fr 2fr; }
}

.flex    { display: flex; }
.flex-col{ display: flex; flex-direction: column; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1  { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.gap-2  { gap: 0.5rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.w-full  { width: 100%; }
.h-full  { height: 100%; }
.max-w-lg  { max-width: 32rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; margin-inline: auto; }
.mx-auto { margin-inline: auto; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }
.inset-0  { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.z-0  { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.block  { display: block; }
.hidden { display: none; }
.pointer-events-none { pointer-events: none; }

/* Padding */
.p-2   { padding: 0.5rem; }
.p-3   { padding: 0.75rem; }
.p-4   { padding: 1rem; }
.p-5   { padding: 1.25rem; }
.p-6   { padding: 1.5rem; }
.p-8   { padding: 2rem; }
.p-10  { padding: 2.5rem; }
.px-3  { padding-inline: 0.75rem; }
.px-4  { padding-inline: 1rem; }
.px-6  { padding-inline: 1.5rem; }
.px-8  { padding-inline: 2rem; }
.py-1  { padding-block: 0.25rem; }
.py-2  { padding-block: 0.5rem; }
.py-2\.5 { padding-block: 0.625rem; }
.py-3  { padding-block: 0.75rem; }
.py-3\.5 { padding-block: 0.875rem; }
.py-8  { padding-block: 2rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.py-24 { padding-block: 6rem; }
.pt-8  { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }

/* Margin */
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.ml-2  { margin-left: 0.5rem; }
.ml-3  { margin-left: 0.75rem; }
.mr-2  { margin-right: 0.5rem; }
.mr-3  { margin-right: 0.75rem; }

/* ─── HEADER ──────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(15,23,42,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-surface);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.header-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h-mobile);
    gap: 1rem;
}
@media (min-width: 640px)  { .header-inner { padding-inline: 1.5rem; height: var(--header-h); } }
@media (min-width: 1024px) { .header-inner { padding-inline: 2rem; } }

.header-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.08));
}
@media (min-width: 640px)  { .header-logo img { height: 64px; } }
@media (min-width: 1024px) { .header-logo img { height: 84px; } }

.header-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) { .header-nav { display: flex; flex: 1; justify-content: center; } }

.header-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #94a3b8;
    padding-block: 0.5rem;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: #f8fafc; }
.header-nav a.active { color: var(--color-brand-500); border-bottom-color: var(--color-brand-500); }

.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: flex; align-items: center; } }

/* Hamburger */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
}
@media (min-width: 768px) { .hamburger-btn { display: none; } }

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: #f8fafc; }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: #f8fafc; }

/* Mobile Nav Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: rgba(15,23,42,0.99);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-nav.open { display: flex; animation: fadeIn 0.2s ease; }

.mobile-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #94a3b8;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--color-brand-500); }

.mobile-nav .mobile-cta {
    margin-top: 1rem;
    background: var(--color-brand-600);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
}
.mobile-nav .mobile-cta:hover { background: var(--color-brand-500); color: #fff; }

/* pt-header: compensar header fijo */
.pt-header { padding-top: calc(var(--header-h-mobile) + 0px); }
@media (min-width: 640px) { .pt-header { padding-top: var(--header-h); } }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-std);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--color-brand-600);
    color: #fff;
    box-shadow: 0 4px 15px rgba(2,132,199,0.3);
}
.btn-primary:hover {
    background: var(--color-brand-500);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(2,132,199,0.4);
}
.btn-secondary {
    background: var(--color-surface);
    color: #fff;
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    background: #27374d;
    border-color: var(--color-border-sm);
    transform: translateY(-2px);
}
.btn-white {
    background: #fff;
    color: var(--color-brand-700);
    font-weight: 800;
}
.btn-white:hover { background: #f1f5f9; transform: translateY(-2px); }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
.btn-full { width: 100%; }

/* ─── CARDS ───────────────────────────────────────────────────── */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-std);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-brand);
    border-color: var(--color-brand-500);
}
.card-service {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}
.card-service:hover { background: linear-gradient(135deg, var(--color-brand-800), var(--color-bg)); }

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-500);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.card-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-brand-500);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-top: 1.5rem;
}
.card-arrow i { transition: transform 0.2s; }
.card:hover .card-arrow i { transform: translateX(4px); }
.card:hover h3 { color: var(--color-brand-400); }

/* ─── SECTIONS ────────────────────────────────────────────────── */
.section-hero { padding-block: 6rem; }
@media (min-width: 1024px) { .section-hero { padding-block: 8rem; } }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    color: var(--color-brand-500);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--color-brand-700), var(--color-surface));
    border: 1px solid var(--color-brand-500);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 0 40px rgba(2,132,199,0.2);
    transition: transform 0.3s;
}
.cta-banner:hover { transform: translateY(-4px); }

/* Social Proof */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.stat-item { text-align: center; min-width: 100px; }
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-brand-400);
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
    background: #060c1a;
    border-top: 1px solid var(--color-border);
    padding: 4rem 1rem 2rem;
}
.footer-grid {
    display: grid;
    gap: 3rem;
    max-width: var(--max-w);
    margin-inline: auto;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { height: 70px; width: auto; object-fit: contain; }
.footer-bottom {
    max-width: var(--max-w);
    margin-inline: auto;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-subtle);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #94a3b8; padding-block: 0.25rem; }
.footer-list a { color: #94a3b8; transition: color 0.2s; }
.footer-list a:hover { color: var(--color-brand-500); }
.footer-link-list li { font-size: 0.875rem; padding-block: 0.2rem; }
.footer-link-list a { color: #94a3b8; transition: color 0.2s; }
.footer-link-list a:hover { color: #f8fafc; }

/* ─── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-brand-500); }
.breadcrumb a:hover { color: var(--color-brand-400); }
.breadcrumb-sep { color: #475569; }

/* ─── SERVICE PAGE SIDEBAR ────────────────────────────────────── */
.service-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}
.service-check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.9375rem;
    padding-block: 0.5rem;
}
.service-check-list i { color: var(--color-brand-500); flex-shrink: 0; }

/* ─── BLOG ────────────────────────────────────────────────────── */
.article-img-wrap {
    height: 12rem;
    overflow: hidden;
    position: relative;
}
.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-img-wrap .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.2);
    transition: background 0.3s;
    z-index: 1;
}
.card:hover .article-img-wrap img { transform: scale(1.05); }
.card:hover .article-img-wrap .overlay { background: transparent; }

.article-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-brand-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

/* ─── FORMS ───────────────────────────────────────────────────── */
.form-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.375rem;
}
.form-input, .form-textarea {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: #f8fafc;
    padding: 0.75rem;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-fast);
}
.form-input::placeholder, .form-textarea::placeholder { color: #64748b; }
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-brand-500);
    box-shadow: 0 0 0 3px rgba(2,132,199,0.15);
}
.form-textarea { resize: vertical; min-height: 80px; }

/* Contact channel links */
.contact-channel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(15,23,42,0.5);
    border: 1px solid var(--color-border);
    transition: var(--transition-std);
}
.channel-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-std);
    flex-shrink: 0;
}

/* ─── CAROUSEL (Marcas) ───────────────────────────────────────── */
.brand-carousel-wrap {
    position: relative;
    overflow: hidden;
}
.brand-carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 35s linear infinite;
}
.brand-carousel-track:hover { animation-play-state: paused; }
.brand-set {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-inline: 2rem;
}
.brand-logo {
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.3s, opacity 0.3s;
    flex-shrink: 0;
}
.brand-logo:hover { filter: grayscale(0); opacity: 1; }
.carousel-fade-left,
.carousel-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8rem;
    z-index: 2;
    pointer-events: none;
}
.carousel-fade-left  { left: 0;  background: linear-gradient(to right,  #0f172a, transparent); }
.carousel-fade-right { right: 0; background: linear-gradient(to left,   #0f172a, transparent); }

/* ─── WHATSAPP FLOAT ──────────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse-wa 2.5s infinite;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.7);
    animation: none;
}
.wa-float .wa-tooltip {
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid #334155;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ─── HERO (Canvas sections) ──────────────────────────────────── */
.hero-section {
    position: relative;
    background: var(--color-bg);
    overflow: hidden;
}
.canvas-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

/* Social proof strip */
.proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.proof-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-brand-400);
    line-height: 1;
}
.proof-item span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero image wrapper */
.hero-img-wrap { position: relative; display: none; }
@media (min-width: 1024px) { .hero-img-wrap { display: block; } }
.hero-img-wrap .img-shadow {
    position: absolute;
    inset: 0;
    background: var(--color-brand-600);
    border-radius: var(--radius-md);
    transform: translate(1rem,1rem);
    opacity: 0.2;
}
.hero-img-wrap img {
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.hero-float-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: rgba(30,41,59,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: float 4s ease-in-out infinite;
}
.float-icon {
    width: 3rem;
    height: 3rem;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-500);
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(2,132,199,0.3);
    flex-shrink: 0;
}

/* Section fade gradient */
.section-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(to top, #0f172a, transparent);
    pointer-events: none;
    z-index: 5;
}

/* ─── HERRAMIENTAS ────────────────────────────────────────────── */
.calc-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.calc-card header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.calc-icon {
    width: 3rem;
    height: 3rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border-sm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-500);
    font-size: 1.25rem;
}
.calc-result {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    text-align: center;
}

/* ─── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scroll    { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pulse-wa  { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); } 50% { box-shadow: 0 4px 32px rgba(37,211,102,0.9); } }

.animate-fade-in-up  { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ─── UTILITIES ───────────────────────────────────────────────── */
.rounded    { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 9999px; }
.border   { border: 1px solid var(--color-border); }
.shadow-xl { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.bg-surface { background: var(--color-surface); }
.bg-bg      { background: var(--color-bg); }
.bg-dark    { background: #060c1a; }
.opacity-20  { opacity: 0.2; }
.opacity-40  { opacity: 0.4; }
.opacity-80  { opacity: 0.8; }
.grayscale   { filter: grayscale(1); }
.object-cover{ object-fit: cover; }
.object-contain { object-fit: contain; }
.filter-grayscale { filter: grayscale(1); }
.backdrop-blur { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.word-break-all { word-break: break-all; }

/* ─── PROSE (artículos)  ──────────────────────────────────────── */
.prose-industrial { color: #cbd5e1; font-weight: 300; font-size: 1.0625rem; line-height: 1.75; }
.prose-industrial h2 { color: #f8fafc; font-size: 1.625rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose-industrial h3 { color: #f8fafc; font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose-industrial p  { margin-bottom: 1.25rem; }
.prose-industrial ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose-industrial ul li { margin-bottom: 0.5rem; }
.prose-industrial strong { color: #f8fafc; font-weight: 600; }

/* ─── RESPONSIVE HELPERS ──────────────────────────────────────── */
@media (min-width: 640px)  { .sm-hidden { display: none; } }
@media (max-width: 767px)  { .md-only   { display: none; } }
@media (min-width: 768px)  {
    .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .md-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .md-text-center { text-align: center; }
}
@media (min-width: 1024px) {
    .lg-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .section-hero { padding-block: 8rem; }
    .py-24-lg { padding-block: 6rem; }
}

/* Ensure no horizontal overflow */
body, html { overflow-x: hidden; }
