@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --purple-deep: #5B1A8A;
  --purple-dark: #1A0B2E;
  --purple-mid: #7B2FBE;
  --purple-light: #A855F7;
  --gold: #F5A623;
  --gold-light: #FFD166;
  --gold-dark: #D4911E;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-body: #374151;
  --text-muted: #555E6C;
  --magenta: #E91E8C;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --gradient-whatsapp: linear-gradient(135deg, var(--whatsapp-dark), var(--whatsapp-green));
  --shadow-whatsapp: 0 8px 32px rgba(37,211,102,0.3);
  --gradient-primary: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  --gradient-gold: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  --gradient-hero: linear-gradient(135deg, #1A0B2E 0%, #5B1A8A 50%, #3B0764 100%);
  --shadow-sm: 0 2px 8px rgba(91,26,138,0.1);
  --shadow-md: 0 8px 32px rgba(91,26,138,0.15);
  --shadow-lg: 0 16px 48px rgba(91,26,138,0.2);
  --shadow-gold: 0 8px 32px rgba(245,166,35,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

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

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 0;
  background: rgba(26,11,46,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.header.scrolled {
  background: rgba(26,11,46,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s, filter 0.3s;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.header.scrolled .header-logo img { height: 42px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  justify-content: center;
  flex-grow: 1;
}
.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.btn-cta {
  background: var(--gradient-gold);
  color: var(--purple-dark);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 40px rgba(245,166,35,0.4); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: var(--gold); color: var(--purple-dark); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--gradient-whatsapp);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-whatsapp);
  white-space: nowrap;
  flex-shrink: 0;
  animation: pulse-whatsapp 2s infinite;
}
.btn-whatsapp:hover { 
  transform: translateY(-2px) scale(1.03); 
  box-shadow: 0 12px 40px rgba(37,211,102,0.5); 
  animation: none; 
}
.btn-whatsapp i { font-size: 1.25rem; }

.btn-whatsapp-outline {
  background: transparent;
  border: 2px solid var(--whatsapp-green);
  color: var(--whatsapp-green);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-whatsapp-outline:hover { 
  background: var(--gradient-whatsapp); 
  color: var(--white); 
  border-color: transparent;
  transform: translateY(-2px); 
  box-shadow: var(--shadow-whatsapp);
}
.btn-whatsapp-outline i { font-size: 1.25rem; }

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.mobile-toggle span { display: block; width: 28px; height: 3px; background: var(--white); border-radius: 3px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(168,85,247,0.3) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(245,166,35,0.15) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white); font-weight: 900;
  margin-bottom: 8px;
}
.hero-text h1 span { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-text .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px; max-width: 500px;
  font-weight: 300;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }

.hero-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--gradient-gold);
  color: var(--purple-dark);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(245,166,35,0.3); }
  50% { box-shadow: 0 8px 48px rgba(245,166,35,0.6); }
}

/* ===== WAVE SEPARATOR ===== */
.wave-separator { position: relative; overflow: hidden; line-height: 0; }
.wave-separator svg { display: block; width: 100%; }
.wave-separator.purple svg { fill: var(--purple-dark); }
.wave-separator.cream svg { fill: var(--cream); }

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }
.section-title {
  text-align: center; margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--purple-deep); font-weight: 800;
}
.section-title span { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle {
  text-align: center; color: var(--text-body);
  font-size: 1.1rem; max-width: 600px; margin: 0 auto 60px;
}

/* ===== ABOUT ===== */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  transform: translate(16px, 16px);
  z-index: -1;
}
.about-text h2 { font-size: 2.2rem; color: var(--purple-deep); margin-bottom: 20px; font-weight: 800; }
.about-text p { color: var(--text-body); margin-bottom: 16px; line-height: 1.8; }

.stats-row { display: flex; gap: 32px; margin-top: 32px; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 900; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.85rem; color: var(--text-body); font-weight: 500; }

