/* =========================================
   LANDING — welcome.css  (rediseño m13 · minimal)
   ========================================= */

body.landing-page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: var(--paper);
  color: var(--ink);
  position: static !important;
}

body.landing-page {
  /* tokens de landing (no tocan la app) */
  --paper: #F4F5F7;
  --ink: #0B1420;
  --muted: #5B6676;
  --line: #E4E7EC;
  --navy: #0A1931;
  --blue: #185ADB;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --block-1: #DCE6FF;   /* azul claro */
  --block-2: #EAEDF2;   /* gris claro */
  --block-3: #E3EAF7;   /* azul grisáceo */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
}

.landing-page main { display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* ── mono data tag ─────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 7px;
}
.tag.accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.tag.ghost  { background: transparent; }

/* ── buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark  { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-on-dark { background: rgba(255,255,255,.1); color:#fff; border-color: rgba(255,255,255,.25); }
.btn-on-dark:hover { background: rgba(255,255,255,.18); }

/* ── floating pill nav ─────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 20px;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(11,20,32,.08);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(11,20,32,.08);
}
.nav.on-dark {
  background: rgba(10,25,49,.4);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.nav-brand { display: flex; align-items: center; height: 34px; }
.nav-brand img { height: 48px; width: auto; display: block; }
.nav-brand .brand-text { font-weight: 700; letter-spacing: 2px; font-size: 1.15rem; }
.nav.on-dark .nav-brand .brand-text { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: .8;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav.on-dark .nav-links a { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav.on-dark .nav-toggle span { background: #fff; }

.mobile-menu { display: none; }

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(7px); transform: scale(1.06); /* ponytail: scale evita bordes transparentes del blur */
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 110%, rgba(24,90,219,.55), transparent 60%),
    linear-gradient(180deg, rgba(10,25,49,.55) 0%, rgba(10,25,49,.35) 40%, rgba(10,25,49,.92) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 9vh, 110px); padding-top: 140px; }
.hero h1 {
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
  max-width: 14ch;
}
.hero p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,.82);
  margin: 22px 0 0;
  max-width: 48ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* arrow glyph */
.arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; }

/* ── section rhythm ────────────────────────── */
.section { padding: clamp(72px, 12vh, 150px) 0; }
.section-head { max-width: 62ch; }
.h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.5; }

