/* ============================================================
   JORTON INDUSTRIAL — Tema WordPress
   Paleta: #17242d (oscuro), #45ad7e (verde), #1d7151 (verde oscuro), #f0f0ee (claro)
   ============================================================ */

/* === IMPORTAR FUENTES === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@500;600;700;800&display=swap');

/* === VARIABLES === */
:root {
    --dark:          #17242d;
    --dark-alt:      #1a2b35;
    --dark-hover:    #1e3040;
    --green:         #45ad7e;
    --green-dark:    #1d7151;
    --green-light:   #5bc490;
    --light:         #f0f0ee;
    --white:         #ffffff;
    --footer-bg:     #0d1820;
    --text:          #2c3e50;
    --text-muted:    #667585;
    --border:        #e2e8f0;
    --surface:       #f7f9fb;

    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Barlow Condensed', 'Inter', sans-serif;

    --max-w:    1200px;
    --pad-x:    clamp(1rem, 5vw, 2rem);

    --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    --t:        0.3s;
    --t-slow:   0.55s;

    --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
    --shadow-xl:  0 16px 60px rgba(0,0,0,0.22);

    --radius:    8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

/* === TIPOGRAFÍA === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--dark);
}
h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.3rem; }

/* === LAYOUT === */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.section--dark { background: var(--dark); color: var(--light); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--green-dark { background: var(--green-dark); color: var(--white); }
.section--surface { background: var(--surface); }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.85rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}
.section--dark .section-eyebrow::before,
.section--green-dark .section-eyebrow::before { background: var(--green-light); }
.section--green-dark .section-eyebrow { color: var(--green-light); }

.section-title { margin-bottom: 1.25rem; }
.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 62ch;
}
.section--dark .section-lead { color: rgba(240,240,238,0.75); }
.section--green-dark .section-lead { color: rgba(255,255,255,0.8); }
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center .section-eyebrow { justify-content: center; }
.section-header--center .section-lead { margin: 0 auto; }

/* === BOTONES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all var(--t) var(--ease);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(69,173,126,0.35);
}

.btn-outline-light {
    background: transparent;
    color: var(--light);
    border-color: rgba(240,240,238,0.35);
}
.btn-outline-light:hover {
    background: transparent;
    border-color: var(--green);
    color: var(--green-light);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.btn-dark:hover {
    background: var(--dark-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === CABECERA / NAVEGACIÓN === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background var(--t-slow) var(--ease),
                padding var(--t-slow) var(--ease),
                box-shadow var(--t-slow) var(--ease);
}
.site-header.scrolled {
    background: rgba(14, 24, 32, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.85rem 0;
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.site-branding { flex-shrink: 0; }
.site-branding a {
    display: flex;
    align-items: center;
}
.custom-logo {
    height: 64px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity var(--t),
                height var(--t-slow) var(--ease),
                filter var(--t-slow) var(--ease);
}
.custom-logo:hover { opacity: 0.85; }
.site-header.scrolled .custom-logo {
    height: 44px;
}
.logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--dark);
    border: 2px solid var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--green);
    letter-spacing: -0.05em;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-heading);
}
.logo-text strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
}
.logo-text span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
}

/* Menú principal */
.primary-nav { display: flex; align-items: center; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-menu > li > a {
    display: block;
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(240,240,238,0.8);
    border-radius: 5px;
    transition: color var(--t), background var(--t);
    position: relative;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 1.1rem;
    right: 1.1rem;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t) var(--ease);
}
.nav-menu > li > a:hover { color: var(--white); }
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current_page_item > a::after { transform: scaleX(1); }
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a { color: var(--white); }

/* Ítem CTA en menú */
.nav-menu .menu-cta > a {
    background: var(--green);
    color: var(--white) !important;
    padding: 0.55rem 1.25rem;
    margin-left: 0.5rem;
}
.nav-menu .menu-cta > a::after { display: none; }
.nav-menu .menu-cta > a:hover { background: var(--green-dark); }

/* Hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
    position: relative;
}
.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    transform-origin: center;
}
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Fondo decorativo */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    opacity: 0.12;
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 80% 40%, rgba(69,173,126,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 5% 85%, rgba(29,113,81,0.15) 0%, transparent 60%);
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(69,173,126,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69,173,126,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Línea decorativa lateral */
.hero-accent-line {
    position: absolute;
    right: clamp(2rem, 8vw, 120px);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--green) 30%, var(--green-dark) 70%, transparent);
    opacity: 0.3;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 4rem 0;
}

.hero-content {}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease) 0.1s forwards;
}
.hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease) 0.25s forwards;
}
.hero h1 em {
    font-style: normal;
    color: var(--green);
    position: relative;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(240,240,238,0.72);
    line-height: 1.75;
    max-width: 50ch;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease) 0.4s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease) 0.55s forwards;
}

