/* =============================================
   EQUIPPRO - Main CSS
   Construction Equipment Rental Theme
   Brandbook oficial:
     Amarillo EquipPro  #FFB000  (PANTONE 137 C)
     Grafito EquipPro   #20282B  (PANTONE 433 C)
     Negro Industrial   #111111  (PANTONE Black 6 C)
     Blanco Técnico     #FFFFFF
     Gris Concreto      #8A8F91  (PANTONE Cool Gray 8 C)
   Proporción: 55% grafito/negro · 25% blanco · 15% amarillo · 5% gris
============================================= */

/* ──────────────────────────────────────────
   1. VARIABLES CSS + RESET
────────────────────────────────────────── */
:root {
    /* ── Paleta Brandbook Oficial ── */
    --ep-yellow:       #FFB000;   /* Amarillo EquipPro  — PANTONE 137 C  */
    --ep-yellow-dark:  #CC8C00;   /* Hover / sombra amarillo             */
    --ep-yellow-light: #FFC933;   /* Tint claro amarillo                 */

    --ep-grafito:      #20282B;   /* Grafito EquipPro   — PANTONE 433 C  */
    --ep-black:        #111111;   /* Negro Industrial   — PANTONE Black 6*/
    --ep-dark:         #20282B;   /* Alias = grafito (fondo principal)    */
    --ep-dark-2:       #2C363A;   /* Grafito + claro (cards/hover)       */
    --ep-dark-3:       #384249;   /* Grafito aún más claro               */

    --ep-white:        #FFFFFF;   /* Blanco Técnico                      */
    --ep-gray:         #8A8F91;   /* Gris Concreto      — Cool Gray 8 C  */
    --ep-gray-light:   #B8BCBE;   /* Gris claro (textos secundarios)     */
    --ep-gray-bg:      #F4F4F4;   /* Fondo secciones claras              */

    --ep-border:       rgba(255,255,255,0.08);
    --ep-border-dark:  rgba(0,0,0,0.15);

    --ep-font-primary:  'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --ep-font-body:     'Barlow', 'Arial', sans-serif;

    --ep-radius:    4px;
    --ep-radius-md: 8px;
    --ep-shadow:    0 4px 20px rgba(0,0,0,0.3);
    --ep-shadow-lg: 0 8px 40px rgba(0,0,0,0.5);

    --ep-transition: all 0.25s ease;
    --ep-max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ep-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ep-dark);
    background: var(--ep-white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--ep-transition);
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: var(--ep-font-body);
}

/* ──────────────────────────────────────────
   2. UTILIDADES / HELPERS
────────────────────────────────────────── */

/* Offset universal para el header fijo.
   Las páginas que empiezan con ep-page-hero NO necesitan
   este padding — el hero lo absorbe con su propio padding-top.
   Solo aplica cuando el primer elemento NO es un page-hero. */
.ep-main {
    padding-top: 0;
}

/* Páginas sin hero (index, archive, single) — compensar header */
.ep-main--offset {
    padding-top: 110px;
}

.ep-container {
    max-width: var(--ep-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.ep-section {
    padding: 80px 0;
}

.ep-section--dark {
    background: var(--ep-dark);
    color: var(--ep-white);
}

.ep-section--black {
    background: var(--ep-black);
    color: var(--ep-white);
}

.ep-section--yellow {
    background: var(--ep-yellow);
    color: var(--ep-black);
}

.ep-section--gray {
    background: var(--ep-gray-bg);
    color: var(--ep-dark);
}

.ep-section-title {
    font-family: var(--ep-font-primary);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.ep-section-subtitle {
    font-size: 1rem;
    color: var(--ep-gray);
    margin-bottom: 48px;
}

.ep-section-header {
    margin-bottom: 48px;
}

.ep-section-header--flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.ep-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ep-yellow);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.ep-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 3px;
    background: var(--ep-yellow);
}

/* Divider decorativo amarillo */
.ep-divider {
    width: 60px;
    height: 4px;
    background: var(--ep-yellow);
    margin-bottom: 20px;
}

/* ──────────────────────────────────────────
   3. BOTONES
────────────────────────────────────────── */
.ep-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--ep-font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ep-transition);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0;
}

.ep-btn--primary {
    background: var(--ep-yellow);
    color: var(--ep-black);
    border-color: var(--ep-yellow);
}

.ep-btn--primary:hover {
    background: var(--ep-yellow-dark);
    border-color: var(--ep-yellow-dark);
    transform: translateX(2px);
}

.ep-btn--outline {
    background: transparent;
    color: var(--ep-white);
    border-color: var(--ep-white);
}

.ep-btn--outline:hover {
    background: var(--ep-white);
    color: var(--ep-black);
    transform: translateX(2px);
}

.ep-btn--outline-dark {
    background: transparent;
    color: var(--ep-black);
    border-color: var(--ep-black);
}

.ep-btn--outline-dark:hover {
    background: var(--ep-black);
    color: var(--ep-white);
}

.ep-btn--dark {
    background: var(--ep-black);
    color: var(--ep-white);
    border-color: var(--ep-black);
}

.ep-btn--dark:hover {
    background: var(--ep-dark-2);
}

.ep-btn svg,
.ep-btn .ep-btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.ep-btn:hover svg,
.ep-btn:hover .ep-btn-arrow {
    transform: translateX(3px);
}

