/* ==========================================================================
   MUNDOMONTAJE - ESTILOS PRINCIPALES (DESKTOP + MOBILE RESPONSIVE)
   Tipografias oficiales del cliente + Estetica artesanal de boceto y papel
   ========================================================================== */

@font-face {
    font-family: 'AntonCustom';
    src: url('../fonts/Anton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KalamCustom';
    src: url('../fonts/Kalam-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KalamCustom';
    src: url('../fonts/Kalam-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AmericanTypewriter';
    src: url('../fonts/AmericanTypewriter.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocogoosePro';
    src: url('../fonts/Cocogoose-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --mm-blue: #0b3c78;
    --mm-blue-dark: #072954;
    --mm-blue-mid: #164f96;
    --mm-ink: #181c24;
    --mm-ink-soft: #3a3f4a;
    --mm-paper: #f2eee4;
    --mm-paper-light: #faf7f0;
    --mm-kraft: #e4d5b7;
    --mm-yellow: #f3c846;
    --mm-tape: rgba(235, 211, 132, 0.78);
    --font-anton: 'AntonCustom', Impact, 'Arial Narrow', sans-serif;
    --font-kalam: 'KalamCustom', 'Comic Sans MS', cursive, sans-serif;
    --font-typewriter: 'AmericanTypewriter', 'Courier New', Georgia, serif;
    --font-brand: 'CocogoosePro', 'AntonCustom', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #e5dfd2;
}

body.paper-bg {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    background-color: var(--mm-paper);
    background-image:
        linear-gradient(rgba(11, 60, 120, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 60, 120, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 0);
    background-size: 42px 42px, 42px 42px, 20px 20px;
    color: var(--mm-ink);
    font-family: var(--font-typewriter);
    line-height: 1.5;
    overflow-x: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 56px);
}

section[id],
footer[id] {
    scroll-margin-top: 112px;
}

/* ==========================================================================
   ANIMACIONES Y MOVIMIENTO DE ELEMENTOS SUELTOS
   ========================================================================== */

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(-3deg);
    }

    50% {
        transform: translateY(-9px) rotate(2deg);
    }
}

@keyframes swayNote {

    0%,
    100% {
        transform: rotate(-1.5deg) translateY(0px);
    }

    50% {
        transform: rotate(2.5deg) translateY(-5px);
    }
}

@keyframes pulseRotate {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.12) rotate(10deg);
    }
}

@keyframes pulseSoft {

    0%,
    100% {
        transform: scale(1) rotate(-2deg);
        filter: drop-shadow(0 2px 4px rgba(11, 60, 120, 0.12));
    }

    50% {
        transform: scale(1.09) rotate(3deg);
        filter: drop-shadow(0 6px 12px rgba(243, 200, 70, 0.45));
    }
}

@keyframes planeFly {

    0%,
    100% {
        transform: translate(0, 0) rotate(-4deg);
    }

    50% {
        transform: translate(8px, -7px) rotate(3deg);
    }
}

@keyframes pinPulse {

    0%,
    100% {
        r: 3.5;
        opacity: 1;
    }

    50% {
        r: 5.2;
        opacity: 0.75;
    }
}

.anim-float-slow {
    animation: floatSlow 5.2s ease-in-out infinite;
}

.anim-sway {
    animation: swayNote 6s ease-in-out infinite;
}

.anim-pulse-rotate {
    animation: pulseRotate 4.5s ease-in-out infinite;
}

.anim-pulse-soft {
    animation: pulseSoft 3.8s ease-in-out infinite;
}

.anim-fly {
    animation: planeFly 4.4s ease-in-out infinite;
}

.map-pin-dot {
    animation: pinPulse 2.8s ease-in-out infinite;
}

/* Aparicion suave al hacer scroll */
.section-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .section-reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(24px);
}

/* ==========================================================================
   BOTONES PINCELADA Y ELEMENTOS COMUNES
   ========================================================================== */

.btn-brush {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    color: #ffffff;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    border: none;
    background-color: transparent;
    background-image: url('../img/elementos/pincelada-texturizada.png');
    background-size: 108% 136%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
    z-index: 1;
}

.btn-brush:hover,
.btn-brush:focus-visible {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 6px 14px rgba(11, 60, 120, 0.28));
    color: #ffffff;
}

.btn-brush-lg {
    padding: 14px 34px;
    font-size: 1.1rem;
}

.btn-brush-full {
    width: 100%;
    padding: 14px 28px;
}

