/* ── FONTS ── */
@font-face {
  font-family: 'Chromatica';
  src: url('fonts/Chromatica-Regular.woff2') format('woff2'),
       url('fonts/Chromatica-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chromatica';
  src: url('fonts/Chromatica-Bold.woff2') format('woff2'),
       url('fonts/Chromatica-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #141414;
  --blue:    #0069D7;
  --off-white: #EFF0F1;
  --white:   #FFFFFF;
  --grey:    #888888;
  --light-grey: #CBCBCB;
  --cream:   #D9D9D9;

  /* Chromatica is a commercial font; Inter is the web fallback */
  --sans: 'Chromatica', 'Inter', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;

  --shadow: 4px 4px 0 #141414;
  --nav-h: 84px;
  --pad: clamp(1.5rem, 15.2vw, 219px); /* mirrors Figma 219px on 1440px */
}

html { scroll-behavior: smooth; }

/* ── REVEAL ANIMATIONS ── */
.will-reveal {
  opacity: 0;
  transform: translateY(22px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero__img      { animation: fadeIn  0.8s ease both 0.5s; }
.hero__logo-box { animation: fadeUp 0.7s ease both 0.1s; }
.hero__subtitle { animation: fadeUp 0.7s ease both 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .will-reveal { opacity: 1; transform: none; }
  .hero__img,
  .hero__logo-box,
  .hero__subtitle { animation: none; }
}

body {
  font-family: var(--serif);
  background: var(--off-white);
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

/* ── UTILITIES ── */
.container {
  width: min(1002px, 100% - 2 * clamp(1.5rem, 4vw, 3rem));
  margin-inline: auto;
}

.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  text-align: center;
  line-height: 1.2;
}

.logo-placeholder {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid #000;
  color: #000;
}

/* ─────────────────────────────
   NAV
───────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(2rem, 6vw, 4rem);
  height: var(--nav-h);
  border-bottom: 1px solid var(--light-grey);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav__logo-link { text-decoration: none; flex-shrink: 0; }

.nav__logo-box {
  width: 180px;
  height: auto;
}

.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 52px;
}

.nav__link {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.nav__link:hover { border-bottom-color: var(--dark); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────
   HERO
───────────────────────────── */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 50, 0.13) 0%, transparent 65%);
  animation: floatLight 18s ease-in-out infinite;
  pointer-events: none;
  top: -150px;
  left: calc(50% - 350px);
  z-index: 1;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 105, 215, 0.1) 0%, transparent 65%);
  animation: floatLight 22s ease-in-out infinite reverse;
  pointer-events: none;
  top: -100px;
  right: calc(50% - 400px);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(40px, 6vh, 72px) var(--pad) clamp(32px, 5vh, 56px);
  text-align: center;
}

.hero__img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top;
}

.hero__logo-box {
  width: min(500px, 100%);
  height: auto;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.hero__subtitle {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey);
  padding-left: 20px;
}

/* ─────────────────────────────
   INTRO
───────────────────────────── */
.intro {
  padding: 0 0 80px;
}

.intro .container {
  display: flex;
  flex-direction: column;
  gap: 53px;
}

.intro__callout {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  background: var(--blue);
  border: 1px solid var(--dark);
  box-shadow: var(--shadow);
  padding: 20px 32px;
  text-align: center;
}

.intro__callout p {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--cream);
  line-height: 1.35;
}

.intro__body {
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
}
.intro__body p:last-child { font-style: italic; }

/* ─────────────────────────────
   DATOS CLAVE
───────────────────────────── */
.datos-clave {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E") repeat,
    radial-gradient(ellipse at 50% 60%, #1f1f1f 0%, var(--dark) 70%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.datos-clave__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #FFE500;
}

.dato {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 40px;
  border-right: 0.5px solid rgba(0,0,0,0.12);
}
.dato:last-child { border-right: none; }

.dato__number {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(4rem, 6.5vw, 6rem);
  color: #F65426;
  line-height: 1;
  text-shadow: 3px 3px 0 #141414;
}

.dato__label {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.4;
  margin-top: 12px;
  max-width: 28ch;
}

/* ─────────────────────────────
   DECISIONES JUDICIALES
───────────────────────────── */
.decisiones {
  padding: 96px 0 80px;
}

.decisiones .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 53px;
}

.decisiones .section-title { width: 100%; }

