/*
  Big Future Agency — Landing Desarrollo iOS
  Dark premium theme: Syne + DM Sans, indigo/cyan, glow effects.
  Completamente distinto a la landing de marketing (gads/), que usa fondo claro.
*/

:root {
  --ios-bg:            #08090d;
  --ios-surface:       #12141c;
  --ios-surface-alt:   #1a1d2b;
  --ios-surface-hover: #20243a;
  --ios-ink:           #e2e8f0;
  --ios-muted:         #94a3b8;
  --ios-border:        rgba(255, 255, 255, 0.07);
  --ios-border-hover:  rgba(99, 102, 241, 0.5);
  --ios-accent:        #6366f1;
  --ios-accent-rgb:    99, 102, 241;
  --ios-accent-dim:    rgba(99, 102, 241, 0.12);
  --ios-cyan:          #22d3ee;
  --ios-cyan-rgb:      34, 211, 238;
  --ios-glow:          rgba(99, 102, 241, 0.18);
  --ios-wa:            #25d366;
  --ios-wa-hover:      #20bd5a;
  --ios-wa-rgb:        37, 211, 102;
  --ios-font-display:  "Syne", system-ui, sans-serif;
  --ios-font-body:     "DM Sans", system-ui, sans-serif;

  /* Bootstrap overrides */
  --bs-body-bg:         var(--ios-bg);
  --bs-body-color:      var(--ios-ink);
  --bs-emphasis-color:  var(--ios-ink);
  --bs-secondary-color: var(--ios-muted);
  --bs-border-color:    var(--ios-border);
  --bs-link-color:      var(--ios-accent);
  --bs-link-hover-color: color-mix(in srgb, var(--ios-accent) 75%, #fff);
  --bs-heading-color:   var(--ios-ink);
}

/* ─── Base ─────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--ios-font-body);
  background-color: var(--ios-bg);
  color: var(--ios-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.ios-h1, .ios-h2, .ios-h3 {
  font-family: var(--ios-font-display);
  line-height: 1.25;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 4.5rem;
  }
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ─── Staggered fade-in ─────────────────────────────────────────────────── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease both;
}
.fade-in--1 { animation-delay: 0.08s; }
.fade-in--2 { animation-delay: 0.18s; }
.fade-in--3 { animation-delay: 0.28s; }
.fade-in--4 { animation-delay: 0.38s; }
.fade-in--5 { animation-delay: 0.48s; }

/* ─── Header ────────────────────────────────────────────────────────────── */

.ios-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ios-border);
}

.ios-logo-link {
  line-height: 0;
  text-decoration: none;
}

.ios-logo {
  height: 2.75rem;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  /* Logo pensado para fondo oscuro — se mantiene igual */
}

@media (min-width: 768px) {
  .ios-logo {
    height: 3.25rem;
    max-width: 300px;
  }
}

.ios-header-phone {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.ios-header-phone:hover,
.ios-header-phone:focus {
  color: #fff;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */

.ios-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ios-border);
}

.ios-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 80% 30%, rgba(99, 102, 241, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 15% 70%, rgba(34, 211, 238, 0.07) 0%, transparent 60%),
    var(--ios-bg);
}

/* Grain/noise overlay sutil */
.ios-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.5;
}

.ios-kicker {
  font-family: var(--ios-font-display);
}

.ios-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ios-cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  padding: 0.3em 0.85em;
}

.ios-h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ios-ink);
}

.ios-h1-accent {
  color: var(--ios-accent);
  position: relative;
}

