/* ============================================
   VYSCAM SpA - Limpieza Industrial
   Diseño profesional - paginasweb1.cl
   ============================================ */

/* ===== Variables ===== */
:root {
    --c-yellow: #FFCC00;
    --c-yellow-dark: #E6B800;
    --c-yellow-light: #FFE066;
    --c-black: #0A0A0A;
    --c-black-soft: #161616;
    --c-gray-900: #1A1A1A;
    --c-gray-800: #232323;
    --c-gray-700: #2E2E2E;
    --c-gray-600: #4A4A4A;
    --c-gray-500: #6C6C6C;
    --c-gray-400: #9A9A9A;
    --c-gray-300: #C4C4C4;
    --c-gray-200: #E4E4E4;
    --c-gray-100: #F4F4F4;
    --c-white: #FFFFFF;
    --c-blue: #00A8E1;
    --c-blue-dark: #0086B3;
    --c-success: #25D366;
    --c-danger: #E53935;

    --font-display: 'Rajdhani', 'Oswald', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.18);
    --shadow-yellow: 0 8px 24px rgba(255,204,0,0.35);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container: 1240px;
    --header-h: 92px;

    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--c-white);
    color: var(--c-gray-900);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--c-black);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1rem; }
::selection { background: var(--c-yellow); color: var(--c-black); }

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .95rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    will-change: transform;
}
.btn-primary {
    background: var(--c-yellow);
    color: var(--c-black);
    box-shadow: var(--shadow-yellow);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--c-yellow-dark); }
.btn-secondary {
    background: var(--c-black);
    color: var(--c-yellow);
    border: 2px solid var(--c-black);
}
.btn-secondary:hover { background: var(--c-yellow); color: var(--c-black); border-color: var(--c-yellow); }
.btn-outline {
    background: transparent;
    color: var(--c-white);
    border: 2px solid var(--c-yellow);
}
.btn-outline:hover { background: var(--c-yellow); color: var(--c-black); }
.btn-whatsapp {
    background: var(--c-success);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { background: #1eb756; transform: translateY(-2px); }

/* ===== Header / Navbar ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,10,10,.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(255,204,0,.18);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
    background: rgba(10,10,10,.98);
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: .04em;
}
.brand img { height: 68px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); transition: height .25s var(--ease); }
.site-header.scrolled .brand img { height: 56px; }
.brand span { color: var(--c-yellow); font-size: 1.5rem; }
.brand small { display: block; font-size: .68rem; color: var(--c-gray-300); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin-top: -2px; }
@media (max-width: 540px) {
    .brand img { height: 56px; }
    .brand span { font-size: 1.2rem; }
    .brand small { font-size: .6rem; }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-menu a {
    color: var(--c-white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--c-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--c-yellow); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 14px; padding: 10px 22px !important; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: transparent;
    color: var(--c-yellow);
    align-items: center;
    justify-content: center;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--c-black);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 4px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s var(--ease), padding .3s var(--ease);
        border-bottom: 2px solid var(--c-yellow);
    }
    .nav-menu.open { max-height: 80vh; padding: 20px; overflow-y: auto; }
    .nav-menu a { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
    .nav-menu a:hover { background: rgba(255,204,0,.08); }
    .nav-cta { margin: 8px 0 0 !important; text-align: center; justify-content: center; }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: var(--header-h);
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,204,0,.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0,168,225,.08) 0%, transparent 50%),
        linear-gradient(125deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,204,0,0.04) 0 2px, transparent 2px 80px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 60px);
    z-index: 0;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 70% at 85% 40%, rgba(255,204,0,.22) 0%, transparent 70%),
        radial-gradient(40% 60% at 10% 90%, rgba(255,204,0,.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
/* Industrial gear decoration */
.hero-deco {
    position: absolute;
    right: -140px;
    top: 50%;
    width: 680px;
    height: 680px;
    z-index: 0;
    opacity: .07;
    pointer-events: none;
    transform: translateY(-50%);
}
.hero-deco svg {
    width: 100%;
    height: 100%;
    display: block;
    transform-origin: center;
    will-change: transform;
    animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-deco svg { animation: none; } }
@media (max-width: 720px) {
    .hero-deco { width: 420px; height: 420px; right: -160px; opacity: .05; }
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,204,0,.12);
    border: 1px solid rgba(255,204,0,.4);
    color: var(--c-yellow);
    padding: 8px 16px;
    border-radius: 999px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-yellow);
    box-shadow: 0 0 12px var(--c-yellow);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -.02em;
}
.hero h1 span { color: var(--c-yellow); display: inline-block; }
.hero h1 mark { background: linear-gradient(90deg, var(--c-yellow) 0%, var(--c-yellow-dark) 100%); color: var(--c-black); padding: 0 14px; border-radius: 6px; }
.hero p.lead {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--c-gray-200);
    max-width: 640px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats .stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--c-yellow);
    line-height: 1;
    margin-bottom: 6px;
}
.hero-stats .stat span {
    color: var(--c-gray-300);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-scroll {
    position: absolute;
    bottom: 24px; left: 50%; transform: translateX(-50%);
    color: var(--c-yellow);
    font-family: var(--font-display);
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    z-index: 2;
    text-align: center;
    animation: bounce 2s infinite;
}
.hero-scroll svg { display: block; margin: 8px auto 0; }
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}
.hero-stripe {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        45deg,
        var(--c-yellow) 0 18px,
        var(--c-black) 18px 36px
    );
    z-index: 2;
}