.btn-outline-sketch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.8px solid var(--mm-ink);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.55);
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: var(--mm-ink);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-outline-sketch:hover {
    background: var(--mm-blue);
    color: #ffffff;
    border-color: var(--mm-blue);
    transform: translateY(-2px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--mm-blue);
    letter-spacing: 0.03em;
    margin-top: 12px;
    cursor: pointer;
}

.link-arrow:hover {
    transform: translateX(5px);
    color: var(--mm-blue-dark);
}

.btn-link-reset {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
}

/* ==========================================================================
   CABECERA (HEADER)
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 96px;
    background: rgba(242, 238, 228, 0.93);
    backdrop-filter: blur(6px);
    border-bottom: 1px dashed rgba(11, 60, 120, 0.16);
    padding: 10px 0;
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 20px rgba(11, 60, 120, 0.09);
}

.header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    position: relative;
    display: inline-block;
    width: 175px;
    height: 76px;
    flex-shrink: 0;
}

.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 250px;
    width: auto;
    max-width: none;
    z-index: 120;
    filter: drop-shadow(0 4px 10px rgba(242, 238, 228, 0.85));
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease;
}

.site-header.is-scrolled .logo-img {
    height: 76px;
}

.brand-logo:hover .logo-img {
    transform: rotate(-2deg) scale(1.03);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav .nav-link {
    font-family: var(--font-typewriter);
    font-weight: 700;
    -webkit-text-stroke: 0.35px currentColor;
    font-size: 1.05rem;
    color: var(--mm-ink);
    position: relative;
    padding: 4px 2px;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2.5px;
    background: var(--mm-blue);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.is-active::after {
    width: 100%;
}

.mobile-only-cta {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1.5px solid var(--mm-blue);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2.5px;
    background: var(--mm-blue);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   SECCION 1: HERO / PORTADA
   ========================================================================== */

.hero-section {
    padding: 18px 0 36px;
    border-bottom: 1.5px solid rgba(24, 28, 36, 0.22);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 28%) 1fr;
    gap: clamp(24px, 3vw, 56px);
    align-items: center;
}

.hero-left {
    position: relative;
    z-index: 2;
    padding-top: 175px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.hero-title-anton {
    display: block;
    font-family: var(--font-anton);
    font-size: clamp(3.1rem, 5vw, 4.4rem);
    line-height: 0.94;
    color: var(--mm-blue);
    letter-spacing: 0.01em;
    transform: rotate(-3deg);
    transform-origin: left center;
}

.hero-title-kalam {
    display: block;
    font-family: var(--font-kalam);
    font-weight: 400;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.22;
    color: var(--mm-ink);
    margin-top: 6px;
    transform: rotate(-2deg);
}

.underlined-word {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.pen-underline-img {
    position: absolute;
    left: -3%;
    bottom: -10px;
    width: 106%;
    height: 24px;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.pen-underline-conectan {
    bottom: -8px;
    height: 20px;
}

.pen-underline-personas {
    bottom: -11px;
    height: 25px;
}

.double-underline-img {
    display: block;
    width: 105%;
    max-width: 240px;
    height: 22px;
    object-fit: cover;
    margin-top: -8px;
    pointer-events: none;
}

.hero-lead {
    font-family: var(--font-typewriter);
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--mm-ink);
    margin: 16px 0 22px;
}

.hero-right {
    position: relative;
}

.hero-stand-stage {
    position: relative;
    padding-right: 16px;
}

.hero-ba-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    user-select: none;
    cursor: ew-resize;
}

.hero-ba-img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.hero-ba-before-wrap {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--hero-split, 33.4%)) 0 0);
    will-change: clip-path;
}

.hero-ba-divider {
    position: absolute;
    top: 16%;
    bottom: 6%;
    left: var(--hero-split, 33.4%);
    width: 2px;
    background: rgba(11, 60, 120, 0.65);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    touch-action: none;
}

