/* ==========================================================
   Otra Cosa Eventos — estilos
   Colores y tipografías del manual de marca
   ========================================================== */
:root {
  --azul: #042236;
  --rosa: #e8c7c4;
  --rosa-osc: #c98f8a;   /* rosa con más contraste para texto sobre claro */
  --blanco: #ffffff;
  --beige: #fff7f7;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Anton", Impact, "Arial Narrow", sans-serif;
  --wrap: 1180px;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--azul);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

/* ---------- utilidades tipográficas ---------- */
.serif { font-family: var(--serif); font-weight: 800; text-transform: none; }
.anton { font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.pink { color: var(--rosa); font-style: normal; }
.pink-dark { color: var(--rosa-osc); }
.white-text { color: var(--blanco); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 15px;
  margin-bottom: 18px;
}
.pinkbg { background: var(--rosa); padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.highlight { background: var(--rosa); color: var(--azul); padding: 0 .12em; display: inline-block; white-space: nowrap; line-height: 1; }
.highlight-navy { background: var(--rosa); color: var(--azul); padding: 0 .15em; font-style: italic; }
.lead { font-size: 20px; max-width: 640px; }
.lead.light { color: rgba(255,255,255,.8); }

/* ---------- logo (texto, según manual) ---------- */
.logo { display: inline-flex; align-items: baseline; gap: .12em; text-decoration: none; line-height: 1; }
.logo-otra { font-family: var(--serif); font-weight: 800; font-size: 1.15em; }
.logo-cosa { font-family: var(--sans); font-size: 1.7em; color: var(--rosa); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em;
  font-size: 17px; text-decoration: none; border: 2px solid transparent;
  padding: 16px 30px; border-radius: 999px; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-pink { background: var(--rosa); color: var(--azul); }
.btn-pink:hover { background: var(--blanco); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--blanco); }
.btn-ghost:hover { border-color: var(--rosa); color: var(--rosa); }
.btn-navy { background: var(--azul); color: var(--blanco); }
.btn-navy:hover { background: #0b3552; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(24px, calc((100% - var(--wrap)) / 2));
  color: var(--blanco);
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: var(--azul); padding-block: 10px; box-shadow: 0 6px 24px rgba(4,34,54,.18); }
.nav .logo { font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: 16px; font-weight: 600; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--rosa); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--azul); color: var(--blanco);
  padding: 140px 0 90px;
  position: relative; overflow: hidden;
}
.hero::after { /* círculo del logo, de fondo */
  content: ""; position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  border: 1px solid rgba(232,199,196,.25);
  right: -22vmax; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.hero-title { display: flex; flex-direction: column; gap: .1em; margin-bottom: 34px; }
.hero-title .serif { font-size: clamp(32px, 5.4vw, 72px); }
.hero-title .anton { font-size: clamp(64px, 12.5vw, 178px); line-height: .95; }
.tachado { position: relative; white-space: nowrap; color: rgba(255,255,255,.85); }
.tachado::after { /* trazo rosa tipo rotulador */
  content: ""; position: absolute; left: -1%; right: -1%; top: 52%;
  height: .09em; background: var(--rosa); border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
  animation: tachar .7s .6s cubic-bezier(.6,.1,.3,1) forwards;
}
@keyframes tachar { to { transform: scaleX(1); } }
.hero-sub { font-size: clamp(18px, 2vw, 22px); max-width: 560px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- cinta ---------- */
.marquee { background: var(--rosa); color: var(--azul); overflow: hidden; padding: 16px 0; }
.marquee-track {
  display: flex; gap: 28px; width: max-content; align-items: center;
  font-family: var(--sans); text-transform: uppercase; font-size: 26px; letter-spacing: .04em;
  animation: marquee 32s linear infinite;
}
.marquee-track i { font-style: normal; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.beige { background: var(--beige); }
.section.white { background: var(--blanco); }
.section.navy { background: var(--azul); color: var(--blanco); }
.pinkbg-section { background: var(--rosa); }
.section-head { margin-bottom: 56px; }
.title { font-size: clamp(38px, 5.5vw, 68px); margin-bottom: 20px; }
.title .anton { font-size: 1.12em; }
.big-serif { font-size: clamp(38px, 6vw, 80px); max-width: 15ch; margin-bottom: 48px; }
.big-serif em { font-style: italic; }
.serif-lg { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; line-height: 1.3; }
.anton-xl { font-family: var(--sans); text-transform: uppercase; font-size: clamp(56px, 10vw, 140px); line-height: .95; margin: 0; }

.pregunta .split {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: end;
  border-top: 2px solid var(--azul); padding-top: 40px;
}

/* ---------- tarjetas de eventos ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--beige); border-radius: var(--radius); padding: 34px 28px 30px;
  display: flex; flex-direction: column; min-height: 380px;
  transition: transform .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-6px); background: var(--rosa); }
.card-num { font-family: var(--sans); font-size: 18px; letter-spacing: .1em; margin-bottom: auto; }
.card h3 { font-size: 40px; line-height: 1; margin: 40px 0 16px; }
.card p { font-size: 16.5px; margin: 0; }
.card-alt { background: var(--azul); color: var(--blanco); }
.card-alt h3 { color: var(--rosa); }
.card-alt:hover { background: #0b3552; }
.link-arrow { margin-top: 18px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--rosa); text-decoration: none; }

/* ---------- quiénes somos ---------- */
.somos { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: start; }
.somos-title { position: sticky; top: 110px; }
.somos-title h2 { display: flex; flex-direction: column; }
.somos-title h2 .serif { font-size: clamp(40px, 5vw, 64px); }
.somos-title h2 .anton { font-size: clamp(68px, 9vw, 128px); line-height: .95; }
.sello {
  margin-top: 48px; width: 190px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(232,199,196,.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .9;
  animation: girar 24s linear infinite;
}
.sello .logo-otra { font-size: 34px; }
.sello .logo-cosa { font-size: 64px; }
@keyframes girar { 50% { transform: rotate(6deg); } }
.somos-text p { color: rgba(255,255,255,.86); }
.somos-text p.serif-lg { color: var(--blanco); margin-bottom: 1.2em; }
.somos-text strong { color: var(--blanco); }
.somos-text strong.anton { color: var(--rosa); font-weight: 400; font-size: 1.15em; }

/* ---------- pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 28px 0 0; border-left: 2px solid var(--azul); padding-left: 24px; }
.step-num { display: block; font-size: 64px; line-height: 1; margin-bottom: 24px; color: var(--blanco); -webkit-text-stroke: 2px var(--azul); }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { font-size: 16.5px; margin: 0; }

/* ---------- redes ---------- */
.redes .big-serif { max-width: 18ch; margin-bottom: 26px; }
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; margin-top: 44px; }
.social-card {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 18px;
  align-items: center; text-decoration: none;
  border: 1px solid rgba(232,199,196,.45); border-radius: var(--radius); padding: 24px 26px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.social-card svg { grid-row: 1 / span 2; width: 48px; height: 48px; color: var(--rosa); }
.social-name { font-size: 30px; line-height: 1; }
.social-user { color: rgba(255,255,255,.7); font-size: 16px; }
.social-card:hover { background: var(--rosa); color: var(--azul); transform: translateY(-4px); }
.social-card:hover svg, .social-card:hover .social-user { color: var(--azul); }

/* ---------- contacto ---------- */
.contacto { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contacto-intro h2 { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.contacto-intro h2 .serif { font-size: clamp(30px, 3.4vw, 44px); }
.contacto-intro h2 .anton { font-size: clamp(48px, 6vw, 82px); line-height: 1; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 2px solid var(--azul); }
.contact-list li { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(4,34,54,.15); }
.contact-list .label { font-family: var(--sans); text-transform: uppercase; letter-spacing: .15em; font-size: 14px; width: 100px; flex-shrink: 0; }
.contact-list a { font-weight: 600; text-decoration-color: var(--rosa); text-underline-offset: 4px; text-decoration-thickness: 2px; word-break: break-word; }

.form {
  background: var(--blanco); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 30px 60px -30px rgba(4,34,54,.25);
  display: flex; flex-direction: column; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--azul);
  background: var(--beige); border: 2px solid transparent; border-radius: 14px;
  padding: 13px 15px; width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(4,34,54,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rosa); background: var(--blanco); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--azul); flex-shrink: 0; }
.check.invalid { color: #c0392b; }
.form .btn { align-self: flex-start; margin-top: 6px; }
.form-status { margin: 0; font-size: 16px; min-height: 1.6em; }
.form-status.ok { color: #1e7a4f; font-weight: 600; }
.form-status.error { color: #c0392b; font-weight: 600; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- pie ---------- */
.footer { background: var(--azul); color: var(--blanco); padding: 90px 0 40px; }
.footer-claim { display: flex; flex-direction: column; margin-bottom: 70px; }
.footer-claim .serif { font-size: clamp(30px, 4vw, 52px); }
.footer-claim .anton { font-size: clamp(44px, 7.5vw, 112px); line-height: 1; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(232,199,196,.35); padding-top: 30px;
}
.footer .logo { font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.footer-links a { text-decoration: none; opacity: .85; }
.footer-links a:hover { color: var(--rosa); opacity: 1; }
.copy { margin: 0; font-size: 14px; opacity: .6; }

/* ---------- animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 300px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .somos, .contacto { grid-template-columns: 1fr; gap: 40px; }
  .somos-title { position: static; }
  .sello { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 2;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--blanco); transition: transform .3s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; background: var(--azul);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-links a:not(.btn) { font-size: 28px; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }

  .pregunta .split { grid-template-columns: 1fr; gap: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 28px; }
  .steps { grid-template-columns: 1fr; }
  .social { grid-template-columns: 1fr; }
  .field-row, .field-row.three { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }
  .tachado { white-space: normal; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .sello { animation: none; }
  .tachado::after { animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* resaltado rosa dentro de títulos: que no pise la línea de arriba */
.title .pinkbg, .contacto-intro .pinkbg { display: inline-block; line-height: 1.05; margin-top: .08em; }
