/* AzulDent — diseño creativo premium */
:root {
  --apple-text: #1d1d1f;
  --apple-muted: #86868b;
  --apple-bg: #ffffff;
  --apple-gray: #f5f5f7;
  --apple-dark: #050508;
  --brand-blue: #1a5fb4;
  --brand-blue-deep: #134a8e;
  --brand-silver: #8b95a5;
  --apple-blue: var(--brand-blue);
  --apple-blue-hover: var(--brand-blue-deep);
  --apple-border: rgba(0, 0, 0, 0.08);
  --apple-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --apple-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --grad-brand: linear-gradient(135deg, #1a5fb4 0%, #2b7cd9 45%, #8b95a5 100%);
  --grad-warm: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  --grad-cool: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --grad-mesh: radial-gradient(ellipse 80% 60% at 10% 20%, rgba(0, 113, 227, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(0, 199, 190, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(94, 92, 230, 0.1), transparent 50%);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--apple-text);
  background: var(--apple-bg);
}

.font-display {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  .orb,
  .marquee-content,
  .text-gradient {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .glass-header {
    transition: none !important;
  }
}

/* —— Marca AzulDent —— */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s var(--apple-ease);
}

.brand-lockup:hover {
  opacity: 0.85;
}

.brand-icon {
  height: 2.125rem;
  width: auto;
  flex-shrink: 0;
}

.brand-lockup--footer .brand-icon {
  height: 1.875rem;
}

.brand-wordmark {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand-lockup--footer .brand-wordmark {
  font-size: 0.9375rem;
}

.brand-wordmark-azul {
  color: var(--brand-blue);
}

.brand-wordmark-dent {
  background: linear-gradient(180deg, #d4dae3 0%, #8b95a5 45%, #b8c0cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-lockup--dark .brand-wordmark-dent {
  background: linear-gradient(180deg, #f0f2f5 0%, #a8b0bc 50%, #d0d6de 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* —— Header —— */
.glass-header {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--apple-border);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.4s var(--apple-ease), border-color 0.4s var(--apple-ease),
    box-shadow 0.4s var(--apple-ease);
}

.glass-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 30px rgba(0, 113, 227, 0.06);
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--apple-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--apple-ease);
}

.nav-link:hover {
  color: var(--apple-text);
}

.nav-link.is-active {
  color: var(--apple-blue);
  font-weight: 600;
}

/* —— Hero creativo —— */
.hero-creative {
  position: relative;
  background: var(--apple-bg);
  isolation: isolate;
}

.hero-creative::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  z-index: -2;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orb-float 12s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -8%;
  left: -6%;
  background: rgba(0, 113, 227, 0.35);
  animation-delay: 0s;
}

.orb-2 {
  width: 320px;
  height: 320px;
  top: 20%;
  right: -4%;
  background: rgba(0, 199, 190, 0.3);
  animation-delay: -4s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  bottom: 10%;
  left: 35%;
  background: rgba(94, 92, 230, 0.25);
  animation-delay: -8s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(24px, -18px) scale(1.05);
  }
  66% {
    transform: translate(-16px, 12px) scale(0.95);
  }
}

/* —— Tipografía —— */
.apple-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--apple-blue);
}

.apple-eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.apple-headline {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--apple-text);
}

.apple-headline-sm {
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--apple-text);
}

.text-gradient {
  background: var(--grad-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.apple-subhead {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--apple-muted);
  max-width: 36rem;
}

.apple-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--apple-muted);
}

.apple-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apple-blue);
}

.apple-section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
}

/* —— Botones —— */
.apple-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--grad-brand);
  background-size: 200% auto;
  border-radius: 980px;
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.35);
  transition: background-position 0.4s var(--apple-ease), transform 0.25s var(--apple-ease-out),
    box-shadow 0.25s var(--apple-ease);
}

.apple-btn-primary:hover {
  background-position: 100% center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.4);
}

.apple-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--apple-blue);
  background: rgba(0, 113, 227, 0.08);
  border-radius: 980px;
  transition: background 0.2s var(--apple-ease), transform 0.2s var(--apple-ease);
}

.apple-btn-secondary:hover {
  background: rgba(0, 113, 227, 0.14);
  transform: translateY(-1px);
}

