* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* Aurora boreal — paleta de marca */
  --aurora-green: #28eea0;
  --aurora-teal: #12c9b8;
  --aurora-cyan: #3aa8e6;
  --aurora-violet: #6e44e6;
  --aurora-purple: #4a2dc4;
  --aurora-magenta: #e04bb0;
  --aurora-night: #01030c;
  --aurora-silver: #cfd8e3;
  --bg: var(--aurora-night);
  --surface: rgba(28, 28, 30, 0.78);
  --surface-2: rgba(38, 38, 40, 0.72);
  --crystal-bg: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 32%,
    rgba(255, 255, 255, 0.035) 62%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --crystal-border: rgba(255, 255, 255, 0.24);
  --crystal-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.46);
  --crystal-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.2);
  --menu-bg-solid: rgba(8, 10, 18, 0.92);
  --menu-bg-solid-mobile: rgba(8, 10, 18, 0.96);
  --border: rgba(207, 216, 227, 0.12);
  --border-hover: rgba(207, 216, 227, 0.22);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.68);
  --muted-2: rgba(207, 216, 227, 0.42);
  --accent: var(--aurora-green);
  --pink: var(--aurora-violet);
  --cyan: var(--aurora-teal);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --rainbow: linear-gradient(
    135deg,
    var(--aurora-green) 0%,
    var(--aurora-teal) 32%,
    var(--aurora-violet) 66%,
    var(--aurora-magenta) 100%
  );
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  /* iPhone notch / Dynamic Island, Android gestos, tablets */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 238, 160, 0.14), transparent 30%),
    radial-gradient(circle at 100% 8%, rgba(110, 68, 230, 0.18), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(18, 201, 184, 0.1), transparent 36%),
    var(--aurora-night);
  color: var(--text);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}
@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}
button,
.btn,
.intro-enter,
.intro-volume,
.cal-day.available,
.apple-menu-item,
.domain-option,
.option-card,
.service-option,
.service-head,
.service-direct,
.social-item,
.location-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(95px);
}
.glow-1 {
  width: 430px;
  height: 430px;
  background: rgba(40, 238, 160, 0.2);
  top: -120px;
  left: -100px;
}
.glow-2 {
  width: 450px;
  height: 450px;
  background: rgba(110, 68, 230, 0.18);
  right: -120px;
  top: 40px;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 80px 80px;
}
.wrapper,
.topbar {
  width: min(92%, 1320px);
}
.topbar {
  height: clamp(220px, 28vw, 360px);
  margin: 26px auto 0;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--aurora-night);
  line-height: 0;
}
.topbar-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.topbar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.02);
}
.wrapper {
  margin: 28px auto;
  margin-bottom: calc(60px + var(--safe-bottom));
}

/* Tablet: ancho intermedio (iPad, Android tablet, ventanas estrechas en escritorio) */
@media (min-width: 781px) and (max-width: 1100px) {
  .hero {
    padding: 40px 36px;
    gap: 28px;
  }
  .wrapper,
  .topbar {
    width: min(94%, 1320px);
  }
}
.hero,
.benefit-card,
.form-shell {
  border: 1px solid var(--crystal-border);
  background: var(--crystal-bg);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow:
    var(--crystal-highlight),
    var(--shadow);
}

/* Apple-like crystal effect for main frames and cards */
.topbar,
.benefit-card,
.form-shell,
.progress-box,
.step-card,
.summary-item,
.service-accordion,
.service-direct,
.option-card,
.upload-box,
.apple-calendar,
.state-section,
.location-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--crystal-border);
  background: var(--crystal-bg);
  backdrop-filter: blur(26px) saturate(165%) contrast(1.04);
  -webkit-backdrop-filter: blur(26px) saturate(165%) contrast(1.04);
  box-shadow:
    var(--crystal-highlight),
    var(--crystal-shadow);
}

.topbar::before,
.benefit-card::before,
.form-shell::before,
.progress-box::before,
.step-card::before,
.summary-item::before,
.service-accordion::before,
.service-direct::before,
.option-card::before,
.upload-box::before,
.apple-calendar::before,
.state-section::before,
.location-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      120% 80% at 10% -20%,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.1) 28%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.04) 22%,
      transparent 58%
    );
  mix-blend-mode: screen;
  opacity: 0.72;
}

.service-head,
.service-direct-btn,
.field-group,
.summary-box {
  border-color: var(--crystal-border);
}

.topbar {
  box-shadow: var(--shadow);
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  padding: 48px;
  border-radius: var(--radius-xl);
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(100, 210, 255, 0.3);
  background: rgba(100, 210, 255, 0.1);
  color: #aeeaff;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 26px;
}
.hero-left h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.055em;
}
.hero-left h1 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-teal), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-left p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 30px;
}
.btn {
  border: none;
  cursor: pointer;
  border-radius: 18px;
  padding: 16px 27px;
  font-weight: 800;
  font-size: 15px;
  min-height: 52px;
  position: relative;
  overflow: hidden;
  transform-origin: center;
  transition:
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    box-shadow 0.24s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.08) 34%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.3),
    0 6px 14px rgba(255, 255, 255, 0.08) inset;
}
.btn:hover::after {
  opacity: 1;
}
.btn:active {
  transform: translateY(0) scale(1.01);
}
.btn:focus-visible {
  outline: 2px solid rgba(40, 238, 160, 0.55);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--rainbow);
  color: var(--aurora-night);
  box-shadow: 0 18px 45px rgba(40, 238, 160, 0.24);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  border: 1px solid var(--border);
}
.hero-right {
  min-width: 0;
}

/* Aurora Club hero panel */
.club-hero-card {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)) padding-box,
    linear-gradient(135deg, rgba(40, 238, 160, 0.55), rgba(110, 68, 230, 0.55)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.club-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(110, 68, 230, 0.18), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(40, 238, 160, 0.18), transparent 70%);
  pointer-events: none;
}
.club-hero-card > * { position: relative; z-index: 1; }