.decisiones__content {
  display: flex;
  gap: 53px;
  align-items: flex-start;
  width: 100%;
}

.decisiones__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
}

.decisiones__box {
  flex-shrink: 0;
  width: min(486px, 100%);
  background: var(--blue);
  border: 1px solid var(--dark);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
  justify-content: center;
  color: var(--off-white);
}

.decisiones__box h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

.decisiones__box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
}

.decisiones__box li {
  padding-left: 1.2em;
  position: relative;
}
.decisiones__box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--off-white);
}

/* ─────────────────────────────
   QUÉ OBSERVAMOS
───────────────────────────── */
.que-observamos {
  background: var(--light-grey);
  padding: 96px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 53px;
}

.flip-cards {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1400px;
}

.flip-card {
  width: 250px;
  height: 250px;
  perspective: 1000px;
  cursor: pointer;
  flex-shrink: 0;
  outline: none;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

@media (hover: hover) {
  .flip-card:hover .flip-card__inner { transform: rotateY(180deg); }
}

.flip-card.flipped .flip-card__inner { transform: rotateY(180deg); }

.flip-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 16px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--grey);
}

.flip-card__back {
  transform: rotateY(180deg);
  background: var(--white);
  border-color: var(--light-grey);
  color: var(--dark);
  align-items: flex-start;
  text-align: left;
  padding: 32px 28px;
}

.flip-card__icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.flip-card__front p {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.4;
}

.flip-card__back p {
  font-family: var(--serif);
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--dark);
}

/* ─────────────────────────────
   QUIÉNES COMPONEN LA COMISIÓN
───────────────────────────── */
.la-comision {
  padding: 96px 0 80px;
}

.la-comision .container {
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding-bottom: 48px;
}

.la-comision__intro {
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
}

.members-grid {
  width: min(1002px, 100% - 2 * clamp(1.5rem, 4vw, 3rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 48px;
}

.members-footnote {
  width: min(1002px, 100% - 2 * clamp(1.5rem, 4vw, 3rem));
  margin-inline: auto;
  padding-bottom: 48px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--grey);
}

.member-card {
  background: var(--white);
  border: 1px solid var(--dark);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 8px 0 #141414;
}

.member-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.member-card__photo-wrap {
  position: relative;
  overflow: hidden;
}
.member-card__photo-wrap .badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.member-card__photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E") repeat;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.member-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--light-grey);
}

.member-card__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--dark);
  text-align: center;
}

.member-card__ficha {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.member-card__ficha li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 0;
  border-top: 1px solid var(--light-grey);
}
.member-card__ficha li:last-child {
  border-bottom: 1px solid var(--light-grey);
}
.ficha__label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey);
}
.ficha__value {
  font-family: var(--serif);
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--dark);
}

/* PARTY BADGES */
.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 0 25px 25px 0;
  border: 1px solid;
  white-space: nowrap;
  line-height: 1.2;
  color: #000;
}

.badge--pacto            { background: #f3d0f3; border-color: #ff99ff; }
.badge--cambio-radical   { background: #d3d0f3; border-color: #2642dc; }
.badge--conservador      { background: #d0e4f3; border-color: #1760ab; }
.badge--centro-democratico { background: #9ecbff; border-color: #000ac0; }
.badge--u                { background: #ffe1b3; border-color: #e67700; }
.badge--curules          { background: #d8fdef; border-color: #00e6b8; }
.badge--liberal          { background: #ffbbbb; border-color: #bc0000; }
.badge--verde            { background: #d4fff0; border-color: #00a667; }

/* ─────────────────────────────
   PREGUNTAS FRECUENTES
───────────────────────────── */
.preguntas {
  background: var(--light-grey);
  padding: 96px 0 80px;
}

.preguntas .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.accordion {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--dark);
  box-shadow: var(--shadow);
}

.accordion__item { border-bottom: 1px solid var(--light-grey); }
.accordion__item:last-child { border-bottom: none; }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.accordion__trigger:hover { background: rgba(0,0,0,0.025); }

.accordion__trigger span {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--dark);
  line-height: 1.3;
}

.accordion__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--dark);
  transition: transform 0.3s ease;
}

.accordion__item--open .accordion__icon,
.accordion__item.open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__body {
  display: none;
  padding: 0 28px 24px;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
}

.accordion__item--open .accordion__body { display: block; }

/* ─────────────────────────────
   OBSERVAR PARA MEJORAR
───────────────────────────── */
.observar {
  position: relative;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E") repeat,
    var(--dark);
  border-top: 1px solid rgba(185,185,185,0.88);
  padding: 96px 0 80px;
  min-height: 512px;
  display: flex;
  align-items: center;
}

/* Grid on left side */
.observar::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 58%;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
  pointer-events: none;
}

/* Moving ambient light */
.observar::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 50, 0.07) 0%, transparent 65%);
  animation: floatLight 14s ease-in-out infinite;
  pointer-events: none;
  top: -200px;
  left: -150px;
}

