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

:root {
  /* CLEAN LIGHT THEME VARIABLES */
  --bg-color: #FAFAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;

  --text-main: #0F172A;
  /* Slate 900 */
  --text-muted: #64748B;
  /* Slate 500 */

  --brand-pink: #EC4899;
  --brand-purple: #8B5CF6;
  --brand-blue: #3B82F6;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 10px 25px rgba(236, 72, 153, 0.15);
  --shadow-glow-hover: 0 15px 35px rgba(139, 92, 246, 0.25);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Bright ambient blobs for light theme */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  filter: blur(80px);
}

.blob-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 60%);
  filter: blur(100px);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 130px;
  width: auto;
  transition: all 0.3s ease;
}

nav.scrolled .logo img {
  height: 80px;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.nav-links .btn-diag-nav {
  background: #F1F5F9;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 100px;
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-links .btn-diag-nav:hover {
  background: #E2E8F0;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Hero Section */
header.hero {
  padding: 200px 0 80px;
  text-align: center;
  position: relative;
}

/* Small trust badge in hero */
.trust-badge {
  display: inline-block;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.trust-badge i {
  color: var(--brand-pink);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero .sub {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-hover);
  opacity: 0.95;
}

.btn-secondary {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-secondary i.fa-whatsapp {
  color: #25D366;
  margin-right: 6px;
  font-size: 1.1em;
}

.btn-wa {
  background: #25D366;
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-wa:hover:not(:disabled) {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-wa:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Value Proposition */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 60px;
  margin: 40px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  transition: border-color 0.3s ease;
  box-shadow: var(--shadow-card);
}

.value-card:hover {
  border-color: var(--border-hover);
}

.value-headline {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.value-list-box {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}

.value-list {
  list-style: none;
}

.value-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-pink);
  font-weight: bold;
}

.value-image-col img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

/* Sections */
section {
  padding: 80px 0;
  scroll-margin-top: 100px;
}

.section-title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-purple);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.08);
}

.feature-card i {
  font-size: 32px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.feature-card ul {
  list-style: none;
  color: var(--text-muted);
}

.feature-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
  position: relative;
  padding-left: 16px;
}

.feature-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-purple);
}

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

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.faq-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-card h3 span.num {
  font-size: 14px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--brand-purple);
  padding: 4px 10px;
  border-radius: 100px;
}

.faq-card p {
  color: var(--text-muted);
  font-size: 15px;
  padding-left: 45px;
}

/* Footer / Contact */
footer {
  margin-top: 80px;
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-color);
  background: #FFFFFF;
}

.contact-box {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.contact-box h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  text-align: center;
}

.contact-col span {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--brand-purple);
}

.contact-col a {
  display: block;
  color: #64748b;
  /* grisáceo */
  font-weight: 500;
  transition: color 0.2s;
  margin-bottom: 6px;
}

.contact-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #F1F5F9;
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #E2E8F0;
}

/* Calculator Form */
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px;
}

.calc-panel {
  background: #FAFAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.calc-panel h3 {
  font-size: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input[type="email"],
.form-group input[type="number"],
.form-group select {
  width: 100%;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  background: #F1F5F9;
}

.chip.on {
  background: rgba(236, 72, 153, 0.1);
  border-color: var(--brand-pink);
  color: var(--brand-pink);
  font-weight: 600;
}

.calc-btns {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.calc-btns button {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-calc-primary {
  background: var(--text-main);
  color: #fff;
}

.btn-calc-primary:hover {
  background: #334155;
}

.btn-calc-ghost {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-color) !important;
}

.btn-calc-ghost:hover {
  background: #F8FAFC;
}

/* Results Panel */
.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.kpi-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.kpi-box span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.kpi-box strong {
  font-size: 24px;
  color: var(--text-main);
}

.results-text h4 {
  font-size: 16px;
  margin: 16px 0 8px;
  color: var(--text-main);
}

.results-text p {
  font-size: 15px;
  color: var(--text-muted);
}

.results-text ul {
  padding-left: 20px;
  font-size: 15px;
  color: var(--brand-pink);
}

.results-text ul li span {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {

  /* ─── Nav Mobile ─── */
  nav {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
  }

  .logo img {
    height: 55px;
  }

  nav.scrolled .logo img {
    height: 45px;
  }

  .nav-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 16px;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    width: calc(100vw - 32px);
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 14px;
    flex-shrink: 0;
  }

  .nav-links .btn-diag-nav {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  /* ─── Hero padding ajustado ─── */
  header.hero {
    padding: 160px 0 60px;
  }

  /* ─── Resto ─── */
  .calc-container {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .value-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}