/* ===== Sections ===== */
section { padding: 90px 0; position: relative; }
.section-light { background: var(--c-gray-100); }
.section-dark { background: var(--c-black); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-eyebrow {
    display: inline-block;
    color: var(--c-yellow-dark);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .85rem;
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(255,204,0,.12);
    border-radius: 999px;
}
.section-dark .section-eyebrow { color: var(--c-yellow); background: rgba(255,204,0,.1); }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--c-gray-600); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--c-gray-300); }

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-gray-200);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-yellow) 0%, var(--c-yellow-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--c-yellow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 76px; height: 76px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--c-yellow) 0%, var(--c-yellow-dark) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-black);
    margin-bottom: 24px;
    box-shadow: 0 10px 24px rgba(255,204,0,.32);
    position: relative;
    overflow: hidden;
}
.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.18) 100%);
    pointer-events: none;
}
.service-icon svg { width: 42px; height: 42px; stroke-width: 2; position: relative; z-index: 1; }
.service-card:hover .service-icon { transform: scale(1.05) rotate(-3deg); transition: transform .35s var(--ease); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--c-gray-600); margin-bottom: 16px; font-size: .98rem; }
.service-card ul { padding-left: 0; }
.service-card ul li {
    position: relative;
    padding-left: 24px;
    color: var(--c-gray-700);
    font-size: .92rem;
    margin-bottom: 6px;
}
.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 14px; height: 2px;
    background: var(--c-yellow-dark);
}

/* ===== Features / Why us ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature {
    text-align: center;
    padding: 30px 20px;
}
.feature-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--c-yellow);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(255,204,0,.3);
}
.feature h3 { margin-bottom: 10px; font-size: 1.25rem; }
.section-dark .feature p { color: var(--c-gray-300); }

/* ===== Process ===== */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    counter-reset: step;
}
.process-step {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    border-top: 4px solid var(--c-yellow);
    box-shadow: var(--shadow-sm);
    counter-increment: step;
}
.process-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -28px; right: 20px;
    background: var(--c-black);
    color: var(--c-yellow);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--c-yellow);
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { color: var(--c-gray-600); font-size: .95rem; margin: 0; }

/* ===== Gallery / Image grid ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7) 100%);
    pointer-events: none;
}
.gallery-item .caption {
    position: absolute;
    bottom: 16px; left: 18px; right: 18px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .9rem;
    z-index: 2;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(120deg, var(--c-black) 0%, var(--c-gray-900) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,204,0,.2);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(255,204,0,.18) 0%, transparent 60%);
    pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: var(--c-gray-300); max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-banner .btn { z-index: 1; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== Testimonials ===== */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}
.testimonial {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--c-yellow);
    position: relative;
}
.testimonial blockquote { font-style: italic; color: var(--c-gray-700); margin-bottom: 18px; font-size: 1rem; line-height: 1.7; }
.testimonial cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    color: var(--c-black);
    font-family: var(--font-display);
}
.testimonial cite span { display: block; font-weight: 400; font-size: .85rem; color: var(--c-gray-500); margin-top: 2px; }
.stars { color: var(--c-yellow); margin-bottom: 14px; letter-spacing: 2px; font-size: 1.05rem; }

/* ===== FAQ ===== */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--c-gray-200);
}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--c-black);
    transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--c-yellow-dark); }
.faq-q .icon {
    display: inline-flex;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--c-black);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform .3s var(--ease);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.open .icon { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}
.faq-a-inner { padding: 0 0 22px; color: var(--c-gray-600); }
.faq-item.open .faq-a { max-height: 600px; }

/* ===== Form ===== */
.form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--c-gray-800);
    margin-bottom: 8px;
    font-size: .95rem;
    letter-spacing: .02em;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--c-gray-200);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--c-black);
    background: #fff;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--c-yellow);
    box-shadow: 0 0 0 4px rgba(255,204,0,.18);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