/* ──────────────────────────────────────────
   4. HEADER / NAVEGACION
────────────────────────────────────────── */

/*
 * Cuando WordPress admin bar está visible, agrega margin-top:32px al body.
 * Compensamos moviendo el header fixed hacia abajo esos 32px,
 * y ajustando el top del body también para que no haya gap blanco.
 */
body.admin-bar .ep-header {
    top: 32px;
}

/* En pantallas pequeñas el admin bar tiene 46px */
@media screen and (max-width: 782px) {
    body.admin-bar .ep-header {
        top: 46px;
    }
    body.admin-bar .ep-mobile-menu {
        top: calc(110px + 46px);
    }
}

/* Eliminar el margin-top que WP añade al body cuando hay admin bar
   (evita el espacio blanco entre admin bar y el contenido) */
body.admin-bar {
    margin-top: 0 !important;
}

/* En cambio, el #wpadminbar ya queda fijo arriba por WP — lo dejamos */

.ep-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--ep-black);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ep-header.scrolled {
    background: rgba(17,17,17,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.ep-header__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 110px;
    gap: 0;
}

/* ── Logo ── */
.ep-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding-right: 48px;
}

.ep-logo__img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ── Navegacion principal ── */
.ep-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex: 1;
}

.ep-nav__link {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: var(--ep-font-primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ep-white);
    border-bottom: 4px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    text-decoration: none;
}

.ep-nav__link:hover {
    color: var(--ep-yellow);
    border-bottom-color: var(--ep-yellow);
}

.ep-nav__link.active {
    color: var(--ep-yellow);
    border-bottom-color: var(--ep-yellow);
}

/* ── Acciones derechas: Idioma + CTA ── */
.ep-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Language Switcher */
.ep-lang-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    font-family: var(--ep-font-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ep-gray-light);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--ep-transition);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.ep-lang-switcher:hover {
    color: var(--ep-yellow);
    border-color: var(--ep-yellow);
}

.ep-lang-switcher__globe {
    display: flex;
    align-items: center;
}

.ep-lang-switcher__globe svg {
    width: 18px;
    height: 18px;
}

.ep-lang-switcher__label {
    font-size: 16px;
    letter-spacing: 1.5px;
}

/* CTA Button en header */
.ep-header__cta-btn {
    font-size: 16px;
    padding: 16px 28px;
    letter-spacing: 1.5px;
}

/* ── Hamburger — móvil ── */
.ep-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--ep-white);
    width: 48px;
    height: 48px;
}

.ep-menu-toggle span {
    display: block;
    width: 30px;
    height: 2.5px;
    background: var(--ep-white);
    transition: var(--ep-transition);
    transform-origin: center;
}

/* Animación hamburger → X cuando está abierto */
.ep-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.ep-menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.ep-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ──────────────────────────────────────────
   5. HERO SECTION
────────────────────────────────────────── */
.ep-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-color: var(--ep-grafito);
    background-image: url('/wp-content/uploads/2026/06/Logotipo-EQUIPPRO-01-scaled.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 110px; /* compensar header fijo — sin admin bar */
    padding-bottom: 80px;
}

/* Sutil tinte amarillo en la esquina derecha del hero */
.ep-hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(255,176,0,0.06) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Overlay oscuro sobre la imagen de fondo del hero
   Capa 1: oscurece toda la imagen
   Capa 2: gradiente izq→der para que el texto izquierdo sea 100% legible */
.ep-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(17,17,17,0.92) 0%,
            rgba(17,17,17,0.75) 45%,
            rgba(17,17,17,0.35) 100%
        );
    z-index: 1;
    pointer-events: none;
}

.ep-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* La imagen <img> dentro del bg div queda como fallback/extra —
   la imagen principal ya viene del background-image del .ep-hero */
.ep-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;  /* oculta la imagen del <img> — usamos el CSS background */
}

.ep-hero__bg::after {
    display: none; /* el overlay ahora está en .ep-hero::before */
}

.ep-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 32px;
}

.ep-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ep-hero__eyebrow span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ep-yellow);
}

.ep-hero__eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--ep-yellow);
    flex-shrink: 0;
}

.ep-hero__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--ep-white);
    margin-bottom: 16px;
}

.ep-hero__title .ep-yellow {
    color: var(--ep-yellow);
    display: block;
}

.ep-hero__subtitle {
    font-size: 0.95rem;
    color: var(--ep-gray-light);
    max-width: 420px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.ep-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Imagen decorativa del hero (maquinaria derecha) */
.ep-hero__image {
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 55%;
    max-width: 800px;
    z-index: 2;
}

.ep-hero__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(-20px 0 40px rgba(0,0,0,0.5));
}

/* Angulo decorativo */
.ep-hero__angle {
    position: absolute;
    right: 42%;
    top: 0;
    width: 0;
    height: 0;
    border-top: 100vh solid transparent;
    border-right: 80px solid rgba(255,176,0,0.15);
    z-index: 1;
}

/* ──────────────────────────────────────────
   6. FEATURES BAR (4 iconos de beneficios)
────────────────────────────────────────── */
.ep-features-bar {
    background: var(--ep-white);
    border-bottom: 1px solid var(--ep-border-dark);
    padding: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ep-features-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #dde0e1;
}