.ios-subtitle {
  color: var(--ios-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 38rem;
}

.ios-bullets {
  color: var(--ios-ink);
}

.ios-bullet-check {
  color: var(--ios-accent);
  font-size: 1em;
}

.ios-hero-trust {
  color: var(--ios-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ─── iPhone Mockup (CSS puro) ──────────────────────────────────────────── */

.iphone-mockup {
  perspective: 1000px;
}

.iphone-body {
  position: relative;
  width: 230px;
  height: 470px;
  background: linear-gradient(145deg, #2a2a2e 0%, #1c1c1e 40%, #111113 100%);
  border-radius: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 80px var(--ios-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 12px;
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%   { transform: translateY(0px) rotate(-1deg); }
  50%  { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(-1deg); }
}

.iphone-notch {
  width: 90px;
  height: 26px;
  background: #0a0a0c;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  border-top: none;
}

.iphone-screen {
  width: 100%;
  flex: 1;
  background: linear-gradient(160deg, #0f1117 0%, #0a0c12 100%);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.iphone-screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 0 0;
}

.iphone-app-header {
  padding: 0 12px 8px;
}

.iphone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.55rem;
  font-family: var(--ios-font-display);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.iphone-nav-bar {
  font-family: var(--ios-font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: -0.01em;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.iphone-app-body {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iphone-metric-card {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
}

.iphone-metric-value {
  display: block;
  font-family: var(--ios-font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ios-accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.iphone-metric-label {
  display: block;
  font-size: 0.55rem;
  color: var(--ios-muted);
  letter-spacing: 0.02em;
  margin: 3px 0 8px;
}

.iphone-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.iphone-sparkline span {
  flex: 1;
  height: var(--h, 50%);
  background: var(--ios-accent);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.iphone-sparkline span:last-child {
  opacity: 1;
  background: var(--ios-cyan);
}

.iphone-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.iphone-list-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6rem;
  color: var(--ios-ink);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ios-border);
  border-radius: 8px;
  padding: 6px 10px;
}

.iphone-list-item span:nth-child(2) {
  flex: 1;
  color: var(--ios-muted);
}

.iphone-list-item strong {
  font-family: var(--ios-font-display);
  font-weight: 700;
  font-size: 0.65rem;
  color: var(--ios-ink);
}

.iphone-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.iphone-list-dot--accent { background: var(--ios-accent); }
.iphone-list-dot--cyan   { background: var(--ios-cyan); }
.iphone-list-dot--green  { background: var(--ios-wa); }

.iphone-cta-btn {
  background: linear-gradient(135deg, var(--ios-accent) 0%, color-mix(in srgb, var(--ios-accent) 70%, var(--ios-cyan)) 100%);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.6rem;
  font-family: var(--ios-font-display);
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.02em;
}

.iphone-home-indicator {
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin-top: 8px;
}

/* ─── Trust bar ─────────────────────────────────────────────────────────── */

.ios-trust-bar {
  background: var(--ios-surface);
  border-bottom: 1px solid var(--ios-border);
  border-top: 1px solid var(--ios-border);
}

.ios-trust-num {
  font-family: var(--ios-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ios-cyan);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.ios-trust-label {
  font-size: 0.78rem;
  color: var(--ios-muted);
  margin-top: 0.25rem;
}

/* ─── PAS ───────────────────────────────────────────────────────────────── */

.ios-pas {
  background-color: var(--ios-bg);
  border-bottom: 1px solid var(--ios-border);
}

.ios-section-kicker {
  font-family: var(--ios-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ios-accent);
}

.ios-pas-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ios-pas-item {
  padding-left: 1.1rem;
  border-left: 2px solid var(--ios-accent);
}

.ios-pas-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ios-accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.ios-pas-item p {
  color: var(--ios-muted);
  line-height: 1.65;
}

/* ─── Servicios ─────────────────────────────────────────────────────────── */

.ios-services {
  background: var(--ios-surface);
  border-bottom: 1px solid var(--ios-border);
}

.ios-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ios-ink);
}

.ios-section-sub {
  color: var(--ios-muted);
  max-width: 42rem;
  line-height: 1.6;
}

.ios-card {
  background: var(--ios-surface-alt);
  border: 1px solid var(--ios-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ios-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--ios-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ios-card:hover {
  border-color: var(--ios-border-hover);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 8px 32px rgba(99, 102, 241, 0.12);
  transform: translateY(-3px);
}

.ios-card:hover::before {
  opacity: 1;
}

.ios-card-icon {
  font-size: 1.75rem;
  color: var(--ios-accent);
  margin-bottom: 1rem;
  line-height: 1;
  display: block;
}

.ios-card-title {
  font-family: var(--ios-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ios-ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0;
}

.ios-card-text {
  font-size: 0.875rem;
  color: var(--ios-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Proceso: timeline luminoso ────────────────────────────────────────── */

.ios-process {
  background: var(--ios-bg);
  border-bottom: 1px solid var(--ios-border);
}

.ios-process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.ios-process-timeline::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 2.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--ios-accent), transparent);
  opacity: 0.4;
}

.ios-process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2.25rem;
  position: relative;
}

.ios-process-step:last-child {
  padding-bottom: 0;
}

.ios-process-num {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--ios-accent-dim);
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ios-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ios-accent);
  position: relative;
  z-index: 1;
}

.ios-process-content {
  padding-top: 0.4rem;
}

.ios-process-title {
  font-family: var(--ios-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ios-ink);
  margin-bottom: 0.4rem;
  letter-spacing: 0;
}

.ios-process-desc {
  color: var(--ios-muted);
  line-height: 1.65;
}

/* ─── CTA intermedia ────────────────────────────────────────────────────── */

.ios-mid-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 211, 238, 0.05) 100%);
  border-top: 1px solid var(--ios-border);
  border-bottom: 1px solid var(--ios-border);
}

.ios-mid-cta-lead {
  font-family: var(--ios-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ios-ink);
}

.ios-mid-cta-sub {
  color: var(--ios-muted);
  line-height: 1.6;
}

/* ─── Testimonios ───────────────────────────────────────────────────────── */

.ios-testimonials {
  background: var(--ios-surface);
  border-bottom: 1px solid var(--ios-border);
}

.ios-testimonial {
  background: var(--ios-surface-alt);
  border: 1px solid var(--ios-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.25s;
}

.ios-testimonial:hover {
  border-color: rgba(99, 102, 241, 0.25);
}

.ios-testimonial-stars {
  color: var(--ios-cyan);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.ios-testimonial-text {
  color: var(--ios-ink);
  line-height: 1.7;
}

.ios-testimonial-text strong {
  color: var(--ios-ink);
  font-weight: 600;
}

.ios-testimonial-author {
  color: var(--ios-muted);
  margin-top: 0.75rem;
  font-style: normal;
}

.ios-testimonial-author cite {
  font-style: normal;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */

.ios-faq {
  background: var(--ios-bg);
  border-bottom: 1px solid var(--ios-border);
}

.ios-accordion .accordion-item {
  background: var(--ios-surface);
  border-color: var(--ios-border);
}

.ios-accordion .accordion-button {
  background: var(--ios-surface);
  color: var(--ios-ink);
  font-family: var(--ios-font-body);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: none;
}

.ios-accordion .accordion-button:not(.collapsed) {
  background: var(--ios-surface-alt);
  color: var(--ios-accent);
  box-shadow: none;
}

.ios-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--ios-accent-rgb), 0.25);
}

.ios-accordion .accordion-button::after {
  filter: invert(1) opacity(0.5);
}

.ios-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(0.4) sepia(1) saturate(5) hue-rotate(220deg) opacity(0.8);
}

.ios-accordion .accordion-body {
  background: color-mix(in srgb, var(--ios-surface) 60%, var(--ios-bg));
  color: var(--ios-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ─── Contacto ──────────────────────────────────────────────────────────── */

.ios-contact {
  background: linear-gradient(160deg, #090b14 0%, #0c0f1e 55%, #07080f 100%);
  border-top: 1px solid var(--ios-border);
}

.ios-contact .ios-h2 {
  color: #fff;
}

.ios-contact-intro {
  color: #8892b0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ios-contact-phone {
  color: #8892b0;
  font-size: 0.88rem;
}

.ios-contact-phone-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
}

.ios-contact-phone-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.ios-contact-wa-link {
  color: #86efac;
  text-decoration: underline;
  text-decoration-color: rgba(134, 239, 172, 0.35);
  text-underline-offset: 2px;
}

.ios-contact-wa-link:hover {
  color: #bbf7d0;
}

.ios-contact .form-label {
  color: #d1d8f0;
  font-size: 0.88rem;
  font-weight: 500;
}

.ios-contact .form-control {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ios-ink);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ios-contact .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--ios-accent);
  box-shadow: 0 0 0 0.2rem rgba(var(--ios-accent-rgb), 0.25);
  color: var(--ios-ink);
}

.ios-contact .form-control::placeholder {
  color: #4a5568;
}

.ios-contact .invalid-feedback {
  color: #fca5a5;
}

.ios-contact .form-control.is-invalid {
  border-color: #f87171;
}

.ios-optional {
  color: #4a5568;
  font-size: 0.85em;
}

.ios-disclaimer {
  color: #4a5568;
}

/* ─── Botones ───────────────────────────────────────────────────────────── */

/* WhatsApp */
.btn-ios-wa {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ios-wa);
  --bs-btn-border-color: var(--ios-wa);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ios-wa-hover);
  --bs-btn-hover-border-color: var(--ios-wa-hover);
  --bs-btn-focus-shadow-rgb: var(--ios-wa-rgb);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ios-wa-hover);
  font-family: var(--ios-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Outline accent */
.btn-ios-outline {
  --bs-btn-color: var(--ios-accent);
  --bs-btn-border-color: rgba(99, 102, 241, 0.45);
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ios-accent);
  --bs-btn-hover-border-color: var(--ios-accent);
  --bs-btn-focus-shadow-rgb: var(--ios-accent-rgb);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ios-accent);
  font-family: var(--ios-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Primario contacto: indigo brillante */
.btn-ios-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ios-accent);
  --bs-btn-border-color: var(--ios-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--ios-accent) 85%, #000);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--ios-accent) 85%, #000);
  --bs-btn-focus-shadow-rgb: var(--ios-accent-rgb);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--ios-accent) 80%, #000);
  font-family: var(--ios-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 0 28px rgba(var(--ios-accent-rgb), 0.3);
}

.btn-ios-primary:hover {
  box-shadow: 0 0 36px rgba(var(--ios-accent-rgb), 0.45);
}

/* Outline claro sobre bloque oscuro */
.btn-ios-outline-light {
  --bs-btn-color: rgba(255, 255, 255, 0.85);
  --bs-btn-border-color: rgba(255, 255, 255, 0.2);
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.35);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.12);
  font-family: var(--ios-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Spinner en botones */
.btn-ios-primary .spinner-border {
  border-color: rgba(255, 255, 255, 0.3);
  border-right-color: #fff;
}

#form-submit:disabled {
  cursor: wait;
  opacity: 0.85;
}

/* ─── Alerts del formulario ─────────────────────────────────────────────── */

#form-alert.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

#form-alert.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ─── Sticky CTA móvil ──────────────────────────────────────────────────── */

.ios-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: rgba(10, 11, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ios-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.ios-sticky-inner .btn {
  min-height: 2.75rem;
}

.btn-ios-sticky-form {
  --bs-btn-color: rgba(255, 255, 255, 0.8);
  --bs-btn-border-color: rgba(255, 255, 255, 0.18);
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.3);
  font-family: var(--ios-font-display);
  font-weight: 600;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.ios-footer {
  background: #050608;
  border-top: 1px solid var(--ios-border);
}

.ios-footer-copy {
  color: #4a5568;
}

.ios-footer-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.ios-footer-link:hover {
  color: var(--ios-ink);
}

/* ─── Honeypot ──────────────────────────────────────────────────────────── */

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Scrollbar (WebKit) ─────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--ios-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.35);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.55);
}

/* ─── Focus visible accesible ───────────────────────────────────────────── */

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

/* ─── Selección de texto ────────────────────────────────────────────────── */

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

