/* ============================================
   CCM · Web · estilos
   Mobile-first · sistema visual CCM
   ============================================ */

:root {
  --azul:    #3764b5;
  --terra:   #d3512f;
  --naranja: #f47121;
  --amarillo:#ffbe00;
  --rosa:    #f24684;
  --negro:   #1d1d1b;
  --crema:   #f8f3e6;
  --crema-2: #efe7d2;
  --line:    rgba(29,29,27,.16);
  --muted:   rgba(29,29,27,.6);

  --f-serif: "Averia Serif Libre", Georgia, serif;
  --f-hand:  "Nothing You Could Do", "Averia Serif Libre", cursive;
  --f-sans:  "Manrope", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --accent: var(--azul); /* tweakable */

  --radius: 6px;
  --container: 1180px;
  --gutter: 24px;
  --section-pad: 80px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  background: var(--crema);
  color: var(--negro);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--amarillo); color: var(--negro); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--negro);
  color: var(--crema);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(55,100,181,.55);
}
.btn-ghost {
  background: transparent;
  color: var(--negro);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--negro);
  color: var(--crema);
  transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: rgba(248,243,230,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), padding .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.nav-logo img { width: 36px; height: 36px; }
.nav-logo-wm {
  font-family: var(--f-serif);
  font-size: 16px;
  line-height: 1;
  display: none;
}
.nav-logo-wm em { color: var(--accent); font-style: italic; }
.nav-logo-wm small {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--f-sans);
  font-weight: 600;
  margin-top: 4px;
}

.nav-links {
  display: none;
  margin-left: auto;
  gap: 28px;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  color: var(--negro);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transition: right .35s var(--ease);
}
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: none;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav-links + .nav-cta { margin-left: 0; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
}
.lang button {
  background: none;
  border: 0;
  padding: 4px 2px;
  color: var(--muted);
  font: inherit;
  letter-spacing: inherit;
  transition: color .2s var(--ease);
}
.lang button[aria-pressed="true"] { color: var(--negro); }
.lang button:hover { color: var(--accent); }

.nav-burger {
  margin-left: auto;
  background: none;
  border: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--negro);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav.open .nav-links,
.nav.open .nav-cta {
  display: flex;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--crema);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 18px var(--gutter);
  gap: 14px;
  align-items: flex-start;
  margin-left: 0;
}
.nav.open .nav-cta { top: calc(100% + 180px); border-top: 1px dashed var(--line); border-bottom: 1px solid var(--line); }
.nav.open .nav-cta { top: auto; }

/* desktop */
@media (min-width: 820px) {
  .nav { padding: 22px 40px; gap: 32px; }
  .nav-logo-wm { display: block; }
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-burger { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: 80px var(--gutter) 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroDrift 30s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.05) translate(0,0); }
  to   { transform: scale(1.12) translate(-2%, -2%); }
}
.hero-bg-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .55;
  pointer-events: none;
}
.hero-bg-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  opacity: 0;
  animation: hero-in .8s var(--ease) .1s forwards;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amarillo);
  box-shadow: 0 0 0 0 rgba(255,190,0,.8);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255,190,0,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255,190,0,0); }
  100% { box-shadow: 0 0 0 0   rgba(255,190,0,0); }
}

.hero-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(48px, 11vw, 132px);
  line-height: .92;
  letter-spacing: -.015em;
  margin: 0 0 18px;
  color: #fff;
}
.hero-title em { font-style: italic; color: var(--amarillo); }
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in .9s var(--ease) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: .2s; }
.hero-title .line:nth-child(2) { animation-delay: .35s; }
.hero-title .line:nth-child(3) { animation-delay: .5s; }

.underline-wrap {
  display: inline-block;
  position: relative;
  padding-bottom: 18px;
}
.underline-wrap .hero-stroke {
  position: absolute;
  left: -3%;
  bottom: -14%;
  width: 106%;
  height: auto;
  color: var(--terra);
  filter: drop-shadow(0 2px 10px rgba(211,81,47,.45));
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: strokeDraw 1.6s var(--ease) .9s forwards;
}
@keyframes strokeDraw {
  to { stroke-dashoffset: 0; }
}