/* ── STATEMENT (quiénes somos) ─────────────── */
.statement .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.statement .big {
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.statement .aside p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0 0 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.statement .inline-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* ── VALUES (acordeón: color block que se expande y revela foto) ── */
.values-grid { display: flex; gap: 14px; align-items: stretch; margin-top: 44px; }
.value-card {
  flex: 1 1 0; min-width: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  min-height: 330px;
  color: var(--ink);
  background: var(--tint);
  opacity: 0;
  transform: translateY(26px);
  transition: flex-grow .55s cubic-bezier(.2,.7,.2,1), opacity .6s ease, transform .6s ease, box-shadow .35s ease;
}
.value-card.in { opacity: 1; transform: none; }
.values-grid .value-card:nth-child(2) { transition-delay: .09s; }
.values-grid .value-card:nth-child(3) { transition-delay: .18s; }
.value-card:nth-child(1) { --tint: var(--block-1); }
.value-card:nth-child(2) { --tint: var(--block-2); }
.value-card:nth-child(3) { --tint: var(--block-3); }

.vc-body { flex: 1 1 auto; min-width: 200px; padding: 28px; display: flex; flex-direction: column; }
.value-card .vc-icon { display: block; color: var(--navy); }
.value-card .vc-icon svg { width: 38px; height: 38px; }
.value-card h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 0; }
.value-card p { margin-top: 14px; font-size: 0.98rem; line-height: 1.5; color: rgba(11,20,32,.72); }
.vc-arrow {
  margin-top: auto; align-self: flex-start;
  width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center; font-size: 1.15rem; color: var(--ink);
  border: 1px solid rgba(11,20,32,.2);
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
/* panel de foto (varias personas) en escala de grises, fijo */
.vc-photo {
  flex: 0 0 0; width: 0; opacity: 0;
  background: var(--vc-img) center 22% / cover no-repeat;
  background-color: #e8ebf0;
  filter: grayscale(1) contrast(.95) brightness(1.02);
  transition: flex-basis .55s cubic-bezier(.2,.7,.2,1), opacity .45s ease;
}

/* escritorio: acordeón por hover o clic */
@media (min-width: 901px) {
  .value-card.in:hover, .value-card.in.open { flex-grow: 2.6; box-shadow: 0 20px 46px rgba(11,20,32,.16); }
  .value-card.in:hover .vc-photo, .value-card.in.open .vc-photo { flex-basis: 50%; width: auto; opacity: 1; }
  .value-card.in:hover .vc-arrow, .value-card.in.open .vc-arrow { background: var(--blue); color: #fff; border-color: var(--blue); }
}
@media (prefers-reduced-motion: reduce) {
  .value-card { opacity: 1; transform: none; transition: box-shadow .3s ease; }
}

/* ── GATHER (horarios · mono rows) ─────────── */
.gather { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rows { margin-top: 40px; border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.row .r-label { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.row .r-value { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em; }
.row .r-value span { color: var(--muted); font-weight: 400; display: block; font-size: 0.92rem; margin-top: 4px; }
.row .r-link { color: var(--blue); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ── GATHER bento ──────────────────────────── */
.gather-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 14px;
  margin-top: 44px;
}
.g-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.g-card .g-label { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.g-card h4 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 12px; }
.g-card p { color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 6px; }
.g-link { margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 600; text-decoration: none; }

.g-feature {
  grid-column: span 2; grid-row: span 2;
  background: var(--navy); color: #fff;
  position: relative; overflow: hidden;
  border: 0; padding: 36px;
}
.g-feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(85% 100% at 100% 100%, rgba(24,90,219,.6), transparent 55%);
}
.g-feature > * { position: relative; z-index: 1; }
.g-feature .g-label { color: rgba(255,255,255,.62); }
.g-feature-time { margin-top: auto; }
.g-day { display: block; font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 500; color: rgba(255,255,255,.82); }
.g-hours { display: block; font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 8px; }
.g-hours .g-dash { margin: 0 .12em; font-weight: 400; color: rgba(255,255,255,.6); }
.g-hours em { font-style: normal; font-size: .36em; color: rgba(255,255,255,.72); font-weight: 500; letter-spacing: 0; }
.g-feature p { color: rgba(255,255,255,.8); margin-top: 18px; max-width: 34ch; }
.g-cta { margin-top: 24px; align-self: flex-start; }

.g-wide {
  grid-column: span 3;
  flex-direction: row; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--block-1); border-color: transparent;
}
.g-wide-text h4 { margin-top: 8px; }
.g-wide-text p { max-width: 52ch; }
.g-wide-btn { white-space: nowrap; }

@media (max-width: 900px) {
  .gather-grid { grid-template-columns: 1fr; }
  .g-feature { grid-column: auto; grid-row: auto; min-height: 280px; }
  .g-wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
}

/* ── COMMUNITY mosaic ──────────────────────── */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; margin-top: 44px; }
.mosaic figure { margin: 0; border-radius: 16px; overflow: hidden; background: #e8ebf0; position: relative; }
.mosaic img, .mosaic video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block;
  filter: grayscale(1) contrast(.98);
  transition: filter .45s ease, transform .5s ease, opacity .4s ease;
}
/* hover: la foto crece sobre el grid, muestra color y las demás se atenúan */
.mosaic figure { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; transform-origin: center; }
.mosaic figure:hover img, .mosaic figure:hover video { filter: none; }
.mosaic figure:not(.logo-cell):hover {
  transform: scale(1.3);
  z-index: 5;
  box-shadow: 0 28px 70px rgba(11,20,32,.4);
}
/* evita que las fotos de los bordes se salgan del viewport al crecer */
.mosaic figure.span2:hover, .mosaic figure:nth-child(1):hover { transform-origin: left center; }
.mosaic:hover figure:not(:hover):not(.logo-cell) img { opacity: .5; filter: grayscale(1) brightness(.88); }
.mosaic .logo-cell {
  background: #fff url("../img/LogoFrater_1.png") center / 56% no-repeat;
  border: 1px solid var(--line);
}
.mosaic .span2 { grid-column: span 2; grid-row: span 2; }
.mosaic .tall { grid-row: span 2; }

/* ── APP block ─────────────────────────────── */
.app-block {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.app-block::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(90% 120% at 100% 0%, rgba(24,90,219,.5), transparent 55%);
  pointer-events:none;
}
.app-block > * { position: relative; z-index: 1; }
.app-block > .app-halftone { position: absolute; inset: 0; z-index: 0; }
.app-block.app-showcase::after { opacity: .5; } /* suaviza el glow sobre el halftone */
.app-block h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
.app-block p { color: rgba(255,255,255,.78); margin-top: 16px; font-size: 1.05rem; line-height: 1.55; max-width: 44ch; }
.app-block .app-cta { display: flex; justify-content: flex-end; }

/* ── APP showcase (mockup) ─────────────────── */
.app-showcase {
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
  min-height: 520px;
}
.app-copy h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; margin-top: 16px; }
.app-copy p { color: rgba(255,255,255,.78); margin-top: 16px; font-size: 1.05rem; line-height: 1.55; max-width: 42ch; }
.app-feats { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.app-feats li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.9); font-size: .98rem; }
.app-feats li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 999px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.app-showcase .tag { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }

