:root {
  --bg: #07111f;
  --bg-2: #0b1628;
  --card: #172033;
  --card-2: #111b2d;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.56);
  --green: #00c875;
  --green-2: #7cff00;
  --orange: #ff7a2f;
  --blue: #071a3d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 117, 0.12), transparent 32rem),
    radial-gradient(circle at top right, rgba(255, 122, 47, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  overflow: hidden;
}

.section-padding {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* El logo dejo de necesitar PASTILLA BLANCA el 2026-09-06: el asset nuevo es la
   version modo-oscuro (palabra "Partidazo" en BLANCO) con fondo transparente.
   Sobre la pastilla blanca esa palabra quedaba en 1,09:1 = invisible.
   Los anchos bajan porque `box-sizing:border-box` es global (linea 22): al quitar
   el padding, el ancho declarado pasa a ser TODO imagen. Los valores nuevos son las
   cajas de contenido de antes, asi que el logo se ve del MISMO tamano que siempre.
   Medido: la tinta pasa de 155,2 a 155,3 px en la cabecera. */
.brand {
  display: inline-flex;
  align-items: center;
  width: 185px; /* 2026-09-06: el dueno lo quiso mas grande. 158 era el tamano historico. */
  padding: 8px 0; /* solo vertical: conserva el alto de la barra, que lo fijaba el brand */
}

.brand img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 12px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-cta {
  color: #04120d;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 12px 30px rgba(0, 200, 117, 0.25);
}

.nav-links .nav-cta:hover {
  color: #04120d;
  background: linear-gradient(135deg, var(--green-2), var(--green));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 52px;
  min-height: calc(100vh - 92px);
  padding-top: 72px;
  padding-bottom: 86px;
}

.hero-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}

.hero-bg-one {
  top: 10%;
  left: -12%;
  width: 280px;
  height: 280px;
  background: rgba(0, 200, 117, 0.16);
}

.hero-bg-two {
  right: -14%;
  bottom: 10%;
  width: 340px;
  height: 340px;
  background: rgba(255, 122, 47, 0.13);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--green-2);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orange-kicker {
  color: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7.2vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-cta-stack {
  margin-bottom: 28px;
}

.primary-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04120d;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 200, 117, 0.28);
  transition: 0.2s ease;
}

.primary-hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(0, 200, 117, 0.34);
}

.hero-cta-caption {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  /* min() y no 230px a secas: a 320 px de ancho la caja de contenido de
     .final-cta mide 232,8 px y el boton se iba a 242,4, saliendose 8,4 px
     por la derecha. Antes no se veia porque la tarjeta no tenia padding
     horizontal y todo iba a sangre. */
  min-width: min(230px, 100%);
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 255, 0, 0.45);
  background: rgba(0, 200, 117, 0.14);
}

.store-button strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.store-button small {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

/* BOTONES DE TIENDA (2026-09-07)
   Antes estos iconos eran CARACTERES DE TEXTO: U+F8FF (el logo de Apple, que solo
   existe en la fuente de sistema de dispositivos Apple -> en Windows y Android se
   veia un CUADRO VACIO) y U+25B6 (un triangulo geometrico cualquiera, que ni
   siquiera es el logo de Google Play). Por eso ya no hay font-size aqui: el
   contenido es un SVG propio.

   ⛔ NO poner aqui el logo de Apple ni el de Google Play. Las dos guias lo
   prohiben textualmente: Apple "Don't use the standalone Apple logo" y Google
   "Don't use the icon in marketing materials". Las dos OBLIGAN a usar su insignia
   oficial completa, que ya es el boton entero.
   ⛔ Y las insignias oficiales tampoco pueden ir todavia: la licencia de Apple
   cubre su artwork solo para apps "available for download on the App Store", y
   las dos exigen que la insignia ENLACE a la ficha real de la tienda. Hoy no hay
   app publicada y los enlaces son "#". Cuando se publique, ver
   docs-auditoria-meta/2026-09-07_botones-tienda.md: trae los URLs exactos de los
   assets y el codigo listo. */
.store-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green);
  flex: 0 0 auto;
}

