/* =========================================================
   CARDIFY — Landing page
   Paleta tomada del sitio "Próximamente" real de cardify.com.ar:
   navy #08101f + dorado #d6b57d. No cambiar estos valores base
   sin confirmar con el cliente.
   ========================================================= */

:root {
  --bg: #08101f;
  --bg-card: #101c33;
  --bg-card-alt: #0c1526;
  --border-soft: #22314d;
  --gold: #d6b57d;
  --gold-bright: #e8caa0;
  --gold-dark: #a9835a;
  --text: #ffffff;
  --text-soft: #c9c9c9;
  --text-muted: #8f8f8f;
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 1px;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

.section {
  padding: 72px 0;
}

.section-kicker {
  text-align: center;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 14px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: #1a1206;
  box-shadow: 0 10px 25px -8px rgba(214, 181, 125, 0.5);
}

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

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(214, 181, 125, 0.1);
}

.btn-whatsapp {
  background: #25d366;
  color: #05320f;
}

/* ---------- Placeholder visual (hasta tener capturas reales del producto) ---------- */
.visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-card),
    var(--bg-card) 10px,
    var(--bg-card-alt) 10px,
    var(--bg-card-alt) 20px
  );
  border: 1.5px dashed var(--gold-dark);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 16px;
  width: 100%;
  min-height: 220px;
}

.visual-placeholder .icon {
  font-size: 2rem;
}

/* ---------- Nav ---------- */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(8, 16, 31, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

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

.nav-cta {
  display: none;
}

.nav-toggle {
  font-size: 1.5rem;
  color: var(--gold);
}

.nav-mobile-menu {
  position: fixed;
  top: 66px;
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: calc(100vh - 66px);
  background: var(--bg-card);
  border-left: 1px solid var(--border-soft);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.35s ease;
  z-index: 59;
}

.nav-mobile-menu.open {
  right: 0;
}

.nav-mobile-menu a {
  font-size: 1rem;
}

/* ---------- Hero ---------- */
#hero {
  padding-top: 150px;
  background: radial-gradient(ellipse at top, #10203c 0%, var(--bg) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(64px, 90px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  text-align: left;
}

.hero-logo {
  min-width: 0;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-content {
  min-width: 0;
}

#hero h1 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

#hero h1 span {
  color: var(--gold);
}

#hero .hero-subtitle {
  color: var(--text-soft);
  margin: 0 0 20px;
  font-size: 0.85rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* ---------- Cómo funciona ---------- */
#como-funciona {
  background: var(--bg-card-alt);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-content h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-content p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ---------- Funcionalidades ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
}

.feature-card .icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ---------- Precios ---------- */
#precios {
  background: var(--bg-card-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 20px 40px -18px rgba(214, 181, 125, 0.35);
}

.pricing-badge {
  display: inline-block;
  align-self: center;
  background: var(--gold);
  color: #1a1206;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.pricing-price small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.pricing-features {
  text-align: left;
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-soft);
}

.pricing-features li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Álbum QR ---------- */
.album-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.album-showcase .visual-placeholder {
  aspect-ratio: 1 / 1;
  min-height: unset;
}

/* ---------- FAQ ---------- */
#faq {
  background: var(--bg-card-alt);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-question .chev {
  color: var(--gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question .chev {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.faq-answer-inner {
  padding: 0 20px 18px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ---------- CTA final ---------- */
#cta-final {
  text-align: center;
}

#cta-final h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

#cta-final p {
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
#site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Botón flotante WhatsApp ---------- */
#whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #05320f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.6);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
    gap: 60px;
  }

  #hero h1 {
    font-size: 3.2rem;
  }

  #hero .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: flex-start;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .album-showcase {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

