/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1D3A83;
  --color-primary-light: #2A4FA3;
  --color-accent: #046bd2;
  --color-accent-hover: #0358b0;
  --color-dark: #0F1B3D;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #F0F5FA;
  --color-bg-dark: #0B1629;
  --color-gold: #D4A843;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --vh: 1vh;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  line-height: 1.2;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(4, 107, 210, 0.35);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
}

.btn--white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ========== SECTION LABELS ========== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-label--light {
  color: var(--color-gold);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title--light {
  color: #fff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-primary);
  transition: all 0.3s ease;
  padding: 0 0;
}

.header--scrolled {
  background: var(--color-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.header__logo {
  height: 36px;
  width: auto;
}

.header__logo-expo {
  height: 32px;
  width: auto;
  display: none;
}

.header__event-info {
  display: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  gap: 8px;
}

.header__separator {
  opacity: 0.4;
}

.header__cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 60%, #091126 100%);
  overflow: hidden;
  padding: 100px 20px 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(4, 107, 210, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 860px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  margin-bottom: 28px;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero__detail--light {
  color: rgba(255, 255, 255, 0.85);
}

.hero__detail svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ========== EVENTO ========== */
.evento {
  padding: 60px 0;
  text-align: center;
  background: var(--color-bg);
}

.evento__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  background: var(--color-dark);
  padding: 24px 40px;
  border-radius: 16px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.evento__logos-separator {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.evento__logo {
  height: 56px;
  width: auto;
}

.evento__text {
  font-size: 1.1rem;
  color: var(--color-text);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.evento__badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.evento__badge {
  background: var(--color-bg-alt);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 28px;
  min-width: 130px;
  transition: transform 0.2s ease;
}

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

.evento__badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.evento__badge-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.evento__invite {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========== CONFERENCIA ========== */
.conferencia {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 60%, #091126 100%);
  text-align: center;
}

.conferencia .section-title {
  color: #fff;
}

.conferencia .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.pilares {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 60px;
  text-align: left;
}

.pilar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pilar:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.pilar__icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 168, 67, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-gold);
}

.pilar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.pilar p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Beneficios */
.beneficios {
  text-align: left;
}

.beneficios__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 24px;
  text-align: center;
}

.beneficios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.beneficio {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.beneficio__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(212, 168, 67, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.beneficio strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}

.beneficio p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ========== SPEAKERS ========== */
.speakers {
  padding: 80px 0;
  background: var(--color-bg);
  text-align: center;
}

.speakers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
  justify-items: center;
}

.speaker {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: left;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.speaker:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(29, 58, 131, 0.12);
}

.speaker__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  flex-shrink: 0;
  margin-bottom: 20px;
}

/* Fallback avatar with initials (JS replaces img when no src) */
.speaker__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.speaker__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.speaker__role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(4, 107, 210, 0.07);
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.speaker__company {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 14px;
}

.speaker__bio {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-top: 0;
}

/* ========== FORMULARIO ========== */
.formulario {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
}

.formulario__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.formulario__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.formulario__reminder {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formulario__right {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form__group {
  margin-bottom: 18px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form__group input,
.form__group select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px; /* Prevents iOS zoom */
  font-family: var(--font);
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form__group select {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%2364748b" d="M6 8.825L.35 3.175 1.175 2.35 6 7.175l4.825-4.825.825.825z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__group input:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

.form__group input::placeholder {
  color: #94a3b8;
}

.form__legal {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ========== WORKSHOPS ========== */
.workshops {
  padding: 80px 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.workshops__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 40px 0;
}

.workshop {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.workshop__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold);
  background: rgba(212, 168, 67, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.workshop h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.workshop__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.workshop__meta span {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.workshop p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.workshops__acreditacion {
  margin-top: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.workshops__acreditacion p {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
  margin: 0;
}

.workshops__acreditacion .btn--outline {
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: 10px;
  border-width: 2px;
}

/* ========== CTA CIERRE ========== */
.cta-cierre {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  text-align: center;
}

.cta-cierre h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-cierre p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-bg-dark);
  padding: 40px 0 24px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  height: 32px;
  width: auto;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.footer__social a:hover {
  background: var(--color-accent);
  color: #fff;
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ========== HERO VIDEO ========== */
.hero__video {
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__video video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ========== HEADER ACTIONS ========== */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.header__web-link {
  display: none;
}

/* ========== FOOTER MAIN LINK ========== */
.footer__main-link {
  color: var(--color-accent);
  transition: color 0.2s;
}

.footer__main-link:hover {
  color: #fff;
}

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

/* Small phones (≤374px) */
@media (max-width: 374px) {
  .hero__title {
    font-size: 1.6rem;
  }

  .hero__badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .evento__badges {
    gap: 12px;
  }

  .evento__badge {
    padding: 14px 18px;
    min-width: 90px;
  }

  .evento__badge-number {
    font-size: 1.5rem;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .header__cta {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .cta-cierre h2 {
    font-size: 1.4rem;
  }
}

/* Tablet small (≥480px) */
@media (min-width: 480px) {
  .hero__details {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

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

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

  .header__web-link {
    display: inline-flex;
  }
}

/* Tablet (≥640px) */
@media (min-width: 640px) {
  .hero__title {
    font-size: 2.8rem;
  }

  .hero__details {
    gap: 28px;
  }

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

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

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

  .section-title {
    font-size: 2.2rem;
  }

  .formulario__right {
    padding: 36px 32px;
  }
}

/* Tablet landscape / small desktop (≥768px) */
@media (min-width: 768px) {
  .header__event-info {
    display: flex;
    align-items: center;
  }

  .header__logo-expo {
    display: block;
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__contact {
    flex-direction: row;
    gap: 24px;
  }

  .workshops__acreditacion {
    flex-direction: row;
    justify-content: center;
  }
}

/* Desktop (≥960px) */
@media (min-width: 960px) {
  .header__logo {
    height: 42px;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .hero__title {
    font-size: 3.2rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .pilares {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .speakers__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .speaker {
    width: calc(33.333% - 16px);
  }

  .formulario__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .formulario__right {
    padding: 40px 36px;
  }

  .cta-cierre h2 {
    font-size: 2.4rem;
  }
}

/* Large desktop (≥1200px) */
@media (min-width: 1200px) {
  .hero__title {
    font-size: 3.5rem;
  }
}

/* ========== TOUCH DEVICE FIXES ========== */
@media (hover: none) and (pointer: coarse) {
  .speaker:hover,
  .pilar:hover,
  .evento__badge:hover {
    transform: none;
    box-shadow: none;
  }

  .speaker {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  }

  .btn--accent:hover {
    transform: none;
    box-shadow: none;
  }

  /* Tap highlight */
  a, button {
    -webkit-tap-highlight-color: rgba(4, 107, 210, 0.1);
  }
}

/* ========== iOS Safari fixes ========== */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }

  input, select, button {
    font-size: 16px;
  }

  /* Prevent input zoom on focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select {
    font-size: 16px;
  }
}

/* ========== Safe areas for notched devices ========== */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .whatsapp-float {
    bottom: calc(24px + env(safe-area-inset-bottom));
    right: calc(24px + env(safe-area-inset-right));
  }

  .header__inner {
    padding-left: calc(20px + env(safe-area-inset-left));
    padding-right: calc(20px + env(safe-area-inset-right));
  }
}

/* ========== Landscape phone ========== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 20px 40px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__badge {
    margin-bottom: 16px;
  }
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Spinner para botón de envío */
@keyframes spin {
  to { transform: rotate(360deg); }
}