.store-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: #03130d;
}

.hero-visual {
  min-height: 610px;
}

.phone-frame {
  position: absolute;
  right: 0;
  top: 28px;
  width: min(360px, 88vw);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 98px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #040b15;
  z-index: 2;
}

.phone-screen {
  min-height: 560px;
  padding: 60px 20px 22px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(0, 200, 117, 0.18), transparent 14rem),
    #07111f;
  overflow: hidden;
}

.app-top-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: var(--green);
  font-size: 30px;
}

.phone-screen h3 {
  margin-bottom: 8px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.phone-screen p {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.5;
}

.app-button {
  margin-bottom: 20px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #04120d;
  text-align: center;
  font-weight: 900;
}

.mini-card {
  margin-bottom: 14px;
  padding: 17px;
  border-radius: 22px;
  background: #172033;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.mini-card strong,
.mini-card span {
  display: block;
}

.mini-card strong {
  margin-bottom: 6px;
}

.mini-card span {
  color: var(--soft);
  font-size: 13px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.mini-tags small {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 800;
}

.mini-card.muted {
  opacity: 0.62;
}

.floating-card {
  position: absolute;
  left: 0;
  bottom: 44px;
  z-index: 5;
  width: min(360px, 86vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(23, 32, 51, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.match-card-top,
.panel-header,
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.live-pill {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(0, 200, 117, 0.15);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.match-price {
  color: var(--green-2);
  font-size: 20px;
  font-weight: 900;
}

.match-card h2 {
  margin: 18px 0 8px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.match-card p,
.preview-match-card p {
  color: var(--soft);
}

.match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.match-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.match-progress {
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.match-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-2));
}

.section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading-left {
  max-width: 760px;
  margin: 0 0 34px;
  text-align: left;
}

.section-heading h2,
.split-content h2,
.final-cta h2,
.why-heading h2,
.how-heading h2,
.availability-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5.3vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading p,
.split-content p,
.provider-panel p,
.final-cta p,
.why-heading p,
.how-heading p,
.availability-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.why-heading h2,
.how-heading h2,
.availability-heading h2 {
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.why-heading h2 span,
.availability-heading h2 span {
  color: var(--green);
}

.compact-heading {
  margin-bottom: 28px;
}

.how-section {
  padding-top: 18px;
}

.enhanced-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.enhanced-step-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(26, 56, 99, 0.88), rgba(24, 47, 80, 0.94));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.enhanced-step-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.enhanced-step-card:hover::after {
  opacity: 1;
}

.step-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.step-icon-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 200, 117, 0.22), rgba(124, 255, 0, 0.12));
  color: var(--green-2);
  box-shadow: 0 14px 30px rgba(0, 200, 117, 0.16);
}

.step-icon-badge svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-big-number {
  color: rgba(255, 255, 255, 0.14);
  font-size: 72px;
  line-height: 0.9;
  font-weight: 900;
}

.enhanced-step-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.enhanced-step-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.why-section {
  padding-top: 26px;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card-pro,
.highlight-panel,
.screen-card,
.preview-match-card,
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.feature-card-pro {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(18, 42, 77, 0.95), rgba(23, 32, 51, 0.95));
}

.feature-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 200, 117, 0.2), rgba(124, 255, 0, 0.1));
  color: var(--green-2);
  box-shadow: inset 0 0 0 1px rgba(124, 255, 0, 0.24), 0 12px 28px rgba(0, 200, 117, 0.12);
}

.feature-card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card-icon svg.feature-fill {
  fill: currentColor;
  stroke: none;
}

.feature-card-icon svg.feature-fill-bell {
  fill: currentColor;
  stroke: none;
}

.feature-card-icon svg.feature-fill-bell .bell-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card-icon svg.feature-fill-people {
  fill: currentColor;
  stroke: none;
}

