/* ════════════════════════════════════════════════════════════
   FRØST · NOSOTROS · Manifiesto de la Ø (giro urbano oscuro)
   Scoped a body.page-template-page-nosotros · prefijo .fn-
   ════════════════════════════════════════════════════════════ */

body.page-template-page-nosotros {
    --black:   #08090B;
    --navy:    #0F2640;
    --navy2:   #0B1B2E;
    --bone:    #FAFAF7;
    --slate:   #8E97A4;
    --slate-d: #5A6470;
    --ice:     #7FA3C4;
    --line:    rgba(127, 163, 196, 0.18);
    --ease:    cubic-bezier(0.4, 0, 0.2, 1);

    background: var(--black) !important;
    color: var(--bone);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Romper el ancho del padre Hello Elementor */
body.page-template-page-nosotros .site-main,
body.page-template-page-nosotros main.site-main,
body.page-template-page-nosotros .page-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--black) !important;
}

body.page-template-page-nosotros .frost-nosotros { background: var(--black); }

/* Header adaptado a fondo oscuro (transparente arriba, texto claro) */
body.page-template-page-nosotros .frost-header:not(.scrolled) {
    background: transparent;
}
body.page-template-page-nosotros .frost-header:not(.scrolled) .frost-header-logo,
body.page-template-page-nosotros .frost-header:not(.scrolled) .frost-header-nav a,
body.page-template-page-nosotros .frost-header:not(.scrolled) .frost-header-icon {
    color: var(--bone);
}
body.page-template-page-nosotros .frost-header:not(.scrolled) .frost-header-hamburger span {
    background: var(--bone);
}

/* Helpers */
body.page-template-page-nosotros .fn-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
}
body.page-template-page-nosotros .fn-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ice);
    margin-bottom: 28px;
}
body.page-template-page-nosotros .fn-section { padding: 140px 0; position: relative; }
body.page-template-page-nosotros .fn-title {
    font-weight: 200;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 34px;
}
body.page-template-page-nosotros .fn-title strong { font-weight: 700; }
body.page-template-page-nosotros .fn-title em { font-style: italic; font-weight: 300; color: var(--ice); }
body.page-template-page-nosotros .fn-body {
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 300;
    line-height: 1.85;
    color: #C7CDD4;
    max-width: 620px;
}
body.page-template-page-nosotros .fn-body strong { font-weight: 600; color: var(--bone); }

/* Ø motif */
body.page-template-page-nosotros .fn-o circle { fill: none; stroke: currentColor; stroke-width: 6; }
body.page-template-page-nosotros .fn-o line { stroke: currentColor; stroke-width: 6; stroke-linecap: round; }

/* Reveals (la clase .fn-reveal la anima frost-nosotros.js) */
body.page-template-page-nosotros .fn-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
body.page-template-page-nosotros .fn-reveal.visible { opacity: 1; transform: none; }

/* ===== HERO ===== */
body.page-template-page-nosotros .fn-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px;
}
body.page-template-page-nosotros .fn-hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 780px; height: 780px;
    background: radial-gradient(circle, rgba(127,163,196,0.16), transparent 62%);
    pointer-events: none;
}
body.page-template-page-nosotros .fn-hero-o {
    color: var(--ice);
    filter: drop-shadow(0 0 26px rgba(127,163,196,0.65));
    margin-bottom: 48px;
    position: relative;
}
body.page-template-page-nosotros .fn-hero h1 {
    font-weight: 200;
    font-size: clamp(40px, 7vw, 90px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin: 0;
}
body.page-template-page-nosotros .fn-hero h1 em { font-style: italic; font-weight: 300; }
body.page-template-page-nosotros .fn-ddt {
    font-weight: 900;
    font-size: clamp(34px, 6vw, 76px);
    letter-spacing: 0.02em;
    margin-top: 30px;
    line-height: 1;
}
body.page-template-page-nosotros .fn-cue {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--slate);
    animation: fnBob 2s var(--ease) infinite;
}
@keyframes fnBob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ===== 01 O vs Ø ===== */
body.page-template-page-nosotros .fn-compare {
    display: flex; gap: 64px; align-items: center; justify-content: center;
    margin: 10px 0 60px; flex-wrap: wrap;
}
body.page-template-page-nosotros .fn-compare .col { text-align: center; }
body.page-template-page-nosotros .fn-compare .glyph { font-size: 130px; font-weight: 300; line-height: 1; }
body.page-template-page-nosotros .fn-compare .o1 { color: var(--slate-d); }
body.page-template-page-nosotros .fn-compare .o2 { color: var(--bone); }
body.page-template-page-nosotros .fn-compare .lab {
    font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
    margin-top: 14px; color: var(--slate);
}
body.page-template-page-nosotros .fn-compare .lab b { color: var(--ice); font-weight: 600; }