.hero-hand {
  font-family: var(--f-hand);
  font-size: clamp(26px, 4.5vw, 44px);
  color: var(--amarillo);
  line-height: 1;
  transform: rotate(-2deg);
  display: inline-block;
  margin: 4px 0 28px;
  opacity: 0;
  animation: hero-in .9s var(--ease) .65s forwards;
}

.hero-lede {
  max-width: 56ch;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  margin: 0 0 36px;
  opacity: 0;
  animation: hero-in .9s var(--ease) .8s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: hero-in .9s var(--ease) .95s forwards;
}
.hero-ctas .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}
.hero-ctas .btn-ghost:hover { background: #fff; color: var(--negro); }
.hero-ctas .btn-primary { background: var(--amarillo); color: var(--negro); }
.hero-ctas .btn-primary:hover { background: #fff; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  z-index: 3;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.5);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: top;
  animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  background: var(--negro);
  color: var(--crema);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--negro);
}
.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: tickerMove 40s linear infinite;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 24px;
}
.ticker-track i {
  font-style: normal;
  color: var(--amarillo);
  font-family: var(--f-sans);
  font-weight: 600;
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS · shared
   ============================================ */
section {
  padding: var(--section-pad) var(--gutter);
}
.sec-head {
  max-width: var(--container);
  margin: 0 auto 36px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}
.sec-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  min-width: 32px;
}
.sec-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1;
  letter-spacing: -.01em;
  margin: 0;
}
.sec-title em {
  font-style: italic;
  color: var(--accent);
}
.sec-hand {
  font-family: var(--f-hand);
  font-size: 22px;
  color: var(--terra);
  transform: rotate(-2deg);
  display: inline-block;
}
.sec-head--light .sec-num,
.sec-head--light .sec-title { color: var(--crema); }
.sec-head--light .sec-title em { color: var(--amarillo); }
.sec-head--light .sec-hand { color: var(--amarillo); }

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  background: var(--crema);
  position: relative;
}
.sobre-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.sobre-copy .lead {
  font-family: var(--f-serif);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  margin: 0 0 24px;
  letter-spacing: -.005em;
}
.sobre-copy p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 18px;
  color: rgba(29,29,27,.85);
  max-width: 60ch;
}
.sobre-copy p em { font-style: italic; color: var(--accent); font-weight: 500; }

.pillars {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 22px;
}
.pillars li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}
.pillars h4 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 4px;
  letter-spacing: -.005em;
}
.pillars p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.sobre-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(29,29,27,.25);
}
.sobre-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.sobre-card-body {
  padding: 28px 28px 32px;
  position: relative;
}
.sobre-card-body .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.sobre-card-body p {
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 18px;
  letter-spacing: -.005em;
}
.sobre-card-body p em { font-style: italic; color: var(--accent); }
.sobre-card-stroke {
  width: 100%; height: 14px;
  display: block;
  margin: 4px 0 10px;
}
.sobre-card-body .hand {
  font-family: var(--f-hand);
  color: var(--terra);
  font-size: 22px;
}

@media (min-width: 900px) {
  .sobre-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  background: var(--crema-2);
  position: relative;
}

.serv-feature {
  max-width: var(--container);
  margin: 0 auto 48px;
  background: var(--negro);
  color: var(--crema);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.serv-feature-img {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.serv-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.serv-feature:hover .serv-feature-img img { transform: scale(1.06); }
.serv-feature-body { padding: 36px 32px 40px; }
.serv-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 18px;
}
.serv-feature-tag .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor;
}
.serv-feature h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  margin: 0 0 16px;
  letter-spacing: -.01em;
  max-width: 14ch;
}
.serv-feature h3 em { font-style: italic; color: var(--amarillo); }
.serv-feature-body > p {
  max-width: 50ch;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(248,243,230,.78);
  margin: 0 0 24px;
}
.serv-feature-pts {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 8px;
}
.serv-feature-pts li {
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: rgba(248,243,230,.85);
}
.serv-feature-pts li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--amarillo);
  font-family: var(--f-serif);
}
.serv-feature .btn-primary { background: var(--amarillo); color: var(--negro); }
.serv-feature .btn-primary:hover { background: var(--crema); }