.apple-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--apple-blue);
  background: #fff;
  border-radius: 980px;
  transition: background 0.2s var(--apple-ease), transform 0.2s var(--apple-ease);
}

.apple-btn-light:hover {
  background: #f5f5f7;
  transform: translateY(-1px);
}

.apple-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--apple-blue);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--apple-ease);
}

.apple-link:hover {
  text-decoration: underline;
}

/* —— Secciones —— */
.hero-gradient {
  background: var(--apple-bg);
}

.apple-section {
  padding: 5rem 0;
  position: relative;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .apple-section {
    padding: 7rem 0;
  }
}

.apple-section-alt {
  background: linear-gradient(180deg, #f8f9fc 0%, var(--apple-gray) 100%);
}

.apple-section-dark {
  background: var(--apple-dark);
  color: #f5f5f7;
  position: relative;
  overflow: hidden;
}

.apple-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 20% 40%, rgba(0, 113, 227, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(0, 199, 190, 0.12), transparent);
  pointer-events: none;
}

.apple-hero {
  padding-top: 6.5rem;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.apple-hero:not(.hero-creative)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .apple-hero {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }
}

.apple-hero-content {
  margin: 0 auto;
  max-width: 52rem;
  padding: 0 1.25rem;
}

.apple-hero-content .apple-subhead {
  margin: 1.25rem auto 0;
}

.apple-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.apple-hero-media {
  margin: 3rem auto 0;
  max-width: min(94vw, 1200px);
  padding: 0 1.25rem;
  perspective: 1200px;
}

.img-hero {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 32px 80px rgba(26, 95, 180, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.1s linear, box-shadow 0.5s var(--apple-ease-out);
  transform-style: preserve-3d;
}

.img-hero:hover {
  box-shadow: 0 40px 100px rgba(26, 95, 180, 0.28), 0 0 0 1px rgba(26, 95, 180, 0.08);
}

.apple-feature-block {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.apple-feature-row {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .apple-feature-row {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .apple-feature-row.is-reversed .apple-feature-copy {
    order: 2;
  }

  .apple-feature-row.is-reversed .apple-feature-visual {
    order: 1;
  }

  /* Texto arriba, imagen ancha abajo — evita solapamiento */
  .apple-feature-row--stack {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .apple-feature-row--stack .apple-feature-visual {
    max-width: 920px;
    margin-inline: auto;
    width: 100%;
  }
}

.apple-feature-copy {
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

.apple-feature-copy .apple-section-label {
  margin-bottom: 0.75rem;
}

.apple-feature-copy .apple-headline-sm {
  margin-top: 0.5rem;
}

.apple-feature-copy .apple-body {
  margin-top: 1rem;
}

.apple-feature-visual {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 1rem;
}

.apple-feature-visual img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
}

.apple-feature-visual::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: var(--grad-brand);
  opacity: 0.12;
  filter: blur(48px);
  border-radius: 50%;
  z-index: -1;
  transition: opacity 0.5s var(--apple-ease);
}

.apple-feature-visual:hover::before {
  opacity: 0.22;
}

/* —— Bento grid —— */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
  }
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.45s var(--apple-ease-out), box-shadow 0.45s var(--apple-ease-out);
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 113, 227, 0.12);
}

.bento-card--compliance {
  background: linear-gradient(145deg, #e8f4fd 0%, #f0f9ff 100%);
}

.bento-card--finance {
  background: linear-gradient(145deg, #e6faf8 0%, #f0fdf9 100%);
}

.bento-card--focus {
  background: linear-gradient(145deg, #ede9fe 0%, #f5f3ff 100%);
}

@media (min-width: 768px) {
  .bento-card--compliance {
    grid-column: span 2;
  }

  .bento-card--finance {
    grid-row: span 1;
  }

  .bento-card--focus {
    grid-column: span 1;
  }
}

.bento-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bento-card--compliance .bento-icon {
  color: #0071e3;
}
.bento-card--finance .bento-icon {
  color: #00a896;
}
.bento-card--focus .bento-icon {
  color: #5e5ce6;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apple-text);
}

/* —— Marquee —— */
.marquee-wrap {
  overflow: hidden;
  padding: 1.25rem 0;
  background: linear-gradient(90deg, #0071e3, #00c7be, #5e5ce6, #0071e3);
  background-size: 300% 100%;
  animation: gradient-shift 8s ease infinite;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-content {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: 0 1.5rem;
}

.marquee-content span {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.marquee-content span::before {
  content: "◆";
  margin-right: 0.75rem;
  font-size: 0.5rem;
  opacity: 0.7;
  vertical-align: middle;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* —— Tarjetas y chips —— */
.card-premium {
  background: #fff;
  border-radius: 1.125rem;
  border: none;
  box-shadow: none;
  transition: transform 0.4s var(--apple-ease-out);
}

.card-premium:hover {
  transform: translateY(-2px);
}

.apple-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--apple-text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 980px;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--apple-ease-out), border-color 0.3s, box-shadow 0.3s;
}

.apple-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1);
}

.apple-chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.85);
  }
}