.club-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.club-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-violet));
  box-shadow: 0 0 10px rgba(110, 68, 230, 0.7);
}
.club-hero-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.club-hero-title span {
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.club-hero-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.club-hero-plans {
  list-style: none;
  margin: 6px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.club-hero-plans li {
  padding: 14px 18px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(8, 9, 14, 0.85), rgba(12, 14, 22, 0.85)) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-violet)) border-box;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.club-hero-plans li:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(110, 68, 230, 0.18);
}
.club-hero-plan-feat {
  background:
    linear-gradient(135deg, rgba(40, 238, 160, 0.18), rgba(110, 68, 230, 0.18)) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-violet)) border-box !important;
  box-shadow: 0 14px 32px rgba(110, 68, 230, 0.22);
}
.club-hero-plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.club-hero-plan-head strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.club-hero-plan-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-violet));
  color: #050505;
}
.club-hero-plan-price {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.club-hero-plan-price small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 2px;
}
.club-hero-plan-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  display: block;
}
.club-hero-cta {
  margin-top: 4px;
  align-self: stretch;
  text-align: center;
}
.club-hero-fineprint {
  margin: 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

@media (max-width: 980px) {
  .club-hero-card { padding: 24px 22px 22px; }
  .club-hero-title { font-size: 26px; }
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.benefit-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  min-width: 0;
}
.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.info-card p {
  color: var(--muted);
  line-height: 1.85;
}
.social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.social-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.24s;
}
.social-item:hover,
.location-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.07);
}
.social-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.social-item span {
  font-size: 15px;
  font-weight: 750;
}
.location-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.24s;
}
.location-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
}
.location-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.location-icon.waze {
  background: rgba(255, 255, 255, 0.9);
}
.location-icon.google {
  background: rgba(255, 255, 255, 0.92);
}
.location-icon.apple {
  background: rgba(255, 255, 255, 0.92);
}
.location-card strong {
  display: block;
  font-size: 18px;
}
.location-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.hidden {
  display: none !important;
}
.form-shell {
  margin-top: 26px;
  padding: 30px;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 12px 22px 12px 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--aurora-night);
  letter-spacing: 0.01em;
  background: var(--rainbow);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 14px 32px rgba(40, 238, 160, 0.22);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.24s ease,
    filter 0.24s ease;
}
.btn-back-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 34%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn-back-home svg {
  display: block;
}
.btn-back-home svg polyline {
  stroke: var(--aurora-night) !important;
}
.btn-back-home:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 40px rgba(110, 68, 230, 0.32);
}
.btn-back-home:hover::after {
  opacity: 1;
}
.btn-back-home:active {
  transform: translateY(0) scale(1.01);
}
.btn-back-home:focus-visible {
  outline: 2px solid rgba(40, 238, 160, 0.55);
  outline-offset: 3px;
}
.progress-box {
  margin-bottom: 26px;
  border-radius: 28px;
  overflow: hidden;
  padding: 22px;
}
.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.progress-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--aurora-silver);
  margin-bottom: 6px;
}
.progress-head h3 {
  font-size: 24px;
}
.progress-number {
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}
.progress-bar {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--rainbow);
  transition: width 0.35s ease;
}
.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  padding: 30px;
  min-height: 430px;
  overflow: visible;
}
.step-title {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.055em;
  margin-bottom: 12px;
}
.step-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 26px;
}
.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field-group {
  min-width: 0;
  position: relative;
  overflow: visible;
}
.field-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  font-weight: 900;
  margin-bottom: 10px;
}
.field-hint {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
  font-size: 11px;
  margin-left: 6px;
}
.input-field,
.textarea-field,
.date-field {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  padding: 17px 18px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: 0.24s;
}

/* Apple-like select (used for Marca selector on mobile) */
select.input-field {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.input-field:focus,
.textarea-field:focus,
.date-field:focus {
  border-color: rgba(100, 210, 255, 0.44);
  box-shadow: 0 0 0 4px rgba(100, 210, 255, 0.1);
  background: rgba(255, 255, 255, 0.075);
}
.input-field::placeholder,
.textarea-field::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  position: relative;
  overflow: visible;
}
.email-domain-wrap {
  position: relative;
  overflow: visible;
}
.domain-btn {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.065);
  border-radius: 18px;
  padding: 17px 16px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.domain-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid var(--crystal-border);
  border-radius: 20px;
  background: var(--crystal-bg);
  background-color: var(--menu-bg-solid);
  backdrop-filter: blur(26px) saturate(165%) contrast(1.04);
  -webkit-backdrop-filter: blur(26px) saturate(165%) contrast(1.04);
  box-shadow:
    var(--crystal-highlight),
    0 26px 70px rgba(0, 0, 0, 0.38);
  z-index: 9999;
  overflow: hidden;
  max-height: 310px;
  overflow-y: auto;
  transform-origin: top;
  will-change: transform, opacity;
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  isolation: isolate;
  transition:
    opacity 0.22s ease,
    transform 0.26s cubic-bezier(0.2, 0.9, 0.2, 1),
    visibility 0s linear 0s;
}
.menu-hidden {
  opacity: 0;
  transform: translateY(-12px) scale(0.9);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
    visibility 0s linear 0.22s;
}
.domain-menu.menu-hidden,
.apple-menu.menu-hidden {
  max-height: 0;
  overflow: hidden;
}

/* Allow JS to set adaptive menu height */
.domain-menu,
.apple-menu {
  max-height: var(--menu-max-h, 310px);
}

/* Combobox (input + bubble menu) for Marca */
.apple-combobox {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 10px;
  align-items: center;
}
.apple-combobox-toggle {
  height: 100%;
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid var(--crystal-border);
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background 0.18s ease;
}
.apple-combobox-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.095);
}

