/* =========================================================
   MARCO MOLINA
   MARKETING DIGITAL · WEB · FORMACIÓN
   CSS PRINCIPAL
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --dark: #0b1220;
    --dark-2: #111c31;

    --blue: #1677ff;
    --blue-dark: #0755c7;
    --blue-light: #72adff;

    --orange: #ff7a00;

    --light: #f5f8fc;
    --white: #ffffff;

    --text: #1d2939;
    --muted: #667085;

    --border: #e4eaf2;

    --success: #166534;
    --success-bg: #e9f8ef;
    --error: #b42318;
    --error-bg: #fdecea;

    --shadow: 0 20px 55px rgba(11, 18, 32, .10);
    --shadow-hover: 0 20px 45px rgba(11, 18, 32, .14);

    --radius: 20px;
    --max: 1160px;

    --transition: .25s ease;
}

/* =========================================================
   RESET & BASE
========================================================= */

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

html { scroll-behavior: smooth; }

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }

/* Accesibilidad global en navegación por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 3px;
}

/* Respeta la preferencia de movimiento reducido del usuario */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   ENLACE "SALTAR AL CONTENIDO" (accesibilidad de teclado)
========================================================= */

.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    z-index: 2000;
    background: var(--dark);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 700;
    transition: top .25s ease;
}

.skip-link:focus {
    top: 12px;
}

/* =========================================================
   CONTENEDORES
========================================================= */

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 18, 32, .96);
    backdrop-filter: blue(14px);
    -webkit-backdrop-filter: blue(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* =========================================================
   LOGO
========================================================= */
/* =========================================================
   LOGO - CÁPSULA BLANCA
========================================================= */

.logo { 
    display: inline-flex; 
    align-items: center; 
    flex-shrink: 0; 
    line-height: 0; 
}

.logo img { 
    display: block; 
    width: auto; 
    height: 48px; 
    max-width: 220px; 
    object-fit: contain; 
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition), box-shadow var(--transition);
}

.logo:hover img {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.footer-logo { margin-bottom: 18px; }
.footer-logo img { 
    height: 52px; 
    max-width: 240px; 
    background: #ffffff;
    padding: 7px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
/* =========================================================
   NAVEGACIÓN
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    color: #dce5f2;
    font-size: .95rem;
}

.nav-links a { position: relative; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* Línea debajo del enlace activo */
.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 10px;
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* =========================================================
   BOTÓN HEADER
========================================================= */

.nav-cta {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.nav-cta:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* =========================================================
   MENÚ HAMBURGUESA
========================================================= */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: transparent;
    border: 0;
    cursor: pointer;
    border-radius: 10px;
}

.menu-toggle:hover { background: rgba(255, 255, 255, .08); }

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    border-radius: 3px;
    transition: transform .25s ease, opacity .25s ease;
}

/* Transforma el icono en una "X" cuando el menú está abierto */
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
    color: #fff;
    padding: 90px 0;
}

/* =========================================================
   IMAGEN DE PORTADA
========================================================= */

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(
            90deg,
            rgba(11, 18, 32, .98) 0%,
            rgba(11, 18, 32, .94) 20%,
            rgba(11, 18, 32, .80) 40%,
            rgba(11, 18, 32, .48) 60%,
            rgba(11, 18, 32, .16) 80%,
            rgba(11, 18, 32, .04) 100%
        ),
        url("img/hero-marco-molina.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    transform: scale(1.01);
}

/* =========================================================
   CONTENIDO HERO
========================================================= */

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 700px);
    align-items: center;
}

.hero-content { position: relative; z-index: 3; max-width: 700px; }

/* =========================================================
   EYEBROW
========================================================= */

.hero .eyebrow,
.page-hero .eyebrow {
    display: inline-block;
    color: var(--blue-light);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

/* =========================================================
   TITULAR HERO
========================================================= */

.hero h1 {
    max-width: 700px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -2.8px;
    margin-bottom: 22px;
}

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

/* =========================================================
   TEXTO HERO
========================================================= */

.hero-text {
    max-width: 630px;
    margin: 0 0 30px;
    color: #d2dbe8;
    font-size: 1.08rem;
    line-height: 1.7;
}

/* =========================================================
   BOTONES
========================================================= */

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 25px rgba(22, 119, 255, .25); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 119, 255, .32); }

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, .30);
    color: #fff;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover { background: #fff; color: var(--dark); border-color: #fff; transform: translateY(-2px); }

/* =========================================================
   ELEMENTOS DE CONFIANZA
========================================================= */

.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #c2ccda; font-size: .85rem; }
.trust-row span { white-space: nowrap; }

/* =========================================================
   ELIMINAR ELEMENTOS OBSOLETOS
========================================================= */