/* —— Imágenes —— */
.img-device {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s var(--apple-ease-out), box-shadow 0.5s var(--apple-ease-out);
  transform-style: preserve-3d;
}

.img-device:hover {
  box-shadow: 0 24px 60px rgba(26, 95, 180, 0.18), 0 0 0 1px rgba(26, 95, 180, 0.08);
}

.img-phone {
  border-radius: 1.75rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2), 0 0 40px rgba(26, 95, 180, 0.12);
}

.img-tilt-wrap {
  transform-style: preserve-3d;
}

/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--apple-ease), visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(96vw, 1600px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.4s var(--apple-ease-out);
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.gallery-card {
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s var(--apple-ease-out), box-shadow 0.45s var(--apple-ease-out);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 95, 180, 0.12);
}

.gallery-card--wide {
  grid-column: 1 / -1;
}

.gallery-card .gallery-shot {
  display: block;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  border: none;
  object-fit: contain;
  object-position: top center;
  background: #f5f5f7;
  max-height: 280px;
}

.gallery-card figcaption {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* —— Stats strip —— */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--apple-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.stat-item {
  background: #fff;
  padding: 1.75rem 1rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--apple-muted);
  letter-spacing: 0.02em;
}

/* —— Revelado al scroll —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.9s var(--apple-ease-out), transform 0.9s var(--apple-ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.12s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.24s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.36s;
}

/* —— Footer —— */
.apple-footer {
  background: linear-gradient(180deg, var(--apple-gray) 0%, #ececf0 100%);
  border-top: none;
}

.apple-footer .nav-link {
  font-size: 0.75rem;
}

/* —— Formularios —— */
.apple-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--apple-text);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.875rem;
  transition: border-color 0.2s var(--apple-ease), box-shadow 0.2s var(--apple-ease);
}

.apple-input:focus {
  outline: none;
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

/* —— Pricing cards —— */
.apple-price-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--apple-border);
  transition: transform 0.45s var(--apple-ease-out), box-shadow 0.45s var(--apple-ease-out);
}

.apple-price-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 20px 50px rgba(0, 113, 227, 0.1);
}

.apple-price-card.is-featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    var(--grad-brand) border-box;
  box-shadow: 0 16px 48px rgba(0, 113, 227, 0.15);
}

/* —— FAQ —— */
.apple-faq-item {
  border-bottom: 1px solid var(--apple-border);
}

.apple-faq-item:first-child {
  border-top: 1px solid var(--apple-border);
}

/* —— Badge —— */
.apple-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.15);
  border-radius: 980px;
  letter-spacing: 0.02em;
}

.apple-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.6);
  animation: pulse-dot 2s ease infinite;
}

/* —— CTA creativo —— */
.cta-creative {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 4rem 2rem;
  background: var(--grad-brand);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.cta-creative::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-creative > * {
  position: relative;
  z-index: 1;
}

.cta-creative .apple-headline-sm {
  color: #fff;
}

.cta-creative .apple-subhead {
  color: rgba(255, 255, 255, 0.85);
}

.cta-creative .apple-btn-primary {
  background: #fff;
  color: var(--apple-blue);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cta-creative .apple-btn-primary:hover {
  background: #f5f5f7;
}

.cta-creative .apple-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.cta-creative .apple-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}