.ep-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    border-right: 1px solid #dde0e1;
    transition: var(--ep-transition);
}

.ep-feature-item:last-child {
    border-right: none;
}

.ep-feature-item:hover {
    background: var(--ep-gray-bg);
}

.ep-feature-item__icon {
    width: 48px;
    height: 48px;
    border: 2px solid var(--ep-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ep-dark);
}

.ep-feature-item__icon svg {
    width: 24px;
    height: 24px;
}

.ep-feature-item__content {}

.ep-feature-item__title {
    font-family: var(--ep-font-primary);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ep-dark);
    margin-bottom: 4px;
}

.ep-feature-item__text {
    font-size: 13px;
    color: var(--ep-gray);
    line-height: 1.5;
}

/* ──────────────────────────────────────────
   7. EQUIPMENT SECTION (Grid de 6 equipos)
────────────────────────────────────────── */
.ep-equipment {
    padding: 80px 0;
    background: var(--ep-white);
}

.ep-equipment__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: #dde0e1;
    border: 1px solid #dde0e1;
    margin-bottom: 0;
}

.ep-equip-card {
    background: var(--ep-white);
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--ep-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ep-equip-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ep-yellow);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ep-equip-card:hover::before {
    transform: scaleX(1);
}

.ep-equip-card:hover {
    background: #fafafa;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08) inset;
}

.ep-equip-card__image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.ep-equip-card__image img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.ep-equip-card:hover .ep-equip-card__image img {
    transform: scale(1.05);
}

.ep-equip-card__name {
    font-family: var(--ep-font-primary);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ep-dark);
    margin-bottom: 6px;
}

.ep-equip-card__desc {
    font-size: 12px;
    color: var(--ep-gray);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.ep-equip-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ep-font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ep-dark);
    border-bottom: 2px solid var(--ep-dark);
    padding-bottom: 2px;
    width: fit-content;
    transition: var(--ep-transition);
}

.ep-equip-card__link:hover {
    color: var(--ep-yellow-dark);
    border-bottom-color: var(--ep-yellow-dark);
}

.ep-equip-card__link svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.ep-equip-card:hover .ep-equip-card__link svg {
    transform: translateX(3px);
}

/* ──────────────────────────────────────────
   8. HOW IT WORKS
────────────────────────────────────────── */
.ep-how-it-works {
    background: var(--ep-grafito);
    color: var(--ep-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ep-how-it-works::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: repeating-linear-gradient(
        180deg,
        var(--ep-yellow) 0px,
        var(--ep-yellow) 30px,
        transparent 30px,
        transparent 45px
    );
}

.ep-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

/* Linea conectora entre pasos */
.ep-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--ep-yellow) 0,
        var(--ep-yellow) 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: 0;
}

.ep-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.ep-step__number {
    font-family: var(--ep-font-primary);
    font-size: 72px;
    font-weight: 900;
    color: rgba(255,176,0,0.15);
    line-height: 1;
    margin-bottom: -16px;
    letter-spacing: -2px;
}

.ep-step__icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--ep-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(255,176,0,0.1);
    position: relative;
    z-index: 1;
}

.ep-step__icon svg {
    width: 24px;
    height: 24px;
    color: var(--ep-yellow);
}

.ep-step__title {
    font-family: var(--ep-font-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ep-white);
    margin-bottom: 8px;
}

.ep-step__text {
    font-size: 13px;
    color: var(--ep-gray);
    line-height: 1.5;
}

/* Flecha entre pasos */
.ep-step__arrow {
    position: absolute;
    right: -16px;
    top: 52px;
    color: var(--ep-yellow);
    z-index: 2;
}

.ep-step:last-child .ep-step__arrow {
    display: none;
}

/* ──────────────────────────────────────────
   9. CTA BANNER (amarillo)
────────────────────────────────────────── */
.ep-cta-banner {
    background: var(--ep-yellow);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Patrón diagonal decorativo */
.ep-cta-banner::before {
    content: '';
    position: absolute;
    left: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.06) 0,
        rgba(0,0,0,0.06) 2px,
        transparent 2px,
        transparent 16px
    );
}

.ep-cta-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.06) 0,
        rgba(0,0,0,0.06) 2px,
        transparent 2px,
        transparent 16px
    );
}

.ep-cta-banner__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.ep-cta-banner__icon {
    color: rgba(0,0,0,0.4);
}

.ep-cta-banner__icon svg {
    width: 80px;
    height: 80px;
}

.ep-cta-banner__content {}

.ep-cta-banner__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--ep-black);
    margin-bottom: 6px;
    line-height: 1;
}

.ep-cta-banner__text {
    font-size: 1rem;
    color: rgba(0,0,0,0.7);
}

.ep-cta-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    flex-shrink: 0;
}

/* Contenedor de los dos botones de teléfono en Contact */
.ep-cta-phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* Fila: etiqueta + botón */
.ep-cta-phone-row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

/* Etiqueta "Asistencia en Español / Inglés" */
.ep-cta-phone-label {
    font-family: var(--ep-font-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ep-black);
    white-space: nowrap;
}

.ep-btn--cta-call {
    background: var(--ep-black);
    color: var(--ep-yellow);
    border-color: var(--ep-black);
    font-size: 15px;
    padding: 14px 24px;
    white-space: nowrap;
}