.apple-menu-wrap {
  position: relative;
  overflow: visible;
}
.apple-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.apple-menu-btn-text {
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.apple-menu-btn-chevron {
  color: rgba(255, 255, 255, 0.78);
}
.apple-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid var(--crystal-border);
  border-radius: 20px;
  background: var(--crystal-bg);
  background-color: var(--menu-bg-solid);
  backdrop-filter: blur(26px) saturate(165%) contrast(1.04);
  -webkit-backdrop-filter: blur(26px) saturate(165%) contrast(1.04);
  box-shadow:
    var(--crystal-highlight),
    0 26px 70px rgba(0, 0, 0, 0.38);
  z-index: 9999;
  overflow: hidden;
  max-height: 310px;
  overflow-y: auto;
  /* Ensure all 4 corners stay rounded even with scrollbars (iOS/Chrome) */
  clip-path: inset(0 round 20px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform-origin: top;
  will-change: transform, opacity;
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  isolation: isolate;
  transition:
    opacity 0.22s ease,
    transform 0.26s cubic-bezier(0.2, 0.9, 0.2, 1),
    visibility 0s linear 0s;
}
.apple-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      120% 80% at 10% -20%,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.09) 28%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.04) 22%,
      transparent 60%
    );
  mix-blend-mode: screen;
  opacity: 0.75;
}
.apple-menu-item {
  padding: 14px 16px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.apple-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.domain-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      120% 80% at 10% -20%,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.09) 28%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.04) 22%,
      transparent 60%
    );
  mix-blend-mode: screen;
  opacity: 0.75;
}
.domain-menu::-webkit-scrollbar {
  width: 10px;
}
.domain-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.domain-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}
.domain-option {
  padding: 14px 16px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.domain-option:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.custom-domain {
  border-top: 1px solid var(--border);
  padding: 12px;
}
.custom-domain input {
  width: 100%;
  border: 1px solid var(--crystal-border);
  background: rgba(255, 255, 255, 0.07);
  color: white;
  border-radius: 12px;
  padding: 10px;
}

/* (removed) keyframe menu animation; bubble uses transitions now */
.hint {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.option-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  transition: 0.24s;
  min-width: 0;
}
.option-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.065);
  border-color: var(--border-hover);
}
.option-card.active {
  border-color: rgba(100, 210, 255, 0.65);
  background: rgba(100, 210, 255, 0.12);
  box-shadow: 0 18px 42px rgba(10, 132, 255, 0.12);
}
.option-card-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}
.option-card-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.service-accordion,
.service-direct {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.038);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.24s;
}
.service-accordion.open,
.service-direct.active {
  border-color: rgba(100, 210, 255, 0.48);
  background: rgba(100, 210, 255, 0.075);
}
.service-head,
.service-direct-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-head-main {
  min-width: 0;
}
.service-title {
  font-size: 18px;
  font-weight: 850;
}
.service-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
.service-price-inline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 8px;
  line-height: 1.45;
}
.service-chevron {
  color: var(--muted);
  font-size: 18px;
  transition: 0.24s;
}
.service-accordion.open .service-chevron {
  transform: rotate(180deg);
}
.service-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    transform 0.22s ease;
  will-change: max-height, opacity, transform;
}
.service-accordion.open .service-body {
  max-height: 360px;
  opacity: 1;
  transform: translateY(0);
}
.service-body-inner {
  padding: 0 14px 14px;
}
.service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.service-option {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: white;
  border-radius: 14px;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
  min-height: 48px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.18s ease;
}
.service-option:hover {
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}
.service-option.active {
  border-color: rgba(100, 210, 255, 0.58);
  background: rgba(100, 210, 255, 0.14);
}
.selected-price {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(100, 210, 255, 0.22);
  background: rgba(100, 210, 255, 0.08);
  color: #dff6ff;
  font-size: 14px;
  line-height: 1.55;
}
.service-help {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.pulido-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 179, 91, 0.45);
  background: linear-gradient(
    135deg,
    rgba(255, 179, 91, 0.16) 0%,
    rgba(110, 68, 230, 0.10) 100%
  );
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff5e6;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  animation: pulidoNoteIn 0.25s ease-out;
}
.pulido-note[hidden] {
  display: none;
}
.pulido-note-icon {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(255, 179, 91, 0.45));
}
.pulido-note-body {
  flex: 1;
  min-width: 0;
}
.pulido-note-body strong {
  color: #ffd9a8;
}
.pulido-note-body em {
  font-style: normal;
  color: #ffd9a8;
}
@keyframes pulidoNoteIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.state-section {
  margin-bottom: 24px;
  border-radius: 28px;
  padding: 18px;
}
.state-section:last-child {
  margin-bottom: 0;
}
.state-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  font-weight: 900;
  margin-bottom: 12px;
  padding-left: 4px;
  text-transform: uppercase;
}
.apple-calendar {
  width: 100%;
  max-width: 820px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 28px;
  padding: 22px;
  margin-bottom: 18px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cal-header button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.055);
  color: white;
  font-size: 22px;
  cursor: pointer;
}
.cal-header h3 {
  font-size: 22px;
}
.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cal-weekdays span {
  text-align: center;
  color: var(--muted-2);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 8px 0;
}
.cal-day {
  aspect-ratio: 1/1;
  border: 1px solid transparent;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-weight: 800;
  transition: 0.2s;
  min-height: 44px;
}
.cal-day.empty {
  background: transparent;
  cursor: default;
}
.cal-day.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.025);
}
.cal-day.available:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: var(--border-hover);
}
.cal-day.booked {
  background: linear-gradient(
    135deg,
    rgba(190, 90, 255, 0.55),
    rgba(255, 74, 194, 0.72)
  );
  color: white;
}
.cal-day.selected {
  background: var(--aurora-cyan);
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 26px rgba(10, 132, 255, 0.24);
}
.cal-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  display: inline-block;
  margin-right: 7px;
  background: rgba(255, 255, 255, 0.18);
}
.legend-booked {
  background: #d653ca;
}
.legend-selected {
  background: var(--aurora-cyan);
}
.textarea-field {
  min-height: 130px;
  resize: vertical;
}
.upload-box {
  margin-top: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}
.upload-box input {
  display: none;
}
.upload-label {
  display: inline-block;
  padding: 15px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  cursor: pointer;
}
.upload-note,
.step-tip {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.upload-tip {
  margin-top: 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
}
.upload-tip summary {
  cursor: pointer;
  padding: 12px 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
}
.upload-tip summary::-webkit-details-marker {
  display: none;
}
.upload-tip[open] summary {
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.upload-tip p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.upload-tip em {
  color: #e9edf7;
  font-style: normal;
  font-weight: 600;
}
#fotosError {
  margin-top: 12px;
  text-align: left;
}
#fotosError p {
  margin: 0 0 6px;
}
.file-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.file-tag {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.file-tag em.file-status {
  font-style: normal;
  font-size: 11.5px;
  opacity: 0.75;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.file-tag-error {
  border-color: rgba(255, 99, 99, 0.5);
  color: #ff9d9d;
  background: rgba(255, 99, 99, 0.08);
}
.file-tag-error em.file-status {
  background: rgba(255, 99, 99, 0.18);
  color: #ffb3b3;
}
.summary-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.summary-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  min-width: 0;
}
.summary-item h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 9px;
}
.summary-item p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.success-text {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 10px;
}
.final-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  align-items: flex-start;
}
.final-actions .btn {
  width: 100%;
  max-width: 360px;
}
.quote-review-panel {
  margin-top: 6px;
}
.review-block {
  margin-top: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.review-block-title {
  font-size: 15px;
  font-weight: 750;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.02em;
}
.review-state-desc {
  margin-bottom: 12px !important;
}
.quote-review-panel .input-grid,
.quote-review-panel .services-grid {
  margin-top: 0;
}
.review-cost-intro {
  margin-bottom: 12px;
}
.review-cost-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-cost-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}
.review-cost-name {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}
.review-cost-amt {
  flex-shrink: 0;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}
