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

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f5;
  --cream: #f3eee6;
  --cream-2: #fbf8f2;
  --text: #111211;
  --muted: #626761;
  --line: #e5e7df;
  --green: #04a97b;
  --green-dark: #047c5e;
  --green-soft: #e8f7f2;
  --black: #080908;
  --shadow: 0 20px 60px rgba(0,0,0,.09);
  --shadow-soft: 0 12px 34px rgba(0,0,0,.055);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.top-banner {
  background: var(--black);
  color: rgba(255,255,255,.86);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  padding: 10px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding: 12px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229,231,223,.9);
}

.brand img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

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

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--black);
  color: white;
  font-size: 14px;
  font-weight: 900;
}

section { padding: 96px 5vw; }

.hero {
  min-height: calc(100vh - 114px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(4,169,123,.12), transparent 30%),
    radial-gradient(circle at 22% 78%, rgba(0,0,0,.035), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbf8f2 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(43px, 5.7vw, 78px);
  line-height: .95;
  letter-spacing: -.065em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4.1vw, 56px);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  color: #2f332f;
  max-width: 780px;
}

.hero-support {
  font-size: 17px;
  color: var(--muted);
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--green-dark); }

.btn-secondary {
  background: #fff;
  color: var(--black);
  border-color: var(--line);
}

.full-width { width: 100%; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 680px;
}

.trust-row div {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.035);
}

.trust-row strong {
  display: block;
  font-size: 26px;
  letter-spacing: -.04em;
}

.trust-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.hero-card {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card-large {
  position: absolute;
  left: 0;
  top: 70px;
  width: 64%;
  z-index: 2;
}

.hero-side {
  position: absolute;
  right: 0;
  top: 12px;
  width: 42%;
  display: grid;
  gap: 18px;
  z-index: 1;
}

.hero-stamp {
  position: absolute;
  left: 46%;
  bottom: 74px;
  z-index: 3;
  width: 210px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(8,9,8,.92);
  color: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  font-size: 14px;
  font-weight: 700;
}

.hero-stamp span {
  display: block;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-bottom: 4px;
}

.quick-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 5vw;
  background: var(--black);
  color: white;
}

.quick-strip strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.03em;
}

.quick-strip span {
  color: rgba(255,255,255,.68);
}

.quick-strip a {
  flex: none;
  color: var(--black);
  background: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.value-section, .calculator-section, .content-kit-section, .faq-section {
  background: var(--bg-soft);
}

.value-grid, .products-grid, .benefits-grid, .academy-grid, .kit-grid {
  display: grid;
  gap: 18px;
}

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

.value-card, .product-card, .benefit-card, .academy-grid article, .kit-card, details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.value-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.icon-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: var(--green);
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 0 0 8px var(--green-soft);
}

.value-card p, .product-card p, .benefit-card p, .academy-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.product-card-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
  background: var(--cream-2);
  border: 1px solid rgba(0,0,0,.05);
}

.product-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.product-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.product-meta strong { color: var(--text); }
.product-meta .profit strong { color: var(--green-dark); }

.quantity-control {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  gap: 12px;
  background: #fff;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-soft);
  cursor: pointer;
  font-weight: 900;
  font-size: 20px;
  touch-action: manipulation;
}

.qty-btn:hover { background: var(--green-soft); }

.qty-number {
  min-width: 28px;
  text-align: center;
  font-weight: 900;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 24px;
  align-items: start;
}

.calculator-products, .order-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.calculator-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.calc-help { color: var(--muted); margin-bottom: 0; }

.mini-badge {
  flex: none;
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.calculator-items {
  display: grid;
  gap: 12px;
}

.calc-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: border .18s ease, background .18s ease;
}

.calc-item:hover {
  border-color: rgba(4,169,123,.28);
  background: #fcfffd;
}

.calc-thumb {
  width: 76px;
  height: 76px;
  border-radius: 17px;
  object-fit: cover;
}

.calc-item p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 14px;
}

.order-summary {
  position: sticky;
  top: 104px;
}

