﻿    /* Tipografías: @font-face en assets/css/font-faces.css (Nunito en tema; TodaySHOP en assets/fonts/) */

    :root {
        --font-heading: 'TodaySHOP', 'Trebuchet MS', 'Arial Black', Arial, sans-serif;
        --font-body: 'Nunito', 'Segoe UI', system-ui, Tahoma, Arial, sans-serif;
    }

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

    html { scroll-behavior: smooth; }

    body {
        font-family: var(--font-body);
        color: #1a1a1a;
        overflow-x: hidden;
        background: #fff;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-heading);
        letter-spacing: 0.2px;
    }

    /* ═══════════════════════════════════════════════════════════
       CONTENEDOR GLOBAL 1300px
    ═══════════════════════════════════════════════════════════ */
    .container {
        max-width: 1300px;
        margin: 0 auto;
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* ═══════════════════════════════════════════════════════════
       NAVBAR
    ═══════════════════════════════════════════════════════════ */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 300;
        background: transparent;
        transition: background 0.35s ease, box-shadow 0.35s ease;
    }

    .navbar.is-scrolled {
        background: #fff;
        box-shadow: 0 1px 12px rgba(0,0,0,0.1);
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .navbar-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        position: relative;
        height: 44px;
        width: 170px;
        flex: 0 0 170px;
    }

    .navbar-logo img {
        width: auto;
        height: 100%;
        transition: opacity 0.35s ease;
        position: absolute;
        top: 0;
        left: 0;
    }

    .logo-dark {
        opacity: 0;
        height: 56%;
        top: 22%;
    }

    .logo-white {
        position: absolute;
        opacity: 1;
    }

    .navbar.is-scrolled .logo-white { opacity: 0; }
    .navbar.is-scrolled .logo-dark  { opacity: 1; }

    /* Sin hero a pantalla completa: barra sólida y contraste desde el primer pixel */
    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar {
        background: #fff;
        box-shadow: 0 1px 12px rgba(0,0,0,0.1);
    }

    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar .logo-white { opacity: 0; }
    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar .logo-dark  { opacity: 1; }

    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar .navbar-links a { color: #1a1a1a; }
    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar .navbar-links a:hover { color: #5B1F8A; }
    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar .navbar-links a:not(.btn-nav):hover { color: #5B1F8A; }

    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar .nav-toggle span { background: #1a1a1a; }

    body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) #page.site-wrapper {
        padding-top: 76px;
    }

    .navbar-links {
        display: flex;
        align-items: center;
        gap: 36px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navbar-links li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navbar-links a {
        text-decoration: none;
        color: #fff;
        font-size: 21px;
        font-weight: 700;
        font-family: var(--font-heading);
        transition: color 0.2s;
    }

    .navbar-links a:hover { color: #F5A300; }

    .navbar.is-scrolled .navbar-links a             { color: #1a1a1a; }
    .navbar.is-scrolled .navbar-links a:hover       { color: #5B1F8A; }
    .navbar.is-scrolled .navbar-links a:not(.btn-nav):hover { color: #5B1F8A; }

    .navbar-links .btn-nav {
        background: #e47a24;
        border: 2px solid #e47a24;
        border-radius: 30px;
        padding: 9px 24px;
        font-weight: 700;
        font-family: var(--font-heading);
        color: #fff;
        transition: background 0.22s, border-color 0.22s;
    }

    .navbar-links .btn-nav:hover {
        background: #c96a1a;
        border-color: #c96a1a;
        color: #fff;
    }

    .navbar.is-scrolled .navbar-links .btn-nav {
        background: #e47a24;
        border-color: #e47a24;
        color: #fff;
    }

    .navbar.is-scrolled .navbar-links .btn-nav:hover {
        background: #c96a1a;
        border-color: #c96a1a;
    }

    /* Hamburger — solo mobile */
    .nav-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        flex-direction: column;
        gap: 5px;
        padding: 4px;
    }

    /* Líneas del hamburger: blancas en hero */
    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: background 0.3s;
    }

    /* Scrolled: hamburger oscuro */
    .navbar.is-scrolled .nav-toggle span { background: #1a1a1a; }

    /* ═══════════════════════════════════════════════════════════
       DRAWER — panel lateral izquierdo (solo móvil)
    ═══════════════════════════════════════════════════════════ */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 490;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .nav-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-drawer {
        display: none;
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 280px;
        background: linear-gradient(160deg, #1a0438 0%, #2d0a5c 100%);
        z-index: 500;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
    }
    .nav-drawer.open { transform: translateX(0); }

    /* Header del drawer: logo + botón cerrar */
    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        flex-shrink: 0;
    }
    .drawer-logo { height: 34px; width: auto; }

    .drawer-close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        color: rgba(255,255,255,0.7);
        line-height: 1;
        transition: color 0.2s;
    }
    .drawer-close:hover { color: #fff; }
    .drawer-close svg { display: block; }

    /* Links de navegación */
    .drawer-nav {
        flex: 1;
        padding: 12px 0;
        list-style: none;
        margin: 0;
    }

    .drawer-nav li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .drawer-nav li a {
        display: block;
        padding: 15px 24px;
        color: rgba(255,255,255,0.85);
        font-family: var(--font-heading);
        font-size: 19px;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        transition: color 0.2s, background 0.2s;
    }
    .drawer-nav li:last-child a { border-bottom: none; }
    .drawer-nav li a:hover { color: #F5A300; background: rgba(255,255,255,0.04); }
    .drawer-nav .btn-nav-drawer { color: #F5A300 !important; margin-top: 8px; }

    /* Redes sociales en el footer del drawer */
    .drawer-social {
        padding: 22px 24px 28px;
        display: flex;
        gap: 16px;
        justify-content: center;
        border-top: 1px solid rgba(255,255,255,0.12);
        flex-shrink: 0;
    }
    .drawer-social .soc-icon { width: 40px; height: 40px; }
    .drawer-social .soc-icon img { width: 40px; height: 40px; }

    /* ═══════════════════════════════════════════════════════════
       HERO
    ═══════════════════════════════════════════════════════════ */
    .hero {
        position: relative;
        overflow: visible;
    }

    /* Bloque morado (fondo + contenido): altura = contenido; evita franja blanca si el slide supera 100svh */
    .hero-stage {
        position: relative;
        width: 100%;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        transition: background-color 0.65s ease;
    }

    .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 42% 50%, rgba(255,255,255,0.07) 0%, transparent 62%);
        pointer-events: none;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(0,0,0,0.06);
        pointer-events: none;
    }

    .hero-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        background: none;
        border: none;
        color: rgba(255,255,255,0.7);
        font-size: 44px;
        font-weight: 200;
        cursor: pointer;
        line-height: 1;
        padding: 8px 12px;
        transition: color 0.2s, transform 0.2s;
        user-select: none;
    }

    .hero-arrow:hover {
        color: #fff;
        transform: translateY(-50%) scale(1.08);
    }

    .hero-arrow.prev { left: 4px; }
    .hero-arrow.next { right: 4px; }

    .hero-stage .container {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 0;
        padding-top: 105px;
        padding-bottom: 24px;
        padding-right: calc(40px + 330px + 10px);
    }

    .hero-text {
        flex: 0 0 290px;
        padding-right: 20px;
        transition: opacity 0.38s ease;
    }

    .hero-text.fading { opacity: 0; }

    .hero-text h1 {
        font-size: 36px;
        font-weight: 900;
        color: #fff;
        line-height: 1.12;
        margin-bottom: 16px;
    }

    .hero-text p {
        color: #fff;
        font-size: 25px;
        font-weight: 500;
        line-height: 35px;
        margin-bottom: 26px;
    }

    .hero-text p strong { font-weight: inherit; }

    .btn-hero {
        display: inline-block;
        background: #e47a24;
        color: #fff;
        font-family: var(--font-body);
        font-size: 21px;
        font-weight: 400;
        padding: 11px 28px;
        border-radius: 30px;
        text-decoration: none;
        letter-spacing: 0.2px;
        transition: background 0.22s, transform 0.15s;
        border: none;
        cursor: pointer;
    }

    .btn-hero:hover {
        background: #c96a1a;
        transform: translateY(-1px);
    }

    .hero-btn-purple { background: #5B1F8A !important; }
    .hero-btn-purple:hover { background: #4a1870 !important; }

    .hero-slide-area {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        transition: opacity 0.38s ease;
    }

    .hero-slide-area.fading { opacity: 0; }

    .hero-slide-area img {
        max-height: 400px;
        max-width: 100%;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 12px 36px rgba(0,0,0,0.28));
    }

    .slide-img-placeholder {
        width: 100%;
        height: 320px;
        background: rgba(0,0,0,0.16);
        border: 2px dashed rgba(255,255,255,0.25);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        color: rgba(255,255,255,0.5);
        text-align: center;
        padding: 20px;
    }

    .slide-img-placeholder .ph-label {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.65;
    }

    .slide-img-placeholder .ph-size {
        font-size: 10px;
        font-weight: 500;
        color: rgba(255,255,255,0.32);
        letter-spacing: 0.5px;
    }

    .slide-counter {
        position: absolute;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .slide-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(255,255,255,0.35);
        cursor: pointer;
        border: none;
        padding: 0;
        transition: background 0.25s, transform 0.2s;
    }

    .slide-dot.active {
        background: #fff;
        transform: scale(1.35);
    }

    .hero-form-wrap {
        position: absolute;
        top: 96px;
        right: calc(max(40px, (100% - 1300px) / 2) + 22px);
        width: 430px;
        min-height: 585px;
        z-index: 40;
        background: #F5A300;
        border-radius: 28px;
        padding: 26px 22px 28px;
        box-shadow: 0 16px 52px rgba(0,0,0,0.30);
        font-family: var(--font-body);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-form-wrap h3 {
        font-family: var(--font-body);
        font-size: 26px;
        font-weight: 800;
        color: #222023;
        line-height: 33px;
        margin: 0 -22px 20px;
        padding: 0 22px 18px;
        border-bottom: 2px solid rgba(255,255,255,0.95);
    }

    .form-field { margin-bottom: 22px; }

    .form-field label {
        display: block;
        font-size: 18px;
        font-weight: 700;
        font-family: var(--font-body);
        color: #222023;
        margin-bottom: 8px;
        letter-spacing: 0;
    }

    .form-field input {
        width: 100%;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(255,255,255,0.95);
        padding: 6px 0;
        font-size: 12px;
        font-family: var(--font-body);
        font-weight: 700;
        color: #fff;
        outline: none;
        transition: border-color 0.2s;
    }

    .form-field input:focus { border-bottom-color: #fff; }

    .form-field input::placeholder {
        color: rgba(255,255,255,0.95);
        font-size: 12px;
        font-family: var(--font-body);
        font-weight: 700;
        text-transform: uppercase;
    }

    .form-privacy {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 10px 0 16px;
    }

    .form-privacy input[type="checkbox"] { display: none; }

    .checkbox-custom {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: rgba(255,255,255,0.12);
        border: 2px solid #138a5f;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s, border-color 0.2s;
    }

    .form-privacy input[type="checkbox"]:checked + .checkbox-custom {
        background: #2e7d32;
        border-color: #2e7d32;
    }

    .checkbox-custom svg { display: none; }

    .form-privacy input[type="checkbox"]:checked + .checkbox-custom svg { display: block; }

    .form-privacy label {
        font-size: 12px;
        color: #222023;
        cursor: pointer;
        line-height: 1.35;
        font-weight: 700;
        font-family: var(--font-body);
    }

    .form-privacy a {
        color: #222023;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .btn-enviar {
        width: 86%;
        margin: 0 auto;
        display: block;
        background: #1a1a1a;
        color: #fff;
        border: none;
        border-radius: 999px;
        padding: 16px 14px;
        font-size: 24px;
        font-weight: 700;
        font-family: var(--font-body);
        letter-spacing: 1px;
        line-height: 1;
        cursor: pointer;
        transition: background 0.22s;
    }

    .btn-enviar:hover { background: #3a1060; }

    /* ═══════════════════════════════════════════════════════════
       SOBRE NOSOTROS
    ═══════════════════════════════════════════════════════════ */
    .about {
        background: #fff;
        position: relative;
        z-index: 1;
    }

    .about .container {
        padding-top: 56px;
        padding-bottom: 52px;
    }

    .about p {
        font-size: 25px;
        line-height: 30px;
        color: #1a1a1a;
        max-width: 690px;
        font-weight: 400;
    }

    .about p strong { font-weight: 800; }

    /* ═══════════════════════════════════════════════════════════
       SHARED: Título de sección + divisor
    ═══════════════════════════════════════════════════════════ */
    .section-header { margin-bottom: 44px; }

    /* Todos los h2 de sección comparten el mismo tamaño en desktop */
    .section-title {
        font-size: 36px;
        line-height: 42px;
        font-weight: 700;
        font-family: var(--font-heading);
        letter-spacing: -0.2px;
        margin-bottom: 10px;
    }

    .section-divider {
        display: block;
        width: 100%;
        height: 1.5px;
        background: #e0e0e0;
        border: none;
    }

    /* ═══════════════════════════════════════════════════════════
       EVOLUCIÓN
    ═══════════════════════════════════════════════════════════ */
    .evolucion { background: #fff; }

    .evolucion .container {
        padding-top: 0;
        padding-bottom: 80px;
    }

    .evolucion .section-title { color: #F5A300; }

    .timeline-wrap { position: relative; }

    .timeline-dividers {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
    }

    .timeline-divider {
        position: absolute;
        top: 18px;
        bottom: 8px;
        width: 10px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(245, 163, 0, 0.55) 0,
            rgba(245, 163, 0, 0.55) 5px,
            transparent 5px,
            transparent 12px
        ) center / 2px 100% no-repeat;
        opacity: 0.95;
    }

    .timeline-divider.d1 { left: 0; }
    .timeline-divider.d2 { left: 33.333%; transform: translateX(-50%); }
    .timeline-divider.d3 { left: 66.666%; transform: translateX(-50%); }

    .timeline-milestones {
        display: flex;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .milestone {
        flex: 1;
        display: flex;
        align-items: flex-start;
        padding: 0 18px 0 24px;
    }

    .milestone-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
    }

    .milestone-dot { display: none; }

    .milestone-year {
        font-size: 58px;
        font-weight: 700;
        font-family: var(--font-heading);
        color: #1a1a1a;
        line-height: 1;
        letter-spacing: -1px;
    }

    .milestone-info {
        margin-left: 14px;
        padding-left: 14px;
        border-left: 1px solid #a4a4a4;
        min-height: 82px;
    }

    .milestone-brand {
        font-size: 14px;
        font-weight: 700;
        font-family: var(--font-body);
        color: #1a1a1a;
        line-height: 1.2;
    }

    .milestone-desc {
        font-size: 14px;
        color: #1a1a1a;
        line-height: 1.2;
        font-weight: 600;
        font-family: var(--font-body);
    }

    .timeline-bar {
        display: flex;
        height: 12px;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 20px;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .tbar-orange   { flex: 1; background: #f6a300; }
    .tbar-orange-2 { flex: 1; background: #ea8222; }
    .tbar-purple   { flex: 1; background: #56239a; }

    .timeline-logos {
        display: flex;
        width: 100%;
        margin-top: 24px;
        position: relative;
        z-index: 1;
    }

    .timeline-logo {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 110px;
        padding: 14px 10px;
    }

    .milestone-logo-inline { display: none; }

    .timeline-logo img {
        max-height: 90px;
        max-width: 240px;
        object-fit: contain;
    }

    .logo-ph {
        width: 150px;
        height: 68px;
        background: #f2f2f2;
        border: 1.5px dashed #ccc;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: #bbb;
        font-weight: 600;
    }

    /* ═══════════════════════════════════════════════════════════
       ENFOQUE
    ═══════════════════════════════════════════════════════════ */
    .enfoque {
        background: #FDDCAC;
        width: 100%;
    }

    .enfoque .container {
        padding-top: 50px;
        padding-bottom: 56px;
    }

    .enfoque .section-title     { color: #5B1F8A; }
    .enfoque .section-divider   { background: #d8b378; }
    .enfoque .section-header    { margin-bottom: 28px; }

    .enfoque-grid {
        display: flex;
        gap: 26px;
    }

    .enfoque-item {
        flex: 1;
        padding-right: 0;
    }

    .item-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 14px;
    }

    .enfoque-item h3 {
        font-size: 32px;
        font-weight: 700;
        font-family: var(--font-heading);
        color: #5B1F8A;
        line-height: 1.1;
        margin-bottom: 4px;
    }

    .enfoque-item p {
        font-size: 25px;
        line-height: 1.22;
        color: #1a1a1a;
        font-weight: 500;
    }

    .enfoque-item p strong {
        font-size: 25px;
        font-weight: 700;
        display: block;
    }

    /* ═══════════════════════════════════════════════════════════
       BENEFICIOS
    ═══════════════════════════════════════════════════════════ */
    .beneficios {
        background: #fff;
        width: 100%;
    }

    .beneficios .container {
        padding-top: 58px;
        padding-bottom: 80px;
    }

    .beneficios .section-title  { color: #F5A300; }
    .beneficios .section-divider { background: #f0c860; }

    .beneficios-grid {
        display: flex;
        gap: 0;
    }

    .beneficio-item {
        flex: 1;
        padding-right: 36px;
    }

    .beneficio-item:last-child { padding-right: 0; }

    .beneficio-item h3 {
        font-size: 32px;
        font-weight: 700;
        font-family: var(--font-heading);
        color: #F5A300;
        line-height: 37px;
        margin-bottom: 8px;
    }

    .beneficio-item p {
        font-size: 25px;
        line-height: 30px;
        color: #1a1a1a;
        font-weight: 400;
    }

    /* ═══════════════════════════════════════════════════════════
       BARRA DE CONTACTO
    ═══════════════════════════════════════════════════════════ */
    .contact-bar {
        background: linear-gradient(to right, #2d2d2d 0%, #0f0f0f 100%);
        width: 100%;
    }

    .contact-bar .container {
        padding-top: 28px;
        padding-bottom: 28px;
        display: flex;
        align-items: center;
    }

    .cbar-item {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        justify-content: center;
        color: #fff;
        font-size: 25px;
        line-height: 30px;
        font-family: var(--font-body);
    }

    .cbar-item:first-child { justify-content: flex-start; }
    .cbar-item:last-child  { justify-content: flex-end; }

    .cbar-item:not(:last-child) {
        padding-right: 40px;
        margin-right: 40px;
        position: relative;
    }
    .cbar-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 56px;
        background: rgba(255,255,255,0.2);
    }

    .cbar-item svg { flex-shrink: 0; }
    .cbar-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        display: block;
    }

    .cbar-item a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

    .cbar-item a:hover { color: #F5A300; }

    /* ═══════════════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════════════ */
    .footer {
        background: linear-gradient(to right, #2d2d2d 0%, #0f0f0f 100%);
        width: 100%;
    }

    .footer .container {
        padding-top: 30px;
        padding-bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-copy {
        font-size: 25px;
        line-height: 1.25;
        color: #999;
        font-weight: 500;
        font-family: var(--font-body);
        margin: 0;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-left p,
    .footer-links {
        font-size: 25px;
        line-height: 1.25;
        color: #999;
        font-weight: 500;
        font-family: var(--font-body);
        margin: 0;
    }

    .footer-links a {
        color: #a87fd4;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-links a:hover { color: #fff; }

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

    .soc-icon {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform 0.2s;
    }

    .soc-icon:hover { transform: translateY(-1px); }

    .soc-icon img {
        width: 44px;
        height: 44px;
        display: block;
    }

    /* ═══════════════════════════════════════════════════════════
       WHATSAPP FLOTANTE
    ═══════════════════════════════════════════════════════════ */
    .wa-float {
        position: fixed;
        bottom: 26px;
        right: 26px;
        z-index: 999;
        width: 58px;
        height: 58px;
        background: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 28px rgba(37,211,102,0.45);
        text-decoration: none;
        transition: transform 0.22s, box-shadow 0.22s;
    }

    .wa-float:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 32px rgba(37,211,102,0.55);
    }

    .wa-float svg { width: 30px; height: 30px; flex-shrink: 0; }

    .wa-float.wa-float--with-text {
        width: auto;
        height: auto;
        min-height: 58px;
        padding: 12px 20px 12px 16px;
        border-radius: 999px;
        gap: 10px;
        max-width: min(340px, calc(100vw - 40px));
    }

    .wa-float__text {
        font-family: var(--font-body, system-ui, sans-serif);
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        line-height: 1.25;
        text-align: left;
    }

    .wa-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        width: 20px;
        height: 20px;
        background: #e53935;
        border-radius: 50%;
        border: 2px solid #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 800;
        color: #fff;
        font-family: var(--font-heading);
    }

    /* ═══════════════════════════════════════════════════════════
       RESPONSIVE — TABLET (≤ 1024px)
    ═══════════════════════════════════════════════════════════ */
    @media (max-width: 1024px) {
        .container { padding-left: 24px; padding-right: 24px; }

        /* ── Hero: mismo enfoque que móvil — pantalla completa ── */
        .hero { overflow: visible; }

        /* Container en columna, altura completa de la pantalla */
        .hero-stage .container {
            flex-direction: column;
            flex-wrap: nowrap;
            justify-content: center;
            align-items: flex-start;
            min-height: 100svh;
            padding-top: 130px;
            padding-bottom: 32px;
            padding-right: 24px;
            gap: 20px;
        }

        .hero-text {
            flex: 0 0 auto;
            width: 100%;
            padding-left: 12px;
            padding-right: 12px;
            order: 1;
        }

        .hero-text h1 { font-size: 56px; line-height: 1.1; }
        .hero-text p  { font-size: 30px; line-height: 42px; }
        .btn-hero     { font-size: 24px; padding: 13px 34px; }

        .hero-slide-area {
            flex: 1 1 auto;
            width: 100%;
            order: 2;
        }

        .slide-img-placeholder { height: 340px; }

        /* Flechas ocultas en tablet */
        .hero-arrow { display: none; }

        /* Form: sección naranja debajo del hero (igual que móvil) */
        .hero-form-wrap {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 100%;
            min-height: auto;
            top: auto;
            right: auto;
            border-radius: 0;
            padding: 36px 24px 44px;
            box-shadow: none;
        }

        /* H2 unificados en tablet */
        .section-title,
        .enfoque .section-title,
        .beneficios .section-title {
            font-size: 36px;
            line-height: 42px;
        }

        .about .container {
            padding-top: 52px;
        }

        .enfoque-grid,
        .beneficios-grid { flex-wrap: wrap; }

        .enfoque-item,
        .beneficio-item {
            flex: 0 0 calc(50% - 20px);
            padding-right: 0;
            margin-bottom: 36px;
        }

        .timeline-dividers { display: none; }
        .timeline-milestones { gap: 8px; }
        .milestone { padding: 0 6px; }
        .milestone-year { font-size: 38px; }
        .milestone-desc { font-size: 28px; }

        /* Contact bar + footer (tablets: igual que móvil) */
        .contact-bar .container {
            flex-direction: column;
            gap: 18px;
        }

        .cbar-item {
            width: 100%;
            justify-content: center !important;
            text-align: center;
            border-right: none !important;
            padding-right: 0 !important;
            margin-right: 0 !important;
            border-bottom: 1px solid rgba(255,255,255,0.12);
            padding-bottom: 18px;
        }

        .cbar-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .footer-left p, .footer-links, .footer-copy { font-size: 16px; line-height: 21px; }
        .footer-links { display: flex; flex-direction: column; gap: 6px; }
        .footer-links strong { margin-bottom: 2px; }
        .footer-links a { display: block; }
        .footer-links .pipe { display: none; }

        .footer .container {
            flex-direction: column;
            gap: 20px;
            text-align: center;
            padding-top: 26px;
            padding-bottom: 26px;
        }

        .footer-info { display: contents; }

        .footer-left { display: flex; flex-direction: column; gap: 6px; }

        .footer-copy {
            order: 99;
            font-size: 14px;
            color: #666;
        }
    }

    /* ═══════════════════════════════════════════════════════════
       RESPONSIVE — MÓVIL (≤ 768px)
    ═══════════════════════════════════════════════════════════ */
    @media (max-width: 768px) {
        .container { padding-left: 18px; padding-right: 18px; }
        p { font-size: 16px; line-height: 21px; }

        .navbar-logo {
            height: 38px;
            width: 146px;
            flex-basis: 146px;
        }

        .nav-toggle { display: flex; }

        /* En móvil el navbar siempre con fondo (legibilidad) */
        .navbar {
            background: rgba(0,0,0,0.55);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .navbar.is-scrolled {
            background: #fff;
            backdrop-filter: none;
        }

        body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) .navbar {
            background: #fff;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            box-shadow: 0 1px 12px rgba(0,0,0,0.1);
        }

        body:not(.agarrate-inicio-template):not(.agarrate-servicios-template):not(.agarrate-portafolio-template):not(.agarrate-contacto-template) #page.site-wrapper {
            padding-top: 86px;
        }

        /* Links del navbar ocultos en móvil: ahora se usa el drawer */
        .navbar-links { display: none !important; }

        /* Drawer y overlay visibles en móvil */
        .nav-drawer  { display: flex; }
        .nav-overlay { display: block; pointer-events: none; }

        /* ── Hero móvil ── */
        .hero { overflow: visible; }

        /* El container (título + slide) ocupa al menos una pantalla */
        .hero-stage .container {
            flex-direction: column;
            flex-wrap: nowrap;
            justify-content: center;
            gap: 24px;
            min-height: 100svh;
            padding-top: 82px;
            padding-bottom: 32px;
            padding-left: 18px;
            padding-right: 18px;
        }

        .hero-text {
            flex: 0 0 auto;
            width: 100%;
            padding-left: 12px;
            padding-right: 12px;
        }

        .hero-slide-area {
            flex: 0 0 auto;
            width: 100%;
        }

        .hero-text h1 { font-size: 30px; line-height: 1.15; }
        .hero-text p  { font-size: 16px; line-height: 21px; }
        .btn-hero     { font-size: 18px; padding: 11px 26px; }

        .slide-img-placeholder { height: 280px; }

        /* Dots: ocultos en móvil (layout columna, no hay slider lateral) */
        .slide-counter { display: none; }

        /* Flechas nav: ocultas en móvil */
        .hero-arrow    { display: none; }

        /* ── Formulario: sección naranja debajo del hero al hacer scroll ── */
        .hero-form-wrap {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 100%;
            min-height: auto;
            top: auto;
            right: auto;
            border-radius: 0;
            box-shadow: none;
            background: #F5A300;
            padding: 36px 22px 48px;
        }

        .hero-form-wrap h3 {
            font-size: 22px;
            line-height: 29px;
        }

        .about .container    { padding-top: 38px; padding-bottom: 36px; }
        .about p             { font-size: 16px; line-height: 21px; }
        .enfoque-item p      { font-size: 16px; line-height: 21px; }
        .beneficio-item p    { font-size: 16px; line-height: 21px; }
        .footer-left p, .footer-links, .footer-copy { font-size: 16px; line-height: 21px; }

        .footer-links { display: flex; flex-direction: column; gap: 6px; }
        .footer-links strong { margin-bottom: 2px; }
        .footer-links a { display: block; }
        .footer-links .pipe { display: none; }

        .evolucion .container  { padding-bottom: 50px; }
        .enfoque .container    { padding-top: 44px; padding-bottom: 50px; }
        .beneficios .container { padding-top: 44px; padding-bottom: 55px; }

        .enfoque-grid,
        .beneficios-grid {
            flex-direction: column;
            gap: 30px;
        }

        .enfoque-item,
        .beneficio-item {
            flex: none;
            width: 100%;
            padding-right: 0;
            margin-bottom: 0;
            text-align: center;
            align-items: center;
        }

        .enfoque-item .item-icon,
        .beneficio-item .item-icon {
            margin-left: auto;
            margin-right: auto;
        }

        .timeline-dividers { display: none; }
        .timeline-milestones { flex-direction: column; gap: 0; }
        .milestone-year { font-size: 34px; }
        .milestone-desc { font-size: 24px; }

        .milestone {
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 20px 0;
            border-bottom: 1px solid #e8e8e8;
        }
        .milestone:last-child { border-bottom: none; }

        .milestone-header { justify-content: center; }
        .milestone-info {
            margin-left: 0;
            padding-left: 0;
            border-left: none;
            min-height: auto;
        }

        .milestone-logo-inline {
            display: block;
            width: 200px;
            height: auto;
            margin-top: 18px;
            object-fit: contain;
        }

        .timeline-logos { display: none; }

        .contact-bar .container {
            flex-direction: column;
            gap: 18px;
        }

        .cbar-item {
            width: 100%;
            justify-content: center !important;
            text-align: center;
            border-right: none !important;
            padding-right: 0 !important;
            margin-right: 0 !important;
            border-bottom: 1px solid rgba(255,255,255,0.12);
            padding-bottom: 18px;
        }

        .cbar-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        /* Footer */
        .footer .container {
            flex-direction: column;
            gap: 20px;
            text-align: center;
            padding-top: 26px;
            padding-bottom: 26px;
        }

        /* footer-info "desaparece" como caja para que sus hijos
           sean flex-items directos del container y el order funcione */
        .footer-info { display: contents; }

        /* Links del footer en vertical */
        .footer-left { display: flex; flex-direction: column; gap: 6px; }

        /* Copyright al final en móvil */
        .footer-copy {
            order: 99;
            font-size: 14px;
            color: #666;
        }

        .wa-float {
            bottom: 18px;
            right: 18px;
            width: 52px;
            height: 52px;
        }

        .wa-float.wa-float--with-text {
            width: auto;
            height: auto;
            min-height: 52px;
            padding: 10px 16px 10px 14px;
        }

        .wa-float.wa-float--with-text .wa-float__text {
            font-size: 13px;
        }
    }

    @media (max-width: 480px) {
        .hero-text h1 { font-size: 30px; line-height: 1.15; }
        .hero-text p  { font-size: 16px; line-height: 21px; }
        .section-title,
        .enfoque .section-title,
        .beneficios .section-title { font-size: 32px; line-height: 37px; }
        .milestone-year { font-size: 26px; }
    }

    /* PÁGINA SERVICIOS (template-servicios.php / servicios.html) */
    .srv-subnav {
        position: sticky;
        top: 76px;
        z-index: 200;
        background: #180336;
        border-bottom: 1px solid rgba(255,255,255,0.10);
        overflow: hidden;
    }

    .subnav-ticker {
        display: flex;
        align-items: stretch;
        width: max-content;
        will-change: transform;
    }

    .srv-subnav-link {
        display: inline-flex;
        align-items: center;
        padding: 16px 36px;
        color: rgba(255,255,255,0.72);
        font-family: var(--font-heading);
        font-size: 17px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        border-right: 1px solid rgba(255,255,255,0.14);
        transition: color 0.25s, background 0.25s;
        cursor: pointer;
        user-select: none;
    }

    .srv-subnav-link:hover {
        color: #fff;
        background: rgba(255,255,255,0.07);
    }

    .srv-subnav-link.active {
        color: #F5A300;
    }

    .servicios-main {
        background: linear-gradient(
            to bottom,
            #2A0954 0%,
            #5B1F8A 24%,
            #7A30A8 46%,
            #C04318 74%,
            #E07800 100%
        );
        padding-top: 0;
    }

    .servicio-row {
        border-bottom: 1px solid rgba(255,255,255,0.07);
        scroll-margin-top: 132px;
    }

    .servicio-row:last-child {
        border-bottom: none;
    }

    .servicio-row .container {
        display: flex;
        align-items: center;
        gap: 80px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    /* Aire bajo la cinta srv-subnav (no pegar el primer bloque al subnav) */
    .servicio-row:first-of-type .container {
        padding-top: 96px;
    }

    .servicio-row.reverse .container {
        flex-direction: row-reverse;
    }

    .srv-text {
        flex: 1;
        min-width: 0;
    }

    .srv-title {
        font-family: var(--font-heading);
        font-size: 36px;
        font-weight: 700;
        color: #fff;
        line-height: 1.18;
        margin-bottom: 16px;
        letter-spacing: -0.2px;
    }

    .srv-desc {
        font-family: var(--font-body);
        font-size: 25px;
        font-weight: 400;
        color: rgba(255,255,255,0.88);
        line-height: 30px;
        margin-bottom: 28px;
    }

    .btn-srv {
        display: inline-block;
        background: #e47a24;
        color: #fff;
        font-family: var(--font-body);
        font-size: 21px;
        font-weight: 700;
        padding: 10px 28px;
        border-radius: 30px;
        text-decoration: none;
        letter-spacing: 0.2px;
        border: none;
        cursor: pointer;
        transition: background 0.22s, transform 0.15s;
    }

    .btn-srv:hover {
        background: #c96a1a;
        transform: translateY(-1px);
    }

    .btn-srv.purple { background: #52218a; }
    .btn-srv.purple:hover { background: #3d186b; }

    .srv-img-wrap {
        flex: 0 0 520px;
        width: 520px;
    }

    .srv-img-wrap img {
        width: 100%;
        height: auto;
        max-height: 360px;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 12px 36px rgba(0,0,0,0.30));
    }

    .servicios-esp {
        background: #fff;
        scroll-margin-top: 132px;
    }

    .servicios-esp .container {
        padding-top: 60px;
        padding-bottom: 72px;
    }

    .servicios-esp .section-title  { color: #F5A300; }
    .servicios-esp .section-divider { background: #f0c860; }

    .esp-grid {
        display: flex;
        gap: 80px;
        align-items: stretch;
        justify-content: center;
    }

    .esp-item {
        flex: 0 0 560px;
        max-width: 560px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .esp-icon {
        width: 152px;
        height: 152px;
        object-fit: contain;
        margin: 0 auto 22px;
        display: block;
    }

    .esp-item h3 {
        font-family: var(--font-heading);
        font-size: 32px;
        font-weight: 700;
        color: #e47a24;
        line-height: 1.2;
        margin-bottom: 14px;
        width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .esp-item p {
        font-family: var(--font-body);
        font-size: 25px;
        line-height: 30px;
        color: #444;
        font-weight: 400;
        margin-bottom: 22px;
        flex: 1;
    }

    .btn-esp {
        display: inline-block;
        background: #1a1a1a;
        color: #fff;
        font-family: var(--font-body);
        font-size: 21px;
        font-weight: 700;
        padding: 10px 26px;
        border-radius: 30px;
        margin-top: auto;
        text-decoration: none;
        letter-spacing: 0.2px;
        border: none;
        cursor: pointer;
        transition: background 0.22s, transform 0.15s;
        margin: 0 auto;
    }

    .btn-esp:hover {
        background: #3a1060;
        transform: translateY(-1px);
    }

    @media (max-width: 1024px) {
        .srv-subnav {
            top: 65px;
        }

        .srv-subnav-link {
            font-size: 15px;
            padding: 15px 26px;
        }

        .servicio-row .container,
        .servicio-row.reverse .container {
            flex-direction: column;
            gap: 24px;
            padding-top: 42px;
            padding-bottom: 42px;
        }

        .servicio-row:first-of-type .container {
            padding-top: 96px;
        }

        .srv-img-wrap {
            flex: none;
            width: 100%;
            max-width: 520px;
            margin: 0 auto;
        }

        .srv-title { font-size: 32px; line-height: 37px; }
        .srv-desc  { font-size: 16px; line-height: 21px; }

        .esp-grid {
            flex-direction: column;
            align-items: center;
            gap: 40px;
        }

        .esp-item {
            flex: none;
            width: 100%;
            max-width: 560px;
        }

        .esp-item p { font-size: 16px; line-height: 21px; }
    }

    @media (max-width: 480px) {
        .servicios-main .srv-title,
        .servicios-esp .section-title { font-size: 32px; line-height: 37px; }
    }

    /* PÁGINA PORTAFOLIO (template-portafolio.php) */
    body.agarrate-portafolio-template {
        background: #1a1a1a;
    }

    .portafolio-section {
        background: linear-gradient(160deg, #7b2ec8 0%, #4a1b7a 100%);
        padding-top: 116px;
        padding-bottom: 70px;
        min-height: 100vh;
    }

    .portafolio-heading {
        font-family: var(--font-heading);
        font-size: 40px;
        color: #fff;
        margin-bottom: 28px;
        letter-spacing: 0.5px;
    }

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

    .proj-card {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        aspect-ratio: 4 / 3;
        background: #9098a2;
        box-shadow: 0 4px 18px rgba(0,0,0,0.28);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

    .proj-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 36px rgba(0,0,0,0.42);
    }

    .proj-thumb-main,
    .proj-thumb-hover {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center center;
        background-color: #9098a2;
        transition: opacity 0.45s ease;
    }

    .proj-thumb-hover { opacity: 0; }
    .proj-card:hover .proj-thumb-hover { opacity: 1; }
    .proj-card:hover .proj-thumb-main  { opacity: 0; }

    .proj-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 55%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 20px 22px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .proj-card:hover .proj-overlay { opacity: 1; }

    .proj-overlay-cat {
        font-family: var(--font-heading);
        font-size: 12px;
        color: rgba(255,255,255,0.75);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 4px;
    }

    .proj-overlay-name {
        font-family: var(--font-heading);
        font-size: 22px;
        color: #fff;
    }

    .p-modal {
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(0,0,0,0.82);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
    }

    .p-modal.open {
        opacity: 1;
        pointer-events: auto;
    }

    .p-modal-card {
        background: #fff;
        border-radius: 16px;
        width: 90%;
        max-width: 860px;
        overflow: hidden;
        transform: scale(0.95) translateY(8px);
        transition: transform 0.28s ease;
        position: relative;
        z-index: 2;
    }

    .p-modal.open .p-modal-card { transform: scale(1) translateY(0); }

    .p-modal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 30px 18px;
    }

    .p-modal-title {
        font-family: var(--font-heading);
        font-size: 28px;
        color: #1a1a1a;
    }

    .p-modal-close {
        background: none;
        border: none;
        font-size: 28px;
        line-height: 1;
        color: #aaa;
        cursor: pointer;
        padding: 2px 6px;
        border-radius: 6px;
        transition: color 0.2s, background 0.2s;
    }

    .p-modal-close:hover { color: #1a1a1a; background: #f0f0f0; }

    .p-modal-img {
        width: 100%;
        padding: 30px 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
        position: relative;
    }

    .p-modal-thumb-inner {
        width: 100%;
        max-width: 680px;
        aspect-ratio: 16 / 9;
        background: transparent;
        border-radius: 8px;
        overflow: hidden;
    }

    .p-modal-thumb-inner img { width: 100%; height: 100%; object-fit: cover; }

    .p-modal-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 10px 30px 0;
        min-height: 28px;
    }

    .p-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #ccc;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.22s, transform 0.22s;
        flex-shrink: 0;
    }

    .p-dot.active { background: #5B1F8A; transform: scale(1.25); }
    .p-dot:hover:not(.active) { background: #aaa; }

    .p-modal-cat {
        font-family: var(--font-heading);
        font-size: 15px;
        text-align: center;
        color: #777;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 14px 30px 2px;
    }

    .p-modal-btns {
        display: flex;
        justify-content: center;
        gap: 16px;
        padding: 16px 30px 28px;
    }

    .btn-modal {
        background: #1a1a1a;
        color: #fff;
        font-family: var(--font-heading);
        font-size: 21px;
        text-decoration: none;
        border-radius: 50px;
        padding: 12px 30px;
        transition: background 0.22s, transform 0.15s;
        border: none;
        cursor: pointer;
    }

    .btn-modal:hover { background: #5B1F8A; transform: translateY(-1px); }

    .p-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.22s, transform 0.22s;
        user-select: none;
        opacity: 0.75;
    }

    .p-nav-btn:hover { opacity: 1; transform: translateY(-50%) scale(1.15); }
    .p-nav-btn:disabled { opacity: 0.18; cursor: default; }
    .p-nav-btn:disabled:hover { transform: translateY(-50%) scale(1); }
    .p-nav-btn svg { display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35)); }
    .p-prev { left: 10px; }
    .p-next { right: 10px; }

    @media (max-width: 1024px) {
        .portafolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .p-modal-img { padding: 24px 36px; }
        .p-nav-btn svg { width: 26px; height: 44px; }
        .p-prev { left: 6px; }
        .p-next { right: 6px; }
    }

    @media (max-width: 768px) {
        .portafolio-section { padding-top: 100px; }
        .portafolio-heading { font-size: 30px; }
        .portafolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .p-modal-card { width: 95%; }
        .p-modal-head { padding: 16px 20px 12px; }
        .p-modal-title { font-size: 22px; }
        .p-modal-img { padding: 20px 20px; }
        .p-modal-btns { flex-direction: column; gap: 10px; }
        .btn-modal { text-align: center; }
        .p-nav-btn svg { width: 22px; height: 36px; }
        .p-prev { left: 4px; }
        .p-next { right: 4px; }
    }

    @media (max-width: 480px) {
        .portafolio-grid { grid-template-columns: 1fr; gap: 10px; }
    }

    /* PÁGINA CONTACTO (template-contacto.php) */
    body.agarrate-contacto-template {
        background: #1a1a1a;
    }

    .contacto-section {
        --contact-purple: #5B1F8A;
        --contact-orange: #e47a24;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 110px 40px 60px;
        background: linear-gradient(to right, #2d2d2d 0%, #0f0f0f 100%);
    }

    .contacto-card {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 24px 72px rgba(0,0,0,0.50);
        width: 100%;
        max-width: 560px;
        overflow: hidden;
    }

    .contacto-section .card-header {
        padding: 36px 44px 28px;
        border-bottom: 1.5px solid #e8e8e8;
    }

    .contacto-section .card-header h1 {
        font-family: var(--font-body);
        font-size: 22px;
        font-weight: 400;
        color: #1a1a1a;
        line-height: 1.55;
    }

    .contacto-section .card-header h1 strong {
        font-weight: 800;
    }

    .contacto-section .card-body {
        padding: 32px 44px 40px;
    }

    .contacto-section .form-field {
        margin-bottom: 28px;
    }

    .contacto-section .form-field label {
        display: block;
        font-family: var(--font-heading);
        font-size: 20px;
        font-weight: 700;
        color: var(--contact-purple);
        margin-bottom: 6px;
        letter-spacing: 0.1px;
    }

    .contacto-section .form-field input {
        width: 100%;
        background: transparent;
        border: none;
        border-bottom: 1.5px solid rgba(0,0,0,0.18);
        padding: 8px 0 10px;
        font-size: 14px;
        font-family: var(--font-body);
        font-weight: 500;
        color: #1a1a1a;
        outline: none;
        transition: border-color 0.2s;
    }

    .contacto-section .form-field input:focus {
        border-bottom-color: var(--contact-purple);
    }

    .contacto-section .form-field input::placeholder {
        color: rgba(0,0,0,0.28);
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: var(--font-body);
    }

    .contacto-section .form-privacy {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 6px 0 28px;
    }

    .contacto-section .form-privacy input[type="checkbox"] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

    .contacto-section .checkbox-custom {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(245,163,0,0.15);
        border: 1.5px solid rgba(245,163,0,0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s, border-color 0.2s;
    }

    .contacto-section .form-privacy input[type="checkbox"]:checked + .checkbox-custom {
        background: #2e7d32;
        border-color: #2e7d32;
    }

    .contacto-section .checkbox-custom svg { display: none; }
    .contacto-section .form-privacy input[type="checkbox"]:checked + .checkbox-custom svg { display: block; }

    .contacto-section .form-privacy label.privacy-text {
        font-size: 14px;
        color: #555;
        cursor: pointer;
        line-height: 1.5;
        font-weight: 500;
    }

    .contacto-section .form-privacy a {
        color: var(--contact-purple);
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .contacto-section .btn-enviar {
        width: 100%;
        background: #52218a;
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 16px;
        font-size: 21px;
        font-weight: 700;
        font-family: var(--font-heading);
        letter-spacing: 2.5px;
        cursor: pointer;
        transition: background 0.22s, transform 0.15s;
    }

    .contacto-section .btn-enviar:hover {
        background: #3d186b;
        transform: translateY(-1px);
    }

    .contacto-section .agarrate-turnstile {
        margin-bottom: 20px;
    }

    @media (max-width: 1024px) {
        .contacto-section { padding: 110px 24px 60px; }
    }

    @media (max-width: 768px) {
        .contacto-section {
            min-height: auto;
            padding: 90px 18px 40px;
            align-items: flex-start;
        }

        .contacto-section .card-header { padding: 28px 28px 22px; }
        .contacto-section .card-header h1 { font-size: 19px; }
        .contacto-section .card-body { padding: 26px 28px 32px; }
        .contacto-section .form-field label { font-size: 17px; }
        .contacto-section .btn-enviar { font-size: 18px; }
    }

    @media (max-width: 480px) {
        .contacto-section .card-header h1 { font-size: 17px; }
        .contacto-section .form-field label { font-size: 15px; }
    }


