/* ==========================================================================
   ROMMEL DURAN - CATAMAYO UNIDO LISTA 107
   Clean, Crisp, High-Vibrancy Design matching preview-home-rommel-v2.png
   ========================================================================== */

:root {
    --navy: #0d2f78;
    --navy-dark: #08162f;
    --navy-card: #0b2663;
    --orange: #f5a11a;
    --orange-hover: #e08e08;
    --orange-light: #fff5e6;
    --green: #3ea95f;
    --purple: #7a4fd2;
    --cyan: #08a7c7;
    --cyan-bg: #e8f7fa;
    --blue: #1b7ddb;
    --text-dark: #1b2a47;
    --text-muted: #5e6d82;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-full: 9999px;
    --container: 1180px;
    --transition: all 0.25s ease-in-out;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 0.8rem; line-height: 1.15; color: var(--navy); }
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    z-index: 10000;
    width: auto;
    height: auto;
    margin: 0;
    padding: .75rem 1rem;
    clip: auto;
    overflow: visible;
    background: #fff;
    color: var(--navy);
}

.container {
    width: min(calc(100% - 2.5rem), var(--container));
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(13, 47, 120, 0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand img { height: 42px; width: 215px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.primary-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    padding: 0;
    margin: 0;
    align-items: center;
}
.primary-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.4rem 0;
    transition: var(--transition);
}
.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: var(--navy);
}
.primary-menu .current-menu-item a::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -4px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 4px;
}

.btn-header {
    background: var(--orange);
    color: #ffffff !important;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}
.btn-header:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 161, 26, 0.35);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 0;
    cursor: pointer;
}
.btn-navy {
    background: var(--navy);
    color: #ffffff;
}
.btn-navy:hover {
    background: #081938;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 47, 120, 0.25);
}
.btn-orange {
    background: var(--orange);
    color: #ffffff;
}
.btn-orange:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 161, 26, 0.35);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 33%, rgba(255,255,255,.34) 62%, rgba(255,255,255,.06) 100%),
        url('/assets/images/catamayo-hero-v4.webp') center 52% / cover no-repeat;
    overflow: hidden;
    padding: 0;
    border-bottom: 1px solid #edf2f7;
}
.hero-section::before {
    content: '';
    position: absolute;
    z-index: 1;
    right: 16%;
    top: 12%;
    width: 250px;
    height: 230px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 240'%3E%3Cpath d='M32 118l56 55L226 26' fill='none' stroke='%230d2f78' stroke-width='34'/%3E%3Cpath d='M10 92l61 59L210 8' fill='none' stroke='%23f5a11a' stroke-width='38'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 1rem;
    align-items: end;
    min-height: 500px;
}
.hero-copy {
    align-self: center;
    padding: 2.5rem 0 3rem;
}
.hero-eyebrow { display: none; }
.hero-eyebrow {
    color: var(--orange);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    display: none;
    align-items: center;
    gap: 8px;
}
.hero-eyebrow::after {
    content: '';
    width: 35px;
    height: 2px;
    background: var(--orange);
}
.hero-copy h1 {
    font-size: clamp(3.75rem, 6vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 0.2rem;
    line-height: 0.95;
}
.hero-subtitle {
    color: var(--orange);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    margin: 0.6rem 0 1rem;
}
.hero-copy p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 480px;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 500px;
}
.hero-candidate-img {
    position: absolute;
    left: 43%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 3;
    width: min(132%, 720px);
    max-width: none;
    filter: drop-shadow(0 14px 28px rgba(13,47,120,.2));
}
.hero-floating-badge {
    position: absolute;
    right: .5rem;
    bottom: 1.5rem;
    z-index: 4;
    filter: drop-shadow(0 12px 35px rgba(13, 47, 120, 0.16));
    transition: var(--transition);
}
.hero-floating-badge:hover {
    transform: translateY(-3px);
}
.hero-floating-badge img {
    width: 155px;
    height: auto;
    display: block;
    border-radius: 18px;
}


/* --------------------------------------------------------------------------
   SECTION HEADINGS WITH GOLD DECORATIVE LINES
   -------------------------------------------------------------------------- */
.section-space { padding: 4.5rem 0; }

.section-decor-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
.decor-line-title {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 1.45rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin: 0;
}
.decor-line-title::before,
.decor-line-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}
.section-decor-title.inverse .decor-line-title {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   SOBRE ROMMEL SECTION
   -------------------------------------------------------------------------- */
.sobre-rommel-section {
    background: #ffffff;
    padding: 4rem 0 3.5rem;
}
.sobre-rommel-header {
    margin-bottom: 2.2rem;
}
.sobre-rommel-header .eyebrow {
    color: var(--orange);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.4rem;
}
.sobre-rommel-header .eyebrow::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--orange);
}
.sobre-rommel-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--navy);
}

.sobre-rommel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.sobre-card {
    background: #ffffff;
    border: 1px solid #eaf0f8;
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem;
    box-shadow: 0 4px 15px rgba(13, 47, 120, 0.04);
    text-align: center;
    transition: var(--transition);
}
.sobre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(13, 47, 120, 0.08);
    border-color: #dbe6f5;
}
.sobre-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.sobre-icon-circle.navy { background: var(--navy); }
.sobre-icon-circle.orange { background: var(--orange); }
.sobre-icon-circle svg { width: 28px; height: 28px; fill: stroke; }

.sobre-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}
.sobre-card.card-orange h3 { color: var(--orange); }
.sobre-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   7 EJES DE TRANSFORMACIÓN
   -------------------------------------------------------------------------- */
.ejes-section {
    background: #fafcff;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}
.ejes-subheading {
    text-align: center;
    margin: -1rem 0 2rem;
}
.ejes-subheading span {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ejes-subheading span::before,
.ejes-subheading span::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--orange);
}

.ejes-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.eje-card-mini {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: var(--radius-sm);
    padding: 1.4rem 0.8rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.eje-card-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 47, 120, 0.08);
    border-color: #cbdbee;
}
.eje-icon-box {
    margin-bottom: 0.75rem;
}
.eje-icon-box svg { width: 34px; height: 34px; }
.eje-card-mini span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

/* Banner Pilar 7 */
.eje-7-banner {
    background: var(--cyan-bg);
    border: 1.5px solid var(--cyan);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 4px 15px rgba(8, 167, 199, 0.08);
}
.eje-7-icon {
    width: 52px;
    height: 52px;
    background: var(--cyan);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eje-7-icon svg { width: 28px; height: 28px; }
.eje-7-content h3 {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--navy);
    margin: 0 0 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.eje-7-content p {
    font-size: 0.92rem;
    color: #0e3d48;
    margin: 0;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   CATAMAYO EN CIFRAS
   -------------------------------------------------------------------------- */
.cifras-section {
    background: #ffffff;
}
.cifras-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.cifra-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 1.2rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.02);
    transition: var(--transition);
}
.cifra-card:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 47, 120, 0.06);
}
.cifra-icon { flex-shrink: 0; }
.cifra-icon svg { width: 34px; height: 34px; }
.cifra-data { display: flex; flex-direction: column; }
.cifra-num {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px;
}
.cifra-data.blue .cifra-num { color: var(--blue); }
.cifra-data.orange .cifra-num { color: var(--orange); }
.cifra-data.green .cifra-num { color: var(--green); }
.cifra-data.purple .cifra-num { color: var(--purple); }
.cifra-data.gold .cifra-num { color: #d97706; }

.cifra-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}
.cifra-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   PROYECTOS DESTACADOS
   -------------------------------------------------------------------------- */
