/* ═══════════════════════════════════════════════════════════════
   DISTINTIA CONSULTORES — styles.css
   Sistema de diseño: navy + magenta + amarillo, Playfair + Inter
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
    --navy:         #1a2744;
    --navy-dark:    #0f1a2e;
    --navy-mid:     #243058;
    --magenta:      #d40070;
    --magenta-dark: #a8005a;
    --yellow:       #f5c800;
    --white:        #ffffff;
    --black:        #0d0d0d;
    --gray-100:     #f8f8f8;
    --gray-200:     #e8e8e8;
    --text-muted:   rgba(255,255,255,0.65);

    --font-serif: 'Quicksand', sans-serif;
    --font-sans:  'Quicksand', sans-serif;

    --nav-height: 72px;
    --max-width:  1200px;
    --section-pad: 100px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── LANGUAGE SYSTEM ─────────────────────────────────────────── */
body.lang-es .en { display: none; }
body.lang-en .es { display: none; }

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--navy-dark);
    color: var(--white);
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.eyebrow--dark {
    color: rgba(26,39,68,0.55);
}

/* ── VIDEO BACKGROUNDS ───────────────────────────────────────── */
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--white);
    box-shadow: 0 1px 0 rgba(26,39,68,0.1);
    transition: box-shadow 0.35s;
}

.site-header.scrolled {
    box-shadow: 0 2px 16px rgba(26,39,68,0.15);
}

.nav {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: calc(var(--max-width) + 80px);
    margin: 0 auto;
    padding: 0 40px;
    gap: 32px;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}
.nav-logo:hover .logo-img { opacity: 0.75; }

/* logo_distintia.png is full-colour — no filter needed on white nav */
.logo-img--nav {
    height: 60px;
}

/* Still used for dark-bg contexts where navy filter was needed */
.logo-img--navy {
    filter: brightness(0) saturate(100%) invert(14%) sepia(38%) saturate(660%) hue-rotate(196deg) brightness(92%) contrast(97%);
}

.logo-img--muted {
    opacity: 0.55;
}
.footer-logo:hover .logo-img--muted { opacity: 1; }

/* White logo on dark footer — no filter needed */
.logo-img--footer {
    opacity: 0.75;
}
.footer-logo:hover .logo-img--footer { opacity: 1; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26,39,68,0.72);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 100%;
    height: 1px;
    background: var(--magenta);
    transition: right 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.active { color: var(--navy); }
.nav-link:hover::after,
.nav-link.active::after { right: 0; }

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lang-btn {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(26,39,68,0.45);
    transition: color 0.2s;
    padding: 2px 0;
}
.lang-btn.active,
.lang-btn:hover { color: var(--navy); }

.lang-sep {
    color: rgba(26,39,68,0.25);
    font-size: 0.65rem;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    margin-left: auto;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    height: 1.5px;
    background: var(--navy);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════════════════ */
.section-hero {
    position: relative;
    height: 100svh;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,26,46,0.05) 0%, rgba(15,26,46,0.25) 60%, rgba(15,26,46,0.55) 100%);
    z-index: 1;
}

.hero-taglines {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 40px 80px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
}

.hero-tagline {
    display: block;
    flex: 0 0 auto;
    max-width: calc(50% - 7px);
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 12px 22px;
    text-align: center;
}

.hero-tagline--yellow {
    background: var(--yellow);
    color: var(--navy-dark);
}
.hero-tagline--magenta {
    background: var(--magenta);
    color: var(--white);
}

/* Hero animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s var(--ease-out) 0.4s forwards;
}
.animate-delay {
    animation-delay: 0.65s;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   2. TRAYECTORIA
══════════════════════════════════════════════════════════════ */
.section-trayectoria {
    background: var(--white);
    color: var(--navy);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.trayectoria-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.trayectoria-label {
    margin-bottom: 24px;
}

.tray-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--magenta);
    display: block;
    margin-bottom: 8px;
}

.tray-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    line-height: 1;
}

/* Stat band — los dos grandes números */
.tray-stat-band {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin: 56px 0 48px;
    flex-wrap: wrap;
}

.tray-stat {
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex: 1 1 280px;
}

.tray-stat-num {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--navy);
    flex-shrink: 0;
}

.tray-stat-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(26,39,68,0.65);
    max-width: 240px;
}