.feature-card-pro h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.feature-card-pro p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Seccion "Ciudades". Rejilla de 2 columnas con TRES hijos: el encabezado y el
   bloque de razones+boton van en la columna izquierda (filas 1 y 2) y la tarjeta
   ocupa la derecha entera. El orden del DOM es encabezado -> tarjeta -> razones,
   que es justo el que hace falta cuando en movil se apila a una sola columna:
   primero se ve la ciudad y despues el boton. */
.availability-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: 28px 28px;
  padding-top: 34px;
}

.availability-heading {
  grid-column: 1;
  grid-row: 1;
  max-width: 640px;
}

.availability-card-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.city-extra {
  grid-column: 1;
  grid-row: 2;
  max-width: 640px;
}

.city-availability-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #0d1a2c;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.city-availability-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Velo inferior: sin el, "QUITO" en blanco cae sobre la ciudad iluminada de la
   foto y pierde contraste. Solo cubre el tercio de abajo. */
.city-availability-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, rgba(4, 12, 24, 0) 0%, rgba(4, 12, 24, 0.62) 52%, rgba(4, 12, 24, 0.92) 100%);
  pointer-events: none;
}

.city-status-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(124, 255, 0, 0.28);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.city-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 3px rgba(124, 255, 0, 0.18);
}

.city-card-overlay {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
}

.city-card-overlay h3 {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.city-card-overlay p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.city-card-overlay svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--green-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Las 3 razones. Hermanas pequenas de .feature-card-icon (58/30/18). */
.city-highlights {
  display: grid;
  /* auto-fit y no repeat(3): entre 981 y 1192px la columna izquierda no da para las
     3 en fila (la fila pide 559,6px y solo hay 453-576) y se partia SOLO UNA a dos
     lineas, que es lo que peor se ve. Asi baja a 2 columnas de una pieza. */
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.city-highlights li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}

.city-highlight-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 200, 117, 0.2), rgba(124, 255, 0, 0.1));
  color: var(--green-2);
  box-shadow: inset 0 0 0 1px rgba(124, 255, 0, 0.24);
}

.city-highlight-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.city-highlight-icon svg.city-icon-fill {
  fill: currentColor;
  stroke: none;
}

.city-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 16px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04120d;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0, 200, 117, 0.28);
  transition: 0.2s ease;
}

.city-cta:hover {
  background: linear-gradient(135deg, var(--green-2), var(--green));
  transform: translateY(-1px);
}

.city-cta svg {
  flex: none;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  align-items: center;
  gap: 44px;
}

.split-section.reverse {
  grid-template-columns: 0.86fr 1fr;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list div {
  display: flex;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.feature-list strong {
  color: var(--text);
}

.feature-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 200, 117, 0.16);
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon svg.feature-fill {
  fill: currentColor;
  stroke: none;
}

.two-column-list {
  grid-template-columns: 1fr 1fr;
}

.highlight-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(0, 200, 117, 0.2), transparent 16rem),
    rgba(23, 32, 51, 0.74);
}

.panel-header {
  margin-bottom: 22px;
}

.panel-header span {
  color: var(--soft);
  font-weight: 800;
}

.panel-header strong {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0, 200, 117, 0.15);
  color: var(--green);
  font-size: 13px;
}

.panel-match {
  padding: 22px;
  border-radius: 24px;
  background: rgba(7, 17, 31, 0.82);
}

.panel-match h3,
.provider-panel h3 {
  margin-bottom: 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.panel-match p {
  color: var(--soft);
}

.panel-row {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-row span {
  color: var(--soft);
}

.green-text {
  color: var(--green);
}

.provider-panel {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.outline-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s ease;
}

.outline-button {
  margin-top: 16px;
  border: 1px solid rgba(124, 255, 0, 0.45);
  color: var(--green-2);
  background: rgba(0, 200, 117, 0.08);
}

.outline-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
}

.app-section {
  position: relative;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.screen-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(23, 32, 51, 0.72);
}

.screen-card img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center;
  padding: 10px 10px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.featured-screen img {
  height: 520px;
}

.screen-card div {
  flex: 1;
  padding: 22px;
}

.screen-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.screen-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.preview-list {
  display: grid;
  gap: 14px;
}

.preview-match-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(23, 32, 51, 0.8);
}