.ep-btn--cta-call:hover {
    background: var(--ep-dark-2);
    color: var(--ep-yellow);
}

/* Responsive: apilar en pantallas pequeñas */
@media (max-width: 640px) {
    .ep-cta-phones {
        width: 100%;
    }
    .ep-cta-phone-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .ep-btn--cta-call {
        width: 100%;
        justify-content: center;
    }
}

/* ──────────────────────────────────────────
   10. ABOUT + FORM SECTION (split)
────────────────────────────────────────── */
.ep-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Panel izquierdo oscuro */
.ep-split-left {
    background: var(--ep-dark);
    color: var(--ep-white);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ep-split-left__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ep-split-left__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.ep-split-left__content {
    position: relative;
    z-index: 1;
}

.ep-split-left__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ep-yellow);
    margin-bottom: 16px;
}

.ep-split-left__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--ep-white);
    margin-bottom: 4px;
}

.ep-split-left__title .ep-yellow {
    color: var(--ep-yellow);
}

.ep-split-left__text {
    font-size: 15px;
    color: var(--ep-gray-light);
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 28px;
}

/* Contact info items dentro del split left */
.ep-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
}

.ep-contact-info__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--ep-gray-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ep-contact-info__item:hover {
    color: var(--ep-yellow);
}

.ep-contact-info__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,176,0,0.35);
    flex-shrink: 0;
    color: var(--ep-yellow);
}

.ep-contact-info__icon svg {
    width: 18px;
    height: 18px;
}

/* Panel derecho - formulario */
.ep-split-right {
    background: var(--ep-white);
    padding: 60px 48px;
}

.ep-split-right__title {
    font-family: var(--ep-font-primary);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ep-dark);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--ep-yellow);
}

/* ──────────────────────────────────────────
   11. FORMULARIO DE SOLICITUD
────────────────────────────────────────── */
.ep-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ep-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ep-form__group--full {
    grid-column: 1 / -1;
}

.ep-form__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ep-gray);
    display: none; /* Usamos placeholder */
}

.ep-form__input,
.ep-form__select,
.ep-form__textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--ep-gray-bg);
    border: 1px solid #e0e0e0;
    border-radius: var(--ep-radius);
    font-size: 14px;
    color: var(--ep-dark);
    transition: var(--ep-transition);
    appearance: none;
    -webkit-appearance: none;
}

.ep-form__input:focus,
.ep-form__select:focus,
.ep-form__textarea:focus {
    outline: none;
    border-color: var(--ep-yellow);
    background: var(--ep-white);
    box-shadow: 0 0 0 3px rgba(255,176,0,0.15);
}

.ep-form__input::placeholder,
.ep-form__textarea::placeholder {
    color: #aaa;
}

.ep-form__select-wrapper {
    position: relative;
}

.ep-form__select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--ep-gray);
    pointer-events: none;
}

.ep-form__date-wrapper {
    position: relative;
}

.ep-form__date-wrapper input[type="date"] {
    padding-right: 40px;
}

.ep-form__date-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.ep-form__textarea {
    resize: vertical;
    min-height: 100px;
}

.ep-form__submit {
    grid-column: 1 / -1;
    width: 100%;
    padding: 16px;
    background: var(--ep-yellow);
    color: var(--ep-black);
    border: none;
    font-family: var(--ep-font-primary);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--ep-transition);
    border-radius: 0;
}

.ep-form__submit:hover {
    background: var(--ep-yellow-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,176,0,0.4);
}

.ep-form__submit svg {
    width: 18px;
    height: 18px;
}

/* Mensajes del formulario */
.ep-form__message {
    grid-column: 1 / -1;
    padding: 14px 18px;
    border-radius: var(--ep-radius);
    font-size: 14px;
    font-weight: 500;
    /* Fade con opacity en lugar de display:none para suavizar */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.ep-form__message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ep-form__message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ep-form__message.visible {
    opacity: 1;
    max-height: 120px;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* ──────────────────────────────────────────
   12. FOOTER
────────────────────────────────────────── */
.ep-footer {
    background: var(--ep-grafito);
    color: var(--ep-white);
    padding: 32px 0 20px;
    border-top: 3px solid var(--ep-yellow);
}

/* Grid: brand | nav-links | social */
.ep-footer__main {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: start;
    gap: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ep-border);
    margin-bottom: 16px;
}

.ep-footer__brand {}

.ep-footer__contact {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ep-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ep-gray-light);
}

.ep-footer__contact-item svg {
    width: 14px;
    height: 14px;
    color: var(--ep-yellow);
    flex-shrink: 0;
}

.ep-footer__col-title {
    font-family: var(--ep-font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ep-white);
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--ep-yellow);
    display: inline-block;
}

/* Nav horizontal en el footer */
.ep-footer__nav-col {}

.ep-footer__nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    align-items: center;
}

.ep-footer__nav-links a {
    font-size: 14px;
    color: var(--ep-gray);
    transition: var(--ep-transition);
    white-space: nowrap;
}

.ep-footer__nav-links a:hover {
    color: var(--ep-yellow);
}

/* Columna social */
.ep-footer__social-col {}

/* Social icons */
.ep-footer__social {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

.ep-social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ep-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-gray);
    transition: var(--ep-transition);
}