/* ===== 02 La línea (pares) ===== */
body.page-template-page-nosotros .fn-pairs { border-top: 1px solid var(--line); margin-top: 20px; }
body.page-template-page-nosotros .fn-pair {
    display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center;
    padding: 26px 0; border-bottom: 1px solid var(--line);
}
body.page-template-page-nosotros .fn-pair .a {
    text-align: right; color: var(--slate); font-weight: 300; font-size: clamp(18px, 2.2vw, 28px);
}
body.page-template-page-nosotros .fn-pair .b {
    text-align: left; color: var(--bone); font-weight: 600; font-size: clamp(18px, 2.2vw, 28px);
}
body.page-template-page-nosotros .fn-pair .sep { display: flex; justify-content: center; color: var(--ice); }
body.page-template-page-nosotros .fn-pair:last-child .a { color: var(--ice); }

/* ===== 03 Ecuación ===== */
body.page-template-page-nosotros .fn-eq {
    background: var(--navy); border-radius: 6px; padding: 80px 56px; text-align: center;
}
body.page-template-page-nosotros .fn-eq .big {
    font-weight: 200; font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.03em; margin-bottom: 40px;
}
body.page-template-page-nosotros .fn-eq .big b { font-weight: 700; }
body.page-template-page-nosotros .fn-eq .lines {
    display: flex; flex-direction: column; gap: 14px;
    font-size: clamp(16px, 1.6vw, 20px); font-weight: 300; color: #C7CDD4;
}
body.page-template-page-nosotros .fn-eq .lines b { color: var(--bone); font-weight: 600; }

/* ===== Foto full-bleed ===== */
body.page-template-page-nosotros .fn-photo {
    height: 74vh; min-height: 520px;
    display: flex; align-items: flex-end;
    padding: 48px; position: relative; overflow: hidden;
    background: linear-gradient(160deg, #11151c, #1d2530);
    background-size: cover; background-position: center;
}
body.page-template-page-nosotros .fn-photo::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,9,11,0.85) 0%, rgba(8,9,11,0.1) 60%, transparent 100%);
}
body.page-template-page-nosotros .fn-photo .cap {
    position: relative; z-index: 1;
    font-weight: 800; font-size: clamp(28px, 4vw, 56px); line-height: 1; letter-spacing: -0.01em;
    max-width: 1180px; margin: 0 auto; width: 100%;
}
body.page-template-page-nosotros .fn-photo .cap em { font-style: italic; font-weight: 300; }
/* Placeholder cuando aún no hay imagen */
body.page-template-page-nosotros .fn-photo.is-placeholder::after {
    content: attr(data-label);
    position: absolute; top: 20px; left: 20px; z-index: 1;
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--slate); border: 1px dashed var(--slate-d); padding: 6px 12px; border-radius: 4px;
}

/* ===== 04 Tú / statement ===== */
body.page-template-page-nosotros .fn-statement {
    font-weight: 200; font-size: clamp(30px, 4.4vw, 58px);
    line-height: 1.12; letter-spacing: -0.025em; max-width: 900px;
}
body.page-template-page-nosotros .fn-statement strong { font-weight: 700; }
body.page-template-page-nosotros .fn-statement em { font-style: italic; font-weight: 300; color: var(--ice); }