.preview-date {
  display: grid;
  place-items: center;
  min-height: 84px;
  border-radius: 20px;
  background: rgba(0, 200, 117, 0.14);
  color: var(--green);
  font-weight: 900;
}

.preview-match-card h3 {
  margin-bottom: 7px;
  font-size: 22px;
}

.preview-match-card p {
  margin-bottom: 0;
}

.preview-match-card > strong {
  color: var(--green);
  white-space: nowrap;
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(23, 32, 51, 0.72);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.faq-question span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 200, 117, 0.14);
  color: var(--green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  max-height: 260px;
}

.faq-item.is-open .faq-question span {
  transform: none;
}

/* Esta tarjeta NO tenia padding horizontal en ningun breakpoint: solo
   padding-top/bottom. Como si tiene borde y fondo, el texto quedaba pegado al
   borde (medido: 0,8 px, que es el propio borde de 1 px). El resto de tarjetas
   del sitio si lo tienen, y siguen la misma logica: radio 22 -> padding 24,
   radio 34 -> padding 28. Esta tiene radio 36.

   El valor es un clamp y no un numero fijo por una razon MEDIDA: al estrechar
   la columna de texto, el titular pasa de 2 a 3 lineas. Con 36 px fijos eso
   ocurria ya a 420 px de ancho; con el clamp el movil baja a 24 px y el titular
   aguanta en 2 lineas. De 1280 px en adelante da 36,8 px, igual que el fijo. */
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 20px;
  margin-bottom: 46px;
  padding: 46px clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(0, 200, 117, 0.18), rgba(255, 122, 47, 0.1)),
    rgba(255, 255, 255, 0.05);
}

/* Sin esto, a 320 px el contenido se salia 8,4 px por la derecha y el padding
   quedaba asimetrico (24,8 izq / 15,6 der). La causa no era el padding sino que
   una pista `1fr` no baja del min-content de sus hijos: el track media 242,4 px
   dentro de una caja de 234,8. `min-width: 0` le permite encogerse.
   Medido en 9 anchos de 320 a 1440: solo cambia el caso de 320 y no recorta
   ningun texto. */
.final-cta > * {
  min-width: 0;
}

.final-cta h2 {
  max-width: 640px;
}

.final-cta p {
  max-width: 690px;
  margin-bottom: 0;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 164px;
}

.footer-brand p,
.copyright {
  color: var(--soft);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--green);
  transition: 0.2s ease;
}

/* Ojo: este hover NO puede repintar el fondo. El fondo es ahora el color
   OFICIAL de cada marca, y `.footer-social a:hover` le gana por especificidad
   a `.footer-social--whatsapp`: pintarlo de verde aqui borraria el color de
   marca justo al pasar el raton. */
.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  display: block;
}

/* Mismos colores oficiales que las tarjetas de contacto: la misma marca no
   puede verse de dos formas en la misma pagina.
   Van con `a.` delante A PROPOSITO: `.footer-social a` ya fija un fondo
   translucido y con (0,1,1) le ganaria a una clase suelta (0,1,0), asi que
   los colores de marca no se aplicarian. */
.footer-social a.footer-social--whatsapp {
  background: #25d366;
}

.footer-social a.footer-social--instagram {
  background: radial-gradient(
    circle at 28% 100%,
    #ffd600 0%,
    #ff7a00 22%,
    #ff0069 45%,
    #d300c5 65%,
    #7638fa 100%
  );
}

.footer-social a.footer-social--facebook {
  background: #0866ff;
}

.footer-social a.footer-social--correo {
  background: #3a4b63;
}

/* El hover ya no puede repintar el icono (el color vive en el badge): en su
   lugar se ilumina un poco y sube, que es lo que ya hacia. */
.footer-social a:hover,
.contact-link-card:hover .contact-link-icon {
  filter: brightness(1.12);
}

.copyright {
  margin: 0;
  font-size: 14px;
}