/* Lado derecho del hero: tarjeta decorativa */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    animation: fadeInRight 0.9s var(--ease) 0.3s forwards;
}
.hero-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
}
.hero-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-card-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color var(--t), background var(--t);
}
.hero-feature:hover {
    border-color: rgba(69,173,126,0.25);
    background: rgba(69,173,126,0.06);
}
.hero-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(69,173,126,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}
.hero-feature-icon svg { width: 20px; height: 20px; }
.hero-feature-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.15rem;
}
.hero-feature-text span {
    font-size: 0.78rem;
    color: rgba(240,240,238,0.55);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(240,240,238,0.4);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--t);
    animation: scrollBounce 2.5s ease infinite;
}
.hero-scroll:hover { color: var(--green); }
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* === BARRA DE ESTADÍSTICAS === */
.stats-bar {
    background: var(--green-dark);
    padding: 2.75rem 0;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%);
}
.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 1rem 1.5rem;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.stat-prefix {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.1rem;
    min-height: 1.7em;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

/* === SECCIÓN QUIÉNES SOMOS === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-visual { position: relative; }
.about-image-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    position: relative;
}
.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 340px;
}
.about-image-placeholder svg { color: rgba(69,173,126,0.3); }
.about-image-placeholder p {
    color: rgba(240,240,238,0.3);
    font-size: 0.85rem;
    text-align: center;
    max-width: 20ch;
}

.about-badge {
    position: absolute;
    bottom: -1.75rem;
    right: -1.75rem;
    background: var(--green);
    color: var(--white);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
    min-width: 130px;
}
.about-badge-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.about-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.9;
    text-transform: uppercase;
}

.about-text { }
.about-text .section-lead { margin-bottom: 2rem; }
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}
.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text);
}
.about-highlight-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.45rem;
}

/* === FILOSOFÍA === */
.philosophy { background: var(--dark); }
.philosophy-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.philosophy-quote {
    position: relative;
    margin: 2.5rem 0;
    padding: 2.5rem 3rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(69,173,126,0.2);
}
.philosophy-quote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 2rem;
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    color: var(--green);
    opacity: 0.35;
    font-weight: 800;
}
.philosophy-quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--green-light);
    border: none;
    padding: 0;
    margin: 0;
    font-style: normal;
}
.philosophy-text {
    font-size: 1.05rem;
    color: rgba(240,240,238,0.72);
    line-height: 1.8;
    max-width: 72ch;
    margin: 0 auto;
}

/* === SERVICIOS === */
.services { background: var(--surface); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.25rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-slow) var(--ease),
                box-shadow var(--t-slow) var(--ease),
                border-color var(--t) var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow) var(--ease);
    border-radius: 3px 3px 0 0;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(69,173,126,0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: var(--green);
    box-shadow: 0 4px 16px rgba(23,36,45,0.2);
    transition: transform var(--t);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon { transform: scale(1.08); }

.service-card h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.72;
}

/* === POR QUÉ ELEGIRNOS === */
.why-us { background: var(--dark); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.why-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: background var(--t), border-color var(--t), transform var(--t);
}
.why-card:hover {
    background: rgba(69,173,126,0.07);
    border-color: rgba(69,173,126,0.25);
    transform: translateY(-4px);
}
.why-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(69,173,126,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: background var(--t);
}
.why-card:hover .why-icon { background: rgba(69,173,126,0.2); }
.why-icon svg { width: 24px; height: 24px; }
.why-body {}
.why-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.why-card h4 span { color: var(--green); }
.why-card p {
    color: rgba(240,240,238,0.65);
    font-size: 0.88rem;
    line-height: 1.72;
}

/* === FRANJA DE CONTACTO === */
.contact-strip {
    background: var(--green-dark);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}
.contact-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 50%);
}
.contact-strip-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}
.contact-strip-text {}
.contact-strip-text h2 { color: var(--white); margin-bottom: 0.5rem; }
.contact-strip-text .lead { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }
.contact-data-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.contact-data-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}
.contact-data-item svg { width: 20px; height: 20px; color: rgba(255,255,255,0.6); fill: rgba(255,255,255,0.6); flex-shrink: 0; }
.contact-data-item a { color: inherit; transition: color var(--t); }
.contact-data-item a:hover { color: var(--white); }
.contact-strip-cta {}

/* Enlaces de contacto protegidos (revelar al hacer clic) */
.contact-reveal {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}
.contact-reveal:hover { text-decoration-style: solid; }
.contact-reveal.is-loading { opacity: 0.6; cursor: progress; }
.contact-reveal.is-revealed { text-decoration: none; cursor: pointer; }

/* === PIE DE PÁGINA === */
.site-footer {
    background: var(--footer-bg);
    color: rgba(240,240,238,0.65);
    padding: 5rem 0 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 2.5rem;
}
.footer-brand {}
.footer-logo {
    margin-bottom: 1.25rem;
}
.footer-logo img {
    height: 46px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}