.proyectos-section {
    background: #fafcff;
}
.proyectos-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.proyecto-photo-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 215px;
    box-shadow: 0 6px 20px rgba(13, 47, 120, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem;
    color: #ffffff;
    transition: var(--transition);
}
.proyecto-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(13, 47, 120, 0.16);
}
.proyecto-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}
.proyecto-photo-card:hover .proyecto-bg-img {
    transform: scale(1.04);
}
.proyecto-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(8, 22, 47, 0.75) 100%);
    z-index: 2;
}
.proyecto-top-icon {
    position: relative;
    z-index: 3;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.proyecto-top-icon svg { width: 18px; height: 18px; }
.proyecto-top-icon.blue svg { stroke: var(--blue); fill: var(--blue); }
.proyecto-top-icon.green svg { stroke: var(--green); fill: var(--green); }
.proyecto-top-icon.orange svg { stroke: var(--orange); fill: var(--orange); }
.proyecto-top-icon.purple svg { stroke: var(--purple); fill: var(--purple); }

.proyecto-bottom-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
}
.proyecto-texts h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.proyecto-texts p {
    color: rgba(255,255,255,0.95);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.proyecto-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    font-weight: 900;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.proyecto-arrow-btn.blue { background: var(--blue); }
.proyecto-arrow-btn.green { background: var(--green); }
.proyecto-arrow-btn.orange { background: var(--orange); }
.proyecto-arrow-btn.purple { background: var(--purple); }
.proyecto-photo-card:hover .proyecto-arrow-btn { transform: scale(1.12); }
.composed-card { padding: 0; background: #fff; }
.composed-card .proyecto-gradient,
.composed-card .proyecto-top-icon,
.composed-card .proyecto-bottom-content { display: none; }
.composed-card .proyecto-bg-img { object-fit: fill; }
.card-full-link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.card-full-link:focus-visible { outline: 4px solid var(--orange); outline-offset: -4px; }

/* Official plan PDF */
.official-plan-section { padding: 3.5rem 0 1rem; background: #f7f9fd; }
.official-plan-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(13,47,120,.1);
}
.official-plan-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(13,47,120,.16);
}
.official-plan-copy h2 { font-size: clamp(2rem,4vw,3rem); margin-top: .5rem; }
.official-plan-copy p { max-width: 740px; color: var(--text-muted); font-size: 1.04rem; }
.official-plan-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 1rem; }
.official-plan-meta { font-size: .84rem !important; margin: 0 !important; }
.official-plan-viewer {
    margin-top: 2rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(13,47,120,.08);
}
.official-plan-viewer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--navy);
    color: #fff;
}
.official-plan-viewer-head h2 { color: #fff; font-size: 1.2rem; margin: 0; }
.official-plan-viewer-head a { color: #fff; font-weight: 700; font-size: .9rem; }
.official-plan-viewer object { display: block; width: 100%; height: 820px; border: 0; }
.official-plan-fallback { padding: 3rem; text-align: center; }

/* --------------------------------------------------------------------------
   HOJA DE RUTA 2027 – 2031 (NAVY BLUE BAR)
   -------------------------------------------------------------------------- */
.roadmap-navy-section {
    background: var(--navy-dark);
    padding: 3.5rem 0;
    color: #ffffff;
}
.roadmap-timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
    margin-top: 2.2rem;
}
.roadmap-timeline-grid::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.2);
    z-index: 1;
}
.roadmap-step {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 0.5rem;
}
.roadmap-node-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
    color: #ffffff;
}
.roadmap-node-circle.target { background: #0077b6; }
.roadmap-node-circle.sun { background: #f77f00; }
.roadmap-node-circle.people { background: #2a9d8f; }
.roadmap-node-circle.chart { background: #7209b7; }
.roadmap-node-circle.check { background: #f5a11a; }
.roadmap-node-circle svg { width: 24px; height: 24px; fill: stroke; }

.roadmap-year {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.3rem;
}
.roadmap-step p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.35;
    margin: 0;
}

/* --------------------------------------------------------------------------
   FOOTER CTA CARD & FORM (EXACT MATCHING MOCKUP)
   -------------------------------------------------------------------------- */
.footer-cta-section {
    background: var(--navy);
    padding: 3.5rem 0 0;
    color: #ffffff;
}

.footer-card-container {
    background: #f8fafc;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.footer-card-left {
    background: var(--navy-card);
    padding: 2.8rem 2.2rem;
    color: #ffffff;
    border-radius: 24px 0 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-card-left h2 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin: 0;
}

.footer-card-left .highlight-orange {
    color: var(--orange);
    display: block;
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.footer-card-left p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 300px;
    margin-bottom: 1.8rem;
    line-height: 1.45;
}

.footer-whatsapp-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.6rem;
}

.wa-icon-large {
    width: 44px;
    height: 44px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}
.wa-icon-large svg { width: 26px; height: 26px; fill: currentColor; }

.wa-text strong { display: block; font-size: 0.78rem; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.wa-text span { font-size: 1.05rem; font-weight: 800; color: #ffffff; }

.footer-socials strong {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.6rem;
}

.social-icons-row {
    display: flex;
    gap: 10px;
}

.soc-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.soc-btn.fb { background: #1877f2; }
.soc-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.soc-btn.tt { background: #050505; border: 1px solid rgba(255,255,255,.3); }
.tiktok-mark { width: 24px; height: 24px; display: block; }
.tiktok-mark .tk-cyan { fill: #25f4ee; transform: translate(-1px,1px); }
.tiktok-mark .tk-red { fill: #fe2c55; transform: translate(1px,-1px); }
.tiktok-mark .tk-white { fill: #fff; }
.soc-btn.tt { background: #000000; border: 1px solid rgba(255,255,255,0.3); }
.soc-btn:hover { transform: scale(1.15); }
.soc-btn svg { width: 19px; height: 19px; }

/* Right Light Container & Form */
.footer-card-right {
    background: #f8fafc;
    padding: 2.2rem 2.2rem 2.2rem 2rem;
    position: relative;
    border-radius: 0 24px 24px 0;
    color: var(--text-dark);
}

.footer-form-wrapper {
    max-width: 440px;
}

.footer-card-right h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-card-right p.sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
}

.title-line-orange {
    width: 40px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    margin-bottom: 1.2rem;
}

.mockup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mockup-input,
.mockup-select,
.mockup-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d2dbe5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-dark);
    background: #ffffff;
    outline: none;
    transition: var(--transition);
}

.mockup-input:focus,
.mockup-select:focus,
.mockup-textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(13, 47, 120, 0.1);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0.75rem;
}

.mockup-textarea {
    resize: none;
    height: 65px;
}

.form-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.4rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input {
    margin: 0;
    accent-color: var(--orange);
}

.btn-submit-orange {
    background: var(--orange);
    color: #ffffff;
    border: 0;
    border-radius: var(--radius-full);
    padding: 0.7rem 1.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-submit-orange:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 161, 26, 0.35);
}

/* Rommel Thumbs Up Candidate Image on Right */
.footer-candidate-thumbsup {
    position: absolute;
    right: -10px;
    bottom: 0;
    height: 86%;
    width: auto;
    max-width: 315px;
    max-height: 380px;
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}

/* Bottom Bar */
.footer-copyright-bar {
    background: var(--navy-dark);
    margin-top: 3rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-hashtag {
    font-weight: 800;
    color: var(--orange);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--navy);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (BREAKPOINTS)
   -------------------------------------------------------------------------- */
@media (max-width: 1050px) {
    .ejes-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .cifras-grid { grid-template-columns: repeat(3, 1fr); }
    .proyectos-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 950px) {
    .footer-card-container { grid-template-columns: 1fr; border-radius: 24px; }
    .footer-card-left { border-radius: 24px 24px 0 0; }
    .footer-card-right { border-radius: 0 0 24px 24px; }
    .footer-candidate-thumbsup { display: none; }
}

@media (max-width: 850px) {
    .official-plan-card { grid-template-columns: 180px 1fr; gap: 1.5rem; }
    .official-plan-viewer object { height: 650px; }
    .hero-section { background: linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.9) 44%,rgba(255,255,255,.15) 100%),url('/assets/images/catamayo-hero-v4.webp') center / cover no-repeat; }
    .hero-section::before { right: 15%; top: 48%; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-copy { padding: 2.7rem 0 1rem; text-align: center; }
    .hero-copy p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { min-height: 390px; }
    .hero-candidate-img { left: 50%; width: min(118%,650px); }
    .sobre-rommel-grid { grid-template-columns: 1fr; }
    .roadmap-timeline-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .roadmap-timeline-grid::before { display: none; }
    .site-nav {
        position: fixed;
        inset: 78px 0 auto 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1.2rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .primary-menu { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .menu-toggle { display: flex; }
    .btn-header { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
    .official-plan-section { padding-top: 2rem; }
    .official-plan-card { grid-template-columns: 1fr; padding: 1.25rem; }
    .official-plan-cover { max-width: 210px; margin: 0 auto; }
    .official-plan-copy { text-align: center; }
    .official-plan-actions { flex-direction: column; }
    .official-plan-viewer-head { align-items: flex-start; flex-direction: column; }
    .official-plan-viewer object { height: 520px; }
    .brand img { height: 35px; width: auto; }
    .hero-copy h1 { font-size: clamp(3.2rem,17vw,4.35rem); }
    .hero-actions .btn { width: 100%; }
    .hero-visual { min-height: 300px; }
    .hero-candidate-img { width: 150%; }
    .ejes-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .cifras-grid { grid-template-columns: 1fr; }
    .proyectos-grid-4 { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-bottom-row { flex-direction: column; align-items: stretch; }
    .btn-submit-orange { width: 100%; justify-content: center; }
    .footer-card-left, .footer-card-right { padding: 1.5rem; }
}

/* ========================================================================
   V11 CAMPAIGN MESSAGE + PARTICIPATION EXPERIENCE
   ======================================================================== */
.hero-subtitle {
    position: relative;
    display: inline-block;
    padding-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .025em;
}
.hero-subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg,var(--orange),rgba(245,161,26,.15));
    border-radius: 10px;
}
.hero-floating-badge .hero-brand-card {
    width: 168px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.15rem .9rem;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(13,47,120,.1);
    border-radius: 19px;
    box-shadow: 0 16px 38px rgba(13,47,120,.18);
    backdrop-filter: blur(8px);
}
.hero-floating-badge .hero-brand-card img {
    width: 138px;
    height: auto;
    border-radius: 0;
}
.hero-brand-card span {
    color: var(--navy);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: -.015em;
    white-space: nowrap;
}
.ejes-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 6% 10%,rgba(245,161,26,.09),transparent 22rem),
        radial-gradient(circle at 94% 90%,rgba(8,167,199,.1),transparent 25rem),
        #fafcff;
}
.ejes-section::before {
    content: '7';
    position: absolute;
    right: -2rem;
    top: 2rem;
    color: rgba(13,47,120,.025);
    font-size: clamp(18rem,35vw,34rem);
    font-weight: 900;
    line-height: .8;
    pointer-events: none;
}
.ejes-section > .container { position: relative; z-index: 1; }
.participation-pair {
    display: grid;
    grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr);
    gap: 1rem;
    margin-top: 1.2rem;
}
.ejes-grid-7 {
    display: grid;
    grid-template-columns: repeat(7,minmax(0,1fr));
    gap: .85rem;
    margin-bottom: 1.2rem;
}
.ejes-grid-7 .eje-card-mini {
    min-width: 0;
    min-height: 164px;
    padding: 1.25rem .55rem;
    text-decoration: none;
}
.ejes-grid-7 .eje-card-mini span {
    font-size: clamp(.74rem,1.05vw,.88rem);
    overflow-wrap: anywhere;
}
.participation-pair.proposal-only { grid-template-columns: 1fr; }
.proposal-only .proposal-invite-card {
    min-height: 132px;
    padding-inline: clamp(1.4rem,4vw,3rem);
}
.proposal-only .proposal-invite-copy p { max-width: 820px; }
.participation-pair > a {
    position: relative;
    overflow: hidden;
    min-height: 176px;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.5rem;
    text-decoration: none;
    border-radius: 20px;
    transition: transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.participation-pair > a::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -45%;
    width: 34%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);
    transition: left .55s ease;
    pointer-events: none;
}
.participation-pair > a:hover::before { left: 125%; }
.participation-pair > a:hover { transform: translateY(-5px); }
.participation-pair .eje-7-banner {
    padding: 1.5rem;
    background: linear-gradient(135deg,#e8f9fd 0%,#f5fcff 55%,#fff 100%);
    border: 1.5px solid var(--cyan);
    box-shadow: 0 12px 30px rgba(8,167,199,.12);
}
.participation-pair .eje-7-banner:hover { box-shadow: 0 20px 45px rgba(8,167,199,.2); }
.participation-pair .eje-7-content { min-width: 0; }
.participation-pair .eje-7-content h3 { font-size: clamp(1.05rem,1.8vw,1.35rem); line-height: 1.2; }
.participation-kicker {
    display: block;
    margin-bottom: .35rem;
    color: var(--orange);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.proposal-invite-card {
    color: #fff;
    background: linear-gradient(135deg,#0d2f78 0%,#183f8d 65%,#2454aa 100%);
    border: 1.5px solid rgba(255,255,255,.16);
    box-shadow: 0 12px 32px rgba(13,47,120,.22);
}
.proposal-invite-card:hover { box-shadow: 0 22px 48px rgba(13,47,120,.3); }
.proposal-question {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: var(--orange);
    border-radius: 18px;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.proposal-invite-copy { min-width: 0; }
.proposal-invite-copy h3 { margin: 0 0 .35rem; color: #fff; font-size: 1.35rem; line-height: 1.1; }
.proposal-invite-copy p { margin: 0; color: rgba(255,255,255,.8); font-size: .88rem; line-height: 1.5; }
.participation-arrow {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    margin-left: auto;
    color: var(--navy);
    background: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 6px 18px rgba(13,47,120,.14);
}
.proposal-invite-card .participation-arrow { color: #fff; background: rgba(255,255,255,.14); }
.copyright-hashtag,
.inner-page .footer-hashtag { letter-spacing: .01em; }

@media (min-width: 851px) and (max-width: 1230px) {
    .site-nav { gap: .7rem; }
    .primary-menu { gap: .65rem; }
    .primary-menu a { font-size: .8rem; }
    .btn-header { padding-inline: 1rem; }
}

/* ========================================================================
   V13 CATAMAYO DIGITAL — public-facing highlights from the 2027–2031 plan
   ======================================================================== */
.page-digital .page-hero {
    min-height: 410px;
    background:
        linear-gradient(104deg,rgba(3,25,64,.98) 0%,rgba(4,73,111,.92) 56%,rgba(8,167,199,.64) 100%),
        url('/assets/images/catamayo-hero-v4.webp') center 48% / cover no-repeat;
}
.page-digital .page-hero::after {
    background: linear-gradient(135deg,rgba(35,195,223,.94),rgba(35,195,223,.08));
}
.page-digital .page-content-wrap {
    background:
        radial-gradient(circle at 8% 10%,rgba(8,167,199,.12),transparent 25rem),
        radial-gradient(circle at 94% 82%,rgba(13,47,120,.08),transparent 30rem),
        linear-gradient(#f8fbfd,#f3f7fb);
}
.page-digital .digital-content {
    max-width: 1200px;
    padding: clamp(1.35rem,3.7vw,3.7rem);
}
.digital-intro { max-width: 930px; }
.digital-kicker,
.digital-section-heading > span,
.digital-citizen-cta > div > span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--cyan);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.digital-kicker::before,
.digital-section-heading > span::before,
.digital-citizen-cta > div > span::before {
    content: '';
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 4px;
}
.digital-intro h2,
.digital-section-heading h2,
.digital-citizen-cta h2 {
    margin: .7rem 0 1rem;
    color: var(--navy);
    font-size: clamp(2rem,4vw,3.25rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.digital-intro p,
.digital-section-heading p,
.digital-citizen-cta p {
    max-width: 900px;
    margin: 0;
    color: #536174;
    font-size: 1.07rem;
    line-height: 1.72;
}
.digital-impact-strip {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    overflow: hidden;
    margin: clamp(2rem,4vw,3rem) 0 0;
    background: linear-gradient(120deg,#081d49 0%,#0d2f78 62%,#087f9d 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    box-shadow: 0 20px 46px rgba(13,47,120,.2);
}
.digital-impact-item {
    min-width: 0;
    padding: 1.55rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .4rem;
    color: #fff;
}
.digital-impact-item + .digital-impact-item { border-left: 1px solid rgba(255,255,255,.16); }
.digital-impact-item strong {
    color: #fff;
    font-size: clamp(1.9rem,3vw,2.65rem);
    line-height: 1;
    letter-spacing: -.04em;
}
.digital-impact-item span {
    color: rgba(255,255,255,.75);
    font-size: .84rem;
    line-height: 1.45;
}
.digital-flagships,
.digital-measure { margin-top: clamp(3.4rem,7vw,5.5rem); }
.digital-section-heading { max-width: 880px; }
.digital-section-heading h2 { font-size: clamp(1.9rem,3.5vw,2.75rem); }
.digital-flagship-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.15rem;
    margin-top: 2rem;
}
.digital-flagship-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 350px;
    padding: clamp(1.35rem,2.5vw,2rem);
    display: flex;
    flex-direction: column;
    background: linear-gradient(150deg,#fff 0%,#f9fcff 100%);
    border: 1px solid #dfe7f1;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(13,47,120,.08);
    transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.digital-flagship-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--card-accent);
}
.digital-flagship-card::after {
    content: '';
    position: absolute;
    right: -58px;
    top: -58px;
    width: 150px;
    height: 150px;
    background: color-mix(in srgb,var(--card-accent) 9%,transparent);
    border-radius: 50%;
}
.digital-flagship-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb,var(--card-accent) 42%,#dfe7f1);
    box-shadow: 0 20px 46px rgba(13,47,120,.14);
}
.digital-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.digital-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--card-accent);
    background: color-mix(in srgb,var(--card-accent) 11%,#fff);
    border: 1px solid color-mix(in srgb,var(--card-accent) 24%,#fff);
    border-radius: 17px;
}
.digital-card-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.digital-card-number {
    color: color-mix(in srgb,var(--card-accent) 34%,#dbe4ef);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.07em;
}
.digital-flagship-card h3 {
    position: relative;
    z-index: 1;
    margin: 1.25rem 0 .7rem;
    color: var(--navy);
    font-size: 1.35rem;
    line-height: 1.2;
}
.digital-flagship-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #59677a;
    font-size: .94rem;
    line-height: 1.65;
}
.digital-benefits {
    position: relative;
    z-index: 1;
    margin: auto 0 0;
    padding: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    list-style: none;
}
.digital-benefits li {
    padding: .4rem .65rem;
    color: var(--card-accent);
    background: color-mix(in srgb,var(--card-accent) 9%,#fff);
    border: 1px solid color-mix(in srgb,var(--card-accent) 18%,#e1e7ef);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}
.digital-principle {
    position: relative;
    overflow: hidden;
    margin-top: clamp(3rem,6vw,5rem);
    padding: clamp(1.6rem,4vw,3rem);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1rem,3vw,2rem);
    align-items: center;
    color: #fff;
    background: linear-gradient(120deg,#087f9d,#08a7c7);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(8,127,157,.22);
}
.digital-principle::after {
    content: '107';
    position: absolute;
    right: -16px;
    bottom: -56px;
    color: rgba(255,255,255,.08);
    font-size: 10rem;
    font-weight: 900;
}
.digital-principle > * { position: relative; z-index: 1; }
.digital-principle-mark {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: #fff;
    border-radius: 20px;
    font-family: Georgia,serif;
    font-size: 4.7rem;
    line-height: 1;
}
.digital-principle span {
    color: rgba(255,255,255,.76);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.digital-principle blockquote {
    margin: .35rem 0 .55rem;
    color: #fff;
    font-size: clamp(1.4rem,3vw,2.35rem);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.digital-principle p { max-width: 800px; margin: 0; color: rgba(255,255,255,.82); line-height: 1.6; }
.digital-measure-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .85rem;
    margin-top: 1.8rem;
}
.digital-measure-grid > div {
    min-width: 0;
    padding: 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    background: #f7fafc;
    border: 1px solid #dde6f0;
    border-left: 4px solid var(--cyan);
    border-radius: 14px;
}
.digital-measure-grid strong { color: var(--navy); font-size: 1rem; }
.digital-measure-grid span { color: #667387; font-size: .84rem; line-height: 1.45; }
.digital-roadmap {
    position: relative;
    overflow: hidden;
    margin-top: clamp(3rem,6vw,5rem);
    padding: clamp(1.5rem,4vw,3rem);
    background: linear-gradient(135deg,#061b46 0%,#0d2f78 66%,#164b9f 100%);
    border-radius: 25px;
    box-shadow: 0 22px 54px rgba(13,47,120,.19);
}
.digital-section-heading-light > span { color: #55d1e7; }
.digital-section-heading-light h2 { color: #fff; }
.digital-roadmap ol {
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: .8rem;
    list-style: none;
}
.digital-roadmap li {
    min-width: 0;
    padding: 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .8rem;
    align-items: start;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
}
.digital-roadmap li > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: var(--orange);
    border-radius: 10px;
    font-size: .75rem;
    font-weight: 900;
}
.digital-roadmap strong { color: #fff; font-size: 1rem; }
.digital-roadmap p { margin: .3rem 0 0; color: rgba(255,255,255,.68); font-size: .8rem; line-height: 1.5; }
.digital-citizen-cta {
    margin-top: clamp(3rem,6vw,5rem);
    padding: clamp(1.5rem,4vw,3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg,#eefbfe,#f7f9fd);
    border: 1px solid rgba(8,167,199,.25);
    border-radius: 23px;
}
.digital-citizen-cta h2 { max-width: 700px; font-size: clamp(1.7rem,3vw,2.45rem); }
.digital-citizen-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.digital-citizen-actions .btn { min-width: 220px; justify-content: center; }
.digital-citizen-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg,var(--orange),#ef8b00);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(245,161,26,.25);
}
.digital-citizen-actions .btn-primary:hover { background: linear-gradient(135deg,#ef8b00,#dc7600); }
.digital-citizen-actions .btn-secondary { color: var(--navy); background: #fff; border-color: rgba(13,47,120,.2); }

@media (max-width: 960px) {
    .digital-impact-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .digital-impact-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
    .digital-impact-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
    .digital-flagship-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .digital-roadmap ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .digital-citizen-cta { align-items: flex-start; flex-direction: column; }
    .digital-citizen-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .page-digital .page-hero { min-height: 360px; }
    .digital-impact-strip { grid-template-columns: 1fr; border-radius: 18px; }
    .digital-impact-item { padding: 1.25rem; }
    .digital-impact-item + .digital-impact-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
    .digital-flagship-grid,
    .digital-measure-grid,
    .digital-roadmap ol { grid-template-columns: 1fr; }
    .digital-flagship-card { min-height: 0; }
    .digital-principle { grid-template-columns: 1fr; border-radius: 18px; }
    .digital-principle-mark { width: 58px; height: 58px; border-radius: 15px; font-size: 3.8rem; }
    .digital-roadmap,
    .digital-citizen-cta { border-radius: 18px; }
    .digital-citizen-actions { flex-direction: column; }
    .digital-citizen-actions .btn { width: 100%; min-width: 0; }
}

/* ========================================================================
   V14 GALLERY — editorial masonry, optimized photographs and lightbox
   ======================================================================== */
.page-galeria .page-hero {
    min-height: 440px;
    background:
        linear-gradient(104deg,rgba(3,22,58,.98) 0%,rgba(13,47,120,.88) 56%,rgba(13,47,120,.46) 100%),
        url('/assets/images/galeria/galeria-03.webp') center 43% / cover no-repeat;
}
.page-galeria .page-hero::after {
    background: linear-gradient(135deg,rgba(245,161,26,.95),rgba(245,161,26,.08));
}
.gallery-live-section {
    position: relative;
    background:
        radial-gradient(circle at 5% 5%,rgba(245,161,26,.11),transparent 26rem),
        radial-gradient(circle at 94% 42%,rgba(13,47,120,.09),transparent 32rem),
        linear-gradient(180deg,#f9fbfe,#eff4fa);
}
.gallery-intro {
    padding: clamp(1.6rem,4vw,3.2rem);
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr);
    gap: clamp(2rem,5vw,4rem);
    align-items: center;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(13,47,120,.1);
    border-top: 5px solid var(--orange);
    border-radius: 25px;
    box-shadow: 0 22px 60px rgba(13,47,120,.11);
}
.gallery-kicker,
.gallery-chapter-heading > span,
.gallery-final-cta > div > span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--orange);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.gallery-kicker::before,
.gallery-chapter-heading > span::before,
.gallery-final-cta > div > span::before {
    content: '';
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 6px;
}
.gallery-intro h2,
.gallery-chapter-heading h2,
.gallery-final-cta h2 {
    margin: .65rem 0 .85rem;
    color: var(--navy);
    font-size: clamp(2rem,4vw,3.35rem);
    line-height: 1.04;
    letter-spacing: -.04em;
    text-wrap: balance;
}
.gallery-intro p,
.gallery-chapter-heading p,
.gallery-final-cta p {
    max-width: 780px;
    margin: 0;
    color: #59677a;
    line-height: 1.72;
}
.gallery-summary {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    overflow: hidden;
    background: linear-gradient(135deg,#071c49,#0d2f78);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(13,47,120,.2);
}
.gallery-summary > div {
    min-width: 0;
    min-height: 122px;
    padding: 1.1rem .8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    text-align: center;
}
.gallery-summary > div + div { border-left: 1px solid rgba(255,255,255,.14); }
.gallery-summary strong { color: #fff; font-size: clamp(1.25rem,2.3vw,2.1rem); line-height: 1; }
.gallery-summary span { color: rgba(255,255,255,.66); font-size: .72rem; line-height: 1.35; }
.gallery-chapter { margin-top: clamp(4rem,8vw,7rem); }
.gallery-chapter-heading {
    max-width: 880px;
    margin-bottom: clamp(1.5rem,3vw,2.4rem);
}
.gallery-chapter-heading h2 { font-size: clamp(1.9rem,3.5vw,2.85rem); }
.gallery-chapter:nth-of-type(2) .gallery-chapter-heading > span { color: var(--cyan); }
.gallery-chapter:nth-of-type(3) .gallery-chapter-heading > span { color: var(--green); }
.gallery-masonry {
    column-count: 4;
    column-gap: 1rem;
}
.gallery-photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0;
    display: block;
    break-inside: avoid;
    color: #fff;
    background: #dfe6ef;
    border: 0;
    border-radius: 17px;
    box-shadow: 0 9px 24px rgba(13,47,120,.11);
    cursor: zoom-in;
    text-align: left;
    transition: transform .28s ease,box-shadow .28s ease;
}
.gallery-photo:nth-child(5n+2) { border-radius: 28px 14px 22px 14px; }
.gallery-photo:nth-child(7n+3) { border-radius: 14px 24px 14px 24px; }
.gallery-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s cubic-bezier(.2,.65,.25,1),filter .35s ease;
}
.gallery-photo::after {
    content: '+';
    position: absolute;
    z-index: 2;
    top: .75rem;
    right: .75rem;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0,0,0,.14);
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s ease,transform .25s ease;
}
.gallery-photo-overlay {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    padding: 3.4rem 1rem 1rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: .75rem;
    background: linear-gradient(transparent,rgba(3,17,46,.88));
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .28s ease,transform .28s ease;
}
.gallery-photo-overlay span { color: #fff; font-size: .82rem; font-weight: 850; line-height: 1.25; }
.gallery-photo-overlay small { flex: 0 0 auto; color: rgba(255,255,255,.65); font-size: .66rem; }
.gallery-photo:hover,
.gallery-photo:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(13,47,120,.2); }
.gallery-photo:hover img,
.gallery-photo:focus-visible img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }
.gallery-photo:hover::after,
.gallery-photo:focus-visible::after,
.gallery-photo:hover .gallery-photo-overlay,
.gallery-photo:focus-visible .gallery-photo-overlay { opacity: 1; transform: none; }
.gallery-photo:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gallery-final-cta {
    margin-top: clamp(4rem,8vw,7rem);
    padding: clamp(1.6rem,4vw,3.2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background:
        radial-gradient(circle at 88% 20%,rgba(8,167,199,.18),transparent 18rem),
        linear-gradient(135deg,#fff,#f4f8fd);
    border: 1px solid rgba(13,47,120,.12);
    border-left: 5px solid var(--orange);
    border-radius: 22px;
    box-shadow: 0 16px 44px rgba(13,47,120,.1);
}
.gallery-final-cta h2 { max-width: 720px; font-size: clamp(1.8rem,3.5vw,2.75rem); }
.gallery-final-cta .btn {
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg,var(--orange),#ef8b00);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(245,161,26,.26);
}
.gallery-lightbox {
    width: min(94vw,1180px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    overflow: visible;
    color: #fff;
    background: transparent;
    border: 0;
}
.gallery-lightbox::backdrop { background: rgba(2,10,28,.92); backdrop-filter: blur(9px); }
.gallery-lightbox figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
}
.gallery-lightbox figure img {
    display: block;
    max-width: min(86vw,1080px);
    max-height: 82vh;
    object-fit: contain;
    background: #06152f;
    border-radius: 14px;
    box-shadow: 0 25px 70px rgba(0,0,0,.45);
}
.gallery-lightbox figcaption { max-width: 820px; color: rgba(255,255,255,.78); font-size: .9rem; text-align: center; }
.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: fixed;
    z-index: 2;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    cursor: pointer;
    transition: background .2s ease,transform .2s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover { background: rgba(245,161,26,.92); transform: scale(1.05); }
.gallery-lightbox-close { top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; }
.gallery-lightbox-nav { top: 50%; width: 52px; height: 70px; border-radius: 16px; font-size: 2.4rem; transform: translateY(-50%); }
.gallery-lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.gallery-lightbox-prev { left: 1.2rem; }
.gallery-lightbox-next { right: 1.2rem; }

@media (max-width: 1100px) {
    .gallery-intro { grid-template-columns: 1fr; }
    .gallery-summary { max-width: 650px; }
    .gallery-masonry { column-count: 3; }
}

@media (max-width: 760px) {
    .page-galeria .page-hero { min-height: 380px; }
    .gallery-summary { grid-template-columns: 1fr 1fr 1fr; }
    .gallery-summary > div { min-height: 105px; padding-inline: .45rem; }
    .gallery-masonry { column-count: 2; column-gap: .75rem; }
    .gallery-photo { margin-bottom: .75rem; border-radius: 13px; }
    .gallery-photo:nth-child(5n+2),
    .gallery-photo:nth-child(7n+3) { border-radius: 18px 10px 16px 10px; }
    .gallery-final-cta { align-items: flex-start; flex-direction: column; }
    .gallery-final-cta .btn { width: 100%; }
    .gallery-lightbox-nav { width: 42px; height: 58px; }
    .gallery-lightbox-prev { left: .4rem; }
    .gallery-lightbox-next { right: .4rem; }
}

@media (hover: none) {
    .gallery-photo::after { opacity: .9; transform: none; }
    .gallery-photo-overlay { opacity: 1; transform: none; padding: 2.6rem .7rem .7rem; }
    .gallery-photo-overlay small { display: none; }
}

@media (max-width: 600px) {
    .gallery-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gallery-summary > div:nth-child(3) {
        grid-column: 1 / -1;
        min-height: 88px;
        border-top: 1px solid rgba(255,255,255,.14);
        border-left: 0;
    }
}

@media (max-width: 360px) {
    .gallery-summary { grid-template-columns: 1fr; }
    .gallery-summary > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
    .gallery-masonry { column-count: 1; }
}
@media (min-width: 851px) and (max-width: 950px) {
    .primary-menu { gap: .4rem; }
    .primary-menu a { font-size: .74rem; white-space: nowrap; }
}
@media (max-width: 850px) {
    .hero-subtitle::after { left: 50%; transform: translateX(-50%); }
    .participation-pair { grid-template-columns: 1fr; }
    .ejes-grid-7 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
    .ejes-grid-7 .eje-card-mini { min-height: 170px; padding: 1.35rem .7rem; }
    .ejes-grid-7 .eje-card-digital {
        grid-column: 1 / -1;
        width: calc((100% - 1rem) / 2);
        justify-self: center;
    }
}
@media (max-width: 600px) {
    .participation-pair > a { min-height: 0; align-items: flex-start; padding: 1.25rem; border-radius: 17px; }
    .proposal-question,
    .participation-pair .eje-7-icon { width: 50px; height: 50px; flex-basis: 50px; }
    .participation-arrow { position: absolute; right: 1rem; top: 1rem; }
    .participation-pair .eje-7-content,
    .proposal-invite-copy { padding-right: 2rem; }
    .hero-floating-badge .hero-brand-card { width: 154px; min-height: 126px; padding: 1rem .75rem; }
    .hero-floating-badge .hero-brand-card img { width: 128px; }
    .hero-brand-card span { font-size: .57rem; }
    .hero-floating-badge { right: 5.5rem; }
}

/* ========================================================================
   V7 INTERFACE REFINEMENT - conservative visual system
   ======================================================================== */
:root {
    --shadow-sm: 0 6px 18px rgba(13,47,120,.07);
    --shadow-md: 0 14px 34px rgba(13,47,120,.12);
    --focus-ring: 0 0 0 4px rgba(245,161,26,.28);
}

body { letter-spacing: -.005em; }
:where(a,button,input,select,textarea):focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.site-header {
    background: rgba(255,255,255,.96);
    border-bottom-color: rgba(13,47,120,.1);
    box-shadow: 0 4px 18px rgba(8,22,47,.06);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
}
.header-inner { height: 76px; }
.site-nav { gap: 1.5rem; }
.primary-menu { gap: clamp(.9rem,1.6vw,1.55rem); }
.primary-menu a { font-size: .92rem; font-weight: 650; }
.primary-menu a::after { transition: transform .22s ease; transform-origin: center; }
.primary-menu a:hover { color: var(--orange-hover); }

.btn,
.btn-header,
.btn-submit-orange {
    min-height: 46px;
    padding: .78rem 1.45rem;
    border-radius: 999px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 5px 14px rgba(13,47,120,.12);
}
.btn-orange,
.btn-header,
.btn-submit-orange { box-shadow: 0 7px 18px rgba(245,161,26,.24); }
.btn:hover,
.btn-header:hover,
.btn-submit-orange:hover { transform: translateY(-2px); }
.btn:active,
.btn-header:active,
.btn-submit-orange:active { transform: translateY(0); }

.section-space { padding: 3.6rem 0; }
.section-decor-title { margin-bottom: 1.8rem; }
.decor-line-title { font-size: clamp(1.25rem,2.1vw,1.55rem); }
.decor-line-title::before,
.decor-line-title::after { width: clamp(34px,5vw,60px); height: 2px; }

.sobre-card,
.eje-card-mini,
.cifra-card,
.axis-item,
.content-page {
    border-color: #e2e8f2;
    box-shadow: var(--shadow-sm);
}
.sobre-card:hover,
.eje-card-mini:hover,
.cifra-card:hover,
.axis-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.proyectos-grid-4 { gap: 1rem; }
.proyecto-photo-card {
    height: 220px;
    border: 1px solid rgba(13,47,120,.08);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.proyecto-gradient {
    background: linear-gradient(180deg,rgba(8,22,47,.02) 20%,rgba(8,22,47,.25) 52%,rgba(8,22,47,.9) 100%);
}
.proyecto-texts h3 { font-size: 1.08rem; text-shadow: 0 2px 8px rgba(0,0,0,.65); }
.proyecto-texts p { font-size: .8rem; }
.proyecto-arrow-btn { width: 38px; height: 38px; }

.page-hero {
    padding: 2.4rem 0;
    background: linear-gradient(135deg,#f7faff 0%,#fff 60%,#fff7e8 100%);
    border-bottom: 1px solid #e4eaf3;
}
.page-hero-inner { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.35rem,5vw,4rem); letter-spacing: -.035em; }
.page-hero p { max-width: 760px; color: var(--text-muted); font-size: 1.05rem; }
.content-page { max-width: 1050px; margin: 0 auto; padding: clamp(1.4rem,3vw,2.5rem); border: 1px solid #e2e8f2; border-radius: 20px; }
.content-page > h2 { margin-top: 1rem; font-size: clamp(1.7rem,3vw,2.25rem); }
.axis-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.axis-item { padding: 1.25rem; background: #fff; border-radius: 12px; transition: var(--transition); }
.axis-item h3 { font-size: 1.08rem; }
.axis-item p { color: var(--text-muted); font-size: .94rem; }

.official-plan-card { box-shadow: var(--shadow-md); }
.official-plan-viewer { box-shadow: var(--shadow-md); }
.official-plan-viewer-head { padding: 1rem 1.35rem; }

.footer-card-container { box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.footer-card-left { padding: 2.5rem 2.2rem; }
.footer-card-right { padding: 2.2rem 300px 2.2rem 2.1rem; }
.footer-form-wrapper { max-width: none; }
.mockup-form { gap: .72rem; }
.mockup-input,
.mockup-select,
.mockup-textarea {
    min-height: 46px;
    border-color: #cbd5e1;
    border-radius: 11px;
    font-size: .9rem;
}
.mockup-input:hover,
.mockup-select:hover,
.mockup-textarea:hover { border-color: #9fb0c7; }
.mockup-input:focus,
.mockup-select:focus,
.mockup-textarea:focus { border-color: var(--orange); box-shadow: var(--focus-ring); }
.soc-btn { width: 42px; height: 42px; box-shadow: 0 5px 14px rgba(0,0,0,.18); }
.soc-btn:hover { transform: translateY(-2px) scale(1.06); }

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.85); }
.site-footer h3,
.site-footer h4 { color: #fff; }
.site-footer a:hover { color: var(--orange); }

@media (max-width: 1120px) {
    .primary-menu { gap: .85rem; }
    .primary-menu a { font-size: .86rem; }
    .site-nav { gap: 1rem; }
    .footer-card-right { padding-right: 2rem; }
    .footer-candidate-thumbsup { display: none; }
}

@media (max-width: 850px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .axis-list { grid-template-columns: 1fr; }
    .section-space { padding: 3rem 0; }
    .page-hero { padding: 2rem 0; }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 1.5rem),var(--container)); }
    .header-inner { height: 68px; }
    .btn,
    .btn-header,
    .btn-submit-orange { min-height: 48px; }
    .section-space { padding: 2.5rem 0; }
    .decor-line-title { gap: 9px; }
    .proyecto-photo-card { height: 230px; }
    .official-plan-actions .btn { width: 100%; }
    .content-page { padding: 1.15rem; border-radius: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ========================================================================
   V8 INNER PAGES — visual continuity with the campaign homepage
   ======================================================================== */
.inner-page {
    --page-accent: var(--orange);
    --page-accent-rgb: 245,161,26;
    background: #f5f8fc;
}
.page-rommel { --page-accent: #f5a11a; --page-accent-rgb: 245,161,26; }
.page-plan { --page-accent: #1c4ca0; --page-accent-rgb: 28,76,160; }
.page-propuestas { --page-accent: #f28a00; --page-accent-rgb: 242,138,0; }
.page-catamayo { --page-accent: #4ca53d; --page-accent-rgb: 76,165,61; }
.page-contacto { --page-accent: #f5a11a; --page-accent-rgb: 245,161,26; }
.page-digital { --page-accent: #08a7c7; --page-accent-rgb: 8,167,199; }
.page-privacidad { --page-accent: #6b48bd; --page-accent-rgb: 107,72,189; }
.page-galeria { --page-accent: #f5a11a; --page-accent-rgb: 245,161,26; }

.inner-page .site-main { overflow: hidden; }
.inner-page .page-hero {
    position: relative;
    isolation: isolate;
    min-height: 340px;
    display: grid;
    align-items: center;
    padding: clamp(4.2rem,8vw,7rem) 0;
    color: #fff;
    background:
        linear-gradient(104deg,rgba(5,27,70,.98) 0%,rgba(13,47,120,.94) 52%,rgba(13,47,120,.75) 100%),
        url('/assets/images/catamayo-hero-v4.webp') center 52% / cover no-repeat;
    border-bottom: 5px solid var(--page-accent);
}
.inner-page .page-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 390px;
    height: 390px;
    right: max(-90px,calc((100vw - var(--container))/2 - 130px));
    top: -160px;
    border: 76px solid rgba(var(--page-accent-rgb),.24);
    border-radius: 50%;
}
.inner-page .page-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: 8%;
    bottom: -76px;
    width: 240px;
    height: 170px;
    transform: rotate(-13deg);
    background: linear-gradient(135deg,rgba(var(--page-accent-rgb),.9),rgba(var(--page-accent-rgb),.08));
    clip-path: polygon(0 60%,100% 0,70% 100%);
}
.inner-page .page-hero-inner { max-width: var(--container); margin-inline: auto; position: relative; }
.inner-page .page-hero-inner > * { max-width: 820px; }
.inner-page .page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.inner-page .page-hero .eyebrow::before {
    content: '';
    width: 34px;
    height: 3px;
    background: var(--page-accent);
    border-radius: 9px;
}
.inner-page .page-hero h1 {
    max-width: 850px;
    margin: .8rem 0 1rem;
    color: #fff;
    font-size: clamp(2.7rem,6vw,5rem);
    line-height: .98;
    text-wrap: balance;
    text-shadow: 0 7px 25px rgba(0,0,0,.2);
}
.inner-page .page-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(1.05rem,1.7vw,1.25rem);
    line-height: 1.6;
}

.inner-page .page-content-wrap {
    position: relative;
    background:
        radial-gradient(circle at 8% 8%,rgba(var(--page-accent-rgb),.09),transparent 23rem),
        linear-gradient(#f8fafd,#f3f6fb);
}
.inner-page .content-page {
    max-width: 1140px;
    padding: clamp(1.5rem,4vw,3.6rem);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(13,47,120,.1);
    border-top: 5px solid var(--page-accent);
    border-radius: 26px;
    box-shadow: 0 24px 65px rgba(13,47,120,.11);
}
.inner-page .content-page > h2 {
    position: relative;
    max-width: 840px;
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    color: var(--navy);
    font-size: clamp(2rem,4vw,3rem);
    line-height: 1.08;
    text-wrap: balance;
}
.inner-page .content-page > h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 76px;
    height: 4px;
    background: var(--page-accent);
    border-radius: 8px;
}
.inner-page .content-page > h2 + p {
    max-width: 900px;
    color: #536174;
    font-size: 1.08rem;
    line-height: 1.75;
}

.inner-page .info-grid,
.inner-page .proposal-grid,
.inner-page .stats-grid,
.inner-page .axis-list { margin-top: 2.25rem; }
.inner-page .info-card,
.inner-page .proposal-card,
.inner-page .stat-box,
.inner-page .axis-item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,#fff 0%,#fbfcff 100%);
    border: 1px solid #e2e8f2;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(13,47,120,.07);
    transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.inner-page .info-card::before,
.inner-page .proposal-card::before,
.inner-page .stat-box::before,
.inner-page .axis-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--page-accent);
}
.inner-page .info-card:hover,
.inner-page .proposal-card:hover,
.inner-page .stat-box:hover,
.inner-page .axis-item:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--page-accent-rgb),.38);
    box-shadow: 0 18px 42px rgba(13,47,120,.13);
}
.inner-page .info-card,
.inner-page .proposal-card { padding: clamp(1.35rem,2.5vw,2rem); }
.inner-page .info-card h3,
.inner-page .proposal-card h3,
.inner-page .axis-item h3 {
    margin-top: 0;
    color: var(--navy);
    font-size: 1.22rem;
    line-height: 1.3;
}
.inner-page .info-card p,
.inner-page .proposal-card p,
.inner-page .axis-item p,
.inner-page .info-card li { color: #536174; line-height: 1.68; }
.inner-page .info-card ul { padding-left: 1.2rem; }
.inner-page .info-card li + li { margin-top: .75rem; }
.inner-page .proposal-grid { gap: 1.15rem; }
.inner-page .proposal-card { min-height: 215px; }
.inner-page .proposal-card:nth-child(3n+2)::before { background: var(--green); }
.inner-page .proposal-card:nth-child(3n+3)::before { background: var(--purple); }

.page-catamayo .stats-grid { gap: 1rem; }
.page-catamayo .stat-box {
    min-height: 155px;
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.page-catamayo .stat-box .counter {
    color: var(--page-accent);
    font-size: clamp(2.3rem,4vw,3.5rem);
    line-height: 1;
}
.page-catamayo .stat-box span { margin-top: .65rem; color: #536174; line-height: 1.4; }

.page-plan .official-plan-section {
    padding: 4.5rem 0 1.5rem;
    background: linear-gradient(180deg,#f5f8fd,#eef3fa);
}
.page-plan .official-plan-card {
    overflow: hidden;
    border: 1px solid rgba(13,47,120,.12);
    border-radius: 26px;
    box-shadow: 0 25px 65px rgba(13,47,120,.14);
}
.page-plan .official-plan-cover { background: linear-gradient(145deg,#e9eff8,#fff); }
.page-plan .official-plan-copy { padding: clamp(1.6rem,4vw,3.5rem); }
.page-plan .official-plan-viewer { border-radius: 22px; overflow: hidden; }

.page-contacto .split-cta {
    background:
        radial-gradient(circle at 90% 10%,rgba(245,161,26,.14),transparent 28rem),
        #f4f7fb;
}
.page-contacto .split-cta-grid { align-items: stretch; gap: 1.4rem; }
.page-contacto .cta-panel,
.page-contacto .form-panel {
    border-radius: 26px;
    box-shadow: 0 22px 55px rgba(13,47,120,.14);
}
.page-contacto .cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem,4vw,3.2rem);
    background: linear-gradient(145deg,#0d2f78,#061b46);
}
.page-contacto .cta-panel .eyebrow,
.page-contacto .cta-panel h2,
.page-contacto .cta-panel p,
.page-contacto .cta-panel strong { color: #fff; }
.page-contacto .cta-panel > p { color: rgba(255,255,255,.84); }
.page-contacto .cta-panel::after {
    content: '107';
    position: absolute;
    right: -18px;
    bottom: -45px;
    color: rgba(255,255,255,.055);
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
}
.page-contacto .form-panel {
    padding: clamp(2rem,4vw,3.2rem);
    background: #fff;
    border: 1px solid #e1e7f0;
}
.page-contacto .contact-data p {
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
}
.page-contacto .social-links a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: .65rem 1rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
}
.page-contacto .campaign-form input,
.page-contacto .campaign-form select,
.page-contacto .campaign-form textarea {
    background: #f8fafc;
    border: 1px solid #cfd8e5;
    border-radius: 12px;
}
.page-contacto .campaign-form input:focus,
.page-contacto .campaign-form select:focus,
.page-contacto .campaign-form textarea:focus {
    border-color: var(--orange);
    box-shadow: var(--focus-ring);
}

.page-privacidad .content-page { max-width: 940px; }
.page-privacidad .content-page h3 {
    margin-top: 2rem;
    padding-left: 1rem;
    color: var(--navy);
    border-left: 4px solid var(--page-accent);
}
.page-privacidad .content-page code { color: var(--navy); background: #edf2fa; padding: .15rem .4rem; border-radius: 5px; }

.menu-toggle .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    background: transparent;
}

@media (max-width: 850px) {
    .inner-page .page-hero { min-height: 300px; padding: 3.7rem 0; }
    .inner-page .page-hero::before { width: 260px; height: 260px; border-width: 52px; }
    .inner-page .content-page { border-radius: 20px; }
    .page-contacto .split-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .inner-page .page-hero { min-height: 285px; padding: 3.25rem 0; }
    .inner-page .page-hero h1 { font-size: clamp(2.35rem,13vw,3.45rem); }
    .inner-page .page-hero::after { right: -60px; }
    .inner-page .content-page { padding: 1.35rem; border-top-width: 4px; }
    .inner-page .content-page > h2 { font-size: 1.85rem; }
    .inner-page .info-card,
    .inner-page .proposal-card { padding: 1.25rem; }
    .page-catamayo .stat-box { min-height: 130px; }
    .page-contacto .cta-panel,
    .page-contacto .form-panel { padding: 1.4rem; border-radius: 18px; }
}

.gallery-coming-section {
    background:
        radial-gradient(circle at 12% 20%,rgba(245,161,26,.12),transparent 24rem),
        linear-gradient(180deg,#f8fafd,#edf3fb);
}
.gallery-coming-card {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(2rem,6vw,5rem);
    text-align: center;
    background: #fff;
    border: 1px solid rgba(13,47,120,.1);
    border-top: 5px solid var(--orange);
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(13,47,120,.13);
}
.gallery-camera {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.3rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg,var(--orange),#eb8100);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(245,161,26,.3);
}
.gallery-camera svg { width: 44px; height: 44px; }
.gallery-coming-card .eyebrow { color: var(--orange); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.gallery-coming-card h2 { margin: .6rem auto 1rem; color: var(--navy); font-size: clamp(2rem,4vw,3.35rem); line-height: 1.05; text-wrap: balance; }
.gallery-coming-card > p { max-width: 720px; margin: 0 auto 2rem; color: #5c697b; font-size: 1.05rem; line-height: 1.7; }
.gallery-placeholder-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.gallery-placeholder-grid span {
    min-height: 150px;
    border-radius: 16px;
    background:
        linear-gradient(135deg,rgba(13,47,120,.13),rgba(245,161,26,.1)),
        url('/assets/images/catamayo-hero-v4.webp') center / cover;
    filter: saturate(.75);
}
@media (max-width: 600px) {
    .gallery-placeholder-grid { grid-template-columns: 1fr; }
    .gallery-placeholder-grid span { min-height: 120px; }
}

/* ========================================================================
   V9 INTERNAL FOOTER + CONTACT PAGE REBUILD
   ======================================================================== */
.inner-page .site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    color: rgba(255,255,255,.78);
    background:
        radial-gradient(circle at 8% 0%,rgba(35,83,164,.44),transparent 26rem),
        linear-gradient(145deg,#071a40 0%,#0b285f 100%);
    border-top: 5px solid var(--orange);
}
.inner-page .site-footer::before {
    content: '107';
    position: absolute;
    right: -20px;
    top: -55px;
    color: rgba(255,255,255,.035);
    font-size: clamp(11rem,25vw,22rem);
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}
.inner-page .footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.15fr;
    gap: clamp(2rem,5vw,5rem);
    padding-top: 4rem;
    padding-bottom: 3.25rem;
}
.inner-page .footer-grid > div { min-width: 0; }
.inner-page .site-footer h3 {
    display: inline-block;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.8rem,3vw,2.45rem);
    font-weight: 900;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.inner-page .site-footer h3::after {
    content: '';
    display: block;
    width: 58px;
    height: 4px;
    margin-top: .7rem;
    background: var(--orange);
    border-radius: 10px;
}
.inner-page .site-footer h4 {
    margin: .35rem 0 1.15rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.inner-page .site-footer p { max-width: 390px; line-height: 1.7; }
.inner-page .footer-hashtag {
    display: inline-flex;
    margin-top: .75rem;
    padding: .55rem .9rem;
    color: var(--orange);
    font-weight: 800;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
}
.inner-page .footer-list {
    display: grid;
    gap: .72rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.inner-page .footer-list li {
    position: relative;
    padding-left: 1rem;
    color: rgba(255,255,255,.72);
    line-height: 1.45;
}
.inner-page .footer-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 5px;
    height: 5px;
    background: var(--orange);
    border-radius: 50%;
}
.inner-page .footer-list strong { color: #fff; }
.inner-page .footer-list a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    transition: color .2s ease,transform .2s ease;
}
.inner-page .footer-list a:hover { color: var(--orange); }
.inner-page .footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(2,11,29,.28);
}
.inner-page .footer-bottom-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.inner-page .footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: .82rem;
}

.page-contacto .split-cta { padding: clamp(3.2rem,7vw,6rem) 0; }
.page-contacto .split-cta-grid {
    display: grid;
    grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
    gap: 1.5rem;
    align-items: stretch;
}
.page-contacto .cta-panel,
.page-contacto .form-panel { min-width: 0; }
.page-contacto .cta-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-contacto .cta-panel > *,
.page-contacto .form-panel > * { position: relative; z-index: 1; }
.page-contacto .cta-panel .eyebrow,
.page-contacto .form-panel .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .6rem;
    color: var(--orange);
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.page-contacto .cta-panel h2,
.page-contacto .form-panel h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem,3.5vw,3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.page-contacto .form-panel h2 { color: var(--navy); }
.page-contacto .form-panel > p { margin-bottom: 1.8rem; color: #637083; line-height: 1.65; }
.page-contacto .contact-data { display: grid; gap: .75rem; }
.page-contacto .contact-data p { margin: 0; }
.page-contacto .social-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.page-contacto .form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem;
}
.page-contacto .form-grid label {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
    color: #344156;
    font-size: .86rem;
    font-weight: 750;
}
.page-contacto .form-grid .full-width { grid-column: 1 / -1; }
.page-contacto .campaign-form input,
.page-contacto .campaign-form select,
.page-contacto .campaign-form textarea {
    width: 100%;
    min-height: 50px;
    padding: .8rem .9rem;
    color: #14213b;
    font: inherit;
}
.page-contacto .campaign-form textarea { min-height: 130px; resize: vertical; }
.page-contacto .checkbox-row {
    flex-direction: row !important;
    align-items: flex-start;
    gap: .7rem !important;
    padding: .85rem 0;
    font-weight: 500 !important;
    line-height: 1.45;
}
.page-contacto .checkbox-row input { width: 18px; min-height: 18px; margin-top: .12rem; flex: 0 0 auto; }
.page-contacto .campaign-form > .btn {
    margin-top: 1rem;
    color: #fff;
    background: linear-gradient(135deg,var(--orange),#ef8b00);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(245,161,26,.28);
}
.page-contacto .campaign-form > .btn:hover { background: linear-gradient(135deg,#ef8b00,#dc7600); }

@media (max-width: 900px) {
    .inner-page .footer-grid { grid-template-columns: 1fr 1fr; }
    .inner-page .footer-grid > div:first-child { grid-column: 1 / -1; }
    .page-contacto .split-cta-grid { grid-template-columns: 1fr; max-width: 760px; }
}
@media (max-width: 600px) {
    .inner-page .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2.5rem; }
    .inner-page .footer-grid > div:first-child { grid-column: auto; }
    .inner-page .footer-bottom-inner { min-height: 0; padding-top: 1.25rem; padding-bottom: 1.25rem; flex-direction: column; align-items: flex-start; gap: .45rem; }
    .page-contacto .split-cta { padding: 2rem 0; }
    .page-contacto .form-grid { grid-template-columns: 1fr; }
    .page-contacto .form-grid .full-width { grid-column: auto; }
    .page-contacto .cta-panel h2,
    .page-contacto .form-panel h2 { font-size: 2rem; }
}

@media (min-width: 851px) and (max-width: 1230px) {
    .site-nav { gap: .7rem; }
    .primary-menu { gap: .65rem; }
    .primary-menu a { font-size: .8rem; }
    .btn-header { padding-inline: 1rem; }
}