.ep-social-icon:hover {
    border-color: var(--ep-yellow);
    color: var(--ep-yellow);
    background: rgba(255,176,0,0.1);
}

.ep-social-icon svg {
    width: 16px;
    height: 16px;
}

/* Copyright bar */
.ep-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ep-gray);
}

/* ──────────────────────────────────────────
   13. MOBILE MENU OVERLAY
────────────────────────────────────────── */
.ep-mobile-menu {
    position: fixed;
    top: 110px;       /* altura del header */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ep-black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 0 24px 32px;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}

.ep-mobile-menu.open {
    transform: translateX(0);
}

/* Botón cerrar dentro del menú móvil */
.ep-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: none;
    border: none;
    color: var(--ep-gray);
    cursor: pointer;
    padding: 20px 0 12px;
    align-self: flex-end;
}

.ep-mobile-menu__close svg {
    width: 24px;
    height: 24px;
}

.ep-mobile-menu__close:hover {
    color: var(--ep-yellow);
}

.ep-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.ep-mobile-menu__link {
    display: block;
    padding: 16px 0;
    font-family: var(--ep-font-primary);
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ep-white);
    border-bottom: 1px solid var(--ep-border);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.ep-mobile-menu__link:hover {
    color: var(--ep-yellow);
    padding-left: 10px;
}

/* Footer del menú móvil: idioma + CTA */
.ep-mobile-menu__footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Switcher de idioma en móvil */
.ep-lang-switcher--mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ep-font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ep-gray-light);
    text-decoration: none;
    padding: 10px 0;
    border-top: 1px solid var(--ep-border);
    transition: color 0.2s;
}

.ep-lang-switcher--mobile svg {
    width: 18px;
    height: 18px;
}

.ep-lang-switcher--mobile:hover {
    color: var(--ep-yellow);
}

/* ──────────────────────────────────────────
   14. ANIMACIONES / SCROLL EFFECTS
────────────────────────────────────────── */
.ep-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ep-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.ep-fade-in-delay-1 { transition-delay: 0.1s; }
.ep-fade-in-delay-2 { transition-delay: 0.2s; }
.ep-fade-in-delay-3 { transition-delay: 0.3s; }
.ep-fade-in-delay-4 { transition-delay: 0.4s; }

/* ──────────────────────────────────────────
   15. RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1200px) {
    .ep-equipment__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ep-hero__image {
        width: 50%;
    }
}

@media (max-width: 1024px) {
    .ep-features-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ep-feature-item:nth-child(2) {
        border-right: none;
    }

    .ep-feature-item:nth-child(3),
    .ep-feature-item:nth-child(4) {
        border-top: 1px solid #dde0e1;
    }

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

    .ep-steps::before {
        display: none;
    }

    .ep-step__arrow {
        display: none;
    }

    .ep-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .ep-cta-banner__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ep-cta-banner__icon {
        display: none;
    }

    .ep-cta-banner__actions {
        align-items: center;
    }

    .ep-split-section {
        grid-template-columns: 1fr;
    }

    .ep-split-left {
        padding: 60px 40px;
        min-height: 400px;
    }

    .ep-split-right {
        padding: 48px 40px;
    }
}

@media (max-width: 768px) {
    /* Ocultar nav y acciones desktop */
    .ep-nav,
    .ep-header__actions {
        display: none;
    }

    /* Mostrar hamburger */
    .ep-menu-toggle {
        display: flex;
    }

    .ep-hero {
        min-height: 70svh;
    }

    .ep-hero__image {
        display: none;
    }

    .ep-hero__content {
        padding-left: 20px;
        max-width: 100%;
    }

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

    .ep-features-bar__grid {
        grid-template-columns: 1fr;
    }

    .ep-feature-item {
        border-right: none;
        border-bottom: 1px solid #dde0e1;
    }

    .ep-feature-item:last-child {
        border-bottom: none;
    }

    .ep-steps {
        grid-template-columns: 1fr;
    }

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

    .ep-footer__main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ep-footer__nav-links {
        gap: 6px 16px;
    }

    .ep-section {
        padding: 60px 0;
    }

    .ep-split-left,
    .ep-split-right {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .ep-equipment__grid {
        grid-template-columns: 1fr;
    }

    .ep-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .ep-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ──────────────────────────────────────────
   16. PAGINAS INTERNAS - Equipment Archive
────────────────────────────────────────── */
.ep-page-hero {
    background: var(--ep-grafito);
    color: var(--ep-white);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ep-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,176,0,0.03) 0,
        rgba(255,176,0,0.03) 1px,
        transparent 1px,
        transparent 20px
    );
}

.ep-page-hero__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.ep-page-hero__title span {
    color: var(--ep-yellow);
}

.ep-page-hero__subtitle {
    font-size: 1rem;
    color: var(--ep-gray);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

/* Equipment Archive Grid */
.ep-equip-archive {
    padding: 80px 0;
}

.ep-equip-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ep-equip-archive-card {
    background: var(--ep-white);
    border: 1px solid #dde0e1;
    overflow: hidden;
    transition: var(--ep-transition);
}

.ep-equip-archive-card:hover {
    border-color: var(--ep-yellow);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.ep-equip-archive-card__image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ep-gray-bg);
    padding: 20px;
}

.ep-equip-archive-card__image img {
    max-height: 160px;
    object-fit: contain;
}