.tray-stat-sep {
    width: 1px;
    align-self: stretch;
    background: rgba(26,39,68,0.15);
    flex-shrink: 0;
}

.tray-quote {
    width: 100%;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(26,39,68,0.55);
    padding-top: 24px;
    border-top: 1px solid rgba(26,39,68,0.1);
    margin-top: 8px;
}

.trayectoria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid rgba(26,39,68,0.1);
    padding-top: 48px;
}

.tray-block h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--magenta);
    margin-bottom: 10px;
}

.tray-block p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(26,39,68,0.65);
}

/* ══════════════════════════════════════════════════════════════
   3. PILARES DE VALOR
══════════════════════════════════════════════════════════════ */
.section-pilares {
    background: var(--navy);
    padding: var(--section-pad) 0;
}

.pilares-header {
    margin-bottom: 64px;
    text-align: center;
}

.pilares-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}

.pilares-sub {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}

.pilar {
    background: rgba(255,255,255,0.04);
    padding: 40px 24px;
    text-align: center;
    transition: background 0.3s;
    border-top: 2px solid rgba(255,255,255,0.08);
}
.pilar:hover {
    background: rgba(255,255,255,0.07);
}

.pilar-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.col-svg {
    width: 28px;
    height: 60px;
    color: var(--magenta);
    opacity: 0.75;
}

.pilar-name {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.pilar-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

/* Stagger pilar reveal */
.pilares-grid .pilar:nth-child(1) { transition-delay: 0.05s; }
.pilares-grid .pilar:nth-child(2) { transition-delay: 0.12s; }
.pilares-grid .pilar:nth-child(3) { transition-delay: 0.19s; }
.pilares-grid .pilar:nth-child(4) { transition-delay: 0.26s; }
.pilares-grid .pilar:nth-child(5) { transition-delay: 0.33s; }

/* ══════════════════════════════════════════════════════════════
   4. CÓMO TRABAJAMOS
══════════════════════════════════════════════════════════════ */
.section-como {
    background: var(--navy-dark);
}

/* Parte A — vídeo de fondo + texto */
.como-a {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* KEY: wrapper allows mobile stacking */
.como-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.como-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15,26,46,0.95) 0%,
        rgba(15,26,46,0.80) 50%,
        rgba(15,26,46,0.40) 100%
    );
    z-index: 1;
}

.como-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 100px 40px;
    margin-left: max(40px, calc((100vw - var(--max-width)) / 2));
}

.como-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
}

.como-highlight {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--yellow);
    line-height: 1.6;
    margin-bottom: 24px;
    border-left: 3px solid var(--yellow);
    padding-left: 20px;
}

.como-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
}

.como-content p:last-child { margin-bottom: 0; }