/* ===== PRODUCTS ===== */
.products { background: var(--purple-dark); color: var(--white); }
.products .section-title { color: var(--white); }
.products .section-subtitle { color: rgba(255,255,255,0.75); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.4s;
  backdrop-filter: blur(10px);
}
.product-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.1); border-color: var(--gold); box-shadow: 0 16px 48px rgba(245,166,35,0.15); }
.product-card .product-icon { font-size: 3.5rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 700; }
.product-card p { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

.products-image { margin-top: 60px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.products-image img { width: 100%; }

/* ===== FRANCHISE PLANS ===== */
.plans { background: linear-gradient(180deg, var(--cream) 0%, #F3E8FF 100%); }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: scale(1.05); }
.plan-card.featured:hover { transform: scale(1.05) translateY(-8px); }

.plan-badge {
  position: absolute; top: 20px; right: -30px;
  background: var(--gradient-gold);
  color: var(--purple-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.75rem;
  padding: 6px 40px;
  transform: rotate(45deg);
}

.plan-header { text-align: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid #F3E8FF; }
.plan-icon { font-size: 2.5rem; margin-bottom: 12px; }
.plan-name { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--purple-deep); margin-bottom: 4px; }
.plan-price { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.plan-price-sub { font-size: 0.85rem; color: var(--text-body); }

.plan-features { list-style: none; flex-grow: 1; margin-bottom: 32px; }
.plan-features li {
  padding: 8px 0; display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-body);
}
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.plan-card .btn-cta, .plan-card .btn-outline, .plan-card .btn-whatsapp, .plan-card .btn-whatsapp-outline { width: 100%; justify-content: center; }

/* ===== ADVANTAGES ===== */
.advantages { background: var(--purple-dark); color: var(--white); }
.advantages .section-title { color: var(--white); }
.advantages .section-subtitle { color: rgba(255,255,255,0.75); }

.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.advantage-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s;
  backdrop-filter: blur(10px);
}
.advantage-card:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); transform: translateY(-6px); }
.advantage-card .adv-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.advantage-card h3 { font-size: 1.2rem; margin-bottom: 12px; font-weight: 700; }
.advantage-card p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ===== FAQ ===== */
.faq { background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(91,26,138,0.06);
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  padding: 20px 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 1.05rem;
  cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  color: var(--purple-deep);
  background: none; border: none; width: 100%; text-align: left;
}
.faq-question .faq-icon {
  font-size: 1.5rem; color: var(--gold);
  transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-body); line-height: 1.8; font-size: 0.95rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient-primary);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245,166,35,0.1) 0%, transparent 60%);
}
.cta-section h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-section h2 span { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 40px; max-width: 550px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-section .btn-cta, .cta-section .btn-whatsapp { font-size: 1.1rem; padding: 16px 40px; position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.footer { background: var(--purple-dark); color: rgba(255,255,255,0.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.8; }
.footer-brand img { height: 48px; filter: brightness(0) invert(1); }
.footer h4 { color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: 20px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--gold); color: var(--purple-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(245,166,35,0.3); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */

/* --- Tablet landscape / small desktop --- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }

  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-8px); }
  .advantages-grid { grid-template-columns: 1fr 1fr; }

  .hero-content { gap: 40px; }
  .about-grid { gap: 40px; }
  .footer-grid { gap: 32px; }
}

/* --- Tablet portrait / large phones --- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  /* Header */
  .nav-links, .header .btn-cta, .header .btn-whatsapp { display: none; }
  .mobile-toggle { display: flex; }
  .header { padding: 10px 0; }
  .header-logo img { height: 44px; }
  .header.scrolled .header-logo img { height: 38px; }

  /* Mobile Menu */
  .mobile-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
    height: 100dvh;
    background: rgba(26,11,46,0.98); backdrop-filter: blur(20px);
    z-index: 2000; padding: 80px 24px 32px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column; gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-menu.open { right: 0; }
  .mobile-menu a {
    display: block; padding: 14px 16px; color: var(--white);
    font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600;
    border-radius: var(--radius-sm); transition: background 0.3s;
    min-height: 48px;
    display: flex; align-items: center;
  }
  .mobile-menu a:hover { background: rgba(255,255,255,0.08); }
  .mobile-menu .btn-cta, .mobile-menu .btn-whatsapp {
    margin-top: 20px; text-align: center; justify-content: center;
    min-height: 52px; font-size: 1rem;
  }
  .mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .mobile-overlay.open { opacity: 1; pointer-events: auto; }
  .close-menu {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: var(--white);
    font-size: 2rem; cursor: pointer;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
  }

  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-text h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); margin-bottom: 4px; }
  .hero-text .subtitle { margin-left: auto; margin-right: auto; font-size: clamp(0.95rem, 3vw, 1.15rem); margin-bottom: 24px; }
  .hero-buttons { justify-content: center; gap: 12px; }
  .hero-buttons .btn-cta, .hero-buttons .btn-whatsapp { padding: 14px 24px; font-size: 0.9rem; }
  .hero-buttons .btn-outline, .hero-buttons .btn-whatsapp-outline { padding: 14px 24px; font-size: 0.9rem; }
  .hero-image { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-badge {
    bottom: -10px; left: 50%; transform: translateX(-50%);
    padding: 12px 20px; font-size: 0.95rem;
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-text h2 { font-size: 1.75rem; text-align: center; }
  .about-text p { font-size: 0.95rem; }
  .about-image::after { transform: translate(10px, 10px); }
  .stats-row { justify-content: center; gap: 24px; }
  .stat-number { font-size: 2rem; }

  /* Products */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-card { padding: 20px 16px; }
  .product-card .product-icon { font-size: 2.8rem; margin-bottom: 12px; }
  .product-card h3 { font-size: 1.05rem; }
  .product-card p { font-size: 0.85rem; }
  .products-image { margin-top: 40px; }

  /* Plans */
  .plans-grid { gap: 24px; }
  .plan-card { padding: 32px 24px; }
  .plan-header { margin-bottom: 24px; padding-bottom: 20px; }
  .plan-icon { font-size: 2rem; }
  .plan-name { font-size: 1.4rem; }
  .plan-price { font-size: 1.8rem; }
  .plan-features { margin-bottom: 24px; }
  .plan-features li { font-size: 0.88rem; padding: 7px 0; }
  .plan-card .btn-cta, .plan-card .btn-outline, .plan-card .btn-whatsapp, .plan-card .btn-whatsapp-outline { min-height: 48px; font-size: 0.95rem; }

  /* Advantages */
  .advantages-grid { grid-template-columns: 1fr; gap: 16px; }
  .advantage-card { padding: 28px 24px; }
  .advantage-card .adv-icon { font-size: 2.4rem; margin-bottom: 14px; }
  .advantage-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
  .advantage-card p { font-size: 0.88rem; }

  /* FAQ */
  .faq-question { padding: 16px 20px; font-size: 0.95rem; min-height: 52px; }
  .faq-answer-inner { padding: 0 20px 16px; font-size: 0.9rem; }

  /* CTA */
  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .cta-section p { font-size: 1rem; margin-bottom: 28px; }
  .cta-section .btn-cta { font-size: 1rem; padding: 14px 32px; }

  /* Footer */
  .footer { padding: 48px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand img { margin: 0 auto; }
  .footer-brand p { max-width: 400px; margin-left: auto; margin-right: auto; }
  .footer h4 { font-size: 0.95rem; margin-bottom: 14px; }
  .footer ul a { font-size: 0.88rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 0.8rem; }
  .footer-social { justify-content: center; }

  /* Section titles */
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 12px; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 40px; }

  /* Wave separators */
  .wave-separator svg { height: 50px; }

  /* Buttons — better touch targets */
  .btn-cta, .btn-whatsapp { min-height: 48px; }
  .btn-outline, .btn-whatsapp-outline { min-height: 48px; }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }

  .hero { padding: 90px 0 48px; }
  .hero-text h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-text .subtitle { font-size: 0.9rem; margin-bottom: 20px; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .hero-buttons .btn-cta, .hero-buttons .btn-outline, .hero-buttons .btn-whatsapp, .hero-buttons .btn-whatsapp-outline { width: 100%; justify-content: center; max-width: 300px; }
  .hero-image { max-width: 260px; }
  .hero-badge { font-size: 0.85rem; padding: 10px 16px; }

  .about-text h2 { font-size: 1.5rem; }
  .about-image::after { transform: translate(8px, 8px); border-width: 2px; }
  .stats-row { flex-direction: column; align-items: center; gap: 16px; }
  .stat-number { font-size: 1.8rem; }

  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { padding: 20px; }
  .products-image { margin-top: 28px; }

  .plans-grid { max-width: 100%; }
  .plan-card { padding: 28px 20px; }
  .plan-header { margin-bottom: 20px; padding-bottom: 16px; }
  .plan-name { font-size: 1.3rem; }
  .plan-price { font-size: 1.6rem; }
  .plan-price-sub { font-size: 0.8rem; }
  .plan-features li { font-size: 0.85rem; padding: 6px 0; }

  .advantages-grid { gap: 12px; }
  .advantage-card { padding: 24px 20px; }

  .faq-question { padding: 14px 16px; font-size: 0.9rem; }
  .faq-answer-inner { padding: 0 16px 14px; font-size: 0.88rem; }

  .cta-section { padding: 52px 0; }
  .cta-section h2 { font-size: 1.5rem; padding: 0 8px; }
  .cta-section p { font-size: 0.9rem; margin-bottom: 24px; padding: 0 8px; }
  .cta-section .btn-cta, .cta-section .btn-whatsapp { font-size: 0.95rem; padding: 14px 28px; width: 100%; max-width: 320px; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand { grid-column: auto; }
  .footer ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .footer ul li { margin-bottom: 0; }
  .footer-social { justify-content: center; }

  .section-title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 32px; }

  .wave-separator svg { height: 36px; }

  /* Scroll reveal — reduce movement distance for mobile */
  .reveal { transform: translateY(24px); }
  .reveal-left { transform: translateX(-24px); }
  .reveal-right { transform: translateX(24px); }
}

/* --- Very small phones (Galaxy Fold, etc.) --- */
@media (max-width: 360px) {
  .container { padding: 0 12px; }

  .hero { padding: 84px 0 40px; }
  .hero-text h1 { font-size: 1.4rem; }
  .hero-image { max-width: 220px; }

  .plan-card { padding: 24px 16px; }
  .plan-name { font-size: 1.2rem; }
  .plan-price { font-size: 1.4rem; }

  .advantage-card { padding: 20px 16px; }
  .advantage-card .adv-icon { font-size: 2rem; }

  .footer-social a { width: 38px; height: 38px; font-size: 1rem; }
}

/* --- Fix for iOS safe areas --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
}

/* --- Reduce motion for users who prefer it --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { transition: none; opacity: 1; transform: none; }
  .hero-image img { animation: none; }
  .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}