.hero-ba-handle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(250, 247, 240, 0.95);
    border: 2px solid var(--mm-blue);
    box-shadow: 0 4px 14px rgba(11, 60, 120, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-ba-slider:hover .hero-ba-handle {
    transform: scale(1.1);
    background: #ffffff;
}

.floating-badge-experiencias {
    position: absolute;
    left: -18px;
    bottom: -22px;
    width: 170px;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

.floating-nota-360 {
    position: absolute;
    right: -4px;
    top: 22%;
    width: 185px;
    height: auto;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
}

.hero-manifesto {
    margin-top: 8px;
    margin-left: auto;
    margin-right: 45px;
    max-width: 340px;
    font-family: var(--font-kalam);
    font-size: 1.05rem;
    line-height: 1.38;
    color: var(--mm-ink);
    transform: rotate(-6deg);
    transform-origin: left center;
}

.hero-manifesto p {
    display: flex;
    align-items: center;
    gap: 14px;
}

.somos-col {
    display: inline-block;
    min-width: 58px;
}

.manifesto-highlight-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.oval-word-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;
}

.oval-word-wrap strong {
    position: relative;
    z-index: 2;
}

.oval-bg-img {
    position: absolute;
    inset: -6px -10px;
    width: calc(100% + 20px);
    height: calc(100% + 12px);
    object-fit: fill;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   SECCION 2: NUESTRO PROCESO
   ========================================================================== */

.proceso-section {
    position: relative;
    padding: 28px 0 32px;
    border-bottom: 1.5px solid rgba(24, 28, 36, 0.22);
}

.notebook-spiral {
    position: absolute;
    left: 10px;
    top: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.notebook-spiral span {
    display: block;
    width: 14px;
    height: 8px;
    border: 2px solid #5a6270;
    border-radius: 6px;
    background: var(--mm-paper);
    box-shadow: 3px 1px 0 rgba(0, 0, 0, 0.18);
}

.proceso-grid {
    display: grid;
    grid-template-columns: minmax(220px, 18%) 1fr;
    gap: clamp(24px, 2.8vw, 48px);
    align-items: center;
}

.section-oval-title {
    position: relative;
    display: inline-block;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 1.38rem;
    line-height: 1.15;
    color: var(--mm-ink);
    padding: 8px 18px;
    margin-bottom: 10px;
}

.section-oval-title span {
    position: relative;
    z-index: 2;
}

.oval-title-img {
    position: absolute;
    inset: -8px -12px;
    width: calc(100% + 24px);
    height: calc(100% + 16px);
    object-fit: fill;
    z-index: 1;
    pointer-events: none;
}

.typewriter-text {
    font-family: var(--font-typewriter);
    font-size: 0.92rem;
    color: var(--mm-ink);
    margin-bottom: 14px;
}

.proceso-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.proceso-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.proceso-step:hover {
    transform: translateY(-6px);
}

.step-num {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--mm-blue);
    border-bottom: 2px solid var(--mm-blue);
    line-height: 1;
    padding-bottom: 2px;
    margin-bottom: 10px;
}

.step-icon-wrap {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.sketch-icon {
    width: 58px;
    height: 58px;
}

.step-bulb-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.step-label {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.15;
    color: var(--mm-ink);
}

.step-arrow {
    font-family: var(--font-kalam);
    font-size: 1.35rem;
    color: var(--mm-blue);
    margin-top: 8px;
}

/* ==========================================================================
   SECCION 3: SERVICIOS 360
   ========================================================================== */

.servicios-section {
    padding: 36px 0;
    border-bottom: 1.5px solid rgba(24, 28, 36, 0.22);
}

.servicios-grid {
    display: grid;
    grid-template-columns: minmax(210px, 18%) 1fr minmax(280px, 24%);
    gap: clamp(24px, 2.8vw, 48px);
    align-items: center;
}

.hand-section-title {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 14px;
}

.blue-title {
    color: var(--mm-blue);
}

.dark-title {
    color: var(--mm-ink);
}

.title-underline {
    display: block;
    width: 155px;
    height: 18px;
    object-fit: cover;
    margin-top: -4px;
}

.servicios-list {
    list-style: none;
    margin: 16px 0 18px;
}

.servicios-list li {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mm-ink);
    padding: 4px 0;
    border-bottom: 1px dashed rgba(11, 60, 120, 0.14);
}

.taller-collage-wrap {
    position: relative;
    transition: transform 0.35s ease;
}

.taller-collage-wrap:hover {
    transform: scale(1.015) rotate(-0.5deg);
}

.taller-collage-img {
    width: 100%;
    border-radius: 2px;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.14));
}

.servicios-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.servicio-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 6px;
    border-radius: 6px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.servicio-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.48);
}

.servicio-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.servicio-text h3 {
    font-family: var(--font-typewriter);
    font-weight: 700;
    font-size: 1rem;
    color: var(--mm-ink);
    margin-bottom: 2px;
}

.servicio-text p {
    font-family: var(--font-typewriter);
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--mm-ink-soft);
}

/* ==========================================================================
   SECCION 4: PROYECTOS QUE HABLAN POR NOSOTRXS (POLAROIDS)
   ========================================================================== */

.proyectos-section {
    padding: 38px 0 42px;
}

.proyectos-layout {
    display: grid;
    grid-template-columns: minmax(210px, 18%) 1fr;
    gap: clamp(24px, 2.8vw, 48px);
    align-items: start;
}