.invite-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
}

.invite-modal[hidden] {
  display: none;
}

.invite-card {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #172033;
  box-shadow: var(--shadow);
  text-align: center;
}

.invite-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.invite-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--green);
  font-size: 34px;
}

.invite-card h2 {
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.invite-card p {
  color: var(--muted);
  line-height: 1.65;
}

.invite-code {
  display: none;
  margin: 18px 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--green-2);
  font-weight: 900;
  word-break: break-all;
}

.invite-code:not(:empty) {
  display: block;
}

.primary-button {
  width: 100%;
  margin-top: 6px;
  background: var(--green);
  color: #04120d;
}

.legal-page {
  min-height: 100vh;
  padding: 42px 0;
}

.legal-container {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(23, 32, 51, 0.76);
}

/* Cubre las 5 paginas secundarias: privacy, terms, equipo, partido y friend-invite. */
.legal-container img {
  width: 174px;
  margin-bottom: 28px;
}

.legal-container h1 {
  font-size: clamp(34px, 6vw, 54px);
}

.legal-container h2 {
  margin-top: 30px;
}

.legal-container p,
.legal-container li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-container a {
  color: var(--green-2);
  font-weight: 800;
}


.legal-container ul {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.legal-container li + li {
  margin-top: 8px;
}

.legal-table-wrap {
  width: 100%;
  margin: 20px 0 24px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.45);
}

.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-align: left;
  line-height: 1.45;
}

.legal-table th {
  color: var(--text);
  background: rgba(0, 200, 117, 0.1);
  font-weight: 900;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 1080px) {
  .feature-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .enhanced-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 80px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(11, 22, 40, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .hero,
  .availability-section,
  .split-section,
  .split-section.reverse,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 680px;
  }

  .phone-frame {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(2deg);
  }

  .floating-card {
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
  }

  /* A una columna hay que soltar la colocacion explicita de la rejilla, si no
     los tres hijos se pelean por la fila 1 y se superponen. */
  .availability-heading,
  .availability-card-wrap,
  .city-extra {
    grid-column: auto;
    grid-row: auto;
  }

  .availability-card-wrap {
    justify-content: flex-start;
  }

  .city-availability-card {
    max-width: 640px; /* el mismo tope que .availability-heading y .city-extra: si no,
                         entre 678 y 980px la foto sobresalia hasta 293px del texto */
  }

  .screens-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-screen img,
  .screen-card img {
    height: 500px;
  }

  .final-cta {
    display: grid;
  }
}

@media (max-width: 680px) {
  .section-padding,
  .navbar,
  .site-footer {
    width: min(100% - 22px, var(--max-width));
  }

  .brand {
    width: 152px; /* sube en la misma proporcion que el de escritorio (185/158) */
  }

  /* En movil las 3 razones no caben en fila: pasan a columna. */
  .city-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .city-cta {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  /* Por debajo de ~335px el texto del boton no cabe en una linea (a 320 le faltan ~15px). */
  @media (max-width: 360px) {
    .city-cta {
      padding: 16px 16px;
      font-size: 12.8px;
      letter-spacing: 0;
    }
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .hero {
    gap: 28px;
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .hero-actions,
  .final-cta .hero-actions {
    width: 100%;
  }

  .store-button,
  .primary-hero-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 630px;
  }

  .phone-frame {
    width: min(330px, 96vw);
  }

  .phone-screen {
    min-height: 520px;
  }

  .floating-card {
    width: min(330px, 94vw);
  }

  .feature-cards-grid,
  .enhanced-steps-grid,
  .screens-grid,
  .two-column-list {
    grid-template-columns: 1fr;
  }


  .featured-screen img,
  .screen-card img {
    height: 520px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading,
  .section-heading-left {
    text-align: left;
  }

  .step-card {
    min-height: auto;
  }

  .preview-match-card {
    grid-template-columns: 1fr;
  }

  .preview-date {
    width: fit-content;
    min-height: auto;
    padding: 10px 14px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    width: 100%;
    justify-content: flex-start;
  }

  .legal-container {
    padding: 24px;
  }
}


/* Partners / Canchas section */
.partners-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 44px;
}

.partners-visual-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(0, 200, 117, 0.18), transparent 16rem),
    rgba(23, 32, 51, 0.74);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.partners-image-wrap {
  position: relative;
  min-height: 270px;
  overflow: hidden;
}

.partners-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.partners-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 31, 0.68));
  pointer-events: none;
}