.form-msg {
    display: none;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: 500;
}
.form-msg.show { display: block; }
.form-msg.success { background: #e8f7ee; color: #1d6f3a; border: 1px solid #b8e3c5; }
.form-msg.error { background: #fdecea; color: #b1241c; border: 1px solid #f3b3ac; }

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-wrap { padding: 28px; } }

/* ===== Contact info bar ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 60px;
}
.contact-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-gray-200);
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--c-yellow); }
.contact-card .ic {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--c-black);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-card h4 { margin-bottom: 6px; font-family: var(--font-display); font-size: 1.05rem; }
.contact-card p, .contact-card a { color: var(--c-gray-700); font-size: .95rem; }
.contact-card a:hover { color: var(--c-yellow-dark); }

/* ===== Blog ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
}
.post-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-gray-200);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .img-wrap { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--c-gray-200); }
.post-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .img-wrap img { transform: scale(1.06); }
.post-card .badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--c-yellow);
    color: var(--c-black);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
    padding: 6px 12px;
    border-radius: 999px;
    z-index: 1;
}
.post-card .body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.post-card time { color: var(--c-gray-500); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.post-card h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.3; }
.post-card p { color: var(--c-gray-600); font-size: .95rem; flex: 1; }
.post-card .more {
    margin-top: 14px;
    color: var(--c-yellow-dark);
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.post-card .more::after { content: '→'; transition: transform .25s var(--ease); }
.post-card:hover .more::after { transform: translateX(4px); }

/* ===== Article (single blog) ===== */
.article-hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 40px;
    background: var(--c-black);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 80% 30%, rgba(255,204,0,.15) 0%, transparent 70%);
}
.article-hero .container { position: relative; z-index: 1; }
.article-hero .badge {
    display: inline-block;
    background: var(--c-yellow);
    color: var(--c-black);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.article-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--c-gray-300); font-size: .9rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover {
    aspect-ratio: 21/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 32px;
    box-shadow: var(--shadow-lg);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body { padding: 60px 0; }
.article-body .container { max-width: 820px; }
.article-body h2 { margin: 36px 0 14px; font-size: 1.8rem; }
.article-body h3 { margin: 28px 0 10px; font-size: 1.4rem; }
.article-body p { color: var(--c-gray-700); font-size: 1.05rem; line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px 1.5rem; }
.article-body ul li, .article-body ol li { margin-bottom: 10px; color: var(--c-gray-700); line-height: 1.7; padding-left: 6px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--c-black); }
.article-body blockquote {
    border-left: 4px solid var(--c-yellow);
    padding: 16px 22px;
    background: var(--c-gray-100);
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    color: var(--c-gray-800);
    font-style: italic;
}
.article-body figure { margin: 28px 0; }
.article-body figure img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.article-body figure figcaption { text-align: center; color: var(--c-gray-500); font-size: .9rem; margin-top: 10px; font-style: italic; }

.related-posts { padding: 60px 0; background: var(--c-gray-100); }
.related-posts h2 { text-align: center; margin-bottom: 40px; }

/* ===== Footer ===== */
.site-footer {
    background: var(--c-black);
    color: var(--c-gray-300);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(45deg, var(--c-yellow) 0 16px, var(--c-black) 16px 32px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 50px;
}
.footer-brand img { height: 60px; margin-bottom: 16px; }
.footer-brand p { color: var(--c-gray-400); font-size: .95rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
    color: var(--c-yellow);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .95rem;
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--c-gray-300); font-size: .95rem; }
.footer-col a:hover { color: var(--c-yellow); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-gray-300); }
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; color: var(--c-yellow); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { background: var(--c-yellow); color: var(--c-black); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: var(--c-gray-500);
}
.footer-bottom a { color: var(--c-yellow); font-weight: 600; }
.footer-bottom a:hover { color: var(--c-yellow-light); }
@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== Floating buttons ===== */
.float-whatsapp {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 999;
    width: 60px; height: 60px;
    background: var(--c-success);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.45);
    transition: transform .25s var(--ease);
}
.float-whatsapp::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--c-success);
    opacity: .6;
    animation: ripple 2s infinite;
}
@keyframes ripple {
    0% { transform: scale(.85); opacity: .8; }
    100% { transform: scale(1.4); opacity: 0; }
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 30px; height: 30px; }

.float-top {
    position: fixed;
    bottom: 24px; left: 24px;
    z-index: 998;
    width: 50px; height: 50px;
    background: var(--c-black);
    color: var(--c-yellow);
    border: 2px solid var(--c-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
}
.float-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-top:hover { background: var(--c-yellow); color: var(--c-black); }

/* ===== Modal ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop.open { display: flex; animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    animation: pop .3s var(--ease) both;
}
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head {
    background: linear-gradient(135deg, var(--c-success) 0%, #1eb756 100%);
    color: #fff;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.modal-head h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.modal-head p { margin: 0; opacity: .9; font-size: .9rem; }
.modal-head svg { flex-shrink: 0; width: 40px; height: 40px; }
.modal-body { padding: 28px; }
.modal-body .form-group { margin-bottom: 16px; }
.modal-body .form-group label { font-size: .9rem; }
.modal-body .form-group input, .modal-body .form-group select, .modal-body .form-group textarea {
    padding: 12px 14px;
    font-size: .95rem;
}
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; justify-content: center; padding: 13px; font-size: .9rem; }
.modal-close {
    margin-left: auto;
    background: rgba(255,255,255,.18);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--ease);
}
.modal-close:hover { background: rgba(255,255,255,.32); }

/* ===== Hero responsive ===== */
@media (max-width: 720px) {
    .hero { min-height: auto; padding-bottom: 80px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    section { padding: 60px 0; }
    .cta-banner { padding: 40px 24px; }
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; }

/* Animation reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
/* Fallback noscript / sin JS: contenido siempre visible */
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* Print */
@media print {
    .site-header, .float-whatsapp, .float-top, .site-footer { display: none; }
}