.review-cost-total {
  margin: 16px 0 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 132, 255, 0.12);
  border: 1px solid rgba(10, 132, 255, 0.28);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.review-cost-total-num {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.review-cost-disclaimer {
  margin-top: 4px;
}
.review-cost-disclaimer .hint {
  margin-top: 10px;
}

.field-optional {
  font-weight: 500;
  color: var(--muted-2);
  font-size: 0.85em;
  text-transform: none;
  letter-spacing: 0;
}
.referido-field {
  margin-top: 4px;
}

/* Popup captura de leads */
.lead-capture-overlay {
  position: fixed;
  inset: 0;
  z-index: 199990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(22px + var(--safe-top)) calc(22px + var(--safe-right))
    calc(22px + var(--safe-bottom)) calc(22px + var(--safe-left));
  background: rgba(6, 8, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.lead-capture-overlay.hidden {
  display: none !important;
}
.lead-capture-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 26px 22px 22px;
}
.lead-capture-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lead-capture-desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.lead-capture-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-capture-form .btn {
  width: 100%;
  margin-top: 4px;
}
.lead-capture-wa {
  text-align: center;
  text-decoration: none;
}
.lead-capture-success {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(40, 238, 160, 0.12);
  color: var(--aurora-green);
  font-size: 0.92rem;
  line-height: 1.5;
}
.lead-capture-success.hidden {
  display: none !important;
}

.thank-you-overlay {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(22px + var(--safe-top)) calc(22px + var(--safe-right))
    calc(22px + var(--safe-bottom)) calc(22px + var(--safe-left));
  background: rgba(6, 8, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.thank-you-panel {
  width: 100%;
  max-width: 460px;
  min-height: 0 !important;
  text-align: center;
  padding: 34px 28px 32px !important;
}
.thank-you-heading {
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-teal), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.thank-you-overlay.is-warning .thank-you-heading {
  background: linear-gradient(90deg, #ffb35b, var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
}
.thank-you-overlay.is-warning .thank-you-message {
  color: #fde7c2;
}
.thank-you-message {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 22px;
}
.thank-you-brand {
  margin: 8px 0 26px;
  display: flex;
  justify-content: center;
}
.thank-you-signature-img {
  max-width: min(360px, 100%);
  height: auto;
  display: block;
}
.thank-you-extras {
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.thank-you-review-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 100, 0.35);
  background: rgba(255, 215, 100, 0.08);
  color: #ffe9a8;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.thank-you-review-link:hover {
  background: rgba(255, 215, 100, 0.14);
  border-color: rgba(255, 215, 100, 0.55);
}
.thank-you-club-teaser {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.thank-you-club-teaser a {
  color: var(--aurora-violet);
  font-weight: 600;
  text-decoration: none;
}
.thank-you-club-teaser a:hover {
  text-decoration: underline;
}
.thank-you-close {
  margin: 0 auto;
}
.nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Ensure step content (menus) can overlay nav buttons */
.step-card {
  position: relative;
  z-index: 2;
}

/* Menus must always float above everything */
.domain-menu,
.apple-menu {
  z-index: 99999;
}

/* Open-up variant for menus when near bottom */
.domain-menu.menu-up,
.apple-menu.menu-up {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom;
}

.domain-menu.menu-up,
.apple-menu.menu-up {
  transform: translateY(0) scale(1);
}
.domain-menu.menu-up.menu-hidden,
.apple-menu.menu-up.menu-hidden {
  transform: translateY(12px) scale(0.9);
}

@media (max-width: 780px) {
  .domain-menu,
  .apple-menu {
    background-color: var(--menu-bg-solid-mobile);
  }
}
.error-message {
  margin-top: 16px;
  color: #ff9c9c;
  font-size: 14px;
  font-weight: 750;
}
@media (max-width: 1100px) {
  .hero,
  .benefits,
  .services-grid,
  .summary-box {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 780px) {
  .topbar {
    height: clamp(170px, 36vw, 230px);
    border-radius: 26px;
  }
  .hero {
    padding: 28px;
    border-radius: 26px;
  }
  .service-glance-grid,
  .input-grid,
  .option-grid,
  .service-options {
    grid-template-columns: 1fr;
  }
  .email-row {
    grid-template-columns: 1fr;
  }
  .domain-menu {
    position: relative;
    top: 8px;
  }
  .step-card,
  .form-shell {
    padding: 20px;
  }
  /* iOS/Android: ensure crystal frames stay rounded */
  .form-shell,
  .progress-box,
  .step-card,
  .apple-calendar,
  .state-section {
    border-radius: 26px !important;
    overflow: hidden !important;
    /* Safari/iOS: force proper clipping of pseudo-element/glass */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
  }
  /* Allow dropdown menus to expand fully inside step/form */
  .form-shell,
  .step-card {
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .social-list {
    grid-template-columns: 1fr;
  }
  .apple-calendar {
    padding: 14px;
  }
  .cal-weekdays,
  .cal-days {
    gap: 5px;
  }
  .cal-day {
    border-radius: 12px;
    min-height: 36px;
  }
  .nav-buttons .btn {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .wrapper,
  .topbar {
    width: calc(100% - 22px);
  }
  .topbar {
    height: clamp(140px, 44vw, 180px);
  }
  .hero-left h1 {
    font-size: 34px;
  }
  .hero-left p {
    font-size: 15px;
  }
  .btn {
    width: 100%;
  }
  .cal-header h3 {
    font-size: 18px;
  }
  .cal-header button {
    width: 38px;
    height: 38px;
  }
  .cal-day {
    font-size: 13px;
  }
  .benefit-card,
  .hero,
  .form-shell {
    border-radius: 22px;
  }
}

/* INTRO VIDEO */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
  box-sizing: border-box;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.intro-screen.intro-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none !important;
  opacity: 1 !important;
  background: #000;
}

/* On vertical mobile/tablet screens, show full video without crop */
@media (orientation: portrait) and (max-width: 1100px) {
  .intro-video {
    object-fit: contain;
  }
}

/* Extra safeguard for very tall screens */
@media (max-aspect-ratio: 9/16) {
  .intro-video {
    object-fit: contain;
  }
}

.intro-shade {
  display: none !important;
}

.intro-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.intro-enter {
  position: absolute;
  left: 50%;
  bottom: calc(var(--safe-bottom) + clamp(28px, 7vh, 78px));
  transform: translateX(-50%);
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  border-radius: 999px;
  padding: 15px 34px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.intro-enter:hover {
  transform: translateX(-50%) translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.intro-volume {
  position: absolute;
  top: calc(24px + var(--safe-top));
  right: calc(24px + var(--safe-right));
  z-index: 3;
  width: 46px;
  height: 46px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.intro-volume:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .intro-volume {
    top: calc(16px + var(--safe-top));
    right: calc(16px + var(--safe-right));
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .intro-enter {
    width: min(86%, 260px);
    text-align: center;
  }
}

/* SERVICIOS: animación suave y cierre manual */
.service-accordion,
.service-direct {
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}
.service-accordion.open {
  box-shadow: 0 18px 42px rgba(10, 132, 255, 0.1);
}
.service-body {
  will-change: max-height;
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}
.service-accordion:not(.open) .service-body {
  opacity: 0;
}
.service-accordion.open .service-body {
  opacity: 1;
  max-height: 520px;
}
.service-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-teal));
  color: #0a0a0c;
  font-size: 0.7rem;
  font-weight: 800;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(110, 231, 163, 0.18);
}
.service-head.has-selection {
  background: linear-gradient(
    135deg,
    rgba(110, 231, 163, 0.08),
    rgba(110, 231, 163, 0.02)
  );
}
.service-head.has-selection .service-title {
  color: var(--aurora-green);
}
.pack-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(165deg, rgba(20, 20, 28, 0.96), rgba(10, 10, 12, 0.96));
  border: 1px solid rgba(110, 231, 163, 0.45);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: calc(100vw - 32px);
  text-align: left;
  line-height: 1.4;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.pack-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pack-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-teal));
  color: #0a0a0c;
  font-weight: 800;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .pack-toast {
    font-size: 0.82rem;
    padding: 10px 14px;
    gap: 8px;
    bottom: 18px;
  }
}
.service-option {
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.22s ease,
    box-shadow 0.24s ease;
}
.service-option:hover {
  transform: translateY(-1px);
}
.service-option.active {
  box-shadow: 0 10px 24px rgba(100, 210, 255, 0.1);
}
.selected-price,
.service-price-inline {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
@media (max-width: 640px) {
  .intro-volume {
    top: 16px;
    right: 16px;
  }
  .intro-enter {
    width: min(86%, 260px);
  }
}

/* CALENDARIO FULL WIDTH */
.apple-calendar {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px 0 !important;
  padding: clamp(16px, 2vw, 24px);
}

.cal-days {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 10px);
}

.cal-day {
  min-width: 0;
  aspect-ratio: 1 / 1;
  border-radius: clamp(10px, 1.2vw, 16px);
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
}

.cal-day.available:hover {
  background: rgba(255, 255, 255, 0.075) !important;
}

.cal-day.disabled {
  background: rgba(255, 255, 255, 0.018) !important;
  color: rgba(255, 255, 255, 0.28) !important;
  opacity: 1;
}

.cal-day.booked {
  background: linear-gradient(
    135deg,
    rgba(190, 90, 255, 0.42),
    rgba(255, 74, 194, 0.58)
  ) !important;
  color: #fff;
}

.cal-day.selected {
  background: var(--aurora-cyan) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 26px rgba(10, 132, 255, 0.24);
}

/* Pulso de atención con la paleta del botón "Comenzar cotización"
   (gradient rainbow rosa + cian). Se aplica al llegar desde un sitelink
   de Google Ads y se quita por JS para no distraer durante la sesión. */
@keyframes aurora-attention-pulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 79, 216, 0.55),
      0 0 0 0 rgba(100, 210, 255, 0.4),
      0 12px 28px rgba(110, 68, 230, 0.2);
  }
  60% {
    transform: scale(1.045);
    box-shadow:
      0 0 0 14px rgba(255, 79, 216, 0),
      0 0 0 22px rgba(100, 210, 255, 0),
      0 16px 36px rgba(110, 68, 230, 0.26);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 79, 216, 0),
      0 0 0 0 rgba(100, 210, 255, 0),
      0 12px 28px rgba(110, 68, 230, 0);
  }
}