.partners-status-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04120d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partners-visual-content {
  padding: 30px;
}

.partners-visual-content .section-kicker {
  max-width: 520px;
  line-height: 1.3;
}

.partners-card-title {
  margin-bottom: 18px;
  max-width: 430px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.partners-main-title {
  max-width: 690px;
  margin-bottom: 16px;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.partners-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.partners-benefits {
  margin-top: 28px;
}

.partners-benefits .feature-icon {
  color: var(--green);
  background: rgba(0, 200, 117, 0.16);
}

@media (max-width: 980px) {
  .partners-section {
    grid-template-columns: 1fr;
  }

  .partners-image-wrap img {
    height: 300px;
  }
}

@media (max-width: 680px) {
  .partners-image-wrap img {
    height: 240px;
  }

  .partners-visual-content {
    padding: 24px;
  }
}

/* Contact section */
.contact-section {
  padding-top: 84px;
  padding-bottom: 86px;
}

.contact-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.contact-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5.3vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.contact-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.contact-form-card,
.contact-info-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(0, 200, 117, 0.14), transparent 16rem),
    rgba(23, 32, 51, 0.74);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.contact-form-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.contact-form-row > label {
  min-width: 0;
}

.contact-form-row-contact {
  align-items: start;
}

.contact-form-card label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: 0.2s ease;
}

.contact-form-card input,
.contact-form-card select {
  min-height: 52px;
  padding: 0 16px;
}

.contact-form-card textarea {
  min-height: 145px;
  padding: 15px 16px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: rgba(0, 200, 117, 0.68);
  box-shadow: 0 0 0 4px rgba(0, 200, 117, 0.12);
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: var(--soft);
}

.phone-input-group {
  display: grid;
  /* auto y no minmax(142px,...): el boton compacto mide 119,6px y se ajusta a
     su contenido, asi que ya no puede recortarse como el <select> viejo. */
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  width: 100%;
}

.phone-input-group select,
.phone-input-group input {
  min-width: 0;
}

.field-error {
  min-height: 0;
  color: #ff8c7a;
  font-size: 12px;
  font-weight: 800;
}

.field-error:not(:empty) {
  min-height: 18px;
  margin-top: 2px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-card input.is-invalid,
.contact-form-card select.is-invalid,
.contact-form-card textarea.is-invalid {
  border-color: rgba(255, 122, 47, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.12);
}

.contact-submit-button {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04120d;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 200, 117, 0.22);
  transition: 0.2s ease;
}

.contact-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 200, 117, 0.28);
}

.contact-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.contact-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

/* Con resultado deja de ser una linea de texto y pasa a ser un aviso con
   cuerpo. Antes era del mismo tamano que el texto de ayuda y se perdia bajo el
   boton: el dueno pulsaba y creia que no habia pasado nada. */
.contact-form-status.is-success,
.contact-form-status.is-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
}

.contact-form-status svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  fill: currentColor;
}

.contact-form-status.is-success {
  border-color: rgba(0, 200, 117, 0.42);
  background: rgba(0, 200, 117, 0.12);
  color: var(--green-2);
}

.contact-form-status.is-error {
  border-color: rgba(255, 155, 122, 0.42);
  background: rgba(255, 155, 122, 0.1);
  color: #ff9b7a;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.contact-card-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-card h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.contact-info-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-links-grid {
  display: grid;
  gap: 12px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  transition: 0.2s ease;
}

.contact-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 255, 0, 0.36);
  background: rgba(0, 200, 117, 0.1);
}

