/* ============================================================
   COMANDA DESIGN — diseños a la carta
   Sistema de diseño: Gunmetal + Snow White + Tangerine
   Paleta: Gunmetal #272E44 · Snow White #F2F0EB · Tangerine #F9A61B
           Dark Terra Cotta #D64D55 · Cyan-Blue Azure #418BC5
           Nyanza #E6F9DA · Maximum Blue Purple #B6A9F9
           Pastel Blue #ACBFD4 · Japanese Violet #4F3250
           Deep Jungle Green #0B4A47
   ============================================================ */

:root {
  /* color tokens */
  --gunmetal: #272e44;
  --gunmetal-deep: #1d2335;
  --gunmetal-darker: #161b2c;
  --snow: #f2f0eb;
  --card: #ffffff;
  --card-line: #e4e0d6;

  --tangerine: #f9a61b;
  --tangerine-bright: #ffb53a;
  --terra: #d64d55;
  --azure: #418bc5;
  --nyanza: #e6f9da;
  --purple: #b6a9f9;
  --pastel: #acbfd4;
  --violet: #4f3250;
  --jungle: #0b4a47;

  /* semantic */
  --text-on-light: #262b3e;
  --text-muted: #5e6272;
  --text-on-dark: #f2f0eb;
  --text-on-dark-muted: rgba(242, 240, 235, 0.78);

  /* typography */
  --font-display: "Anton", "Arial Black", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;

  /* spacing (escala 4/8) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;

  /* radius */
  --r-pill: 999px;
  --r-lg: 28px;
  --r-xl: 44px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--gunmetal);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--tangerine);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============ BOTONES / CHIPS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out),
    color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn--outline {
  border-color: rgba(242, 240, 235, 0.85);
  color: var(--snow);
  background: transparent;
}
.btn--outline:hover { background: var(--snow); color: var(--gunmetal); }

.btn--accent {
  background: var(--tangerine);
  color: var(--gunmetal);
}
.btn--accent:hover { background: var(--tangerine-bright); transform: translateY(-2px); }

.btn--ghost {
  border-color: rgba(242, 240, 235, 0.3);
  color: var(--snow);
}
.btn--ghost:hover { border-color: var(--tangerine); color: var(--tangerine); }

.btn--big {
  font-size: 1.15rem;
  padding: 1rem 2.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.chip--accent { background: #faebc9; color: #7a4e00; }
.chip--accent-solid { background: var(--tangerine); color: var(--gunmetal); }
.chip--soft { background: #e3eaf2; color: #2f5e86; }
.chip--dark-solid { background: var(--gunmetal); color: var(--snow); }
.chip--gray { background: #ece9e0; color: var(--text-muted); }

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-2);
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  background: var(--gunmetal);
  border-bottom: 1px solid rgba(242, 240, 235, 0.12);
  transition: padding 250ms var(--ease-out);
}
.site-header.is-scrolled { padding-block: 0.7rem; }

.logo {
  display: inline-flex;
  align-items: center;
  grid-column: 2;
  justify-self: center;
  color: var(--snow);
  transition: color 180ms var(--ease-out);
}
.logo:hover { color: var(--tangerine); }
.logo__wordmark {
  height: 64px;
  width: auto;
  display: block;
  transition: height 250ms var(--ease-out);
}
.site-header.is-scrolled .logo__wordmark { height: 40px; }

.main-nav {
  display: flex;
  gap: 0.5rem;
  grid-column: 1;
  justify-self: start;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  grid-column: 3;
  justify-self: end;
}
.header-right .header-cta { min-height: 44px; padding: 0.55rem 1.4rem; }
.nav-pill {
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(242, 240, 235, 0.35);
  color: var(--snow);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.nav-pill:hover { background: var(--snow); color: var(--gunmetal); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 12px;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px; height: 2.5px;
  background: var(--snow);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ LANGUAGE TOGGLE ============ */

.lang-toggle {
  display: flex;
  background: rgba(242, 240, 235, 0.08);
  border: 1px solid rgba(242, 240, 235, 0.2);
  border-radius: var(--r-pill);
  padding: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--snow);
  transition: border-color 160ms var(--ease-out);
}
.lang-toggle:hover { border-color: var(--tangerine); }

/* Solo se muestra el idioma actual; al clickear cambia al otro */
.lang-toggle__opt {
  display: none;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
}
.lang-toggle__opt.is-active {
  display: block;
  background: rgba(249, 166, 27, 0.25);
  color: var(--tangerine);
}

.mobile-menu {
  position: sticky;
  top: 56px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem) 1.5rem;
  background: var(--gunmetal-deep);
}
.mobile-menu a {
  color: var(--snow);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 14px;
}
.mobile-menu a:not(.btn):hover { background: rgba(242, 240, 235, 0.1); }
.mobile-menu[hidden] { display: none; }

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 1rem clamp(9rem, 16vw, 13rem);
  text-align: center;
  overflow: hidden;
  background: var(--gunmetal);
}

.hero__grid,
.cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 240, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 240, 235, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 45%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 45%, transparent 80%);
  pointer-events: none;
}

.hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--snow);
  text-transform: uppercase;
  font-size: clamp(3.4rem, 13vw, 11rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.hero__line { display: block; }
.hero__line--2 { margin-top: -0.02em; }

.hash {
  color: var(--tangerine);
  display: inline-block;
  transform: rotate(-8deg) translateY(-0.04em);
  margin-right: 0.02em;
}

.hero__sub {
  position: relative;
  z-index: 3;
  max-width: 34rem;
  margin: var(--s-4) auto 0;
  color: var(--text-on-dark-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* garabatos */
.scribble {
  position: absolute;
  color: var(--tangerine);
  width: clamp(60px, 9vw, 120px);
  z-index: 3;
}
.scribble--left { left: clamp(2%, 6vw, 12%); top: 22%; }
.scribble--right { right: clamp(2%, 6vw, 12%); bottom: 26%; transform: rotate(10deg); }

/* tickets glass flotantes */
.ticket {
  position: absolute;
  z-index: 3;
  width: clamp(150px, 18vw, 220px);
  padding: 1.1rem 1rem 1rem;
  border-radius: 22px;
  background: rgba(242, 240, 235, 0.12);
  border: 1px solid rgba(242, 240, 235, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(10, 13, 28, 0.45);
  color: var(--snow);
  text-align: center;
}
.ticket--a { left: clamp(4%, 14vw, 22%); top: 38%; transform: rotate(-7deg); }
.ticket--b { right: clamp(4%, 13vw, 20%); top: 30%; transform: rotate(6deg); }

.ticket__avatar {
  width: 52px; height: 52px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: var(--tangerine);
  color: var(--gunmetal);
  border: 3px solid var(--snow);
}
.ticket__avatar--t { background: var(--pastel); }
.ticket__name { font-weight: 700; font-size: 0.95rem; }
.ticket__meta { font-size: 0.72rem; opacity: 0.85; margin-top: 0.15rem; }

/* sello giratorio */
.stamp {
  position: absolute;
  right: clamp(3%, 7vw, 10%);
  bottom: clamp(18%, 6vw, 22%);
  width: clamp(110px, 12vw, 160px);
  aspect-ratio: 1;
  z-index: 4;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--gunmetal);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(10, 13, 28, 0.5);
  transition: transform 200ms var(--ease-out);
}
.stamp:hover { transform: scale(1.06); }
.stamp > svg:first-of-type {
  position: absolute;
  inset: 0;
  animation: spin 14s linear infinite;
}
.stamp__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  fill: var(--gunmetal);
}
.stamp__arrow { width: 34%; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ PANEL BLANCO (CÓMO FUNCIONA) ============ */

.panel {
  position: relative;
  z-index: 5;
  background: var(--snow);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: clamp(-7rem, -10vw, -5rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 5vw, 4rem);
}

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  max-width: 360px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.step-card__num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #2f5e86;
  background: #e3eaf2;
  border-radius: var(--r-pill);
  padding: 0.2rem 0.9rem;
}
.step-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--gunmetal);
}
.step-card__text { color: var(--text-muted); font-size: 0.95rem; }
.step-card__chip { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: auto; }

.steps__arrow {
  width: 48px;
  align-self: center;
  color: var(--gunmetal);
  flex-shrink: 0;
}