.summary-kicker {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.progress-wrap { margin: 20px 0; }

.progress-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.recommended-label { color: var(--green-dark); }

.progress-track {
  height: 10px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  border-radius: 999px;
  transition: width .25s ease;
}

.dynamic-message {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid rgba(4,169,123,.18);
  border-radius: 20px;
  padding: 15px;
  font-weight: 800;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 20px 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list dt { color: var(--muted); }

.summary-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.summary-note {
  color: var(--muted);
  font-size: 13px;
}

.small { font-size: 12px; }

.benefits-grid { grid-template-columns: repeat(5, 1fr); }

.benefit-card {
  position: relative;
  overflow: hidden;
}

.benefit-card span {
  display: inline-flex;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.benefit-card.highlighted {
  border-color: var(--green);
  background: linear-gradient(180deg, #fff, var(--green-soft));
  transform: translateY(-8px);
}

.benefit-card.best {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.benefit-card.best p { color: rgba(255,255,255,.72); }
.benefit-card.best span { color: var(--green); }

.section-note {
  text-align: center;
  color: var(--muted);
  margin-top: 22px;
}

.academy-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.academy-pattern {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  opacity: .045;
  filter: grayscale(1);
  pointer-events: none;
}

.academy-section > *:not(.academy-pattern) { position: relative; }

.academy-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.academy-copy {
  background: var(--black);
  color: #fff;
  border-radius: 36px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.academy-copy p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
  font-size: 17px;
}

.academy-copy strong { color: #fff; }

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

.kit-grid { grid-template-columns: repeat(6, 1fr); }

.kit-card {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 900;
  background: #fff;
}

.kit-card span {
  color: var(--green-dark);
  font-size: 12px;
  margin-bottom: 28px;
}

.real-section {
  background:
    radial-gradient(circle at 72% 20%, rgba(4,169,123,.14), transparent 28%),
    var(--black);
  color: #fff;
}

.real-section .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.real-section .eyebrow { color: var(--green); }

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 850;
}

summary::-webkit-details-marker { display: none; }

details p {
  padding: 0 22px 22px;
  color: var(--muted);
  margin: 0;
}

.final-cta {
  text-align: center;
  background: linear-gradient(180deg, #101010, #020202);
  color: #fff;
}

.final-cta .eyebrow { color: var(--green); }

.final-cta p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 18px;
}

.site-footer {
  padding: 36px 5vw;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer img { height: 38px; width: auto; }
.site-footer a { color: var(--green-dark); font-weight: 900; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 620px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .academy-layout { grid-template-columns: 1fr; }
  .kit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .top-banner {
    font-size: 12px;
    line-height: 1.35;
  }

  section { padding: 68px 20px; }

  .site-header {
    min-height: 68px;
    padding: 10px 20px;
  }

  .brand img {
    height: 36px;
    max-width: 190px;
    object-fit: contain;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 13px;
  }

  h1 { font-size: 42px; }
  h2 { font-size: 34px; }

  .hero { gap: 30px; }

  .hero-actions {
    flex-direction: column;
  }

  .btn { width: 100%; }

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

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .hero-card-large,
  .hero-side,
  .hero-stamp {
    position: static;
    width: 100%;
    transform: none;
  }

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

  .hero-stamp {
    width: 100%;
  }

  .quick-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-strip a {
    width: 100%;
    text-align: center;
  }

  .value-grid, .products-grid, .benefits-grid, .academy-grid, .kit-grid {
    grid-template-columns: 1fr;
  }

  .calculator-products, .order-summary {
    padding: 20px;
    border-radius: 26px;
  }

  .calculator-header {
    flex-direction: column;
  }

  .calc-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .calc-item .quantity-control {
    grid-column: 1 / -1;
    width: 100%;
  }

  .quantity-control {
    justify-content: space-between;
  }

  .calc-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .summary-list div {
    align-items: flex-start;
  }

  .benefit-card.highlighted {
    transform: none;
  }

  .academy-copy {
    padding: 24px;
    border-radius: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* V5: calculadora compacta y mobile más ágil */
.calculator-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(4,169,123,.08), transparent 28%),
    var(--bg-soft);
}

.calculator-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
}

.calculator-products {
  padding: 24px;
}

.calculator-header {
  margin-bottom: 14px;
}

.calculator-items {
  gap: 8px;
}

.compact-calc-item {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  padding: 10px 12px;
  border-radius: 18px;
  min-height: 82px;
}

.compact-calc-item .calc-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.calc-main strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  margin-bottom: 4px;
}

.calc-main p {
  font-size: 13px;
}

.compact-quantity {
  padding: 4px;
  gap: 8px;
}

.compact-quantity .qty-btn {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.compact-quantity .qty-number {
  min-width: 22px;
  font-size: 15px;
}

.order-summary {
  border: 1px solid rgba(4,169,123,.22);
}

.order-summary h3 {
  font-size: 26px;
}

.summary-list div:nth-child(4),
.summary-list div:nth-child(5),
.summary-list div:nth-child(6),
.summary-list div:nth-child(7) {
  background: #fbfffd;
  margin-left: -10px;
  margin-right: -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 12px;
}

.summary-list div:nth-child(6) dd {
  color: var(--green-dark);
  font-size: 18px;
}

#whatsappButton {
  margin-top: 8px;
  min-height: 58px;
  font-size: 16px;
}

@media (max-width: 1180px) {
  .calculator-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .calculator-section {
    padding-top: 54px;
  }

  .calculator-section .section-heading {
    margin-bottom: 22px;
  }

  .calculator-section .section-heading h2 {
    font-size: 31px;
  }

  .calculator-section .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .calculator-products,
  .order-summary {
    padding: 16px;
    border-radius: 24px;
  }

  .calculator-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .calculator-header h3 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .calc-help {
    font-size: 14px;
  }

  .mini-badge {
    width: 100%;
    justify-content: center;
  }

  .calculator-items {
    gap: 7px;
  }

  .compact-calc-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px;
    min-height: 72px;
  }

  .compact-calc-item .calc-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .calc-main strong {
    font-size: 14px;
  }

  .calc-main p {
    font-size: 12px;
  }

  .compact-calc-item .quantity-control {
    grid-column: auto;
    width: auto;
  }

  .compact-quantity {
    gap: 5px;
    padding: 3px;
  }

  .compact-quantity .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .compact-quantity .qty-number {
    min-width: 18px;
    font-size: 14px;
  }

  .order-summary {
    margin-top: 6px;
  }

  .order-summary h3 {
    font-size: 23px;
  }

  .dynamic-message {
    font-size: 14px;
    padding: 13px;
  }

  .summary-list {
    margin: 14px 0;
  }

  .summary-list div {
    padding: 10px 0;
    font-size: 14px;
  }

  .summary-list dd {
    max-width: 52%;
  }

  #whatsappButton {
    min-height: 56px;
  }
}

@media (max-width: 390px) {
  .compact-calc-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .compact-calc-item .calc-thumb {
    width: 46px;
    height: 46px;
  }

  .compact-calc-item .quantity-control {
    grid-column: 1 / -1;
    width: 100%;
  }

  .compact-quantity .qty-btn {
    width: 36px;
    height: 36px;
  }
}