@media (min-width: 800px) {
  .serv-feature { grid-template-columns: 1.1fr 1fr; }
  .serv-feature-img { aspect-ratio: auto; height: 100%; }
  .serv-feature-body { padding: 56px 56px 60px; }
}

.serv-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .serv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .serv-grid { grid-template-columns: repeat(3, 1fr); } }

.serv-card {
  background: var(--crema);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.serv-card[data-color="terra"]   { --c: var(--terra); }
.serv-card[data-color="naranja"] { --c: var(--naranja); }
.serv-card[data-color="rosa"]    { --c: var(--rosa); }
.serv-card[data-color="azul"]    { --c: var(--azul); }

.serv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--c, var(--accent));
}
.serv-card-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
}
.serv-card-stroke {
  height: 18px;
  width: auto;
  max-width: 60%;
  color: var(--c, var(--accent));
}
.serv-card h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -.005em;
}
.serv-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(29,29,27,.75);
  margin: 0 0 22px;
}
.serv-card-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c, var(--accent));
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.serv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(29,29,27,.25);
  border-color: var(--c, var(--accent));
}
.serv-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: var(--c, var(--accent));
  transition: height .35s var(--ease);
}
.serv-card:hover::after { height: 4px; }

/* ============================================
   EQUIPO
   ============================================ */
.equipo { background: var(--crema); }
.equipo-lede {
  max-width: 60ch;
  margin: 0 auto 36px;
  font-size: 17px;
  color: rgba(29,29,27,.78);
  padding: 0 var(--gutter);
  text-align: center;
}
.equipo-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 700px) { .equipo-grid { grid-template-columns: repeat(4, 1fr); } }

/* When grid holds rich bio cards, use 2 wider columns instead */
.equipo-grid:has(.member--full) {
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 820px) {
  .equipo-grid:has(.member--full) { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.member { margin: 0; }
.member-photo {
  aspect-ratio: 3 / 4;
  background: var(--crema-2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(29,29,27,.35);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.member-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.member-photo[data-placeholder]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(29,29,27,.06) 0 1px,
      transparent 1px 14px);
  pointer-events: none;
}
.member:hover .member-photo { transform: translateY(-4px); }
.member figcaption { padding: 14px 4px 0; }
.member h4 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 2px;
  letter-spacing: -.005em;
}
.member p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* Rich bio cards */
.member--full {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: start;
  box-shadow: 0 30px 60px -40px rgba(29,29,27,.18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.member--full:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -40px rgba(29,29,27,.25);
}
.member--full .member-photo {
  aspect-ratio: 3 / 4;
  width: 100%;
}
.member--full figcaption {
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.member-name h4 {
  font-size: 26px;
  margin: 0 0 2px;
}
.member-name p {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.member-bio {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.member-bio summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--negro);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.member-bio summary::-webkit-details-marker { display: none; }
.member-bio summary:hover { color: var(--accent); }
.bio-arrow {
  display: inline-block;
  transition: transform .35s var(--ease);
  font-size: 14px;
}
.member-bio[open] .bio-arrow { transform: rotate(180deg); }
.member-bio-body {
  padding: 8px 0 4px;
  animation: bioIn .45s var(--ease);
}
.member-bio-body p {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(29,29,27,.8);
  margin: 0 0 12px;
  letter-spacing: 0;
  text-transform: none;
}
.member-bio-body p:last-child { margin-bottom: 0; }
.member-bio-body em { font-style: italic; color: var(--accent); }
@keyframes bioIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .member--full {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .member--full .member-photo {
    aspect-ratio: 4 / 3;
  }
}
.equipo-note {
  max-width: var(--container);
  margin: 36px auto 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--crema-2); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  letter-spacing: -.005em;
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon {
  width: 28px; height: 28px;
  position: relative;
  flex: 0 0 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; transition: transform .35s var(--ease); }
.faq-item[open] .faq-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(180deg);
}
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  padding: 0 4px 24px;
  max-width: 65ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(29,29,27,.8);
}
.faq-item[open] .faq-a {
  animation: faqIn .4s var(--ease);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  background: var(--negro);
  color: var(--crema);
  position: relative;
  overflow: hidden;
}
.contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('brand/fondo-07.jpg');
  background-size: cover;
  background-position: center;
  opacity: .25;
  z-index: 0;
}
.contacto-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) { .contacto-inner { grid-template-columns: 1fr 1fr; gap: 80px; } }

