/* ============================================
   DRA. MIO — LANDING DEMO
   Mobile-first, warm, pastel, professional
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --marfil: #FFF8F0;
  --rosa: #F6D7D9;
  --lavender: #DCD5F2;
  --celeste: #D7ECF8;
  --sage: #B9D8C2;
  --durazno: #FFD8BD;
  --grafito: #2F2F2F;
  --grafito-light: #5A5A5A;
  --grafito-muted: #8A8A8A;
  --white: #FFFFFF;
  --shadow-soft: 0 4px 24px rgba(47, 47, 47, 0.06);
  --shadow-medium: 0 8px 32px rgba(47, 47, 47, 0.10);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--grafito);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Nunito', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--grafito);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--grafito-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--white);
  color: var(--grafito);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border: 2px solid var(--grafito);
}

.btn-secondary:hover {
  background: var(--grafito);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* ---- WhatsApp Sticky Button ---- */
.whatsapp-sticky {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-sticky:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  border-bottom: 1px solid rgba(47, 47, 47, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--grafito);
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grafito-light);
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--grafito);
  background: rgba(47, 47, 47, 0.05);
}

.nav-cta {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 102;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grafito);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--marfil);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.mobile-link {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grafito);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  background: var(--marfil);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--rosa);
  filter: blur(80px);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--celeste);
  filter: blur(60px);
  bottom: -50px;
  left: -50px;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--lavender);
  filter: blur(50px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grafito-light);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(47, 47, 47, 0.06);
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--grafito-light);
  margin-bottom: 0.75rem;
  max-width: 500px;
}

.hero-note {
  font-size: 0.9375rem;
  color: var(--grafito-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--grafito-light);
  font-weight: 500;
}

.hero-visual {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* ---- Sections General ---- */
.section {
  padding: 4rem 0;
}

.section--cream {
  background: var(--marfil);
}

.section--white {
  background: var(--white);
}

.section--lavender {
  background: var(--lavender);
}

.section--blue {
  background: var(--celeste);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grafito-muted);
  margin-bottom: 0.75rem;
  background: rgba(47, 47, 47, 0.05);
  padding: 0.375rem 1rem;
  border-radius: 100px;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--grafito-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-note {
  font-size: 0.875rem;
  color: var(--grafito-muted);
  font-style: italic;
  margin-top: 1rem;
}

/* ---- Cards Grid ---- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--grafito-light);
  line-height: 1.6;
}

/* ---- Split Layout ---- */
.split-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.split-visual {
  display: flex;
  justify-content: center;
}

.split-img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.split-content {
  max-width: 540px;
}

.split-content .section-title {
  font-size: 1.5rem;
}

/* ---- Feature List ---- */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

/* ---- Info Box ---- */
.info-box {
  display: flex;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--grafito-light);
  border: 1px solid rgba(47, 47, 47, 0.06);
}

.info-box svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ---- Guides Grid ---- */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.guide-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.guide-header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.guide-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-title {
  font-size: 1rem;
  line-height: 1.4;
}

.guide-text {
  font-size: 0.875rem;
  color: var(--grafito-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.guide-actions {
  margin-top: auto;
}

.guide-link {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--grafito);
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--grafito);
  border-radius: 100px;
  display: inline-block;
  transition: var(--transition);
}

.guide-link:hover {
  background: var(--grafito);
  color: var(--white);
}

/* TikTok CTA */
.tiktok-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
}

.tiktok-cta p {
  font-size: 1rem;
  color: var(--grafito-light);
  margin-bottom: 1rem;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--marfil);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  transition: var(--transition);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: rgba(47, 47, 47, 0.02);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--grafito-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

/* ---- CTA Final ---- */
.cta-final {
  padding: 4rem 0;
  background: var(--marfil);
}

.cta-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 700px;
  margin: 0 auto;
}

.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.cta-shape-1 {
  width: 200px;
  height: 200px;
  background: var(--rosa);
  filter: blur(60px);
  top: -50px;
  left: -50px;
}

.cta-shape-2 {
  width: 150px;
  height: 150px;
  background: var(--celeste);
  filter: blur(50px);
  bottom: -30px;
  right: -30px;
}

.cta-shape-3 {
  width: 100px;
  height: 100px;
  background: var(--sage);
  filter: blur(40px);
  top: 30px;
  right: 30px;
}

.cta-title {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-text {
  position: relative;
  font-size: 1rem;
  color: var(--grafito-light);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-whatsapp {
  position: relative;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--grafito-muted);
  font-weight: 600;
}

/* ---- Footer ---- */
.footer {
  background: var(--grafito);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--white);
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-legal p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-note {
  margin-top: 0.5rem;
  font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    padding: 4rem 0 5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-visual {
    margin-top: 0;
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .split-layout {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .split-layout--reverse {
    flex-direction: row-reverse;
  }

  .split-visual,
  .split-content {
    flex: 1;
  }

  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 3.5rem 2.5rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* ============================================
   DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

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

  .hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  .hero-content {
    flex: 1;
  }

  .hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .hero-img {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.75rem;
  }

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

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

  .faq-question {
    font-size: 1.0625rem;
    padding: 1.5rem 2rem;
  }

  .faq-answer {
    padding: 0 2rem 1.5rem;
  }

  .cta-box {
    padding: 4rem 3rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