@keyframes floatLight {
  0%   { transform: translate(0,    0); }
  25%  { transform: translate(280px, 120px); }
  50%  { transform: translate(180px, 260px); }
  75%  { transform: translate(-60px, 180px); }
  100% { transform: translate(0,    0); }
}

.observar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 53px;
  align-items: center;
  width: 100%;
}

.observar__title-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.observar .section-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: right;
  margin-bottom: 0;
}

.observar__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #FFF5B0;
  line-height: 1.15;
  text-align: right;
}

.observar__text {
  flex: 0 0 min(528px, 45%);
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--off-white);
  line-height: 1.65;
}

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 72px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 64px;
}

/* Left column */
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__obs-logo {
  width: 200px;
  height: auto;
}

.footer__tagline {
  font-family: var(--serif);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 28ch;
}

/* Center column — nav */
.footer__label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__nav a {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.footer__nav a:hover { border-bottom-color: var(--cream); }

/* Right column */
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.footer__right .footer__label { margin-bottom: 4px; }

.footer__fede-logo {
  max-width: 80px;
  height: auto;
}

.footer__social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer__social a { display: flex; align-items: center; }

.footer__social img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer__social a:hover img { opacity: 1; }

.footer__contact {
  font-family: var(--serif);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}

.footer__contact a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s;
}
.footer__contact a:hover { border-color: var(--cream); }

/* Bottom strip */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer__bottom p {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
}

/* ─────────────────────────────
   RESPONSIVE — TABLET (≤1100px)
───────────────────────────── */
@media (max-width: 1100px) {
  .nav__menu { gap: 20px; }
  .nav__link { font-size: 0.9rem; }


  .decisiones__content { flex-direction: column; }
  .decisiones__box { width: 100%; }

  .datos-clave__grid { grid-template-columns: repeat(2, 1fr); }
  .dato:nth-child(2) { border-right: none; }
  .dato:nth-child(3) { border-top: 1px solid var(--grey); }
  .dato:nth-child(4) { border-top: 1px solid var(--grey); border-right: none; }

  .observar__inner { flex-direction: column; gap: 32px; text-align: center; }
  .observar__title-group { align-items: center; }
  .observar .section-label { text-align: center; }
  .observar__title { text-align: center; }
  .observar__text { flex: none; width: 100%; }
}

/* ─────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
───────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav { height: auto; flex-wrap: wrap; align-items: center; }
  .nav__burger { display: flex; }

  .nav__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    padding: 8px 0 16px;
  }
  .nav__menu.open { display: flex; }
  .nav__menu li { width: 100%; }
  .nav__link {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--light-grey);
    font-size: 1rem;
  }

  /* Hero */
  .intro__callout { margin-top: -40px; }
  .hero__logo-box { width: 300px; height: auto; }

  /* Datos */
  .datos-clave__grid { grid-template-columns: 1fr; }
  .dato {
    padding: 20px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
  }
  .dato:nth-child(3) { border-top: none; }
  .dato:nth-child(4) { border-top: none; border-bottom: none; }

  /* Flip cards */
  .flip-cards { flex-direction: column; align-items: center; }
  .flip-card { width: 100%; max-width: 400px; }
  .flip-card__back p { font-size: 1rem; line-height: 1.45; }

  /* Members */
  .members-grid { grid-template-columns: repeat(2, 1fr); }

  /* Observar */
  .observar { min-height: auto; }
  .observar__title { font-size: 2.5rem; text-align: center; }

  /* Members */
  .members-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__right { align-items: flex-start; }
  .footer__obs-logo { width: 160px; height: 64px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 400px) {
  .hero__logo-box { width: 160px; height: auto; }
  .hero__title { font-size: 1.6rem; }
}