/* ICONOS DE MARCA (2026-09-07)
   Glifos OFICIALES (Simple Icons, CC0) con los colores oficiales de cada marca.
   Antes iban todos recoloreados a verde Partidazo, que ademas de verse mal
   incumple las guias de Meta ("no cambies el color del logo") — justo en el
   sitio que Meta revisa.
   El badge ES el color de la marca y el glifo va BLANCO, que es la forma en que
   cada plataforma publica su icono de app. El correo NO tiene logo oficial: se
   le da un gris pizarra neutro a proposito, para que no compita con las tres
   marcas y para no insinuar que la direccion es de Gmail (es dominio propio). */
/* CIRCULAR, y no por gusto: la guia de Meta prohibe usar la "f" suelta — el
   circulo es obligatorio. Con el badge circular, lo que se ve ES el logo
   primario de Facebook (circulo azul + "f" blanca) sin alterarlo. De paso
   coincide con los iconos del pie, que ya eran circulos. */
.contact-link-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.contact-link-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.contact-link-icon--whatsapp {
  background: #25d366;
}

/* Degradado radial desde la esquina inferior izquierda, como el icono real. */
.contact-link-icon--instagram {
  background: radial-gradient(
    circle at 28% 100%,
    #ffd600 0%,
    #ff7a00 22%,
    #ff0069 45%,
    #d300c5 65%,
    #7638fa 100%
  );
}

.contact-link-icon--facebook {
  background: #0866ff;
}

.contact-link-icon--correo {
  background: #3a4b63;
}

.contact-link-card strong,
.contact-link-card small {
  display: block;
}

.contact-link-card strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.contact-link-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .contact-section {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 22px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  /* Ya NO se apila: el boton compacto y el numero caben en la misma fila
     incluso a 320px (al numero le quedan 94px utiles, de sobra para 10
     digitos). Apilar un boton de bandera a todo el ancho se veria peor. */
}

/* ---------------------------------------------------------------------------
   SELECTOR DE PAÍS DEL TELÉFONO (2026-09-06)
   Sustituye al <select> nativo, que recortaba su propia opción por defecto:
   "Ecuador +593" pide 110,1px y la columna le daba ~108.
   Las banderas son SVG (sprite en assets/banderas.svg, 107 KB con brotli, que
   se baja SOLO al abrir el selector). No se usa emoji: en Windows no hay
   glifos de bandera y salen pares de letras ("EC", "US"), y la fuente que los
   trae pesa 693 KB.
--------------------------------------------------------------------------- */

/* No existía ninguna utilidad de este tipo en el sitio. Sin ella, el texto
   para lectores de pantalla se pintaría VISIBLE dentro del formulario. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.phone-input-group {
  position: relative;
}

.country-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.country-trigger:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

/* El halo verde que usan los inputs da 1,23:1 contra la tarjeta: es invisible.
   WCAG 1.4.11 pide 3:1 para el indicador de foco, así que aquí va contorno. */
.country-trigger:focus-visible,
.country-search:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.country-flag {
  display: inline-flex;
  flex: none;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  /* Sin anillo: la bandera cubre la caja entera, asi que el inset solo se veia
     cuando el dibujo NO llegaba a los bordes, y entonces parecia un borde gris
     de mas. Pedido del dueno: que se vea igual en todos los paises. */
}

.country-flag-img {
  width: 100%;
  height: 100%;
}

.country-dial {
  font-variant-numeric: tabular-nums;
}

.country-chevron {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--soft);
}

.country-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  /* 40 y no 32: con 32 se sale 2px por la derecha a 320px y
     .page-shell{overflow:hidden} lo recorta en silencio. */
  width: min(320px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #0b1628;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.country-search {
  width: 100%;
  min-height: 42px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.country-list {
  max-height: 260px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.country-list li:hover,
.country-list li.is-active {
  background: rgba(0, 200, 117, 0.16);
}

.country-list li[aria-selected="true"] .country-item-dial {
  color: var(--green-2);
}

.country-item-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-item-dial {
  flex: none;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.country-empty {
  margin: 10px 4px 4px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