.ep-equip-archive-card__body {
    padding: 24px;
}

.ep-equip-archive-card__name {
    font-family: var(--ep-font-primary);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ep-dark);
    margin-bottom: 8px;
}

.ep-equip-archive-card__excerpt {
    font-size: 14px;
    color: var(--ep-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Single Equipment Page */
.ep-equip-single {
    padding: 80px 0;
}

.ep-equip-single__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.ep-equip-single__image {
    background: var(--ep-gray-bg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.ep-equip-single__image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.ep-equip-single__info {}

.ep-equip-single__category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ep-yellow-dark);
    margin-bottom: 12px;
}

.ep-equip-single__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--ep-dark);
    margin-bottom: 20px;
}

.ep-equip-single__desc {
    font-size: 15px;
    color: var(--ep-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Tabla de especificaciones */
.ep-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.ep-specs-table tr {
    border-bottom: 1px solid #dde0e1;
}

.ep-specs-table tr:first-child {
    background: var(--ep-dark);
    color: var(--ep-white);
}

.ep-specs-table th {
    font-family: var(--ep-font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 16px;
    text-align: left;
}

.ep-specs-table td {
    font-size: 14px;
    padding: 10px 16px;
    color: var(--ep-dark);
}

.ep-specs-table tr:nth-child(even) td {
    background: var(--ep-gray-bg);
}

@media (max-width: 768px) {
    .ep-equip-archive__grid {
        grid-template-columns: 1fr;
    }

    .ep-equip-single__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ──────────────────────────────────────────
   WP ADMIN BAR — compensación de offset
   Cuando el usuario está logueado, WordPress
   añade una barra de 32px arriba. El header
   fixed sube con ella (top:32px).
   Solo el hero y el page-hero necesitan
   compensar — .ep-main ya tiene padding-top: 0.
────────────────────────────────────────── */
body.admin-bar .ep-hero {
    padding-top: 142px; /* 110px header + 32px admin bar */
}

body.admin-bar .ep-main--offset {
    padding-top: 142px;
}

body.admin-bar .ep-page-hero {
    padding-top: 172px; /* 140px + 32px */
}

body.admin-bar .ep-mobile-menu {
    top: calc(110px + 32px);
}

/* Móvil: admin bar es 46px en pantallas < 600px */
@media screen and (max-width: 600px) {
    body.admin-bar .ep-hero {
        padding-top: 156px; /* 110px + 46px */
    }
    body.admin-bar .ep-main--offset {
        padding-top: 156px;
    }
    body.admin-bar .ep-page-hero {
        padding-top: 186px;
    }
    body.admin-bar .ep-mobile-menu {
        top: calc(110px + 46px);
    }
}

/* ──────────────────────────────────────────
   17. EQUIPMENT RENTALS PAGE
       Badge + placeholder + catalog grid + filter
────────────────────────────────────────── */

/* Badge de categoría en tarjeta */
.ep-equip-card__badge,
.ep-catalog-card__badge {
    display: inline-block;
    font-family: var(--ep-font-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ep-black);
    background: var(--ep-yellow);
    padding: 3px 8px;
    margin-bottom: 10px;
}

/* Placeholder de imagen cuando no hay thumbnail */
.ep-equip-card__placeholder {
    width: 100%;
    height: 110px;
    background: var(--ep-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ep-equip-card__placeholder svg {
    width: 56px;
    height: 56px;
}

/* ── Encabezado del catálogo con filtro ── */
.ep-catalog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

/* ── Filtro dropdown ── */
.ep-catalog-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 280px;
}

.ep-catalog-filter__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ep-font-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ep-gray);
}

.ep-catalog-filter__label svg {
    width: 14px;
    height: 14px;
}

.ep-catalog-filter__select-wrap {
    position: relative;
}

.ep-catalog-filter__select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    font-family: var(--ep-font-primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--ep-dark);
    background: var(--ep-white);
    border: 2px solid var(--ep-dark);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ep-catalog-filter__select:focus {
    outline: none;
    border-color: var(--ep-yellow);
    box-shadow: 0 0 0 3px rgba(255,176,0,0.15);
}

.ep-catalog-filter__chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--ep-dark);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.ep-catalog-filter__chevron svg {
    width: 18px;
    height: 18px;
}

.ep-catalog-filter__select-wrap.open .ep-catalog-filter__chevron {
    transform: translateY(-50%) rotate(180deg);
}

/* ── Catalog Grid (segundo grid) ── */
.ep-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transition: opacity 0.3s ease;
}

.ep-catalog-grid.loading {
    opacity: 0.4;
    pointer-events: none;
}

/* Tarjeta del catálogo — más vertical que el grid del hero */
.ep-catalog-card {
    background: var(--ep-white);
    border: 1px solid #dde0e1;
    display: flex;
    flex-direction: column;
    transition: var(--ep-transition);
    position: relative;
    overflow: hidden;
}

.ep-catalog-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ep-yellow);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.ep-catalog-card:hover::after {
    transform: scaleX(1);
}

.ep-catalog-card:hover {
    border-color: var(--ep-yellow);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.ep-catalog-card__image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--ep-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ep-catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ep-catalog-card:hover .ep-catalog-card__image img {
    transform: scale(1.04);
}

.ep-catalog-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ep-catalog-card__name {
    font-family: var(--ep-font-primary);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ep-dark);
    margin-bottom: 6px;
}