.social-item.attention-pulse,
.location-card.attention-pulse {
  position: relative;
  z-index: 1;
  animation: aurora-attention-pulse 1.6s ease-out 0s 4;
  will-change: transform, box-shadow;
}

@media (prefers-reduced-motion: reduce) {
  .social-item.attention-pulse,
  .location-card.attention-pulse {
    animation: none;
    box-shadow:
      0 0 0 2px rgba(255, 79, 216, 0.55),
      0 0 0 5px rgba(100, 210, 255, 0.35);
  }
}

/* Barra de total referencial durante el cotizador */
.quote-estimate-bar {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(100, 210, 255, 0.32);
  background: linear-gradient(
    135deg,
    rgba(100, 210, 255, 0.12) 0%,
    rgba(110, 68, 230, 0.08) 100%
  );
}
.quote-estimate-bar.hidden {
  display: none !important;
}
.quote-estimate-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.quote-estimate-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.quote-estimate-amount {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-teal), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.quote-estimate-hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* Botón flotante WhatsApp */
.wa-fab {
  position: fixed;
  z-index: 99990;
  right: calc(18px + var(--safe-right));
  bottom: calc(18px + var(--safe-bottom));
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 14px 36px rgba(37, 211, 102, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.wa-fab.hidden {
  display: none !important;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 18px 42px rgba(37, 211, 102, 0.42),
    0 6px 16px rgba(0, 0, 0, 0.38);
}
.wa-fab img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

@media (max-width: 780px) {
  .form-shell:not(.hidden) {
    padding-bottom: 88px;
  }
  .wa-fab {
    width: 54px;
    height: 54px;
    right: calc(14px + var(--safe-right));
    bottom: calc(14px + var(--safe-bottom));
  }
}

/* Aurora Club (home + página) */
.club-home {
  margin-top: 22px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(40, 238, 160, 0.25);
  background:
    linear-gradient(135deg, rgba(40, 238, 160, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.club-home-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}
.club-home-inner h2 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.club-home-inner p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
}
.club-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.club-plan-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 22px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)) padding-box,
    linear-gradient(135deg, rgba(40, 238, 160, 0.45), rgba(110, 68, 230, 0.45)) border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.club-plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 100% 0%, rgba(110, 68, 230, 0.14), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(40, 238, 160, 0.14), transparent 70%);
  pointer-events: none;
}
.club-plan-card > * { position: relative; z-index: 1; }
.club-plan-media {
  margin: -26px -24px 18px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.4);
  display: block;
}
.club-plan-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.club-plan-card:hover .club-plan-media img {
  transform: scale(1.04);
}
.club-plan-feat {
  background:
    linear-gradient(160deg, rgba(40, 238, 160, 0.10), rgba(110, 68, 230, 0.10)) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-violet)) border-box;
  box-shadow: 0 22px 60px rgba(110, 68, 230, 0.22);
}
.club-plan-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.club-plan-price {
  margin: 0 0 4px;
  font-weight: 800;
  color: var(--text);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.club-plan-save {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--aurora-green);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.club-scarcity {
  margin: -8px 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(110, 68, 230, 0.12);
  color: #ffb3df;
  font-size: 0.9rem;
}
.club-plan-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  text-decoration: none;
  border-radius: 999px;
}
.club-plan-card ul.seo-list {
  flex: 1;
}
.club-page h1 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 700px) {
  .club-plans {
    grid-template-columns: 1fr;
  }
}
.club-faq {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.club-faq-title {
  font-size: 1.25rem;
  margin: 0 0 16px;
}
.club-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  padding: 0 16px;
}
.club-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.club-faq-item summary::-webkit-details-marker {
  display: none;
}
.club-faq-item p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Galería antes/después */
.gallery-section {
  margin-top: 36px;
  padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(155, 124, 255, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.025);
}
.gallery-head {
  text-align: center;
  margin-bottom: 24px;
}
.gallery-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.gallery-head h2 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gallery-head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.gallery-pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
@media (min-width: 1100px) {
  .gallery-pairs {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .gallery-pairs {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery-pair {
    padding: 8px;
    gap: 8px;
  }
  .pair-thumb {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 520px) {
  .gallery-section {
    padding: 20px 14px 18px;
  }
  .pair-thumb {
    aspect-ratio: 4 / 3;
  }
}
.gallery-pair {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-md);
  padding: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}
.pair-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #111327;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}
.pair-thumb:hover {
  transform: translateY(-1px);
}
.pair-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pair-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}
.pair-tag-before {
  background: rgba(0, 0, 0, 0.6);
}
.pair-tag-after {
  background: linear-gradient(135deg, rgba(40, 238, 160, 0.85), rgba(110, 68, 230, 0.85));
}

/* Lightbox showroom */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  padding: calc(12px + var(--safe-top)) calc(12px + var(--safe-right))
    calc(12px + var(--safe-bottom)) calc(12px + var(--safe-left));
  background:
    radial-gradient(70% 50% at 20% 0%, rgba(40, 238, 160, 0.10), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(110, 68, 230, 0.08), transparent 60%),
    rgba(5, 6, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: lightboxFadeIn 0.25s ease;
  overflow: hidden;
}
.lightbox.hidden {
  display: none !important;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 4px 14px;
  position: relative;
  z-index: 10;
}
.lightbox-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.lightbox-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.lightbox-brand strong {
  font-weight: 700;
  color: #fff;
}
.lightbox-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-violet)) border-box;
  border: 2px solid transparent;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 24px rgba(110, 68, 230, 0.18);
  position: relative;
  z-index: 20;
  flex-shrink: 0;
}
.lightbox-close span[aria-hidden="true"] {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lightbox-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(110, 68, 230, 0.28);
}