.hero-card,
.profile-placeholder,
.profile-circle,
.floating-tag,
.tag-one,
.mini-card {
    display: none !important;
}

/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section { padding: 95px 0; }
.section-label { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 14px; }

/* =========================================================
   INTRO
========================================================= */

.intro { background: #fff; }

.intro h2,
.section-heading h2,
.center h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -1.3px;
    margin-bottom: 18px;
}

.intro p { color: var(--muted); font-size: 1.05rem; }

/* =========================================================
   SERVICIOS
========================================================= */

.services-preview { background: var(--light); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 35px; }
.text-link, .card-link { color: var(--blue); font-weight: 800; transition: color var(--transition); }
.text-link:hover, .card-link:hover { color: var(--blue-dark); }

/* =========================================================
   TARJETAS
========================================================= */

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

.service-card,
.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 8px 30px rgba(11, 18, 32, .04);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover, .value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card.featured { border-color: #b8d4ff; box-shadow: 0 15px 40px rgba(22, 119, 255, .10); }

.icon { font-size: 2rem; margin-bottom: 18px; }
.service-card h3, .value-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p, .value-card p { color: var(--muted); margin-bottom: 20px; }

/* =========================================================
   PROCESO
========================================================= */

.process { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 45px; }
.step { border-top: 3px solid var(--blue); padding-top: 18px; }
.step span { font-size: .8rem; font-weight: 900; color: var(--blue); }
.step h3 { margin: 7px 0; }
.step p { color: var(--muted); font-size: .94rem; }

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

.cta-section { padding: 30px 0 95px; }

.cta-box {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    color: #fff;
    border-radius: 28px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; max-width: 700px; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,255,255,.15); }

/* =========================================================
   HERO DE PÁGINAS INTERIORES
========================================================= */

.page-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 80px 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(11, 18, 32, .96) 0%,
            rgba(11, 18, 32, .88) 35%,
            rgba(11, 18, 32, .55) 65%,
            rgba(11, 18, 32, .20) 100%
        ),
        url("img/marketing-digital.png");

    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -2px; }
.page-hero p { color: #bdc9d9; font-size: 1.1rem; margin-top: 18px; }

/* =========================================================
   SOBRE MÍ
========================================================= */

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: center; }
.about-visual { position: relative; }
.about-photo { width: 100%; height: 480px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }

.about-photo-placeholder {
    height: 480px;
    border-radius: 28px;
    background: linear-gradient(145deg, #dfeaff, #fff);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 7rem;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    right: -25px;
    bottom: 30px;
    background: var(--dark);
    color: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
}

.experience-badge span { color: #aebbd0; font-size: .8rem; }
.about-content h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: 22px; }
.about-content p { color: var(--muted); margin-bottom: 16px; }

/* =========================================================
   VALORES
========================================================= */

.values { background: var(--light); }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.value-card { text-align: center; }
.value-card .icon { font-size: 2.3rem; }

/* =========================================================
   DETALLE DE SERVICIOS
========================================================= */

.service-detail { padding: 100px 0; }
.service-detail.alt { background: var(--light); }
.detail-grid { display: grid; grid-template-columns: 130px 1fr; gap: 45px; max-width: 900px; }
.detail-number { font-size: 4.5rem; line-height: 1; font-weight: 900; color: #dce9ff; }
.detail-grid h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 18px; }
.detail-grid p { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }

/* =========================================================
   LISTA DE CHECKS
========================================================= */

.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { margin: 10px 0; }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 900; margin-right: 10px; }

/* =========================================================
   AVISO
========================================================= */

.notice { background: #eef5ff; border-left: 4px solid var(--blue); padding: 16px 18px; margin-bottom: 25px; border-radius: 0 10px 10px 0; }

/* =========================================================
   CONTACTO
========================================================= */

.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 18px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.contact-item { display: flex; gap: 15px; align-items: center; padding: 17px 0; border-top: 1px solid var(--border); }
.contact-item span { font-size: 1.5rem; }
.contact-item div { display: flex; flex-direction: column; }
.contact-item a { color: var(--blue); font-weight: 700; }

/* =========================================================
   FORMULARIO
========================================================= */

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-weight: 750; font-size: .9rem; margin-bottom: 7px; }

.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    border: 1px solid #d5dce7;
    border-radius: 10px;
    padding: 12px 13px;
    outline: none;
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, .1);
}