/* ============ SECCIONES GENÉRICAS ============ */

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 5vw, 4rem);
  background: var(--snow);
}
.section--dark { background: var(--gunmetal-deep); color: var(--text-on-dark); }
.section--team { background: var(--gunmetal); color: var(--text-on-dark); }

.section__head {
  max-width: 900px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section__kicker {
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #b04046;
  margin-bottom: var(--s-2);
}
.section--dark .section__kicker { color: var(--tangerine); }
.section__kicker--accent { color: var(--tangerine); }

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.02;
}
.section .section__title { color: var(--gunmetal); }
.section--dark .section__title,
.section--team .section__title { color: var(--snow); }

.outline {
  color: transparent !important;
  -webkit-text-stroke: 2px var(--snow);
}
.outline--dark { -webkit-text-stroke: 2px var(--gunmetal); }

.accent-mark {
  display: inline-block;
  background: var(--tangerine);
  color: var(--gunmetal);
  padding: 0.04em 0.25em 0.08em;
  margin-top: 0.12em;
  transform: rotate(-1deg);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section__lead {
  margin-top: var(--s-3);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-on-dark-muted);
}
.section__lead em { color: var(--tangerine); font-style: normal; font-weight: 700; }

/* ============ LA CARTA ============ */

.menu {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  background: var(--gunmetal);
  border: 1px solid #3a4260;
  border-radius: var(--r-lg);
  padding: 1.8rem;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.menu-item:hover { transform: translateY(-3px); border-color: var(--tangerine); }

.menu-item__icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--tangerine);
  color: var(--gunmetal);
  display: grid;
  place-items: center;
}
.menu-item__icon svg { width: 28px; height: 28px; }

.menu-item__body h3 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--snow);
}
.menu-item__dots {
  flex: 1;
  border-bottom: 2px dotted #4a5372;
  transform: translateY(-4px);
}
.menu-item__tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.05em;
  background: rgba(249, 166, 27, 0.16);
  color: var(--tangerine);
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.menu-item__body p {
  margin-top: 0.6rem;
  color: #c3c7d4;
  font-size: 0.95rem;
}

/* ============ EQUIPO ============ */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background: rgba(242, 240, 235, 0.07);
  border: 1px solid rgba(242, 240, 235, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  text-align: center;
}
.team-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  color: var(--snow);
}
.team-card__role {
  color: var(--tangerine);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.team-card p:last-child {
  color: var(--text-on-dark-muted);
  font-size: 0.93rem;
}

.team-card__avatar {
  width: 84px; height: 84px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--gunmetal);
  display: grid;
  place-items: center;
  border: 4px solid var(--snow);
  font-family: var(--font-display);
  font-size: 1.7rem;
}
.team-card__avatar::after { content: attr(data-initials); }
.team-card__avatar--2 { background: var(--purple); color: var(--violet); }
.team-card__avatar--3 { background: var(--pastel); }

.proof-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1100px;
  margin: var(--s-5) auto 0;
}
.proof-strip li {
  flex: 1 1 180px;
  max-width: 260px;
  background: var(--gunmetal-darker);
  border-radius: var(--r-lg);
  padding: 1.4rem 1rem;
  text-align: center;
}
.proof-strip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--tangerine);
  line-height: 1.1;
}
.proof-strip span { font-size: 0.85rem; color: #b9bdcb; }

/* ============ PROYECTOS ============ */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-line);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(39, 46, 68, 0.16);
}

