/* =====================================================
   NULES-MASCARELL — ESTILOS v1.0
   Estetica: Geometrica, Bold, Azul + Blanco
   Tipografia: Barlow Condensed (titulos) + Inter (cuerpo)
   ===================================================== */

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

/* =====================================================
   VARIABLES
   ===================================================== */
:root {
    --azul-marino:  #003b6f;   /* Azul marino - fondo nav, titulos */
    --azul:         #0055a4;   /* Azul medio - principal */
    --azul-vivo:    #0077cc;   /* Azul vivo - hover, acentos */
    --azul-claro:   #e0eeff;   /* Azul muy claro - fondos */
    --azul-hielo:   #f0f7ff;   /* Azul hielo - fondo alterno */
    --blanco:       #ffffff;
    --texto:        #0a1628;
    --texto-suave:  #3a5070;
    --borde:        #c8ddf5;
    --serif:        'Barlow Condensed', sans-serif;
    --sans:         'Inter', system-ui, sans-serif;
    --sombra:       0 8px 32px rgba(0,59,111,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--texto); background: var(--blanco); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* =====================================================
   NAVEGACION — Horizontal con linea inferior de acento
   ===================================================== */
.site-nav {
    position: sticky; top: 0; z-index: 200;
    background: var(--azul-marino);
    height: 68px;
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    border-bottom: 3px solid var(--azul-vivo);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-escudo {
    width: 42px; height: 42px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-logo-escudo svg { width: 22px; height: 22px; color: white; }
.nav-logo-text .nombre {
    font-family: var(--serif);
    font-size: 18px; font-weight: 800;
    color: white; letter-spacing: 0.06em;
    text-transform: uppercase; display: block;
}
.nav-logo-text .subtitulo {
    font-size: 10px; color: rgba(255,255,255,0.5);
    letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-menu { display: flex; align-items: stretch; list-style: none; height: 68px; }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu > li > a {
    display: flex; align-items: center;
    padding: 0 15px; height: 100%;
    color: rgba(255,255,255,0.75);
    font-family: var(--serif);
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}
.nav-menu > li > a:hover { color: white; border-bottom-color: var(--azul-vivo); }
.nav-dropdown { display: none; position: absolute; top: 68px; left: 0; min-width: 180px; background: var(--azul); z-index: 300; }
.nav-menu > li:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 10px 18px; color: rgba(255,255,255,0.8); font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-left: 3px solid transparent; transition: all 0.15s; }
.nav-dropdown a:hover { background: rgba(255,255,255,0.08); border-left-color: white; color: white; }
.btn-nav-privada {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: white !important; padding: 6px 14px !important;
    height: auto !important; margin: 0 4px;
    font-size: 11px !important;
}
.btn-nav-privada:hover { background: rgba(255,255,255,0.2) !important; border-bottom-color: transparent !important; }
.btn-nav-sede {
    background: var(--azul-vivo) !important;
    color: white !important; padding: 6px 14px !important;
    height: auto !important; margin: 0 4px;
    font-size: 11px !important;
}
.btn-nav-sede:hover { background: #005fa3 !important; border-bottom-color: transparent !important; }

/* =====================================================
   HERO — Pantalla completa con texto izquierda grande
   ===================================================== */
.hero {
    min-height: 92vh;
    background: var(--azul-marino);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}
.hero-izq {
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem 5rem 3rem;
    position: relative; z-index: 1;
}
.hero-etiqueta {
    display: inline-flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin-bottom: 2rem;
}
.hero-etiqueta::before {
    content: ''; display: block;
    width: 32px; height: 2px; background: var(--azul-vivo);
}
.hero-titulo {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    color: white;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-titulo span { color: var(--azul-vivo); display: block; }
.hero-sub {
    font-size: 1rem; color: rgba(255,255,255,0.65);
    font-weight: 300; max-width: 420px;
    line-height: 1.8; margin-bottom: 3rem;
}
.hero-botones { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-prim {
    background: var(--azul-vivo); color: white;
    padding: 14px 32px;
    font-family: var(--serif); font-size: 13px;
    font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
}
.btn-hero-prim:hover { background: #005fa3; color: white; }
.btn-hero-sec {
    border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8);
    padding: 13px 32px;
    font-family: var(--serif); font-size: 13px;
    font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; text-decoration: none;
    transition: all 0.2s; display: inline-block;
}
.btn-hero-sec:hover { border-color: white; color: white; }
.hero-der {
    position: relative; overflow: hidden;
    background: var(--azul);
}
.hero-der-img {
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.8;
    display: block;
}
.hero-der-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px; color: rgba(255,255,255,0.2);
    font-size: 13px;
    background: linear-gradient(160deg, #0055a4, #003b6f);
}
/* Cifras estadisticas superpuestas en el hero */
.hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(0,59,111,0.9);
    backdrop-filter: blur(8px);
    border-top: 2px solid var(--azul-vivo);
    z-index: 2;
}
.hero-stat {
    padding: 1.5rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
    font-family: var(--serif);
    font-size: 2.2rem; font-weight: 800;
    color: white; line-height: 1;
    display: block;
}
.hero-stat-label {
    font-size: 11px; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-top: 4px; display: block;
}

/* =====================================================
   SECCION GENERICA
   ===================================================== */
.s { padding: 5.5rem 3rem; }
.wrap { max-width: 1200px; margin: 0 auto; }
.s-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--serif);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--azul-vivo); margin-bottom: 0.8rem;
}
.s-tag::before { content: ''; display: block; width: 24px; height: 2px; background: var(--azul-vivo); }
.s-titulo {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: var(--azul-marino);
    text-transform: uppercase; letter-spacing: 0.03em;
    line-height: 1; margin-bottom: 1rem;
}
.s-lead { font-size: 15px; color: var(--texto-suave); max-width: 600px; line-height: 1.9; }

/* =====================================================
   NOTICIAS — Layout revista: 1 grande + 2 pequenas
   ===================================================== */
.noticias-s { background: var(--blanco); }
.noticias-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.noticias-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5px; background: var(--borde); }
/* Noticia destacada */
.noticia-destacada {
    background: var(--blanco);
    display: grid; grid-template-rows: 1fr auto;
    min-height: 480px;
}
.noticia-destacada .n-img { overflow: hidden; background: var(--azul); }
.noticia-destacada .n-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.noticia-destacada:hover .n-img img { transform: scale(1.03); }
.noticia-destacada .n-img-placeholder { width: 100%; height: 280px; background: linear-gradient(135deg, var(--azul-marino), var(--azul-vivo)); display: flex; align-items: center; justify-content: center; }
.noticia-destacada .n-img-placeholder svg { width: 48px; height: 48px; color: rgba(255,255,255,0.2); }
.noticia-destacada .n-body { padding: 2rem; border-top: 3px solid var(--azul-vivo); }
/* Noticias secundarias */
.noticias-lateral { display: grid; grid-template-rows: 1fr 1fr; gap: 1.5px; background: var(--borde); }
.noticia-mini { background: var(--blanco); display: flex; flex-direction: column; }
.noticia-mini .n-img { aspect-ratio: 16/7; overflow: hidden; background: var(--azul); flex-shrink: 0; }
.noticia-mini .n-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noticia-mini .n-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--azul), var(--azul-vivo)); display: flex; align-items: center; justify-content: center; }
.noticia-mini .n-img-placeholder svg { width: 32px; height: 32px; color: rgba(255,255,255,0.2); }
.noticia-mini .n-body { padding: 1.3rem; flex: 1; border-top: 2px solid var(--azul-claro); }
/* Partes comunes */
.n-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 0.5rem; }
.n-fecha { font-size: 10px; color: var(--texto-suave); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.n-cat { font-size: 10px; background: var(--azul-marino); color: white; padding: 2px 8px; font-family: var(--serif); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.n-titulo { font-family: var(--serif); font-weight: 800; color: var(--azul-marino); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; }
.noticia-destacada .n-titulo { font-size: 1.5rem; margin-bottom: 0.7rem; }
.noticia-mini .n-titulo { font-size: 1rem; margin-bottom: 0.5rem; }
.n-titulo a:hover { color: var(--azul-vivo); }
.n-extracto { font-size: 13px; color: var(--texto-suave); line-height: 1.7; }
.n-leer { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.2rem; font-family: var(--serif); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--azul-vivo); }
.n-leer:hover { gap: 10px; }
.btn-todas {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--azul-marino); color: white;
    padding: 11px 24px;
    font-family: var(--serif); font-size: 11px;
    font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; text-decoration: none;
    transition: background 0.2s;
}
.btn-todas:hover { background: var(--azul-vivo); color: white; }