/* ===== 05 Insignia (2 cards) ===== */
body.page-template-page-nosotros .fn-quote-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px;
}
body.page-template-page-nosotros .fn-qcard {
    border: 1px solid rgba(127,163,196,0.2); border-radius: 6px; padding: 38px;
}
body.page-template-page-nosotros .fn-qcard .who {
    font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px;
}
body.page-template-page-nosotros .fn-qcard p { font-weight: 300; font-size: 18px; line-height: 1.6; color: #C7CDD4; }
body.page-template-page-nosotros .fn-qcard.hl { background: var(--navy); border-color: transparent; }
body.page-template-page-nosotros .fn-qcard.hl p { color: var(--bone); }

/* ===== 06 Movimiento (pills) ===== */
body.page-template-page-nosotros .fn-move { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
body.page-template-page-nosotros .fn-move span {
    border: 1px solid rgba(127,163,196,0.25); border-radius: 100px;
    padding: 14px 26px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
    color: var(--bone); transition: all 0.3s var(--ease);
}
body.page-template-page-nosotros .fn-move span:hover {
    background: var(--ice); color: var(--black); border-color: var(--ice);
}

/* ===== 07 Cierre ===== */
body.page-template-page-nosotros .fn-close { text-align: center; padding: 160px 0 0; }
body.page-template-page-nosotros .fn-close .big {
    font-weight: 200; font-size: clamp(34px, 5vw, 68px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 14px;
}
body.page-template-page-nosotros .fn-close .big strong { font-weight: 700; }
body.page-template-page-nosotros .fn-close .big em { font-style: italic; font-weight: 300; color: var(--ice); }
body.page-template-page-nosotros .fn-cta {
    display: inline-flex; align-items: center; gap: 14px; margin-top: 48px;
    background: var(--bone); color: var(--black); text-decoration: none;
    font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    padding: 20px 38px; border-radius: 3px; transition: all 0.3s var(--ease);
}
body.page-template-page-nosotros .fn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(127,163,196,0.25); }
body.page-template-page-nosotros .fn-footer-mark {
    padding: 120px 0 80px; text-align: center;
    border-top: 1px solid rgba(127,163,196,0.14); margin-top: 120px;
}
body.page-template-page-nosotros .fn-footer-mark .fn-o { color: var(--ice); margin-bottom: 34px; }
body.page-template-page-nosotros .fn-footer-mark .fn-ddt {
    font-weight: 900; font-size: clamp(30px, 5vw, 64px); letter-spacing: 0.02em;
}
body.page-template-page-nosotros .fn-footer-mark .tag {
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--slate); margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
    body.page-template-page-nosotros .fn-wrap { padding: 0 22px; }
    body.page-template-page-nosotros .fn-section { padding: 90px 0; }
    body.page-template-page-nosotros .fn-compare { gap: 36px; }
    body.page-template-page-nosotros .fn-quote-grid { grid-template-columns: 1fr; }
    body.page-template-page-nosotros .fn-pair { grid-template-columns: 1fr 40px 1fr; }
    body.page-template-page-nosotros .fn-eq { padding: 54px 26px; }
    body.page-template-page-nosotros .fn-photo { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    body.page-template-page-nosotros .fn-reveal { transition: none; opacity: 1; transform: none; }
    body.page-template-page-nosotros .fn-cue { animation: none; }
}
/* ════════════════════════════════════════════════════════════
   IMÁGENES FULL-BLEED (solo imagen · web + móvil)
   Secciones 3, 5, 7 · sin overlay ni texto
   ════════════════════════════════════════════════════════════ */
body.page-template-page-nosotros .fn-photo-full {
    position: relative;
    width: 100%;
    line-height: 0;            /* elimina hueco bajo la imagen */
    background: var(--black);
}
body.page-template-page-nosotros .fn-photo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Por defecto (escritorio): muestra web, oculta móvil */
body.page-template-page-nosotros .fn-photo-movil { display: none; }
body.page-template-page-nosotros .fn-photo-web   { display: block; }

/* En móvil: si existe la versión móvil, se usa; si no, queda la web */
@media (max-width: 760px) {
    body.page-template-page-nosotros .fn-photo-full:has(.fn-photo-movil) .fn-photo-web   { display: none; }
    body.page-template-page-nosotros .fn-photo-full:has(.fn-photo-movil) .fn-photo-movil { display: block; }
}

/* Placeholder cuando no hay ninguna imagen */
body.page-template-page-nosotros .fn-photo-full.is-placeholder {
    min-height: 60vh;
    background: linear-gradient(160deg, #11151c, #1d2530);
    line-height: normal;
}
body.page-template-page-nosotros .fn-photo-full.is-placeholder::after {
    content: attr(data-label);
    position: absolute; top: 20px; left: 20px;
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--slate); border: 1px dashed var(--slate-d); padding: 6px 12px; border-radius: 4px;
}