﻿@import "../../shared/css/marketing-base.css";

body.theme-light {
  --bg: #f8fafc;
  --bg-soft: #eef2ff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.7);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(15, 23, 42, 0.14);
  --card-text: #0f172a;

  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(239, 63, 76, 0.14), transparent 45%),
    radial-gradient(circle at 82% 0%, rgba(56, 189, 248, 0.12), transparent 40%),
    #f8fafc;
}

body.theme-light .hero-top h1 {
  color: #0f172a;
}

body.theme-light .hero-copy,
body.theme-light .hero-cta-note,
body.theme-light .right-sub,
body.theme-light .mini-card p {
  color: rgba(15, 23, 42, 0.75);
}

body.theme-light .right-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.12);
}

body.theme-light .mini-card {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body.theme-light .lead-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 63, 76, 0.12), transparent 50%),
    #f8fafc;
}

body.theme-light .lead-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
}

body.theme-light .lead-kicker {
  color: rgba(15, 23, 42, 0.6);
}

body.theme-light .lead-card__intro h2 {
  color: #0f172a;
}

body.theme-light .lead-copy {
  color: rgba(15, 23, 42, 0.78);
}

body.theme-light .lead-field {
  color: rgba(15, 23, 42, 0.92);
}

body.theme-light .lead-field input,
body.theme-light .lead-field textarea {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.18);
}

body.theme-light .lead-field input::placeholder,
body.theme-light .lead-field textarea::placeholder {
  color: rgba(15, 23, 42, 0.55);
}

body.theme-light .footer {
  background: #f8fafc;
}

body.theme-light .footer-inner {
  color: rgba(15, 23, 42, 0.7);
}

body.theme-light .footer-watermark {
  color: rgba(15, 23, 42, 0.4);
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 24, 0.55);
  backdrop-filter: blur(14px);
}

.hero-panel,
#servicios,
#historias,
#proceso,
#faq,
#lead-section {
  scroll-margin-top: 110px;
}

body.theme-light .landing-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.65);
}

.landing-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.landing-brand__logo {
  width: 132px;
  height: auto;
}

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  justify-content: center;
}

.landing-nav__link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.85);
  border: 1px solid transparent;
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.landing-nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.theme-light .landing-nav__link {
  color: rgba(15, 23, 42, 0.78);
}

body.theme-light .landing-nav__link:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.landing-theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  line-height: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.9);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.landing-theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.landing-theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

body.theme-light .landing-theme-toggle {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(15, 23, 42, 0.85);
}

.landing-access-link {
  display: inline-flex;
}

.landing-nav-cta {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 18px 40px rgba(239, 63, 76, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(239, 63, 76, 0.4);
}

.hero-kicker {
  margin: 0 0 0.9rem;
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.theme-light .hero-kicker {
  color: rgba(15, 23, 42, 0.78);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.03);
}

.hero-secondary-cta {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.92);
}

body.theme-light .hero-badge {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.84);
}

.hero-secondary-link {
  font-weight: 800;
  text-decoration: none;
  color: rgba(248, 250, 252, 0.9);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-secondary-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

body.theme-light .hero-secondary-link {
  color: rgba(15, 23, 42, 0.85);
  border-color: rgba(15, 23, 42, 0.28);
}

body.theme-light .hero-secondary-link:hover {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.45);
}

.hero-secondary-dot {
  color: rgba(248, 250, 252, 0.55);
}

body.theme-light .hero-secondary-dot {
  color: rgba(15, 23, 42, 0.5);
}

.hero-metrics {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-metric {
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

body.theme-light .hero-metric {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-metric__val {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.hero-metric__label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.7);
  font-weight: 700;
}

body.theme-light .hero-metric__label {
  color: rgba(15, 23, 42, 0.65);
}

.trust-section {
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(2, 3, 10, 0.25);
}

body.theme-light .trust-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.09);
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(239, 63, 76, 0.35), rgba(255, 122, 115, 0.18));
  border: 1px solid rgba(239, 63, 76, 0.35);
  color: #fff;
  font-weight: 900;
}

.trust-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.trust-sub {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.72);
  font-weight: 600;
}

body.theme-light .trust-sub {
  color: rgba(15, 23, 42, 0.65);
}

.stories-section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.stories-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.stories-header {
  margin-bottom: 1.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.stories-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: #fff;
}