.lightbox-stage {
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  padding: 8px 12px;
  overflow: hidden;
}
.lightbox-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-violet));
  border-radius: 18px;
  box-sizing: border-box;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: var(--aurora-night);
  box-sizing: border-box;
}
.lightbox-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.lightbox-tag-before {
  background: rgba(0, 0, 0, 0.65);
}
.lightbox-tag-after {
  background: linear-gradient(135deg, rgba(40, 238, 160, 0.95), rgba(110, 68, 230, 0.95));
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-violet)) border-box;
  border: 2px solid transparent;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 28px rgba(40, 238, 160, 0.22);
  z-index: 5;
}
.lightbox-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(40, 238, 160, 0.12), rgba(110, 68, 230, 0.12));
  z-index: -1;
}
.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 14px 36px rgba(110, 68, 230, 0.32);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@keyframes lightboxSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes lightboxSlideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
.lightbox-stage.slide-in-right .lightbox-frame {
  animation: lightboxSlideRight 0.28s ease;
}
.lightbox-stage.slide-in-left .lightbox-frame {
  animation: lightboxSlideLeft 0.28s ease;
}

.lightbox-bottom {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  position: relative;
  z-index: 10;
}
.lightbox-counter {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lightbox-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
  padding: 6px 4px 8px;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumb {
  flex: 0 0 auto;
  position: relative;
  width: 70px;
  height: 70px;
  padding: 0;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  opacity: 0.55;
}
.lightbox-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lightbox-thumb.is-active {
  opacity: 1;
  border-color: transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-violet)) border-box;
  border: 2px solid transparent;
  transform: translateY(-2px);
}
.lightbox-thumb-tag {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 4px;
  border-radius: 4px;
  text-align: center;
  color: #fff;
}
.lightbox-thumb-tag-before {
  background: rgba(0, 0, 0, 0.75);
}
.lightbox-thumb-tag-after {
  background: linear-gradient(135deg, rgba(40, 238, 160, 0.95), rgba(110, 68, 230, 0.95));
}

@media (max-width: 720px) {
  .lightbox {
    padding: calc(8px + var(--safe-top)) calc(6px + var(--safe-right))
      calc(8px + var(--safe-bottom)) calc(6px + var(--safe-left));
  }
  .lightbox-topbar {
    padding: 2px 4px 8px;
    min-height: 44px;
  }
  .lightbox-brand img {
    width: 28px;
    height: 28px;
  }
  .lightbox-brand strong {
    font-size: 13px;
  }
  /* Botón cerrar flotante siempre visible en móvil */
  .lightbox-close {
    position: fixed;
    top: calc(8px + var(--safe-top));
    right: calc(8px + var(--safe-right));
    z-index: 200010;
    padding: 9px 14px;
    background: rgba(8, 10, 18, 0.85);
    border: 1.5px solid rgba(40, 238, 160, 0.55);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .lightbox-close span[aria-hidden="true"] {
    font-size: 20px;
  }
  .lightbox-stage {
    padding: 2px 6px;
  }
  .lightbox-frame {
    padding: 2px;
    border-radius: 16px;
  }
  .lightbox-tag {
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 10px;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close-text { display: none; }
  .lightbox-close {
    padding: 8px 12px;
  }
  .lightbox-bottom {
    gap: 8px;
    padding-top: 8px;
  }
  .lightbox-counter {
    font-size: 11px;
    padding: 4px 12px;
  }
  .lightbox-thumb {
    width: 48px;
    height: 48px;
  }
  .lightbox-thumb-tag {
    font-size: 8px;
    padding: 1px 3px;
  }
  .lightbox-brand span {
    display: none;
  }
}
@media (max-width: 720px) and (orientation: landscape) {
  .lightbox-bottom {
    display: none;
  }
  .lightbox-topbar {
    padding: 0 4px 4px;
  }
}

.gallery-cta-hint {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.gallery-cta-hint a {
  color: var(--aurora-teal);
  font-weight: 600;
  text-decoration: none;
}
.gallery-cta-hint a:hover {
  text-decoration: underline;
}

/* Testimonios en el home */
.testimonials {
  margin-top: 36px;
  padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(40, 238, 160, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.025);
}
.testimonials-head {
  text-align: center;
  margin-bottom: 22px;
}
.testimonials-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.testimonials-head h2 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testimonials-head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 16px;
}
.testimonials-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin: 4px 0 14px;
  background:
    linear-gradient(rgba(8, 9, 14, 0.6), rgba(8, 9, 14, 0.6)) padding-box,
    linear-gradient(135deg, rgba(40, 238, 160, 0.4), rgba(110, 68, 230, 0.4)) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}
.testimonials-summary-stars {
  color: #ffd35b;
  letter-spacing: 2px;
  font-size: 15px;
}
.testimonials-summary-text {
  color: rgba(255, 255, 255, 0.92);
}
.testimonials-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px;
  color: var(--muted);
  font-size: 14px;
}
.testimonial-meta-google {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
}
.testimonial-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}
.testimonial-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-violet));
}
.testimonial-google-badge {
  opacity: 0.85;
}
.testimonials-source {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted-2);
}
.testimonials-source a {
  color: #aeeaff;
  text-decoration: none;
  font-weight: 600;
}
.testimonials-source a:hover {
  text-decoration: underline;
}
.testimonial-google-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 100, 0.35);
  background: rgba(255, 215, 100, 0.08);
  color: #ffe9a8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.testimonial-google-cta:hover {
  background: rgba(255, 215, 100, 0.16);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.testimonials-grid.has-many {
  max-height: 720px;
  overflow-y: auto;
  padding: 6px 6px 12px;
  margin: 0 -6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 60px), transparent 100%);
}
.testimonials-grid.has-many::-webkit-scrollbar {
  width: 6px;
}
.testimonials-grid.has-many::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-stars {
  color: #ffd35b;
  font-size: 18px;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #e9edf7;
  font-style: italic;
}
.testimonial-card blockquote::before { content: "“"; opacity: 0.4; }
.testimonial-card blockquote::after { content: "”"; opacity: 0.4; }
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.testimonial-meta strong {
  font-size: 14px;
}
.testimonial-meta small {
  font-size: 12.5px;
  color: var(--muted);
}