.proyectos-cards-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.proyectos-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.polaroid-card {
    position: relative;
    background: #f8f5ec;
    border: 1px solid rgba(24, 28, 36, 0.22);
    padding: 8px 8px 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.polaroid-card:nth-child(odd) {
    transform: rotate(-0.8deg);
}

.polaroid-card:nth-child(even) {
    transform: rotate(0.8deg);
}

.polaroid-card:hover {
    transform: translateY(-7px) rotate(0deg) scale(1.02);
    box-shadow: 0 14px 28px rgba(11, 60, 120, 0.18);
    z-index: 3;
}

.polaroid-card.is-hidden {
    display: none;
}

.badge-destacado {
    position: absolute;
    top: -8px;
    left: -12px;
    background: var(--mm-yellow);
    color: var(--mm-ink);
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 10px;
    transform: rotate(-32deg);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    z-index: 4;
}

.polaroid-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2.05;
    overflow: hidden;
    background: #1a212d;
    margin-bottom: 10px;
}

.polaroid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.polaroid-card:hover .polaroid-img-wrap img {
    transform: scale(1.07);
}

.polaroid-body h3 {
    font-family: var(--font-typewriter);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--mm-ink);
    margin-bottom: 3px;
}

.project-sector,
.project-event {
    font-family: var(--font-typewriter);
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--mm-ink-soft);
}

.proyectos-side-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.btn-circle-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--mm-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(11, 60, 120, 0.28);
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn-circle-next:hover {
    transform: scale(1.12) rotate(8deg);
    background: var(--mm-blue-dark);
}

.on-tour-img {
    width: 78px;
    height: auto;
}

/* ==========================================================================
   SECCION 5: FRANJA AZUL RASGADA DE CIFRAS Y MAPA DE ESPANA
   ========================================================================== */

.stats-banner-section {
    position: relative;
    background-color: transparent;
    background-image: url('../img/elementos/franja-azul-rasgada.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: #ffffff;
    padding: 46px 0 42px;
    margin: 6px 0 24px;
    filter: drop-shadow(0 8px 18px rgba(7, 36, 76, 0.18));
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.65fr 1fr;
    gap: 24px;
    align-items: center;
}

.stat-block {
    position: relative;
}

.stat-top-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-plus {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: clamp(1.8rem, 2.8vw, 2.35rem);
    line-height: 1;
    color: #ffffff;
    margin-top: 6px;
}

.stat-plus-right {
    margin-left: 2px;
}

.stat-number {
    font-family: var(--font-kalam);
    font-weight: 400;
    font-size: clamp(3rem, 4.6vw, 4.1rem);
    line-height: 0.92;
    color: #ffffff;
}

.stat-label {
    font-family: var(--font-kalam);
    font-size: 1.05rem;
    line-height: 1.18;
    letter-spacing: 0.03em;
    color: #ffffff;
    margin-top: 4px;
}

.stat-double-underline {
    display: block;
    width: 128px;
    height: 15px;
    margin-top: 2px;
}

.stat-deco-star {
    position: absolute;
    right: 16%;
    top: 32%;
}

.stat-deco-crown {
    margin-left: 10px;
    margin-top: -12px;
    transform: rotate(-8deg);
}

.stat-block-map {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spain-map-wrap {
    width: 215px;
    flex-shrink: 0;
    margin-top: -6px;
    margin-bottom: -10px;
}

.spain-map-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   SECCION 6: DEL RENDER A LA REALIDAD (COMPARADOR INTERACTIVO)
   ========================================================================== */

.render-realidad-section {
    padding: 28px 0 42px;
    border-bottom: 1.5px solid rgba(24, 28, 36, 0.22);
}

.render-realidad-grid {
    display: grid;
    grid-template-columns: minmax(220px, 18%) 1fr;
    gap: clamp(24px, 2.8vw, 48px);
    align-items: center;
}

.render-right {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 150px;
}

.comparison-widget {
    position: relative;
    width: 100%;
    height: clamp(300px, 24vw, 440px);
    display: flex;
    border: 1.5px solid rgba(24, 28, 36, 0.28);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.11);
    overflow: hidden;
    user-select: none;
}

.comp-pane {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.comp-pane-render {
    width: var(--split, 44%);
    border-right: 2px solid var(--mm-paper);
}

.comp-pane-real {
    flex: 1;
}

.comp-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comp-tag {
    position: absolute;
    top: 10px;
    z-index: 3;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 2px 10px;
    border-radius: 3px;
}

.comp-tag-left {
    left: 12px;
    color: var(--mm-ink);
    background: rgba(242, 238, 228, 0.88);
}

.comp-tag-right {
    right: 12px;
    color: #ffffff;
    background: rgba(11, 60, 120, 0.82);
}

.comp-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split, 44%);
    width: 44px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    z-index: 5;
    touch-action: none;
}