.project-card__cover {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}
.project-card__cover svg { width: 44px; height: 44px; opacity: 0.9; }
.project-card__logo {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.project-card--verdea .project-card__cover { background: var(--jungle); color: var(--nyanza); }
.project-card--turnia .project-card__cover { background: var(--azure); color: #fff; }
.project-card--ruta .project-card__cover { background: var(--terra); color: var(--snow); }
.project-card--amasa .project-card__cover { background: var(--purple); color: var(--violet); }
.project-card--forja .project-card__cover { background: #2d5a7b; color: #e8f0f7; }
.project-card--mano .project-card__cover { background: #3d3d3d; color: #f5f5f5; }

.project-card__info { padding: 1.6rem; }
.project-card__info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--gunmetal);
}
.project-card__info p { color: var(--text-muted); font-size: 0.95rem; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

/* ============ PRECIOS ============ */

.pricing__intro {
  max-width: 640px;
  margin: -1.5rem auto clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: #c3c7d4;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
}

.pricing__note {
  max-width: 720px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: center;
  color: #9aa0b2;
  font-size: 0.9rem;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--gunmetal);
  border: 1px solid #3a4260;
  border-radius: var(--r-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.price-card--featured {
  background: var(--violet);
  border-color: var(--violet);
  transform: scale(1.03);
  box-shadow: 0 24px 60px rgba(79, 50, 80, 0.5);
}

.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tangerine);
  color: var(--gunmetal);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.price-card__course {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tangerine);
  border: 1.5px solid rgba(249, 166, 27, 0.45);
  border-radius: var(--r-pill);
  padding: 0.2rem 0.8rem;
}
.price-card--featured .price-card__course {
  color: var(--snow);
  border-color: rgba(242, 240, 235, 0.5);
}

.price-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--snow);
}
.price-card__desc { color: #c3c7d4; font-size: 0.92rem; }
.price-card--featured .price-card__desc { color: #e9dfe9; }

.price-card__price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--tangerine);
  line-height: 1;
}
.price-card__price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: inherit;
  opacity: 0.8;
}

.price-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}
.price-card__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.93rem;
  color: #d3d6e0;
}
.price-card--featured .price-card__list li { color: #f0e9f1; }
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 0.95em; height: 0.95em;
  border-radius: 50%;
  background: var(--tangerine);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.price-card__addon {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: auto;
  padding: 0.85rem 1rem;
  border: 1.5px dashed rgba(249, 166, 27, 0.5);
  border-radius: 16px;
  font-size: 0.85rem;
  color: #d3d6e0;
  line-height: 1.45;
}
.price-card__addon svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 0.1em;
  color: var(--tangerine);
}
.price-card__addon strong { color: var(--tangerine); font-weight: 700; }
.price-card__addon em { font-style: normal; font-weight: 700; color: var(--snow); white-space: nowrap; }
.price-card--featured .price-card__addon {
  border-color: rgba(249, 166, 27, 0.65);
  color: #f0e9f1;
}

.price-card .btn { margin-top: 0; }

/* ============ CTA FINAL ============ */

.cta {
  position: relative;
  background: var(--gunmetal);
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1rem;
  overflow: hidden;
}
.cta__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--snow);
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1;
}
.cta__text {
  position: relative;
  z-index: 2;
  color: var(--text-on-dark-muted);
  max-width: 30rem;
  margin: 1.25rem auto 2rem;
}
.cta .btn { position: relative; z-index: 2; }

/* ============ FORM DE PEDIDO ============ */

.order-form {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 1.1rem;
}

.order-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.order-form__field { display: block; }
.order-form__field > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.4rem;
}

.order-form__field input,
.order-form__field select,
.order-form__field textarea {
  width: 100%;
  background: rgba(242, 240, 235, 0.06);
  border: 1.5px solid rgba(242, 240, 235, 0.22);
  border-radius: 16px;
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.order-form__field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.order-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9a61b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  cursor: pointer;
}
.order-form__field select option { background: var(--gunmetal-deep); color: var(--snow); }
.order-form__field input:focus,
.order-form__field select:focus,
.order-form__field textarea:focus {
  outline: none;
  border-color: var(--tangerine);
  background: rgba(242, 240, 235, 0.1);
}

.order-form__submit { width: 100%; margin-top: 0.3rem; }
.order-form__submit[disabled] { opacity: 0.6; cursor: wait; }

.order-form__status {
  border-radius: 14px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  background: rgba(230, 249, 218, 0.12);
  border: 1.5px solid rgba(230, 249, 218, 0.4);
  color: var(--nyanza);
}
.order-form__status--error {
  background: rgba(214, 77, 85, 0.15);
  border-color: rgba(214, 77, 85, 0.55);
  color: #f3b7bb;
}

/* Honeypot anti-bots: fuera de pantalla, sin display:none (los bots lo ignoran) */
.order-form__hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.order-form__alt {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}
.order-form__alt a { color: var(--tangerine); text-decoration: none; }
.order-form__alt a:hover { text-decoration: underline; }

@media (max-width: 599px) {
  .order-form__row { grid-template-columns: 1fr; }
}