/* Banner de cupón activo */
.coupon-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 100, 0.4);
  background: linear-gradient(135deg, rgba(255, 215, 100, 0.10), rgba(255, 145, 60, 0.06));
  color: #ffeab0;
}
.coupon-banner.hidden {
  display: none !important;
}
.coupon-banner-icon {
  font-size: 22px;
  line-height: 1;
}
.coupon-banner-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}
.coupon-banner-text strong {
  font-size: 15px;
  color: #ffe9a8;
}
.coupon-banner-text small {
  font-size: 13px;
  color: rgba(255, 234, 176, 0.75);
}
.coupon-banner-close {
  background: transparent;
  border: 0;
  color: rgba(255, 234, 176, 0.8);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.coupon-banner-close:hover {
  background: rgba(255, 215, 100, 0.12);
}

/* Packs en el home */
.packs-home {
  margin-top: 28px;
  padding: 28px 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(110, 68, 230, 0.08), transparent 60%),
    radial-gradient(100% 70% at 100% 100%, rgba(40, 238, 160, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.03);
}
.packs-home-head .pill {
  margin-bottom: 12px;
}
.packs-home-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.packs-home-head h2 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.packs-home-head p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.packs-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1280px) and (min-width: 900px) {
  .packs-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) and (min-width: 720px) {
  .packs-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.pack-home-card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.pack-home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 238, 160, 0.4);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}
.pack-home-card-feat {
  border-color: rgba(110, 68, 230, 0.45);
  background:
    linear-gradient(160deg, rgba(110, 68, 230, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.05);
}
.pack-home-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  color: var(--aurora-night);
}
.pack-home-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.pack-home-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pack-home-desc {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1 1 auto;
}
.pack-home-off {
  margin-top: 6px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(40, 238, 160, 0.18);
  color: var(--aurora-green);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.pack-home-cta {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 900px) {
  .packs-home-grid {
    grid-template-columns: 1fr;
  }
}

/* Strip de packs dentro del cotizador (paso servicios) */
.packs-strip {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.packs-strip-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.packs-strip-head strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.packs-strip-head span {
  font-size: 0.82rem;
  color: var(--muted-2);
  line-height: 1.45;
}
.packs-strip-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.18s ease;
}
.pack-card:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 238, 160, 0.45);
}
.pack-card.active {
  border-color: rgba(40, 238, 160, 0.55);
  background: rgba(40, 238, 160, 0.08);
  box-shadow: 0 0 0 2px rgba(40, 238, 160, 0.15);
}
.pack-card-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  color: var(--aurora-night);
}
.pack-card-name {
  font-weight: 800;
  font-size: 0.92rem;
}
.pack-card-tag {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}
.pack-card-off {
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--aurora-green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .packs-strip-cards {
    grid-template-columns: 1fr;
  }
}

/* Total con tachado cuando hay descuento */
.estimate-old {
  text-decoration: line-through;
  color: var(--muted-2);
  font-weight: 500;
  margin-right: 8px;
  font-size: 0.85em;
}
.estimate-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(40, 238, 160, 0.16);
  color: var(--aurora-green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.review-cost-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(40, 238, 160, 0.1);
  color: var(--aurora-green);
  font-weight: 700;
}
.review-cost-discount small {
  font-weight: 500;
  opacity: 0.8;
}
.review-cost-discount-amt {
  font-variant-numeric: tabular-nums;
}