.consent { display: flex; gap: 9px; font-size: .8rem; color: var(--muted); margin-bottom: 20px; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: 3px; flex-shrink: 0; }
.full { width: 100%; }
.form-note { font-size: .75rem; color: #8a94a4; margin-top: 12px; text-align: center; }

.form-message {
    display: none;
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: var(--success-bg);
    color: var(--success);
}

/* Estado de error del mensaje del formulario (antes no existía: los errores
   se veían con el mismo fondo verde de "éxito", lo cual confundía al usuario) */
.form-message.error {
    background: var(--error-bg);
    color: var(--error);
}

/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP
   (antes vivía como <style> temporal repetido en cada HTML;
   centralizado aquí para que sirva en las 4 páginas a la vez)
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(18, 140, 126, .4);
    text-decoration: none;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.25, 1, .5, 1), box-shadow var(--transition), padding var(--transition);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 36px rgba(18, 140, 126, .5);
    padding-right: 20px;
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--blue-light);
    outline-offset: 3px;
}

.whatsapp-float__icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; }
.whatsapp-float__icon svg { width: 100%; height: 100%; fill: #fff; }

.whatsapp-float__label {
    max-width: 0;
    white-space: nowrap;
    overflow: hidden;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    opacity: 0;
    transition: max-width .35s ease, opacity .25s ease;
}

.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
    max-width: 140px;
    opacity: 1;
}

/* Anillo de pulso para llamar la atención sin ser intrusivo */
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #25D366;
    opacity: .55;
    animation: whatsapp-pulse 2.4s ease-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: .55; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 480px) {
    .whatsapp-float { right: 16px; bottom: 16px; }
}

/* =========================================================
   FOOTER
========================================================= */

.footer { background: #080e19; color: #aebbd0; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 7px 0; }
.footer-grid a:not(.logo) { transition: color var(--transition); }
.footer-grid a:not(.logo):hover { color: #fff; }
.footer-grid p { max-width: 390px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 45px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: .78rem;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    /* HEADER */
    .menu-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--dark);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 18px 20px 25px;
        border-top: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 15px 30px rgba(0,0,0,.18);
    }

    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 11px 10px; }
    .nav-links a:not(.nav-cta)::after { display: none; }
    .nav-cta { text-align: center; margin-top: 6px; }

    /* HERO */
    .hero { min-height: 680px; padding: 75px 0; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-bg { background-position: center right; }
    .hero-content { max-width: 620px; }

    /* RESTO */
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .cards-grid, .cards-grid.three { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .cta-box { align-items: flex-start; flex-direction: column; }
}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .container { width: min(var(--max), calc(100% - 28px)); }

    /* HEADER MÓVIL */
    .nav { min-height: 68px; }
    .logo img { height: 44px; max-width: 190px; }
    .nav-links { top: 68px; }

    /* HERO MÓVIL */
    .hero { min-height: 720px; padding: 70px 0 60px; }

    .hero-bg {
        background-position: 68% center;
        background-image:
            linear-gradient(
                180deg,
                rgba(11, 18, 32, .97) 0%,
                rgba(11, 18, 32, .91) 32%,
                rgba(11, 18, 32, .70) 62%,
                rgba(11, 18, 32, .40) 100%
            ),
            url("img/hero-marco-molina.png");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero-content { text-align: center; margin-inline: auto; }
    .hero .eyebrow { font-size: .68rem; letter-spacing: 1.2px; margin-bottom: 14px; }
    .hero h1 { font-size: 2.65rem; line-height: 1.04; letter-spacing: -1.8px; margin-bottom: 20px; }
    .hero-text { font-size: 1rem; line-height: 1.6; margin-bottom: 25px; }

    /* BOTONES */
    .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
    .hero-actions .btn { width: 100%; }

    /* CONFIANZA */
    .trust-row { justify-content: center; flex-direction: column; gap: 5px; margin-top: 24px; }
    .trust-row span { white-space: normal; }

    /* SECCIONES */
    .section { padding: 70px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; }

    /* PROCESO */
    .steps { grid-template-columns: 1fr; }

    /* SOBRE MÍ */
    .about-photo, .about-photo-placeholder { height: 350px; font-size: 5rem; }
    .experience-badge { right: 15px; bottom: 20px; }

    /* SERVICIOS */
    .detail-grid { grid-template-columns: 1fr; gap: 10px; }
    .detail-number { font-size: 3rem; }

    /* FORMULARIO */
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; }

    /* HERO INTERIOR */
    .page-hero { padding: 60px 0; }

    /* FOOTER */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-logo img { height: 50px; }
    .footer-bottom { flex-direction: column; }

    /* CTA */
    .cta-box { padding: 30px; }
}

/* =========================================================
   MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {
    .hero { min-height: 700px; }
    .hero h1 { font-size: 2.3rem; }
    .hero-text { font-size: .95rem; }
    .logo img { height: 40px; max-width: 175px; }
}