body.theme-light .stories-title {
  color: #0f172a;
}

.stories-sub {
  margin: 0;
  max-width: 60ch;
  color: rgba(248, 250, 252, 0.72);
  font-weight: 600;
}

body.theme-light .stories-sub {
  color: rgba(15, 23, 42, 0.65);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stories-cta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.stories-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.stories-cta-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

body.theme-light .stories-cta-link {
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
}

body.theme-light .stories-cta-link:hover {
  background: rgba(15, 23, 42, 0.07);
  border-color: rgba(15, 23, 42, 0.18);
}

.story-card {
  border-radius: 24px;
  padding: 1.25rem 1.25rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 55px rgba(2, 3, 10, 0.26);
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 70px rgba(2, 3, 10, 0.35);
}

body.theme-light .story-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.1);
}

.story-card--accent {
  background: radial-gradient(circle at 20% 20%, rgba(239, 63, 76, 0.22), transparent 55%), rgba(255, 255, 255, 0.06);
  border-color: rgba(239, 63, 76, 0.25);
}

.story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.story-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.story-name {
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

body.theme-light .story-name {
  color: #0f172a;
}

.story-tag {
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.9);
}

body.theme-light .story-tag {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.85);
}

.story-quote {
  margin: 0.85rem 0 0;
  color: rgba(248, 250, 252, 0.78);
  line-height: 1.55;
  font-weight: 600;
}

body.theme-light .story-quote {
  color: rgba(15, 23, 42, 0.72);
}

.process-section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-header {
  margin-bottom: 1.75rem;
}

.process-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: #fff;
  margin: 0 0 0.45rem;
}

body.theme-light .process-title {
  color: #0f172a;
}

.process-sub {
  margin: 0;
  max-width: 70ch;
  color: rgba(248, 250, 252, 0.72);
  font-weight: 600;
}

body.theme-light .process-sub {
  color: rgba(15, 23, 42, 0.65);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  border-radius: 24px;
  padding: 1.2rem 1.2rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

body.theme-light .process-step {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.process-num {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(239, 63, 76, 0.18);
  border: 1px solid rgba(239, 63, 76, 0.32);
  color: #fff;
  flex: 0 0 auto;
}

body.theme-light .process-num {
  color: #0f172a;
}

.process-step__title {
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.25rem;
}

body.theme-light .process-step__title {
  color: #0f172a;
}

.process-step__copy {
  color: rgba(248, 250, 252, 0.75);
  font-weight: 600;
  line-height: 1.5;
  font-size: 0.95rem;
}

body.theme-light .process-step__copy {
  color: rgba(15, 23, 42, 0.68);
}

.process-cta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.process-note {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
  font-weight: 600;
}

body.theme-light .process-note {
  color: rgba(15, 23, 42, 0.65);
}

.service-includes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.service-include {
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.88);
}

body.theme-light .service-include {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.84);
}

.faq-section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.faq-inner {
  max-width: 980px;
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 1.2rem;
}

.faq-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #fff;
}

body.theme-light .faq-title {
  color: #0f172a;
}

.faq-sub {
  margin: 0.45rem 0 0;
  color: rgba(248, 250, 252, 0.72);
  font-weight: 600;
}

body.theme-light .faq-sub {
  color: rgba(15, 23, 42, 0.65);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 26px rgba(2, 3, 10, 0.18);
}

body.theme-light .faq-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: rgba(248, 250, 252, 0.7);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0.6rem 0 0;
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.5;
  font-weight: 600;
}

body.theme-light .faq-item summary {
  color: #0f172a;
}

body.theme-light .faq-item summary::after {
  color: rgba(15, 23, 42, 0.55);
}

body.theme-light .faq-item p {
  color: rgba(15, 23, 42, 0.7);
}

@media (max-width: 980px) {
  .landing-nav__links {
    display: none;
  }

  .landing-brand__logo {
    width: 120px;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-includes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-nav {
    padding: 0.7rem 1rem;
  }

  .landing-theme-toggle {
    display: none;
  }

  .landing-nav-cta {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp-float__icon {
  width: 20px;
  height: 20px;
}

.instagram-float {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.instagram-float__icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .instagram-float {
    right: 16px;
    bottom: 68px;
    padding: 10px 14px;
    font-size: 14px;
  }
}