/* Horario de atención (bloque ubicación) */
.hours-block {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.hours-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.hours-list li span {
  color: var(--muted);
}
.hours-list li strong {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Navegación principal — alimenta sitelinks de Google y mejora UX
   Queda visualmente entre el banner y la primera sección, y se vuelve
   sticky al hacer scroll para acceso rápido. */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  margin: 22px auto 22px;
  width: min(1100px, calc(100% - 38px));
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  position: sticky;
  top: calc(10px + var(--safe-top, 0px));
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.main-nav.is-stuck {
  background: rgba(8, 10, 18, 0.92);
  border-color: rgba(40, 238, 160, 0.22);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(40, 238, 160, 0.08) inset;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: linear-gradient(90deg, rgba(40, 238, 160, 0.18), rgba(110, 68, 230, 0.18));
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}
@media (max-width: 780px) {
  /* En móvil: sticky nativo falla en Safari → usamos position:fixed vía JS */
  .main-nav {
    width: calc(100% - 22px);
    padding: 8px 10px;
    margin: 16px auto 18px;
    gap: 4px;
    position: relative;
    top: auto;
  }
  .main-nav.is-fixed {
    position: fixed;
    left: 11px;
    right: 11px;
    width: auto;
    margin: 0;
    top: calc(6px + var(--safe-top, 0px));
    z-index: 200;
  }
  .main-nav-spacer {
    display: none;
    width: 100%;
  }
  .main-nav-spacer.is-active {
    display: block;
  }
  .main-nav a {
    padding: 7px 11px;
    font-size: 0.82rem;
  }
}

/* Enlaces a landings SEO desde el home */
/* Certificaciones */
.certs-section {
  margin-top: 30px;
}
.certs-head {
  text-align: center;
  margin-bottom: 24px;
}
.certs-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.certs-head h2 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.certs-head p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 720px;
}
.certs-head p strong {
  color: var(--text);
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cert-card {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
.cert-card:hover {
  border-color: rgba(40, 238, 160, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}
.cert-thumb {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.cert-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.cert-card figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.certs-badges {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.certs-badges li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(40, 238, 160, 0.32);
  background: rgba(40, 238, 160, 0.08);
  color: #d7fff0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}

.seo-services-strip {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.seo-services-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.seo-services-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.seo-services-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.seo-services-links a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.seo-services-links a:hover {
  border-color: rgba(40, 238, 160, 0.45);
  background: rgba(40, 238, 160, 0.08);
  transform: translateY(-1px);
}

/* Landing SEO por servicio */
.seo-page-body {
  min-height: 100vh;
}
.seo-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}
.seo-page .pill {
  margin-bottom: 14px;
}
.seo-page h1 {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 16px;
}
.seo-page h1 span {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.seo-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 24px;
}
.seo-list {
  margin: 0 0 28px;
  padding-left: 1.2rem;
  color: var(--text);
  line-height: 1.7;
}
.seo-list li {
  margin-bottom: 8px;
}
.seo-price {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.seo-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(rgba(8, 9, 14, 0.85), rgba(12, 14, 22, 0.85)) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-violet)) border-box;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.24s ease;
}
.seo-back:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 12px 28px rgba(110, 68, 230, 0.18);
}
.seo-back:focus-visible {
  outline: 2px solid rgba(100, 210, 255, 0.55);
  outline-offset: 3px;
}
.seo-faq {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.seo-faq-title {
  font-size: 1.3rem;
  margin: 0 0 16px;
}
.seo-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  padding: 0 16px;
}
.seo-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.seo-faq-item summary::-webkit-details-marker {
  display: none;
}
.seo-faq-item summary:hover {
  color: #e9edf7;
}
.seo-faq-item p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.seo-topbar {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.seo-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
.seo-brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* =====================================================================
   AJUSTE UNIVERSAL DEL SITIO A CUALQUIER PANTALLA MÓVIL
   Garantiza que ningún elemento desborde, los textos siempre se ajustan,
   las áreas clickeables son grandes y la lectura es cómoda en cualquier
   teléfono (320px iPhone SE viejo, 360–414px Android, 393–430px iPhone
   modernos, plegables, etc.).
   ===================================================================== */

/* Globales: evitar scroll horizontal sin romper sticky en escritorio */
html {
  max-width: 100%;
}
body {
  max-width: 100%;
}
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}
* {
  /* Las palabras largas (URLs, correos, marcas) no rompen el layout */
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Pero los botones e inputs mantienen su línea */
button, input, select, textarea, .btn, .pill, .main-nav a {
  overflow-wrap: normal;
  word-break: normal;
}

/* Inputs en iOS: 16px previene el zoom automático al hacer focus */
@media (max-width: 720px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="password"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Áreas tocables grandes en móvil (mínimo 44x44 según Apple HIG) */
@media (max-width: 720px) {
  .btn,
  .main-nav a,
  .pair-thumb,
  .pack-home-cta,
  button[type="submit"],
  button[type="button"]:not(.intro-volume):not(.cal-day):not(.gallery-close) {
    min-height: 44px;
  }
}

/* Tablet vertical / Phones grandes (≤900px) */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 24px;
  }
  .hero-left h1 {
    font-size: clamp(28px, 7vw, 46px);
  }
  .hero-left p {
    font-size: clamp(15px, 3.6vw, 18px);
    line-height: 1.6;
  }
  .club-hero-card {
    padding: 22px 20px 20px;
  }
  .packs-home,
  .gallery-section,
  .form-shell {
    padding: 24px 18px;
  }
}

/* Smartphones (≤480px iPhone SE, mini, Android pequeños) */
@media (max-width: 480px) {
  .wrapper,
  .topbar {
    width: calc(100% - 16px);
  }
  .topbar {
    height: clamp(150px, 42vw, 190px);
    margin-top: 18px;
    border-radius: 22px;
  }
  .hero {
    padding: 26px 18px;
    border-radius: 22px;
  }
  .hero-left h1 {
    font-size: clamp(26px, 8vw, 38px);
    letter-spacing: -0.045em;
  }
  .hero-left p {
    margin-bottom: 22px;
  }
  .pill {
    font-size: 11px;
    padding: 8px 12px;
    letter-spacing: 0.12em;
  }
  .packs-home {
    padding: 20px 14px 18px;
    border-radius: 20px;
  }
  .packs-home-head h2 {
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .pack-home-card {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }
  .pack-home-name {
    font-size: 1rem;
  }
  .pack-home-desc {
    font-size: 0.88rem;
  }
  .gallery-section {
    padding: 18px 12px 16px;
    border-radius: 20px;
  }
  .gallery-head h2 {
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .form-shell {
    padding: 18px 14px;
    border-radius: 22px;
  }
  .progress-head h3 {
    font-size: 20px;
  }
  .progress-number {
    padding: 8px 12px;
    font-size: 14px;
  }
  .step-card {
    padding: 16px 14px;
  }
  .field-group input,
  .field-group textarea,
  .field-group select {
    padding: 12px 14px;
  }
  .summary-item {
    padding: 16px;
  }
  .seo-services-strip,
  .seo-page {
    padding: 18px 14px;
  }
  .club-hero-card {
    padding: 20px 16px 18px;
    border-radius: 22px;
  }
  .main-nav a {
    padding: 8px 12px;
    font-size: 0.84rem;
  }
  /* Coupon banner ya tenía padding; sólo ajustamos texto */
  .coupon-banner {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}

/* Pantallas muy pequeñas (≤360px iPhone SE 1, Galaxy A series viejos) */
@media (max-width: 360px) {
  .wrapper,
  .topbar {
    width: calc(100% - 12px);
  }
  .hero {
    padding: 22px 14px;
  }
  .hero-left h1 {
    font-size: clamp(24px, 8vw, 32px);
  }
  .pack-home-name {
    font-size: 0.95rem;
  }
  .pack-home-desc {
    font-size: 0.85rem;
  }
  .btn {
    padding: 14px 18px;
    font-size: 14px;
  }
  .main-nav {
    padding: 6px 8px;
  }
  .main-nav a {
    padding: 7px 10px;
    font-size: 0.78rem;
  }
}

/* Landscape teléfono: aprovecha el ancho horizontal y reduce alturas */
@media (max-height: 500px) and (orientation: landscape) {
  .topbar {
    height: 120px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 24px;
  }
  .intro-content {
    padding-bottom: 18px;
  }
  .intro-enter {
    font-size: 13px;
    padding: 10px 22px;
  }
}

/* Tablets verticales (iPad 7.9", 10.2", 11", Android 10–11") */
@media (min-width: 600px) and (max-width: 900px) and (orientation: portrait) {
  .packs-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-pairs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* iPad Pro 12.9" y tablets horizontales grandes */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .wrapper,
  .topbar {
    width: min(92%, 1180px);
  }
}

/* Prevenir scroll lateral incluso si algo desborda */
.wrapper > *,
.seo-page > * {
  max-width: 100%;
}

/* Tablas dentro de SEO pages (FAQ, planes) scrollean horizontalmente */
.seo-page table,
.wrapper table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

/* Imágenes de fondo que usan background-image */
.topbar-image,
.intro-screen video,
.intro-screen img {
  max-width: 100%;
}

/* Asegura que el FAB del cotizador no tape contenido en móvil con notch */
.wa-fab {
  bottom: calc(20px + var(--safe-bottom));
  right: calc(20px + var(--safe-right));
}
