/* =========================================
   Equipulse Landing - Estilos principales
   ========================================= */

:root {
  --azul-oscuro: #071a52;
  --azul: #0066ff;
  --azul-suave: #eef5ff;
  --naranja: #ff5a00;
  --gris: #5d6b85;
  --borde: #e7edf8;
  --blanco: #ffffff;
  --sombra: 0 18px 45px rgba(7, 26, 82, 0.12);
}

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

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--azul-oscuro);
  background: #ffffff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---- Layout ---- */
.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

/* ---- Header / Nav ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--borde);
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ---- Logo ---- */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-img--sm {
  height: 36px;
}

/* ---- Menu ---- */
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.menu a {
  position: relative;
  padding: 32px 0;
}

.menu a.active::after,
.menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 100%;
  height: 3px;
  background: var(--naranja);
  border-radius: 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff6a00, #f24c00);
  color: white;
  box-shadow: 0 14px 28px rgba(255, 90, 0, 0.25);
}

.btn-outline {
  background: white;
  color: var(--azul);
  border-color: rgba(0, 102, 255, 0.35);
}

/* ---- Hero Section ---- */
.hero {
  padding: 70px 0 68px;
  background:
    radial-gradient(circle at 5% 20%, rgba(0, 102, 255, 0.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255, 90, 0, 0.06), transparent 28%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.badge {
  display: inline-flex;
  padding: 6px 15px;
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.05);
  color: var(--azul);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -2.4px;
  color: var(--azul-oscuro);
  font-weight: 900;
}

h1 span {
  display: block;
  color: var(--naranja);
}

.hero p {
  margin-top: 24px;
  max-width: 540px;
  font-size: 18px;
  color: #2e3a5b;
  line-height: 1.75;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 800;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--azul);
  color: white;
}

.actions {
  display: flex;
  gap: 18px;
  margin-top: 36px;
}

.note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--gris);
  font-size: 13px;
}

/* ---- Dashboard Demo ---- */
.video-wrapper {
  position: relative;
}

.video-card {
  background: white;
  border: 1px solid var(--borde);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.video-card lite-youtube {
  display: block;
  width: 100%;
  max-width: 100%;
  background-color: #000;
}

/* El shadow DOM de lite-youtube fija el aspect-ratio, pero solo una vez que
   el custom element está definido. Hasta entonces reservamos la caja. */
.video-card lite-youtube:not(:defined) {
  aspect-ratio: 16 / 9;
}

.dashboard {
  min-height: 500px;
  display: grid;
  grid-template-columns: 145px 1fr;
  background: white;
  position: relative;
}

.sidebar {
  border-right: 1px solid var(--borde);
  padding: 24px 16px;
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 22px;
  color: var(--azul-oscuro);
}

.side-menu {
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: #56627a;
  font-weight: 700;
}

.side-menu li {
  padding: 8px 10px;
  border-radius: 8px;
}

.side-menu .selected {
  background: var(--azul-suave);
  color: var(--azul);
}

.dash-content {
  padding: 22px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 900;
  font-size: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.metric {
  border: 1px solid var(--borde);
  border-radius: 11px;
  padding: 15px;
}

.metric small {
  display: block;
  color: #5d6b85;
  font-size: 10px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin: 5px 0;
  font-size: 25px;
  color: var(--azul);
}

.widgets {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-bottom: 16px;
}

.widget {
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 16px;
  background: white;
}

.widget h4 {
  font-size: 13px;
  margin-bottom: 14px;
}

.line-chart {
  height: 125px;
  border-radius: 10px;
  background:
    linear-gradient(to bottom, transparent 24%, #eef2fa 25%, transparent 26%),
    linear-gradient(to bottom, transparent 49%, #eef2fa 50%, transparent 51%),
    linear-gradient(to bottom, transparent 74%, #eef2fa 75%, transparent 76%);
  position: relative;
}

.line-chart svg {
  position: absolute;
  inset: 15px 10px;
  width: calc(100% - 20px);
  height: calc(100% - 30px);
}

.donut-layout {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 14px;
}

.donut {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: conic-gradient(#0066ff 0 48%, #ff8a00 48% 63%, #20a779 63% 82%, #11b4d8 82% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: white;
}

.legend {
  display: grid;
  gap: 7px;
  font-size: 10px;
  color: #5d6b85;
  font-weight: 700;
}

.legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--azul);
}

.legend span:nth-child(2)::before { background: #ff8a00; }
.legend span:nth-child(3)::before { background: #20a779; }
.legend span:nth-child(4)::before { background: #11b4d8; }

.table {
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 16px;
  font-size: 11px;
}

.table h4 {
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #edf2fa;
}

th {
  color: #76819b;
  font-size: 9px;
}

.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

.play {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid white;
}

.bar {
  flex: 1;
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  position: relative;
}

.bar::before {
  content: "";
  position: absolute;
  width: 14%;
  height: 100%;
  background: white;
  border-radius: inherit;
}

.caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gris);
  font-weight: 650;
}

/* ---- Sections ---- */
.section {
  padding: 54px 0;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: auto;
}

.section-title h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -1.2px;
  font-weight: 900;
}

.line {
  width: 36px;
  height: 3px;
  background: var(--naranja);
  border-radius: 20px;
  margin: 16px auto 0;
}

/* ---- Features ---- */
.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 48px;
}

.feature {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20px;
  width: 1px;
  height: 150px;
  background: var(--borde);
}

.feature-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--azul-suave);
  color: var(--azul);
  font-size: 34px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 900;
}

.feature p {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.75;
}

/* ---- Benefits ---- */
.benefits {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 56px;
}

.benefits h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.3px;
  font-weight: 900;
}