.footer-logo .logo-fallback .logo-text strong { color: var(--light); }
.footer-desc {
    font-size: 0.875rem;
    line-height: 1.72;
    max-width: 36ch;
    margin-bottom: 0;
}
.footer-col-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.5rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-links a {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--t), gap var(--t);
}
.footer-links a::before { content: '›'; opacity: 0; font-size: 1.1rem; transition: opacity var(--t); }
.footer-links a:hover { color: var(--white); gap: 0.65rem; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 0.875rem;
}
.footer-contact-row svg { width: 16px; height: 16px; color: var(--green); fill: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-contact-row a { transition: color var(--t); }
.footer-contact-row a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(240,240,238,0.35);
}
.footer-bottom a { transition: color var(--t); }
.footer-bottom a:hover { color: rgba(240,240,238,0.75); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(240,240,238,0.35); font-size: 0.78rem; text-decoration: none; transition: color var(--t); }
.footer-legal a:hover { color: rgba(240,240,238,0.75); }

/* === HERO PÁGINAS INTERNAS === */
.page-hero {
    background: var(--dark);
    padding: 10rem 0 5rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(69,173,126,0.07) 0%, transparent 70%);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0.5;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; position: relative; }
.page-hero p { color: rgba(240,240,238,0.7); font-size: 1.1rem; position: relative; max-width: 55ch; margin: 0 auto; }

/* === PÁGINA DE CONTACTO === */
.contact-page-body {
    padding: 5rem 0 6rem;
}
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 4rem;
    align-items: start;
}

.contact-side-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}
.contact-side-info .lead {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-info-icon {
    width: 46px;
    height: 46px;
    background: rgba(69,173,126,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.contact-info-val {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
}
.contact-info-val a { transition: color var(--t); }
.contact-info-val a:hover { color: var(--green); }

.contact-promise {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border-left: 3px solid var(--green);
}
.contact-promise p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.contact-promise strong { color: var(--green-dark); }

/* Formulario de contacto */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.contact-form-wrap h3 { margin-bottom: 0.4rem; }
.contact-form-wrap .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--dark);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--t), box-shadow var(--t);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(69,173,126,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aab4bf; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input.input-error,
.form-group textarea.input-error {
    border-color: #e05252;
    box-shadow: 0 0 0 3px rgba(224,82,82,0.10);
}
.field-error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #e05252;
}
.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; padding: 1.05rem; font-size: 0.9rem; }
.recaptcha-notice { margin-top: 0.75rem; font-size: 0.72rem; color: #8a9aaa; text-align: center; line-height: 1.4; }
.recaptcha-notice a { color: #8a9aaa; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; }

/* Mensajes de formulario */
.form-alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}
.form-alert svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
.form-alert--success {
    background: rgba(69,173,126,0.1);
    border: 1px solid rgba(69,173,126,0.3);
    color: var(--green-dark);
}
.form-alert--error {
    background: rgba(220,53,69,0.07);
    border: 1px solid rgba(220,53,69,0.2);
    color: #c0392b;
}

/* === PÁGINA GENÉRICA === */
.page-content {
    padding: 3rem 0 6rem;
    max-width: 800px;
    margin: 0 auto;
}
.page-content .entry-content h2 { margin: 2rem 0 1rem; }
.page-content .entry-content p { color: var(--text); line-height: 1.75; }

/* === ANIMACIONES DE SCROLL === */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--left {
    transform: translateX(-28px);
}
.reveal--right {
    transform: translateX(28px);
}
.reveal--left.is-visible,
.reveal--right.is-visible { transform: none; }

/* === ANIMACIONES DE ENTRADA (hero) === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 3.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }

    /* Menú mobile */
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        padding: 1.1rem 1.25rem;
        z-index: 1003;
    }
    .primary-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background: #0d1820;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 5rem;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.42s cubic-bezier(0.77,0,0.175,1);
        z-index: 1002;
    }
    .primary-nav.is-open { transform: translateX(0); }
    .nav-menu { flex-direction: column; gap: 0.25rem; text-align: center; }
    .nav-menu > li > a { font-size: 1.15rem; padding: 0.9rem 1.5rem; }
    .nav-menu > li > a::after { display: none; }
    .nav-menu .menu-cta > a { margin-left: 0; margin-top: 1rem; }

    /* Hero mobile */
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0 5rem; }
    .hero-visual { display: none; }
    .hero-accent-line { display: none; }
    .hero-desc { max-width: none; }

    /* Secciones */
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; padding-bottom: 2.5rem; }
    .about-badge { bottom: 0; right: 0; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }

    .contact-strip-inner { grid-template-columns: 1fr; }
    .contact-data-row { flex-direction: column; gap: 1rem; }

    .contact-page-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 2rem; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    .btn { padding: 0.85rem 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form-wrap { padding: 1.5rem; }
}

/* === WHATSAPP FLOTANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 0.75rem 1.1rem 0.75rem 0.9rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.55);
    color: #fff;
}
.whatsapp-float svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: #fff;
}
.whatsapp-float-label { white-space: nowrap; }

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        padding: 0.85rem;
        border-radius: 50%;
    }
    .whatsapp-float-label { display: none; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* === UTILIDADES === */
.text-green { color: var(--green) !important; }
.text-white { color: var(--white) !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