.ep-catalog-card__desc {
    font-size: 13px;
    color: var(--ep-gray);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 14px;
}

/* ── Loading spinner ── */
.ep-catalog-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    font-size: 14px;
    color: var(--ep-gray);
    font-family: var(--ep-font-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ep-catalog-loading.visible {
    display: flex;
}

.ep-catalog-loading__spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--ep-gray-bg);
    border-top-color: var(--ep-yellow);
    border-radius: 50%;
    animation: ep-spin 0.7s linear infinite;
}

@keyframes ep-spin {
    to { transform: rotate(360deg); }
}

/* ── Estado vacío ── */
.ep-catalog-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--ep-gray);
}

.ep-catalog-empty svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    opacity: 0.4;
}

.ep-catalog-empty p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* ── Responsive catálogo ── */
@media (max-width: 1200px) {
    .ep-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .ep-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ep-catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .ep-catalog-filter {
        width: 100%;
        min-width: unset;
    }
    .ep-catalog-filter__select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ep-catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* ──────────────────────────────────────────
   18. SERVICES PAGE
   Secciones alternadas 2 columnas
   Paleta: Blanco ↔ Grafito ↔ Amarillo
────────────────────────────────────────── */

/* ── Sección base ── */
.ep-service {
    padding: 100px 0;
}

/* Variantes de fondo */
.ep-service--white   { background: var(--ep-white); }
.ep-service--grafito { background: var(--ep-grafito); }
.ep-service--yellow  { background: var(--ep-yellow); }

/* ── Layout 2 columnas ── */
.ep-service__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Normal: imagen izquierda, texto derecha */
.ep-service__row--normal {}

/* Reversed: texto izquierda, imagen derecha
   (el texto va primero en el HTML y el orden CSS lo invierte visualmente) */
.ep-service__row--reversed {
    direction: rtl;   /* invierte el orden visual de las columnas */
}
.ep-service__row--reversed > * {
    direction: ltr;   /* restaura el texto dentro de cada columna */
}

/* ── Columna imagen ── */
.ep-service__image-col {
    width: 100%;
}

/* Placeholder de imagen — se reemplazará con <img> real */
.ep-service__img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 2px dashed;
    font-family: var(--ep-font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Variantes de placeholder según el fondo de la sección */
.ep-service__img-placeholder--grafito {
    background: var(--ep-gray-bg);
    border-color: #dde0e1;
    color: var(--ep-gray);
}
.ep-service__img-placeholder--grafito svg {
    width: 64px;
    height: 64px;
    color: #c0c4c6;
}

.ep-service__img-placeholder--yellow {
    background: rgba(255,176,0,0.12);
    border-color: rgba(255,176,0,0.4);
    color: rgba(255,255,255,0.6);
}
.ep-service__img-placeholder--yellow svg {
    width: 64px;
    height: 64px;
    color: rgba(255,255,255,0.5);
}

.ep-service__img-placeholder--dark {
    background: rgba(17,17,17,0.08);
    border-color: rgba(17,17,17,0.2);
    color: rgba(17,17,17,0.5);
}
.ep-service__img-placeholder--dark svg {
    width: 64px;
    height: 64px;
    color: rgba(17,17,17,0.35);
}

/* Imagen real cuando se suba */
.ep-service__image-col img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Columna texto ── */
.ep-service__text-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Eyebrow */
.ep-service__eyebrow {
    font-family: var(--ep-font-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ep-yellow);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ep-service__eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--ep-yellow);
    flex-shrink: 0;
}

.ep-service__eyebrow--light {
    color: var(--ep-yellow);
}
.ep-service__eyebrow--light::before {
    background: var(--ep-yellow);
}

.ep-service__eyebrow--dark {
    color: var(--ep-black);
}
.ep-service__eyebrow--dark::before {
    background: var(--ep-black);
}

/* Título */
.ep-service__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.0;
    letter-spacing: -0.5px;
    color: var(--ep-dark);
    margin-bottom: 24px;
}

.ep-service__title--accent {
    color: var(--ep-yellow);
    display: block;
}

.ep-service__title--white {
    color: var(--ep-white);
}

.ep-service__title--dark {
    color: var(--ep-black);
}

.ep-service__title--dark-under {
    color: var(--ep-black);
    display: block;
}

/* Descripción */
.ep-service__desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ep-gray);
    margin-bottom: 16px;
}

.ep-service__desc--light {
    color: var(--ep-gray-light);
}

.ep-service__desc--dark {
    color: rgba(17,17,17,0.75);
}

/* Botones */
.ep-service__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

/* ── CTA final ── */
.ep-service-cta {
    background: var(--ep-black);
    padding: 72px 0;
}

.ep-service-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.ep-service-cta__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ep-white);
    margin-bottom: 8px;
}

.ep-service-cta__text {
    font-size: 15px;
    color: var(--ep-gray);
    max-width: 520px;
}

