/* styles.css extraído de index.html */
/* Paleta light/dark adaptada */
:root {
  --primary: #ffc5df;
  --bg: #ffffff;
  --surface: #f0f0f0;
  --card: #f0f0f0;
  --text: #092133;
  --muted: #5a6b7d;
  --button-text: #ffffff;
  --shadow: 0 10px 30px rgba(9, 33, 51, 0.1);
  --radius: 16px;
  --maxw: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #ffc5df;
    --bg: #092133;
    --surface: #0a1f44;
    --card: #0a1f44;
    --text: #ffffff;
    --muted: #bfc9d6;
    --button-text: #092133;
    --shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--text);
  text-decoration: none;
}
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 20px;
}
.hero .container {
  padding-left: 0;
  margin-left: 0;
  max-width: none;
}
/* Botón principal y ghost adaptados */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--primary);
  color: var(--button-text);
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  color: var(--primary);
  outline: 1.5px solid color-mix(in oklab, var(--primary) 55%, transparent);
}
.btn .ms {
  font-variation-settings: "FILL" 1, "opsz" 24, "wght" 600;
}
/* Chip con color primario */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 197, 223, 0.12);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}
.muted {
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(9, 33, 51, 0.06);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
header.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(1.2) blur(8px);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid rgba(9, 33, 51, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: radial-gradient(120px 80px at 30% 20%, #ffc5df55, transparent 60%),
    var(--surface);
  outline: 2px solid rgba(9, 33, 51, 0.06);
}
.brand h1 {
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: 0.3px;
}
nav a {
  opacity: 0.85;
  transition: 0.2s all;
}
nav a:hover {
  opacity: 1;
  color: var(--accent);
}
.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}
.mobile-toggle {
  display: none;
}
.hero {
  background: radial-gradient(
      800px 300px at 60% -10%,
      #FFC5DF22,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--bg) 85%, transparent),
      var(--bg) 35%
    );
}
.hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr 1.2fr;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding-left: 0;
}
.hero-content {
  z-index: 2;
  position: relative;
  padding-left: calc((100vw - var(--maxw)) / 2 + 20px);
  max-width: calc((100vw - var(--maxw)) / 2 + 600px);
}
.hero h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 6px 0 10px;
}
.hero p {
  color: var(--muted);
  backdrop-filter: blur(2px);
  font-size: 1.05rem;
}
.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
/* Hero carousel in column layout */
.hero-carousel {
  height: 100%;
  min-height: 500px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  width: 100%;
  max-width: 65vw;
}
.hero-carousel::before,
.hero-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}
.hero-carousel::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    rgba(255, 255, 255, 0.9) 15%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.2) 70%,
    transparent 100%
  );
}
.hero-carousel::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg) 0%,
    rgba(255, 255, 255, 0.9) 15%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.2) 70%,
    transparent 100%
  );
}
@media (prefers-color-scheme: dark) {
  .hero-carousel::before {
    background: linear-gradient(
      to right,
      var(--bg) 0%,
      rgba(9, 33, 51, 0.9) 15%,
      rgba(9, 33, 51, 0.6) 40%,
      rgba(9, 33, 51, 0.2) 70%,
      transparent 100%
    );
  }
  .hero-carousel::after {
    background: linear-gradient(
      to left,
      var(--bg) 0%,
      rgba(9, 33, 51, 0.9) 15%,
      rgba(9, 33, 51, 0.6) 40%,
      rgba(9, 33, 51, 0.2) 70%,
      transparent 100%
    );
  }
}
@media (max-width: 1400px) {
  .hero-carousel {
    max-width: 60vw;
  }
}
@media (max-width: 1200px) {
  .hero-carousel {
    max-width: 55vw;
  }
}
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-carousel {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
  }
}
.hero-carousel .carousel-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-carousel .carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel .carousel-slide.active {
  opacity: 1;
}
.hero-carousel .carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: brightness(1.1) contrast(1.15) saturate(1.1);
  transition: transform 0.8s ease-out;
}
.hero-carousel:hover .carousel-img {
  transform: scale(1.02);
}
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
@media (prefers-color-scheme: dark) {
  .carousel-dots {
    background: rgba(9, 33, 51, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
}
.dot.active {
  background: var(--primary);
  transform: scale(1.4);
  box-shadow: 
    0 0 25px rgba(255, 197, 223, 0.7),
    0 0 50px rgba(255, 197, 223, 0.4);
}
.dot.active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 197, 223, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}
.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.sec-title {
  font-size: 1.6rem;
}
.lead {
  color: var(--muted);
  margin: 0 0 22px;
}
.features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feat .ms {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 6px;
}
.process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step .num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(249, 179, 205, 0.18);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.price h3 {
  margin: 0 0 6px;
}
.price .big {
  font-size: 2rem;
  font-weight: 700;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
details {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
  }
  .hero-content {
    padding-left: 20px;
    max-width: none;
  }
  .hero .container {
    padding-left: 20px;
    margin-left: auto;
    max-width: var(--maxw);
  }
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .menu {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .hero {
    padding: 42px 0 24px;
  }
}
form.card label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}
form.card input,
form.card textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  color: var(--text);
  outline: none;
}
form.card input:focus,
form.card textarea:focus {
  border-color: color-mix(in oklab, var(--accent) 60%, transparent);
}