.cta__scribble {
  right: clamp(4%, 10vw, 16%);
  top: 18%;
  transform: rotate(150deg);
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--gunmetal-darker);
  color: #b9bdcb;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}
.site-footer__symbol {
  width: 44px;
  height: 44px;
  color: var(--snow);
  margin-bottom: 0.75rem;
}
.site-footer strong { color: var(--tangerine); letter-spacing: 0.06em; }

/* ============ REVEAL ON SCROLL ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */

@media (max-width: 1023px) {
  .steps { flex-direction: column; align-items: center; }
  .steps__arrow { transform: rotate(90deg); width: 40px; }
  .step-card { width: 100%; }
}

@media (max-width: 899px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header { padding-block: 0.8rem; }
  .logo__wordmark { height: 40px; }
  .site-header.is-scrolled .logo__wordmark { height: 34px; }

  .team { grid-template-columns: 1fr; max-width: 480px; }
  .projects { grid-template-columns: 1fr; max-width: 560px; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; }
  .price-card--featured { transform: none; }

  .hero { padding-bottom: 19rem; }
  .ticket--a { top: auto; bottom: 13%; left: 6%; }
  .ticket--b { top: auto; bottom: 17%; right: 6%; }
  .stamp { bottom: 14%; right: 40%; }
  .scribble--right { display: none; }
}

@media (max-width: 599px) {
  .hero { padding-bottom: 19rem; }
  .ticket { width: 150px; padding: 0.85rem 0.75rem 0.85rem; }
  .ticket__meta { display: none; }
  .scribble--left { top: 12%; }

  .logo__wordmark { height: 34px; }

  .menu-item { flex-direction: column; }
  .menu-item__body h3 { flex-wrap: wrap; }
  .menu-item__dots { display: none; }
}

@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

/* ============ DETALLE DE PROYECTO ============ */

.detail-body { background: var(--snow); }

.project-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #b04046;
  text-decoration: none;
}
.project-card__link:hover { color: var(--tangerine); text-decoration: underline; }

.detail-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 5vw, 4rem) 0;
}

.detail-hero__back { margin-bottom: 1.25rem; }
.detail-hero__back a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gunmetal);
  opacity: 0.7;
  text-decoration: none;
}
.detail-hero__back a:hover { opacity: 1; color: #b04046; }

.detail-hero__cover {
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gunmetal);
  color: var(--snow);
  overflow: hidden;
}
.detail-hero__cover .project-card__logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.detail-hero__name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--gunmetal);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.detail-hero__tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.detail-content {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4rem);
}
.detail-content__text p {
  color: var(--gunmetal);
  opacity: 0.85;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}
.detail-content__text p + p { margin-top: 1.1rem; }
.detail-content__link { margin-top: 2rem; }

.detail-gallery {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem);
}
.detail-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.detail-gallery__item {
  margin: 0;
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  background: #e4e1d9;
  box-shadow: 0 10px 30px rgba(39, 46, 68, 0.14);
}
.detail-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* La primera foto ocupa el ancho completo */
.detail-gallery__item:first-child { grid-column: 1 / -1; }

.detail-missing {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  text-align: center;
}
.detail-missing p { margin-top: 1rem; color: var(--gunmetal); opacity: 0.8; }

.cta--detail { margin-top: clamp(1rem, 3vw, 2rem); }

@media (max-width: 699px) {
  .detail-gallery__grid { grid-template-columns: 1fr; }
}

/* ============ OTRAS COSAS DE COMANDA ============ */

.section--extras { background: var(--snow); }

.section--extras .section__lead {
  color: var(--gunmetal);
  opacity: 0.75;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.videos {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  background: var(--gunmetal);
  box-shadow: 0 10px 30px rgba(39, 46, 68, 0.18);
}
.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__title {
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gunmetal);
}

.videos__more {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.btn--ghost-dark {
  border-color: rgba(39, 46, 68, 0.35);
  color: var(--gunmetal);
  background: transparent;
}
.btn--ghost-dark:hover { border-color: var(--tangerine); color: #b04046; }

@media (max-width: 899px) {
  .videos { grid-template-columns: 1fr; max-width: 560px; }
}

/* ============ REDUCED MOTION ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