.comp-handle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mm-paper-light);
    border: 2px solid var(--mm-blue);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.comp-divider:hover .comp-handle {
    transform: scale(1.12);
    background: #ffffff;
}

.sticky-note-360 {
    position: absolute;
    right: 0;
    bottom: -14px;
    width: 185px;
    background: var(--mm-kraft);
    padding: 22px 18px 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    font-family: var(--font-kalam);
    font-size: 0.98rem;
    line-height: 1.3;
    color: var(--mm-ink);
    z-index: 6;
}

.tape-top {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 72px;
    height: 22px;
    background: var(--mm-tape);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blue-asterisk {
    position: absolute;
    right: -12px;
    bottom: -18px;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 3.1rem;
    line-height: 1;
    color: var(--mm-blue);
}

/* ==========================================================================
   SECCION 7: QUIENES SOMOS (NOSOTROS)
   ========================================================================== */

.quienes-somos-section {
    padding: 44px 0;
    border-bottom: 1.5px solid rgba(24, 28, 36, 0.22);
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.45) 0%, rgba(242, 238, 228, 0.8) 100%);
}

.nosotros-top-grid {
    display: grid;
    grid-template-columns: minmax(340px, 32%) 1fr;
    gap: clamp(28px, 3vw, 56px);
    align-items: center;
    margin-bottom: 34px;
}

.nosotros-main-title {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    line-height: 0.95;
    color: var(--mm-blue);
    transform: rotate(-3deg);
}

.nosotros-subtitle {
    font-family: var(--font-kalam);
    font-size: 1.32rem;
    line-height: 1.25;
    color: var(--mm-ink);
    margin-top: 10px;
}

.nosotros-collage-img {
    width: 100%;
    border-radius: 3px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12));
}

.nosotros-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 38px;
}

.nosotros-pillar {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(11, 60, 120, 0.15);
    padding: 22px 24px;
    border-radius: 4px;
    position: relative;
}

.pillar-num-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.pillar-num {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 1rem;
    color: var(--mm-blue);
}

.pillar-line {
    width: 48px;
    height: 2px;
    background: var(--mm-blue);
}

.pillar-title {
    font-family: var(--font-anton);
    font-size: 1.45rem;
    letter-spacing: 0.02em;
    color: var(--mm-blue);
    margin-bottom: 10px;
}

.nosotros-pillar p {
    font-size: 0.9rem;
    color: var(--mm-ink-soft);
    margin-bottom: 10px;
}

.synergy-badge {
    display: inline-block;
    background: var(--mm-yellow);
    color: var(--mm-ink);
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 1.35rem;
    padding: 6px 20px;
    transform: rotate(-4deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    margin-top: 6px;
}

.team-mini-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.team-mini-icons span {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--mm-blue);
    background: rgba(11, 60, 120, 0.08);
    border: 1px solid rgba(11, 60, 120, 0.22);
    padding: 3px 10px;
    border-radius: 3px;
}

.adventure-plane-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
}

.adventure-question {
    font-family: var(--font-kalam);
    font-size: 1.05rem;
    color: var(--mm-blue) !important;
    margin-bottom: 0 !important;
}

.plane-adventure-img {
    width: 96px;
    height: auto;
}

.oval-quote-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    margin-top: 6px;
}

.oval-quote-badge span {
    position: relative;
    z-index: 2;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--mm-blue);
    text-align: center;
}

.oval-quote-badge img {
    position: absolute;
    inset: -6px -10px;
    width: calc(100% + 20px);
    height: calc(100% + 12px);
    object-fit: fill;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   SECCION 8: MARCAS QUE YA HAN CONFIADO EN NOSOTRXS
   ========================================================================== */

.marcas-section {
    padding: 32px 0;
    border-bottom: 1.5px solid rgba(24, 28, 36, 0.22);
}

.marcas-grid {
    display: grid;
    grid-template-columns: minmax(210px, 18%) 1fr;
    gap: clamp(24px, 2.8vw, 48px);
    align-items: center;
}

.marcas-logos-wrap {
    position: relative;
    padding-right: 145px;
}

.marcas-logos-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
}

.client-logo {
    font-family: var(--font-anton);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: var(--mm-ink);
    opacity: 0.84;
    padding: 4px 8px;
    transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
    cursor: default;
}