/* =====================================================
   COMUNIDAD — Fondo azul marino con texto blanco
   ===================================================== */
.comunidad-s {
    background: var(--azul-marino);
    position: relative; overflow: hidden;
}
.comunidad-s::before {
    content: '';
    position: absolute; top: -50%; right: -10%;
    width: 600px; height: 600px;
    border: 120px solid rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}
.comunidad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.comunidad-s .s-tag { color: rgba(255,255,255,0.5); }
.comunidad-s .s-tag::before { background: rgba(255,255,255,0.3); }
.comunidad-s .s-titulo { color: white; }
.comunidad-s .s-lead { color: rgba(255,255,255,0.65); max-width: 100%; }
.comunidad-texto p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.9; margin-top: 1.5rem; }
.pilares { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.1); margin-top: 2.5rem; }
.pilar {
    background: rgba(255,255,255,0.04);
    padding: 1.5rem;
    border-top: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.pilar:hover { border-top-color: var(--azul-vivo); background: rgba(255,255,255,0.07); }
.pilar-num {
    font-family: var(--serif);
    font-size: 2.5rem; font-weight: 800;
    color: rgba(255,255,255,0.1);
    line-height: 1; margin-bottom: 0.5rem;
}
.pilar h4 { font-family: var(--serif); font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.pilar p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.65; }
.comunidad-img-wrap { position: relative; }
.comunidad-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--azul);
}
.comunidad-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.comunidad-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,0.2); font-size: 13px; background: linear-gradient(160deg, #0055a4, #003b6f); }
/* Etiqueta flotante */
.comunidad-badge {
    position: absolute; bottom: -1.5rem; left: -1.5rem;
    background: var(--azul-vivo);
    padding: 1.2rem 1.5rem;
    z-index: 1;
}
.comunidad-badge .num { font-family: var(--serif); font-size: 2rem; font-weight: 800; color: white; line-height: 1; display: block; }
.comunidad-badge .lab { font-size: 10px; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.1em; }

/* =====================================================
   INSTALACIONES — Tarjetas numeradas sin tabs
   ===================================================== */
.instalaciones-s { background: var(--azul-hielo); }
.inst-tabs { display: flex; gap: 0; margin-bottom: 3rem; border-bottom: 2px solid var(--borde); }
.inst-tab {
    padding: 12px 28px; background: none; border: none;
    font-family: var(--serif); font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--texto-suave); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.2s;
}
.inst-tab.active, .inst-tab:hover { color: var(--azul-marino); border-bottom-color: var(--azul-vivo); }
.inst-panel { display: none; }
.inst-panel.active { display: block; }
.inst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--borde); }
.inst-card { background: var(--blanco); display: grid; grid-template-columns: auto 1fr; }
.inst-num {
    width: 60px; background: var(--azul-marino);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1.8rem; font-weight: 800;
    color: rgba(255,255,255,0.25); writing-mode: vertical-rl;
    padding: 1.5rem 0;
}
.inst-contenido { display: grid; grid-template-rows: auto 1fr; }
.inst-img { height: 180px; overflow: hidden; background: var(--azul); }
.inst-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inst-img-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--azul-marino), var(--azul-vivo)); display: flex; align-items: center; justify-content: center; }
.inst-img-ph svg { width: 36px; height: 36px; color: rgba(255,255,255,0.2); }
.inst-body { padding: 1.3rem; border-top: 2px solid var(--azul-claro); }
.inst-body h4 { font-family: var(--serif); font-size: 15px; font-weight: 800; color: var(--azul-marino); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.inst-body p { font-size: 13px; color: var(--texto-suave); line-height: 1.65; }

/* =====================================================
   USO DEL AGUA — Grid de iconos horizontal
   ===================================================== */
.agua-s { background: var(--blanco); }
.agua-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--borde); margin-top: 3rem; }
.agua-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
    position: relative;
    transition: background 0.2s;
}
.agua-item:hover { background: var(--azul-hielo); }
.agua-item:nth-child(3n) { border-right: none; }
.agua-item:nth-last-child(-n+3) { border-bottom: none; }
.agua-item::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--azul-vivo);
    transition: width 0.3s;
}
.agua-item:hover::before { width: 100%; }
.agua-icono {
    width: 48px; height: 48px;
    background: var(--azul-claro);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
}
.agua-icono svg { width: 22px; height: 22px; color: var(--azul); }
.agua-item h3 { font-family: var(--serif); font-size: 16px; font-weight: 800; color: var(--azul-marino); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.agua-item p { font-size: 13px; color: var(--texto-suave); line-height: 1.75; }
.agua-barra-wrap { margin-top: 1rem; }
.agua-barra-label { display: flex; justify-content: space-between; font-size: 10px; color: var(--texto-suave); margin-bottom: 5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.agua-barra { height: 3px; background: var(--borde); }
.agua-barra-fill { height: 100%; background: var(--azul-vivo); }

/* =====================================================
   GALERIA — Mosaico irregular
   ===================================================== */
.galeria-s { background: var(--azul-marino); }
.galeria-s .s-tag { color: rgba(255,255,255,0.5); }
.galeria-s .s-tag::before { background: rgba(255,255,255,0.3); }
.galeria-s .s-titulo { color: white; }
.galeria-s .s-lead { color: rgba(255,255,255,0.5); }
.galeria-mosaico {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 3px;
    margin-top: 3rem;
}
.g-item {
    overflow: hidden; cursor: pointer;
    background: var(--azul);
    position: relative;
}
.g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; filter: brightness(0.85); }
.g-item:hover img { transform: scale(1.06); filter: brightness(1); }
.g-item-ph { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,85,164,0.8), rgba(0,59,111,0.9)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,0.25); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.g-overlay { position: absolute; inset: 0; background: rgba(0,59,111,0.5); opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; }
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay svg { width: 28px; height: 28px; color: white; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; width: 52px; height: 52px; cursor: pointer; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* =====================================================
   CONTACTO — Dividido: azul marino izq + blanco der
   ===================================================== */
.contacto-s { display: grid; grid-template-columns: 1fr 1.4fr; min-height: 600px; }
.contacto-info-wrap {
    background: var(--azul-marino);
    padding: 5rem 3rem;
    display: flex; flex-direction: column; justify-content: center;
}
.contacto-info-wrap .s-tag { color: rgba(255,255,255,0.4); }
.contacto-info-wrap .s-tag::before { background: rgba(255,255,255,0.2); }
.contacto-info-wrap .s-titulo { color: white; font-size: 2.2rem; }
.contacto-info-wrap > p { color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 2.5rem; line-height: 1.85; margin-top: 1rem; }
.contacto-datos { display: flex; flex-direction: column; gap: 1.2rem; }
.c-dato { display: flex; gap: 14px; align-items: flex-start; }
.c-ico {
    width: 36px; height: 36px; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
}
.c-ico svg { width: 15px; height: 15px; color: rgba(255,255,255,0.6); }
.c-info small { display: block; font-size: 9px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 2px; }
.c-info span { font-size: 14px; color: rgba(255,255,255,0.85); }
.contacto-form-wrap { background: var(--blanco); padding: 5rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 10px; font-weight: 600; color: var(--texto-suave); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1px solid var(--borde); border-bottom: 2px solid var(--borde); background: var(--azul-hielo); font-family: var(--sans); font-size: 14px; color: var(--texto); outline: none; transition: border-color 0.2s, background 0.2s; border-radius: 0; }
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--azul-vivo); background: var(--blanco); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 1.2rem; }
.form-check label { font-size: 12px; color: var(--texto-suave); }
.form-check a { color: var(--azul-vivo); text-decoration: underline; }
.btn-enviar { background: var(--azul-marino); color: white; border: none; cursor: pointer; padding: 14px 36px; font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.2s; }
.btn-enviar:hover { background: var(--azul-vivo); }