.benefits .line {
  margin-left: 0;
}

.benefit-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 26px 0;
  font-weight: 650;
  color: #263657;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--naranja);
  color: white;
}

/* ---- Benefits image ---- */
.benefits-img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra);
  align-self: stretch;
}

.benefits-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Testimonials ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 38px;
}

.testimonial {
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(7, 26, 82, 0.05);
}

.quote {
  color: var(--naranja);
  font-size: 42px;
  font-weight: 900;
  line-height: 0.7;
  margin-bottom: 18px;
}

.testimonial p {
  color: #2f3e5e;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7edf8, #c9d4e6);
}

.author strong {
  display: block;
  font-size: 14px;
}

.author span {
  font-size: 12px;
  color: var(--gris);
  font-weight: 700;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d2df;
}

.dots span:first-child {
  background: var(--naranja);
}

/* ---- Precios ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  background: white;
  border: 1px solid var(--borde);
  border-radius: 18px;
  box-shadow: var(--sombra);
}

.price-card.dark {
  color: white;
  background: linear-gradient(135deg, var(--azul-oscuro), var(--azul));
  border-color: transparent;
}

.price-card.recommended {
  transform: scale(1.04);
  border: 2px solid var(--naranja);
  z-index: 1;
}

.rec-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--naranja);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.p-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--azul);
}

.dark .p-badge {
  color: rgba(255, 255, 255, 0.7);
}

.p-name {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.p-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 10px;
}

.p-price .amount {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.p-price .period {
  font-size: 15px;
  font-weight: 700;
  color: var(--gris);
}

.dark .p-price .period {
  color: rgba(255, 255, 255, 0.65);
}

.p-who {
  margin-top: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--borde);
  font-size: 13px;
  line-height: 1.6;
  color: var(--gris);
}

.dark .p-who {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
}

.p-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 26px;
}

.feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.feat.is-off {
  opacity: 0.55;
}

.feat .ok,
.feat .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.feat .ok {
  color: #1aa36f;
  background: rgba(26, 163, 111, 0.12);
}

.feat .no {
  color: var(--gris);
  background: rgba(93, 107, 133, 0.12);
}

.dark .feat .ok {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.16);
}

.dark .feat .no {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.p-cta {
  margin-top: auto;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
  background: var(--azul);
  color: white;
}

.dark .p-cta {
  background: white;
  color: var(--azul-oscuro);
}

.recommended .p-cta {
  background: linear-gradient(135deg, #ff6a00, #f24c00);
  color: white;
  box-shadow: 0 14px 28px rgba(255, 90, 0, 0.25);
}

.p-cta:hover {
  transform: translateY(-2px);
}

/* ---- Precios: tabla comparativa ---- */
.pricing-table-title {
  margin-top: 64px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.pricing-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--borde);
  border-radius: 14px;
}