.client-logo:hover {
    opacity: 1;
    color: var(--mm-blue);
    transform: translateY(-3px) scale(1.06);
}

.logo-acciona,
.logo-sanofi,
.logo-iberdrola,
.logo-smopyc,
.logo-endesa,
.logo-bauma,
.logo-ferrovial {
    font-family: var(--font-typewriter);
    font-weight: 700;
}

.cinta-gracias-img {
    position: absolute;
    right: -10px;
    bottom: -16px;
    width: 145px;
    height: auto;
}

/* ==========================================================================
   SECCION 9: BLOG / IDEAS, TENDENCIAS Y CONSEJOS
   ========================================================================== */

.blog-section {
    padding: 36px 0 44px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(210px, 18%) 1fr minmax(220px, 18%);
    gap: clamp(20px, 2.2vw, 36px);
    align-items: center;
}

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

.blog-tag {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: var(--mm-blue);
    color: #ffffff;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.68rem;
    padding: 2px 10px;
    letter-spacing: 0.04em;
}

.blog-card-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.blog-card-body h3 {
    font-size: 0.88rem;
    line-height: 1.3;
}

.blog-card-arrow {
    color: var(--mm-blue);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.blog-card:hover .blog-card-arrow {
    transform: translateX(4px);
}

.blog-inspiration-box {
    position: relative;
    border: 1.5px solid rgba(24, 28, 36, 0.28);
    background:
        repeating-linear-gradient(180deg,
            transparent,
            transparent 23px,
            rgba(11, 60, 120, 0.12) 24px),
        rgba(255, 255, 255, 0.55);
    padding: 22px 18px;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-inspiration-box p {
    font-family: var(--font-kalam);
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--mm-ink);
}

.inspiration-bulb-img {
    position: absolute;
    right: 8px;
    bottom: 6px;
    width: 62px;
    height: auto;
}

/* ==========================================================================
   CHECKBOX MODERNO (TIPO SWITCH / TOGGLE MODERNO)
   ========================================================================== */

.modern-check-wrap {
    margin: 14px 0 18px;
}

.modern-check-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.modern-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.modern-check-slider {
    position: relative;
    width: 48px;
    height: 26px;
    background-color: #cbd5e1;
    border-radius: 999px;
    flex-shrink: 0;
    transition: background-color 0.28s ease, box-shadow 0.28s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.modern-check-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}

.modern-check-input:checked+.modern-check-slider {
    background-color: var(--mm-blue);
}

.modern-check-input:checked+.modern-check-slider::before {
    transform: translateX(22px);
}

.modern-check-input:focus-visible+.modern-check-slider {
    box-shadow: 0 0 0 3px rgba(11, 60, 120, 0.28);
}

.modern-check-text {
    font-family: var(--font-typewriter);
    font-size: 0.86rem;
    color: var(--mm-ink);
    line-height: 1.4;
}

.inline-legal-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: var(--mm-blue);
    text-decoration: underline;
    cursor: pointer;
}

.inline-legal-btn:hover {
    color: var(--mm-blue-dark);
}

/* ==========================================================================
   PIE DE PAGINA Y FORMULARIO DE CONTACTO
   ========================================================================== */

.site-footer {
    margin-top: 12px;
}