.como-sector {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

/* Parte B — Consultoría a Medida */
.como-b {
    position: relative;
    background: var(--gray-100);
    color: var(--navy);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.consultoria-left {
    background: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.consultoria-logo-panel {
    width: clamp(80px, 14vw, 160px);
    height: auto;
    opacity: 0.9;
}

.consultoria-texto {
    grid-column: 2;
    position: relative;
    z-index: 2;
    padding: 80px 60px 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consultoria-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1;
}

.consultoria-body {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(26,39,68,0.75);
    max-width: 480px;
}

/* ══════════════════════════════════════════════════════════════
   5. CLIENTES
══════════════════════════════════════════════════════════════ */
.section-clientes {
    background: var(--magenta);
    padding: var(--section-pad) 0;
}

.clientes-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
    margin-bottom: 24px;
}

.clientes-disclaimer {
    max-width: 680px;
    margin: 0 auto 64px;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 1px;
    background: rgba(255,255,255,0.15);
}

.sector-col {
    background: var(--magenta);
    padding: 32px 28px;
}

.sector-name {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.4);
}

.sector-name--gap {
    margin-top: 28px;
}

.sector-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sector-list li {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.4;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ══════════════════════════════════════════════════════════════
   6. CONTACTO
══════════════════════════════════════════════════════════════ */
.section-contacto {
    background: var(--navy);
    padding: var(--section-pad) 0;
}

.contacto-inner {
    max-width: 800px;
}

.contacto-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 56px;
    line-height: 1;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.form-input {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 2px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    resize: none;
    width: 100%;
}

.form-input:focus {
    border-color: var(--magenta);
    background: rgba(255,255,255,0.09);
}

.form-input::placeholder { color: rgba(255,255,255,0.3); }

.form-textarea {
    min-height: 140px;
}

.form-privacy {
    padding: 4px 0;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.privacy-checkbox {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--magenta);
    cursor: pointer;
}

.privacy-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

.privacy-link {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.privacy-link:hover { color: var(--magenta); }

.btn-submit {
    align-self: flex-start;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--magenta);
    border: none;
    padding: 18px 48px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
    background: var(--magenta-dark);
}
.btn-submit:active {
    transform: scale(0.98);
}

.form-feedback {
    font-size: 0.95rem;
    padding: 4px 0;
    min-height: 24px;
}

.form-feedback.success { color: #6ee7b7; }
.form-feedback.error   { color: #fca5a5; }

/* ══════════════════════════════════════════════════════════════
   ELEFANTE FOOTER
══════════════════════════════════════════════════════════════ */
.elefante-footer {
    position: relative;
    height: 55vh;
    overflow: hidden;
    background: var(--navy-dark);
}

.elefante-footer-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 40px 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 48px;
    align-items: start;
}

.footer-logo svg {
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-logo:hover svg { color: var(--white); }

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.footer-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-address {
    text-align: right;
}

.footer-company-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--magenta);
    margin-bottom: 12px;
}

.footer-address p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

.footer-address a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer-credit-text {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.footer-credit-text strong {
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.footer-credit-logo {
    height: 32px;
    width: 32px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.85;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — 768px (TABLET)
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --section-pad: 70px;
    }

    /* Nav */
    .nav { padding: 0 24px; }
    .nav-menu {
        display: none;
        position: fixed;
        inset: var(--nav-height) 0 0;
        background: rgba(15,26,46,0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        z-index: 999;
    }
    .nav-menu.open { display: flex; }
    /* Links are white inside the dark mobile overlay */
    .nav-menu .nav-link { font-size: 1rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.82); }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active { color: var(--white); }
    .nav-hamburger { display: flex; }
    .nav-lang { margin-left: auto; margin-right: 16px; }

    /* Hero */
    .hero-taglines { padding: 0 24px 60px; flex-direction: column; align-items: flex-start; }
    .hero-tagline { font-size: 1.05rem; padding: 10px 16px; max-width: 100%; }

    /* Trayectoria */
    .trayectoria-inner { padding: 0 24px; }
    .trayectoria-grid { grid-template-columns: 1fr; gap: 32px; }
    .tray-number { font-size: 8rem; }

    /* Pilares */
    .section-inner { padding: 0 24px; }
    .pilares-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
    .pilar:last-child { grid-column: span 2; }

    /* Cómo trabajamos — KEY mobile fix */
    .como-a {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    .como-video-wrap {
        position: relative;
        height: 260px;
        overflow: hidden;
        flex-shrink: 0;
    }
    .como-video-wrap .video-bg {
        position: absolute;
    }
    .como-overlay {
        background: rgba(15,26,46,0.45);
    }
    .como-content {
        position: static;
        background: var(--navy-dark);
        padding: 48px 24px;
        max-width: 100%;
        margin-left: 0;
    }

    .como-b {
        grid-template-columns: 1fr;
    }
    .consultoria-left {
        min-height: 200px;
        padding: 40px;
    }
    .consultoria-texto {
        grid-column: 1;
        padding: 60px 24px;
    }

    /* Clientes */
    .clientes-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 24px 36px;
    }
    .footer-address { text-align: left; }
    .footer-nav ul { gap: 8px 20px; }
    .footer-bottom { padding: 16px 24px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — 480px (MOBILE)
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    :root { --section-pad: 52px; }

    .hero-tagline { font-size: 0.9rem; padding: 8px 14px; }
    .tray-title { font-size: 1.8rem; }

    .pilares-grid { grid-template-columns: 1fr; }
    .pilar:last-child { grid-column: span 1; }

    .clientes-grid { grid-template-columns: 1fr; background: none; }
    .sector-col { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .sector-col:last-child { border-bottom: none; }

    .contacto-title { font-size: 2.8rem; }

    .elefante-footer { height: 40vh; }
}