.pricing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--borde);
}

.pricing-table thead th {
  background: var(--azul-suave);
  color: var(--azul-oscuro);
}

.pricing-table thead th:first-child {
  text-align: left;
}

.pt-name {
  display: block;
  font-size: 15px;
  font-weight: 900;
}

.pt-price {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gris);
}

.pricing-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--azul-oscuro);
}

.pt-group th {
  text-align: left;
  background: rgba(238, 245, 255, 0.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--azul);
}

.pt-yes {
  color: #1aa36f;
}

.pt-no {
  color: var(--gris);
  opacity: 0.45;
}

.pt-value {
  font-weight: 800;
  color: var(--azul-oscuro);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---- CTA Band ---- */
.cta-band {
  margin: 30px 0;
  padding: 24px 32px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: white;
  background: linear-gradient(135deg, var(--azul-oscuro), var(--azul));
  box-shadow: var(--sombra);
}

.cta-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.cta-band h2 {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.cta-band p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

/* ---- Footer ---- */
.footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--borde);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer p,
.footer span {
  color: var(--gris);
  font-size: 14px;
  font-weight: 600;
}

.footer a {
  color: var(--azul-oscuro);
  font-weight: 800;
  font-size: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .hero-grid,
  .benefits {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .feature::after {
    display: none;
  }

  .menu {
    display: none;
  }

  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  /* La tarjeta destacada deja de sobresalir: en 2 columnas descuadra la fila. */
  .price-card.recommended {
    transform: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    height: 76px;
  }

  .logo-img {
    height: 36px;
  }

  .nav > .btn {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .dashboard {
    grid-template-columns: 86px 1fr;
    min-height: 440px;
  }

  .sidebar {
    padding: 16px 8px;
  }

  .dash-logo {
    font-size: 0;
  }

  .side-menu {
    font-size: 0;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .widgets {
    grid-template-columns: 1fr;
  }

  .table {
    display: none;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .benefits-img-wrapper {
    min-height: 260px;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-heading {
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Modal
   ========================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 26, 82, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  background: white;
  border-radius: 18px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 64px rgba(7, 26, 82, 0.2);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--borde);
  background: white;
  color: var(--gris);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.modal-close:hover {
  background: var(--azul-suave);
  color: var(--azul);
  border-color: var(--azul);
}

/* ---- Modal header ---- */
.modal-header {
  margin-bottom: 28px;
}

.modal-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--azul-oscuro);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.6;
}

.plan-summary {
  display: grid;
  gap: 4px;
  margin: -8px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 102, 255, 0.16);
  border-radius: 10px;
  background: var(--azul-suave);
}

.plan-summary-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--azul);
}

.plan-summary strong {
  font-size: 18px;
  color: var(--azul-oscuro);
}

.plan-summary span:last-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--gris);
}

/* ---- Form fields ---- */
.modal-form {
  display: grid;
  gap: 18px;
}

.modal-feedback {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.modal-feedback.is-error {
  background: #fff3f1;
  border: 1px solid rgba(242, 76, 0, 0.18);
  color: #b03a00;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--azul-oscuro);
}

.field input,
.field select {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--borde);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--azul-oscuro);
  background: white;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field input::placeholder {
  color: #aab4c8;
}

.field input:focus,
.field select:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: #f24c00;
  box-shadow: 0 0 0 3px rgba(242, 76, 0, 0.12);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%235d6b85'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.field-error {
  font-size: 12px;
  font-weight: 600;
  color: #d94700;
}

.modal-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.modal-submit[disabled] {
  cursor: wait;
  opacity: 0.78;
}

/* ---- Success state ---- */
.modal-success {
  text-align: center;
  padding: 16px 0 8px;
}

.modal-success-icon {
  color: var(--naranja);
  margin: 0 auto 16px;
  display: block;
}

.modal-success h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--azul-oscuro);
  margin-bottom: 8px;
}

.modal-success p {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.6;
}

/* ---- Modal responsive ---- */
@media (max-width: 560px) {
  .modal {
    padding: 28px 20px;
  }
}