.footer-contact-band {
    background: linear-gradient(135deg, #082d5e 0%, #0b3c78 65%, #12498a 100%);
    color: #ffffff;
    padding: 48px 0;
    border-top: 4px dashed rgba(242, 238, 228, 0.35);
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 38px;
    align-items: center;
}

.hand-tag-blue {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: var(--mm-yellow);
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.footer-contact-heading {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    line-height: 1;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-contact-sub {
    font-family: var(--font-kalam);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.contact-methods-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-methods-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cm-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-methods-list strong {
    display: block;
    font-family: var(--font-anton);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--mm-yellow);
}

.contact-methods-list a:hover {
    text-decoration: underline;
}

/* Tarjeta blanca de formulario en el pie */
.taped-card {
    position: relative;
    background: var(--mm-paper-light);
    color: var(--mm-ink);
    border: 1.5px solid rgba(24, 28, 36, 0.2);
    border-radius: 4px;
    padding: 28px 26px 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.form-card-title {
    font-family: var(--font-anton);
    font-size: 1.45rem;
    letter-spacing: 0.03em;
    color: var(--mm-blue);
    margin-bottom: 16px;
}

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

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mm-blue);
    margin-bottom: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid rgba(11, 60, 120, 0.28);
    border-radius: 3px;
    background: #ffffff;
    font-family: var(--font-typewriter);
    font-size: 0.9rem;
    color: var(--mm-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mm-blue);
    box-shadow: 0 0 0 3px rgba(11, 60, 120, 0.14);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.recaptcha-note {
    font-size: 0.75rem;
    color: var(--mm-ink-soft);
}

/* Franja Inferior Identica al Mockup de la HOME (Con Fondo Azul Rasgado) */
.footer-bottom-band {
    background: transparent;
    padding: 8px 0 0;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 2.65fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* En escritorio el bloque azul rasgado llega hasta el borde izquierdo del contenedor boxed */
@media (min-width: 1081px) {
    .footer-bottom-band > .container {
        padding-left: 0;
    }
}

.footer-blue-banner {
    background-color: transparent;
    background-image: url('../img/elementos/footer-azul-rasgado.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    color: #ffffff;
    padding: 36px 28px 18px clamp(20px, 3vw, 48px);
    display: grid;
    grid-template-columns: minmax(260px, 41%) 1fr;
    gap: 18px;
    align-items: end;
    position: relative;
    filter: drop-shadow(0 6px 14px rgba(4, 21, 46, 0.16));
}

.footer-cta-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4px;
}

.footer-banner-title {
    font-family: var(--font-kalam);
    font-weight: 400;
    font-size: clamp(1.55rem, 2.2vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
    color: #ffffff;
    transform: rotate(-1.5deg);
    transform-origin: left center;
    margin-bottom: 2px;
}

.footer-title-underline {
    width: 215px;
    height: 15px;
    display: block;
    margin: 0 0 10px 2px;
}

.footer-banner-sub {
    font-family: var(--font-typewriter);
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1.38;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.footer-cta-stamp-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.btn-white-sketch {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 175px;
    background: #f5f2e9;
    color: var(--mm-blue);
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    padding: 9px 18px 7px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    transform: rotate(-1deg);
    transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn-white-sketch:hover {
    background: var(--mm-yellow);
    color: var(--mm-ink);
    transform: rotate(0deg) translateY(-2px);
}

.btn-sketch-arrow {
    font-size: 1.15rem;
    line-height: 1;
}

.stamp-sevilla {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3efe4;
    color: var(--mm-ink);
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.08;
    text-align: center;
    padding: 8px 16px;
    transform: rotate(-9deg);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.stamp-sevilla::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1.4px solid rgba(24, 28, 36, 0.72);
    pointer-events: none;
}

.footer-stand-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.footer-stand-stage {
    position: relative;
    width: 100%;
    padding-right: 12px;
}

/* Recorte oblicuo de la foto del stand identico al diseno */
.footer-stand-slanted {
    width: 84%;
    height: 158px;
    overflow: hidden;
    clip-path: polygon(8% 0%, 93% 2%, 100% 100%, 0% 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.footer-stand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
}

/* Nota kraft superpuesta con carita sonriente en la esquina inferior derecha */
.footer-sticky-note {
    position: absolute;
    right: 2px;
    bottom: -4px;
    width: 242px;
    background: linear-gradient(135deg, #e5dac3 0%, #d8c9ab 100%);
    color: var(--mm-ink);
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1.28;
    text-align: center;
    padding: 14px 18px 18px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.26);
    transform: rotate(0.8deg);
    border: 1px solid rgba(24, 28, 36, 0.14);
}

.footer-sticky-note p {
    margin: 0;
    letter-spacing: 0.02em;
}

.sticky-smiley {
    position: absolute;
    right: 10px;
    bottom: 4px;
    width: 24px;
    height: 24px;
}

.footer-delegaciones-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: end;
    padding-top: 4px;
    font-family: var(--font-kalam);
    font-size: 0.72rem;
    line-height: 1.22;
}

.del-col {
    display: flex;
    flex-direction: column;
}

.del-heading {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1px;
}

.footer-delegaciones-row strong {
    display: block;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.footer-delegaciones-row span:not(.del-heading) {
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

/* Columna Derecha sobre Papel del Pie */
.footer-right-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 6px 14px 8px;
}

.footer-brand-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-logo-img {
    height: 138px;
    width: auto;
    display: block;
}

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

.footer-socials a {
    width: 28px;
    height: 28px;
    border: 1.8px solid var(--mm-ink);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-typewriter);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--mm-ink);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-socials a:hover {
    background: var(--mm-blue);
    color: #ffffff;
    border-color: var(--mm-blue);
}

.footer-nav-list {
    list-style: none;
    font-family: var(--font-typewriter);
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1.72;
    padding-right: 18px;
}

.footer-nav-list a:hover {
    color: var(--mm-blue);
    text-decoration: underline;
}

.footer-legal-plane {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(24, 28, 36, 0.16);
}

.footer-legal-links {
    font-family: var(--font-typewriter);
    font-size: 0.74rem;
    color: var(--mm-ink-soft);
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-legal-links .inline-legal-btn {
    color: var(--mm-ink-soft);
    text-decoration: none;
}

.footer-legal-links .inline-legal-btn:hover {
    color: var(--mm-blue);
    text-decoration: underline;
}

.footer-plane-img {
    width: 68px;
    height: auto;
    margin-top: -18px;
}

/* ==========================================================================
   PAGINA DE LOGIN / RECUPERACION / 2FA
   ========================================================================== */

.auth-wrapper {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 500px;
}

.hand-tag {
    display: inline-block;
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--mm-blue);
    background: rgba(11, 60, 120, 0.1);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.auth-title {
    font-family: var(--font-anton);
    font-size: 1.9rem;
    color: var(--mm-blue);
    margin-bottom: 8px;
}

.auth-desc {
    font-size: 0.9rem;
    color: var(--mm-ink-soft);
    margin-bottom: 18px;
}

.local-notice-box {
    background: rgba(243, 200, 70, 0.25);
    border-left: 4px solid var(--mm-blue);
    padding: 12px 14px;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.code-badge {
    display: inline-block;
    background: var(--mm-blue);
    color: #ffffff;
    font-family: var(--font-anton);
    font-size: 1.25rem;
    letter-spacing: 0.16em;
    padding: 2px 10px;
    border-radius: 3px;
    margin-left: 6px;
}

.digits-6-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.digit-input {
    width: 100%;
    height: 54px;
    text-align: center;
    font-family: var(--font-anton);
    font-size: 1.55rem;
    color: var(--mm-blue);
    border: 2px solid rgba(11, 60, 120, 0.35);
    border-radius: 4px;
    background: #ffffff;
}

.digit-input:focus {
    outline: none;
    border-color: var(--mm-blue);
    box-shadow: 0 0 0 3px rgba(11, 60, 120, 0.18);
}

.auth-links {
    margin-top: 16px;
    text-align: center;
}

/* ==========================================================================
   MODAL PERSONALIZADO (SUSTITUYE VENTANAS NATIVAS DEL NAVEGADOR)
   ========================================================================== */

.mm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 25, 48, 0.68);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.mm-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mm-modal-box {
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow-y: auto;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.28s ease;
}

.mm-modal-overlay.is-open .mm-modal-box {
    transform: translateY(0) scale(1);
}

.mm-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--mm-ink);
    cursor: pointer;
}

.mm-modal-tag {
    font-family: var(--font-kalam);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--mm-blue);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.mm-modal-title {
    font-family: var(--font-anton);
    font-size: 1.65rem;
    color: var(--mm-blue);
    margin-bottom: 12px;
}

.mm-modal-media img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.mm-modal-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--mm-ink);
    margin-bottom: 20px;
}

.mm-modal-actions {
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   ADAPTACION RESPONSIVE (TABLET Y MOVIL)
   ========================================================================== */

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 300px 1fr;
    }

    .servicios-grid {
        grid-template-columns: 1fr 1fr;
    }

    .servicios-left {
        grid-column: 1 / -1;
    }

    .proyectos-layout,
    .render-realidad-grid,
    .marcas-grid,
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .proyectos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 86px;
        left: 0;
        right: 0;
        background: var(--mm-paper-light);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        border-bottom: 2px solid var(--mm-blue);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-only-cta {
        display: inline-flex;
        margin-top: 6px;
    }

    .hero-grid,
    .proceso-grid,
    .servicios-grid,
    .nosotros-top-grid,
    .nosotros-pillars-grid,
    .footer-contact-grid,
    .footer-blue-banner {
        grid-template-columns: 1fr;
    }

    .hero-stand-stage {
        padding-right: 0;
    }

    .floating-nota-360 {
        width: 145px;
        right: 0;
        top: 8%;
    }

    .floating-badge-experiencias {
        width: 130px;
        left: 0;
        bottom: -14px;
    }

    .proceso-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .step-arrow {
        display: none;
    }

    .render-right {
        padding-right: 0;
        flex-direction: column;
        gap: 16px;
    }

    .sticky-note-360 {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
    }

    .marcas-logos-wrap {
        padding-right: 0;
    }

    .cinta-gracias-img {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 16px;
    }

    .blog-cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-delegaciones-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .proyectos-cards-wrapper {
        flex-direction: column;
    }

    .proyectos-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .proyectos-side-controls {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .comparison-widget {
        height: 220px;
    }
}