.app-phone-wrap { display: flex; justify-content: center; will-change: transform; }
.phone {
  position: relative;
  width: clamp(230px, 23vw, 290px);
  aspect-ratio: 9 / 19;
  background: #0b1220;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 2px 0 rgba(255,255,255,.08) inset, 0 40px 80px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.06);
  will-change: transform, opacity;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 22px; background: #0b1220; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen {
  position: relative; height: 100%; width: 100%;
  background: linear-gradient(180deg, #eef1f6, #f6f7fa);
  border-radius: 31px; overflow: hidden;
  display: flex; flex-direction: column;
  font-size: 13px;
}
.pscreen-top { padding: 14px 16px 10px; background: var(--navy); color: #fff; }
.pbar { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; opacity: .9; }
.phead { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.phead img { width: 34px; height: 34px; border-radius: 999px; background: #fff; padding: 3px; }
.phead small { color: rgba(255,255,255,.65); font-size: 11px; display: block; }
.phead strong { font-size: 15px; letter-spacing: -.01em; }
.pfeed { padding: 14px; display: grid; gap: 11px; overflow: hidden; flex: 1 1 auto; align-content: start; }
.pnav {
  flex: none; margin-top: auto;
  display: flex; align-items: center; justify-content: space-around;
  padding: 11px 12px 16px;
  background: #fff; border-top: 1px solid #e7eaf0;
}
.pnav-item { color: #9aa4b2; display: grid; place-items: center; width: 30px; height: 30px; }
.pnav-item.active { color: var(--blue); }
.pcard { background: #fff; border: 1px solid #e7eaf0; border-radius: 16px; padding: 14px; will-change: transform, opacity; }
.pcard .ptag { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); }
.pcard .ptag.muted { color: var(--muted); }
.pcard h5 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-top: 6px; color: var(--ink); }
.pcard p { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.pcard-kairos { background: linear-gradient(135deg, var(--navy), #13244a); border-color: transparent; color: #fff; }
.pcard-kairos .ptag { color: #93c5fd; }
.pcard-kairos h5 { color: #fff; }
.pcard-kairos p { color: rgba(255,255,255,.72); }
.pprogress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); margin-top: 12px; overflow: hidden; }
.pprogress span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--blue); }
.pcard-row { display: flex; align-items: center; justify-content: space-between; }
.pcard-ico { width: 34px; height: 34px; border-radius: 12px; background: #eaf0ff; display: grid; place-items: center; color: var(--blue); flex: none; }

@media (max-width: 900px) {
  .app-showcase { grid-template-columns: 1fr; text-align: left; }
  .app-phone-wrap { margin-top: 12px; }
}

/* ── EVENTS ────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.evento-card-skeleton { height: 280px; border-radius: 18px; background: linear-gradient(100deg, #eceef2 30%, #f6f7f9 50%, #eceef2 70%); background-size: 200% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.landing-evento-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.landing-evento-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,20,32,.1); }
.landing-evento-img { width: 100%; height: 170px; object-fit: cover; }
.landing-evento-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.landing-evento-tag { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.landing-evento-card h4 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.landing-evento-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.landing-evento-link { margin-top: auto; color: var(--ink); font-weight: 600; font-size: 0.9rem; }

/* ── CONTACT ───────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; margin-top: 44px; }
.contact-map { border-radius: 20px; overflow: hidden; min-height: 420px; border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-list { display: flex; flex-direction: column; }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item .r-label { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.contact-item .r-value { font-size: 1.1rem; font-weight: 600; margin-top: 6px; letter-spacing: -0.01em; }
.contact-item .r-value a { color: var(--ink); text-decoration: none; }
.contact-transport {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--block-2);
  border-radius: 18px; padding: 22px 26px;
}
.contact-transport p { font-size: 1rem; line-height: 1.5; max-width: 60ch; }

/* ── FINAL CTA ─────────────────────────────── */
.final-cta { text-align: center; }
.final-cta .h2 { margin-inline: auto; }
.final-cta .lead { margin: 16px auto 0; max-width: 46ch; }
.final-cta .hero-actions { justify-content: center; }

/* ── FOOTER ────────────────────────────────── */
.footer { background: var(--navy); color: #fff; padding: 64px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.footer-brand img { height: 52px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.footer-social a:hover { background: rgba(255,255,255,.12); }
.footer-copy { width: 100%; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); font-family: var(--mono); font-size: 0.74rem; letter-spacing: .03em; }

/* ═══ SOBRE NOSOTROS ═══════════════════════════ */
.about-hero {
  background: var(--navy); color: #fff;
  padding: 160px 0 90px; position: relative; overflow: hidden;
}
.about-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(100% 90% at 15% 110%, rgba(24,90,219,.5), transparent 58%);
}
.about-hero .wrap { position: relative; z-index: 1; }
.about-hero h1 {
  font-weight: 700; font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: .98; letter-spacing: -0.03em; margin: 18px 0 0;
}
.about-hero .lead { color: rgba(255,255,255,.82); margin-top: 20px; max-width: 54ch; }
.about-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 64px); margin-top: 44px; }
.about-stat .num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; }
.about-stat .lbl { display: block; margin-top: 4px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.6); max-width: 24ch; }

.pastores-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pastor-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 32px; }
.pastor-avatar { width: 56px; height: 56px; border-radius: 999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: 1px; }
.pastor-card h3 { margin-top: 20px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.pastor-role { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.pastor-card p { margin-top: 14px; color: var(--muted); line-height: 1.6; font-size: .98rem; }

.num-list { margin-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.num-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.num-item .n { font-family: var(--mono); font-size: .8rem; color: var(--blue); padding-top: 3px; min-width: 24px; }
.num-item p { color: var(--muted); line-height: 1.55; font-size: 1rem; }
.num-item p strong { color: var(--ink); font-weight: 600; }

.quote-band { background: var(--navy); color: #fff; }
.quote-band blockquote {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.22;
  letter-spacing: -0.02em; max-width: 24ch; margin: 0;
}
.quote-band cite { display: block; margin-top: 24px; font-family: var(--mono); font-size: .8rem; font-style: normal; color: rgba(255,255,255,.6); letter-spacing: .03em; }

@media (max-width: 900px) {
  .pastores-grid { grid-template-columns: 1fr; }
  .num-list { grid-template-columns: 1fr; }
}

/* ── WhatsApp float ────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 1100;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .statement .grid { grid-template-columns: 1fr; }
  .values-grid { flex-direction: column; }
  .value-card { flex: 0 0 auto; flex-direction: column; min-height: 0; cursor: pointer; }
  .value-card .vc-photo {
    flex: 0 0 auto; height: 0; width: auto; opacity: 0;
    transition: height .5s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
  }
  .value-card.open .vc-photo { height: 190px; opacity: 1; }
  .value-card .vc-arrow { transition: transform .4s ease, background .4s ease, color .4s ease, border-color .4s ease; }
  .value-card.open .vc-arrow { transform: rotate(90deg); background: var(--blue); color: #fff; border-color: var(--blue); }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaic .span2 { grid-column: span 2; grid-row: span 1; }
  .app-block { grid-template-columns: 1fr; }
  .app-block .app-cta { justify-content: flex-start; }
  .events-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .mobile-menu {
    display: none;
    position: fixed; top: 76px; left: 16px; right: 16px; z-index: 999;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 20px; padding: 16px;
    flex-direction: column; gap: 4px;
    box-shadow: 0 20px 50px rgba(11,20,32,.15);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 12px; }
  .mobile-menu a:hover { background: var(--paper); }
  .mobile-menu .btn { margin-top: 8px; justify-content: center; }
  .mobile-menu a.btn-dark { color: #fff; }
  .mobile-menu a.btn-dark:hover { background: #000; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .mosaic { grid-template-columns: 1fr 1fr; }
}