.contacto-left p {
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(248,243,230,.85);
  margin: 0 0 32px;
}
.contacto-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.contacto-meta li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(248,243,230,.18);
}
.contacto-meta .lbl {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--amarillo);
  font-size: 14px;
}
.contacto-meta a:hover { color: var(--amarillo); }

.contacto-form {
  background: rgba(248,243,230,.04);
  border: 1px solid rgba(248,243,230,.15);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  display: grid;
  gap: 16px;
}
.contacto-form label {
  display: grid;
  gap: 6px;
}
.contacto-form label > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(248,243,230,.75);
}
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  background: rgba(248,243,230,.08);
  border: 1px solid rgba(248,243,230,.2);
  color: var(--crema);
  padding: 12px 14px;
  font: inherit;
  border-radius: 4px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.contacto-form textarea { resize: vertical; min-height: 100px; }
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: 0;
  border-color: var(--amarillo);
  background: rgba(248,243,230,.12);
}
.contacto-form select option { background: var(--negro); color: var(--crema); }
.contacto-form .btn-primary {
  background: var(--amarillo);
  color: var(--negro);
  margin-top: 6px;
}
.contacto-form .btn-primary:hover { background: var(--crema); }
.form-note {
  font-size: 11px;
  color: rgba(248,243,230,.55);
  margin: 0;
  letter-spacing: .04em;
  text-align: center;
}
.form-ok {
  font-family: var(--f-serif);
  font-style: italic;
  text-align: center;
  color: var(--amarillo);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.foot {
  background: var(--negro);
  color: var(--crema);
  padding: 56px var(--gutter) 30px;
  border-top: 1px solid rgba(248,243,230,.1);
}
.foot-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(248,243,230,.1);
}
@media (min-width: 700px) { .foot-top { grid-template-columns: 1fr 1.2fr; } }

.foot-logo {
  display: flex;
  gap: 16px;
  align-items: center;
}
.foot-logo img { width: 56px; height: 56px; }
.foot-logo .serif {
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.005em;
}
.foot-logo .serif em { font-style: italic; color: var(--amarillo); }
.foot-logo .hand {
  font-family: var(--f-hand);
  color: var(--amarillo);
  font-size: 22px;
  margin-top: 4px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}
.foot-cols h5 {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(248,243,230,.55);
  margin: 0 0 14px;
}
.foot-cols a, .foot-cols span {
  display: block;
  font-size: 14px;
  color: rgba(248,243,230,.85);
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.foot-cols a:hover { color: var(--amarillo); }

.foot-bottom {
  max-width: var(--container);
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(248,243,230,.5);
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   NEURODIVERGENTES
   ============================================ */
.neuro {
  background: var(--negro);
  color: var(--crema);
  position: relative;
  overflow: hidden;
}
.neuro::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background-image: url('brand/fondo-09.jpg');
  background-size: cover;
  background-position: center;
  opacity: .35;
  filter: blur(8px);
  z-index: 0;
  border-radius: 50%;
}
.neuro-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .neuro-inner { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}
.neuro-copy .sec-head { margin-bottom: 24px; }
.neuro-lede {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  max-width: 28ch;
  color: rgba(248,243,230,.95);
  margin: 0 0 36px;
  letter-spacing: -.005em;
}
.neuro-lede em { font-style: italic; color: var(--amarillo); }

.neuro-pts {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 0;
}
.neuro-pts li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(248,243,230,.14);
}
.neuro-pts li:last-child { border-bottom: 1px solid rgba(248,243,230,.14); }
.neuro-pts .num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--amarillo);
  line-height: 1;
}
.neuro-pts h4 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 4px;
  letter-spacing: -.005em;
  color: var(--crema);
}
.neuro-pts p {
  font-size: 14px;
  color: rgba(248,243,230,.7);
  margin: 0;
  line-height: 1.55;
}