/* ── Responsive Services ── */
@media (max-width: 900px) {
    .ep-service {
        padding: 72px 0;
    }

    .ep-service__row,
    .ep-service__row--reversed {
        grid-template-columns: 1fr;
        gap: 48px;
        direction: ltr;   /* en móvil siempre: imagen arriba, texto abajo */
    }

    /* En móvil: imagen siempre arriba (primer hijo = primer en DOM) */
    .ep-service__row--reversed .ep-service__text-col {
        order: 2;
    }
    .ep-service__row--reversed .ep-service__image-col {
        order: 1;
    }

    .ep-service__title {
        font-size: clamp(30px, 7vw, 48px);
    }

    .ep-service-cta__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .ep-service {
        padding: 56px 0;
    }

    .ep-service__actions {
        flex-direction: column;
    }

    .ep-service__actions .ep-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ──────────────────────────────────────────
   19. ABOUT US PAGE
   Pilares de misión + Stats de visión +
   CTA variante amarilla
────────────────────────────────────────── */

/* ── Tres pilares (Our Mission) ── */
.ep-about-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.ep-about-pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ep-about-pillar__icon {
    width: 44px;
    height: 44px;
    background: var(--ep-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ep-black);
}

.ep-about-pillar__icon svg {
    width: 22px;
    height: 22px;
}

.ep-about-pillar__title {
    font-family: var(--ep-font-primary);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ep-dark);
    margin-bottom: 2px;
}

.ep-about-pillar__text {
    font-size: 13px;
    color: var(--ep-gray);
    line-height: 1.5;
}

/* ── Stats (Our Vision) ── */
.ep-about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.ep-about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ep-about-stat__number {
    font-family: var(--ep-font-primary);
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    color: var(--ep-yellow);
    letter-spacing: -1px;
}

.ep-about-stat__number span {
    font-size: 32px;
    color: var(--ep-yellow);
}

.ep-about-stat__label {
    font-family: var(--ep-font-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ep-gray);
}

/* ── CTA variante amarilla ── */
.ep-service-cta--yellow {
    background: var(--ep-yellow);
}

.ep-service-cta__title--dark {
    color: var(--ep-black);
}

.ep-service-cta__text--dark {
    color: rgba(17,17,17,0.7);
}

/* ── Responsive About Us ── */
@media (max-width: 900px) {
    .ep-about-stats {
        gap: 28px;
    }
    .ep-about-stat__number {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .ep-about-pillars {
        gap: 16px;
    }
    .ep-about-stats {
        gap: 20px;
    }
    .ep-about-stat__number {
        font-size: 36px;
    }
}

/* ──────────────────────────────────────────
   20. TARJETAS CLICKEABLES + MODAL DE EQUIPO
────────────────────────────────────────── */

/* ── Ícono zoom hover sobre imagen ── */
.ep-equip-card__zoom,
.ep-catalog-card .ep-equip-card__zoom {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.ep-equip-card__zoom svg {
    width: 40px;
    height: 40px;
    color: var(--ep-white);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* La imagen del equip-card necesita position relative para el zoom */
.ep-equip-card--clickable .ep-equip-card__image {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.ep-catalog-card--clickable .ep-catalog-card__image {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.ep-equip-card--clickable:hover .ep-equip-card__zoom,
.ep-catalog-card--clickable:hover .ep-equip-card__zoom {
    opacity: 1;
}

.ep-equip-card--clickable {
    cursor: pointer;
}

.ep-catalog-card--clickable {
    cursor: pointer;
}

.ep-equip-card--clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    border-color: var(--ep-yellow);
}

/* ── Modal overlay ── */
.ep-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17,17,17,0.85);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ep-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── Modal caja ── */
.ep-modal {
    background: var(--ep-white);
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: grid;
    grid-template-columns: 3fr 2fr;   /* imagen ocupa 60%, texto 40% */
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

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

/* ── Botón cerrar ── */
.ep-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: var(--ep-black);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--ep-white);
    transition: background 0.2s ease;
}

.ep-modal__close:hover {
    background: var(--ep-yellow);
    color: var(--ep-black);
}

.ep-modal__close svg {
    width: 18px;
    height: 18px;
}

/* ── Imagen del modal ── */
.ep-modal__image-wrap {
    position: relative;
    background: var(--ep-black);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ep-modal__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 16px;  /* pequeño respiro para que la imagen no toque los bordes */
}

.ep-modal__img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.ep-modal__img-placeholder svg {
    width: 80px;
    height: 80px;
}

.ep-modal__img-placeholder.hidden {
    display: none;
}

/* ── Contenido del modal ── */
.ep-modal__content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    border-top: 4px solid var(--ep-yellow);
}

.ep-modal__badge {
    font-family: var(--ep-font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ep-black);
    background: var(--ep-yellow);
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 16px;
    align-self: flex-start;
}

.ep-modal__badge:empty {
    display: none;
}

.ep-modal__title {
    font-family: var(--ep-font-primary);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--ep-dark);
    margin-bottom: 16px;
}

.ep-modal__desc {
    font-size: 15px;
    color: var(--ep-gray);
    line-height: 1.7;
    margin-bottom: 28px;
    flex: 1;
}

.ep-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Responsive modal ── */
@media (max-width: 680px) {
    .ep-modal {
        grid-template-columns: 1fr;
        max-height: 92vh;
    }

    .ep-modal__image-wrap {
        min-height: 300px;
        max-height: 300px;
    }

    .ep-modal__content {
        padding: 28px 24px;
    }

    .ep-modal__actions .ep-btn {
        width: 100%;
        justify-content: center;
    }
}