/* =====================================================
   SEDE ELECTRONICA — Banda ancha
   ===================================================== */
.sede-banda {
    background: var(--azul-vivo);
    padding: 0; display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    overflow: hidden;
}
.sede-texto { padding: 3rem 4rem; }
.sede-texto h2 { font-family: var(--serif); font-size: 2.2rem; font-weight: 800; color: white; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.sede-texto p { color: rgba(255,255,255,0.75); font-size: 14px; }
.sede-btn-wrap { padding: 0 4rem; }
.btn-sede-grande {
    display: inline-flex; align-items: center; gap: 12px;
    background: white; color: var(--azul-marino);
    padding: 18px 36px; white-space: nowrap;
    font-family: var(--serif); font-size: 13px;
    font-weight: 800; letter-spacing: 0.12em;
    text-transform: uppercase; text-decoration: none;
    transition: transform 0.15s;
}
.btn-sede-grande:hover { transform: translateY(-2px); color: var(--azul-marino); }
.btn-sede-grande svg { width: 18px; height: 18px; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: #00244a; color: rgba(255,255,255,0.55); padding: 4rem 3rem 2rem; }
.footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-marca-nom { font-family: var(--serif); font-size: 1.4rem; font-weight: 800; color: white; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.footer-marca-sub { font-size: 10px; color: var(--azul-vivo); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.footer-marca p { font-size: 13px; line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-family: var(--serif); color: white; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.2rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: white; }
.footer-col ul li a::before { content: '—'; font-size: 10px; opacity: 0.3; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }

/* =====================================================
   ANIMACIONES
   ===================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.on { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.on { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.on { opacity: 1; transform: none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-der { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .comunidad-grid { grid-template-columns: 1fr; }
    .comunidad-badge { display: none; }
}
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .noticias-layout { grid-template-columns: 1fr; }
    .inst-grid { grid-template-columns: 1fr; }
    .agua-grid { grid-template-columns: 1fr 1fr; }
    .galeria-mosaico { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .g-item:first-child { grid-column: span 1; grid-row: span 1; }
    .contacto-s { grid-template-columns: 1fr; }
    .sede-banda { grid-template-columns: 1fr; }
    .sede-btn-wrap { padding: 0 4rem 3rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .s { padding: 4rem 1.5rem; }
    .hero-izq { padding: 4rem 1.5rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .agua-grid { grid-template-columns: 1fr; }
    .galeria-mosaico { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contacto-info-wrap, .contacto-form-wrap { padding: 3rem 1.5rem; }
    .sede-texto { padding: 2.5rem 1.5rem; }
    .sede-btn-wrap { padding: 0 1.5rem 2.5rem; }
}
/* ===== CONTACT FORM 7 ===== */
.wpcf7-form p { margin-bottom: 1rem; }
.wpcf7-form label {
    display: block; font-size: 10px; font-weight: 600;
    color: var(--texto-suave); text-transform: uppercase;
    letter-spacing: 0.12em; margin-bottom: 5px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--borde);
    border-bottom: 2px solid var(--borde);
    background: var(--azul-hielo);
    font-family: var(--sans); font-size: 14px;
    color: var(--texto); outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: var(--azul-vivo);
    background: var(--blanco);
}
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.wpcf7-form input[type="submit"] {
    background: var(--azul-marino); color: white;
    border: none; cursor: pointer;
    padding: 14px 36px;
    font-family: var(--serif); font-size: 13px;
    font-weight: 800; letter-spacing: 0.12em;
    text-transform: uppercase; transition: background 0.2s;
    width: auto;
}
.wpcf7-form input[type="submit"]:hover { background: var(--azul-vivo); }
.wpcf7-spinner { display: none !important; }
/* CF7 campos sin etiqueta p */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--borde);
    border-bottom: 2px solid var(--azul-vivo);
    background: var(--azul-hielo);
    font-family: var(--sans);
    font-size: 14px;
    color: var(--texto);
    outline: none;
    margin-bottom: 1rem;
    display: block;
}
.wpcf7-form .wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}
.wpcf7-form .wpcf7-submit {
    background: var(--azul-marino) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    padding: 14px 36px !important;
    font-family: var(--serif) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    width: auto !important;
    margin-top: 0.5rem;
}
.wpcf7-form .wpcf7-submit:hover {
    background: var(--azul-vivo) !important;
}
/* REDES SOCIALES NAV */
.nav-redes {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-left: 1px solid rgba(255,255,255,0.1);
    margin-left: 4px;
}
.nav-redes a {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
    padding: 0 !important;
    height: auto !important;
    border-bottom: none !important;
}
.nav-redes a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}