.neuro .btn-primary { background: var(--amarillo); color: var(--negro); }
.neuro .btn-primary:hover { background: var(--crema); }

.neuro-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.neuro-art-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.neuro-art:hover .neuro-art-bg { transform: scale(1.06); }
.neuro-art-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--negro);
  background: var(--amarillo);
  padding: 8px 14px;
  border-radius: 100px;
  z-index: 2;
}
.neuro-art-stroke {
  position: absolute;
  bottom: 12%;
  right: -6%;
  width: 70%;
  color: var(--rosa);
  z-index: 1;
  filter: drop-shadow(0 6px 20px rgba(242,70,132,.4));
}

/* ============================================
   DIVULGACIÓN
   ============================================ */
.divul {
  background: var(--crema);
}
.divul-lede {
  max-width: 60ch;
  margin: 0 auto 36px;
  font-size: 17px;
  color: rgba(29,29,27,.78);
  padding: 0 var(--gutter);
  text-align: center;
}
.divul-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .divul-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .divul-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  .divul-card--feat {
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
  }
}

.divul-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.divul-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(29,29,27,.25);
  border-color: var(--accent);
}
.divul-card-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}
.divul-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
}
.divul-card h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.005em;
}
.divul-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(29,29,27,.75);
  margin: 0;
  flex: 1;
}
.divul-card-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}

/* Featured (Instagram) card */
.divul-card--feat {
  padding: 0;
  border: 0;
  color: #fff;
  min-height: 320px;
  overflow: hidden;
}
.divul-card--feat .divul-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.divul-card--feat:hover .divul-card-bg { transform: scale(1.08); }
.divul-card--feat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
}
.divul-card--feat .divul-card-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: end;
  width: 100%;
}
.divul-card--feat .divul-card-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amarillo);
}
.divul-card--feat .divul-card-num { color: var(--amarillo); font-size: 16px; }
.divul-card--feat h3 {
  font-size: clamp(28px, 3vw, 38px);
  color: #fff;
  margin: 0;
}
.divul-card--feat p {
  color: rgba(255,255,255,.85);
  max-width: 30ch;
  margin: 0;
  flex: 0;
}
.divul-card--feat .divul-card-cta {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amarillo);
  transition: transform .25s var(--ease);
}
.divul-card--feat:hover .divul-card-cta { transform: translateX(6px); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .line, .hero-eyebrow, .hero-hand, .hero-lede, .hero-ctas { opacity: 1; transform: none; animation: none; }
  .hero-bg-img { animation: none; }
}

/* ============================================
   TWEAKS PANEL (minimal, hidden by default)
   ============================================ */
.tw {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 260px;
  background: var(--crema);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.4);
  padding: 16px;
  z-index: 80;
  font-size: 13px;
}
.tw h6 {
  margin: 0 0 12px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tw h6 button {
  background: none; border: 0;
  color: var(--muted); font-size: 18px; line-height: 1;
}
.tw-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.tw-row label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.tw-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-opts button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .2s var(--ease);
}
.tw-opts button[aria-pressed="true"] {
  background: var(--negro);
  color: var(--crema);
  border-color: var(--negro);
}
.tw-swatches { display: flex; gap: 8px; }
.tw-swatches button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  outline: 1px solid var(--line);
  padding: 0;
}
.tw-swatches button[aria-pressed="true"] {
  outline: 2px solid var(--negro);
  transform: scale(1.1);
}
