@import url("tokens.css");

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  overflow-x: hidden;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-logo {
  font-family: 'SeriouslyNostalgic', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--text-main);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 9px 30px;
  font-family: 'SeriouslyNostalgic', serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: normal;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a.nav-cta:hover {
  background: transparent;
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

@media (max-width: 620px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-areas:
    "content"
    "photos"
    "cta";
  grid-template-columns: 1fr;
  row-gap: 24px;
  text-align: center;
  padding: 72px 0 56px;
}

.hero-content {
  grid-area: content;
}

.hero-photos {
  grid-area: photos;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hero-cta {
  grid-area: cta;
  justify-self: center;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-photo.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(0, 0, 0, 0.55);
}

.hero-arrow--prev {
  left: 10px;
}

.hero-arrow--next {
  right: 10px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

@media (min-width: 820px) {
  .hero {
    grid-template-areas:
      "photos content"
      "photos cta";
    grid-template-columns: 260px 1fr;
    align-items: start;
    column-gap: 48px;
    row-gap: 0;
    text-align: left;
  }

  .hero-photos {
    width: 260px;
    aspect-ratio: auto;
    height: 340px;
  }

  .hero-cta {
    justify-self: start;
    align-self: start;
    margin-top: 14px;
  }

  .hero-sub {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .hero-title {
    margin-bottom: 12px;
  }
}

.hero-title {
  margin: 0 0 22px;
}

.eyebrow {
  display: inline;
  font-family: 'SeriouslyNostalgicFn', serif;
  font-style: normal;
  font-weight: normal;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 0;
}

h1.headline {
  display: inline;
  font-family: 'SeriouslyNostalgic', serif;
  font-style: italic;
  font-weight: normal;
  font-size: 64px;
  line-height: 1;
  margin: 0;
}

.hero-sub {
  max-width: 480px;
  margin: 0 auto 30px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  padding: 18px 46px;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--text-main);
  font-weight: normal;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-family: 'SeriouslyNostalgic', serif;
}

.cta-pill:hover {
  background: transparent;
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

/* ===== SECTION SCAFFOLDING ===== */
.section {
  margin: 64px 0;
}

.badge {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.badge span {
  background: var(--panel-a);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 9px 26px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--text-main);
}

.section-title {
  text-align: center;
  font-family: 'SeriouslyNostalgic', serif;
  font-style: italic;
  font-weight: normal;
  font-size: 40px;
  color: var(--text-main);
  margin: 0 0 28px;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  min-width: 0;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 0;
  padding: 22px 18px;
}

.step-num {
  font-family: 'SeriouslyNostalgic', serif;
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 10px;
}

.step h3 {
  font-size: 13.5px;
  font-weight: 300;
  margin: 0 0 8px;
  color: var(--text-main);
  overflow-wrap: break-word;
}

.step p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ===== INCLUDES ===== */
.card {
  background: transparent;
  border: none;
  padding: 0;
}

.card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.card li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.card li:last-child {
  margin-bottom: 0;
}

/* ===== PRICING ===== */
.pricing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
}

.pricing-info {
  text-align: left;
}

.pricing-amount {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 28px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 340px;
}

.pricing-ar {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.pricing-ar a {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-ar a:hover {
  color: var(--accent-hover);
}

@media (max-width: 620px) {
  .pricing-card {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .pricing-info {
    text-align: center;
  }

  .pricing-note {
    max-width: none;
  }

  .pricing-ar {
    text-align: center;
  }
}

/* ===== FAQ ===== */
.faq-item {
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 0;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question .icon {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===== FORM ===== */
.form-wrap {
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 0;
  padding: 12px;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.form-wrap iframe {
  width: 100%;
  border: none;
  display: block;
  border-radius: 14px;
}

/* ===== FOOTER ===== */
footer {
  margin-top: 56px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

footer b {
  color: var(--text-main);
}

@media (max-width: 480px) {
  .eyebrow,
  h1.headline {
    font-size: 64px;
  }
}

@media (min-width: 621px) {
  .card li {
    text-align: center;
    padding-left: 0;
  }

  .card li::before {
    content: none;
  }
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  z-index: 500;
  transition: transform 0.2s ease;
}

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

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
