:root {
  --ink: #0b2f23;
  --ink-2: #173f30;
  --moss: #2f6b4f;
  --sage: #d7e5dc;
  --mint: #eef6f1;
  --cream: #fbf8ef;
  --sand: #ece2d2;
  --white: #ffffff;
  --muted: #5d7167;
  --line: rgba(15, 55, 41, .16);
  --shadow: 0 24px 70px rgba(15, 55, 41, .12);
  --shadow-soft: 0 14px 38px rgba(15, 55, 41, .09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 42px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 6%, rgba(215, 229, 220, .78), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(236, 226, 210, .8), transparent 32%),
    var(--cream);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section-pad { padding: clamp(72px, 8vw, 112px) 0; }
.compact-top { padding-top: clamp(36px, 5vw, 64px); }
.soft-bg {
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(238,246,241,.86)),
    linear-gradient(180deg, rgba(47,107,79,.03), rgba(47,107,79,.05));
  border-block: 1px solid rgba(15, 55, 41, .07);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 239, .86);
  border-bottom: 1px solid rgba(15, 55, 41, .10);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand-logo {
  width: 176px;
  height: auto !important;
  max-height: 72px;
  object-fit: contain;
}
.footer-logo { width: 190px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.nav-menu a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ink-2);
}
.nav-menu a:hover {
  background: var(--sage);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 10px;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--moss);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}
.centered .eyebrow::before { width: 24px; }

h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: 1.02; }
h1 {
  max-width: 740px;
  font-size: clamp(2.1rem, 3.4vw, 3.25rem);
  font-weight: 950;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  font-weight: 920;
}
h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -.035em;
}
p { margin: 0; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(54px, 6.5vw, 90px);
  padding-bottom: clamp(56px, 7vw, 92px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 34px auto auto 56%;
  width: min(34vw, 430px);
  height: min(34vw, 430px);
  border-radius: 50%;
  background: rgba(215, 229, 220, .64);
  filter: blur(4px);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
}
.hero-copy {
  padding: clamp(10px, 2vw, 24px) 0;
}
.hero-subtitle {
  margin-top: 26px;
  max-width: 680px;
  color: var(--moss);
  font-size: clamp(1.16rem, 1.65vw, 1.55rem);
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: -.045em;
}
.hero-text {
  margin-top: 18px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
}
.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(11, 47, 35, .18);
}
.btn-primary:hover { background: var(--moss); }
.btn-ghost,
.btn-outline {
  color: var(--ink);
  background: rgba(255,255,255,.58);
  border-color: var(--line);
}
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn.full { width: 100%; }
.trust-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-row span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}
.hero-media {
  position: relative;
  padding: clamp(12px, 1.6vw, 22px);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(215,229,220,.42));
  box-shadow: var(--shadow);
  max-width: 590px;
  justify-self: end;
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  background: var(--mint);
}
.floating-card {
  position: absolute;
  right: clamp(14px, 2vw, 30px);
  bottom: clamp(14px, 2vw, 30px);
  width: min(198px, 46%);
  padding: 17px;
  border-radius: 22px;
  background: rgba(11,47,35,.94);
  color: var(--white);
  box-shadow: 0 20px 50px rgba(11,47,35,.22);
}
.floating-card strong {
  display: block;
  font-size: clamp(1.16rem, 1.6vw, 1.55rem);
  line-height: 1;
}
.floating-card span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.78);
}

.split-grid,
.event-grid,
.quote-grid,
.cta-grid {
  display: grid;
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}
.split-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.event-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.quote-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; }
.cta-grid { grid-template-columns: minmax(0, 1fr) auto; }

.image-stack {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.image-main,
.event-collage,
.info-card img,
.quote-intro img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 26px;
  background: var(--mint);
}
.mini-note {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(11,47,35,.12);
}
.section-copy > * + * { margin-top: 18px; }
.section-copy p,
.section-head p,
.quote-intro p,
.complements p,
.final-card p,
.cta-grid p {
  color: var(--muted);
  font-size: 1rem;
}
.section-head {
  max-width: 990px;
  margin-bottom: clamp(28px, 5vw, 52px);
}
.section-head h2 { max-width: 920px; }
.section-head p { max-width: 940px; margin-top: 16px; }
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}
.section-head.centered h2,
.section-head.centered p { margin-inline: auto; }
.section-head.centered .eyebrow { justify-content: center; }

.feature-grid.two-by-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 930px;
  margin-inline: auto;
}
.feature-card,
.benefit {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.feature-card img,
.benefit img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 10px;
  border-radius: 18px;
  background: var(--mint);
  margin-bottom: 18px;
}
.feature-card p,
.benefit p {
  margin-top: 12px;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}
.tag-list span,
.complement-list span {
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(15,55,41,.05);
}
.event-collage {
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.info-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.info-card img {
  border-radius: 24px;
}
.info-card p:not(.eyebrow) { color: var(--muted); margin-top: 12px; }
.info-card h2 { font-size: clamp(1.55rem, 2.2vw, 2.1rem); }

.bars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.bar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15,55,41,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.bar-card > img {
  width: 100%;
  height: 245px;
  padding: 10px;
  object-fit: contain;
  background: linear-gradient(135deg, var(--mint), var(--sand));
  border-bottom: 1px solid var(--line);
}
.bar-body { padding: 22px; }
.bar-body p {
  color: var(--muted);
  margin-top: 12px;
  min-height: 74px;
}
.details-toggle {
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, margin .3s ease;
  color: var(--muted);
}
.details-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid rgba(15,55,41,.08);
}
.details-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--moss);
  font-weight: 950;
}
.bar-card.is-open .details-list {
  max-height: 420px;
  margin-top: 14px;
}
.complements {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}
.complements .eyebrow { color: var(--sage); }
.complements h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.7rem); }
.complements p { color: rgba(255,255,255,.72); margin-top: 12px; }
.complement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.complement-list span {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.benefit { padding: 22px; }
.benefit h3 { font-size: 1.25rem; line-height: 1.08; }

.cta-band {
  background: linear-gradient(135deg, var(--ink), #1f573e);
  color: var(--white);
}
.cta-band .eyebrow { color: var(--sage); }
.cta-grid p { color: rgba(255,255,255,.76); margin-top: 16px; max-width: 760px; }
.cta-grid h2 { max-width: 780px; }

.quote-intro {
  position: sticky;
  top: 108px;
}
.quote-intro > * + * { margin-top: 18px; }
.quote-intro h2 { font-size: clamp(2rem, 3.4vw, 3.35rem); }
.quote-intro img {
  margin-top: 28px;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.quote-form {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-message {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: var(--mint);
  border: 1px solid rgba(47,107,79,.18);
  margin-bottom: 16px;
}
.form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label, fieldset legend {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
  font-size: .9rem;
}
.quote-form > label { margin-bottom: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(15,55,41,.18);
  border-radius: 15px;
  background: rgba(251,248,239,.72);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(47,107,79,.12);
}
textarea { min-height: 104px; resize: vertical; }
.checkbox-group {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
}
.checkbox-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--muted);
  font-weight: 800;
}
.checkbox-group input { width: auto; }
.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.final-card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(215,229,220,.68));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.final-card h2,
.final-card p { max-width: 850px; margin-inline: auto; }
.final-card p { margin-top: 16px; }
.final-card .btn { margin-top: 28px; }

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 52px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}
.footer-grid p {
  margin-top: 14px;
  color: rgba(255,255,255,.70);
}
.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.14);
}
.footer-links a:hover { background: rgba(255,255,255,.08); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1040px) {
  .hero-grid,
  .split-grid,
  .event-grid,
  .quote-grid,
  .cta-grid,
  .complements {
    grid-template-columns: 1fr;
  }
  .quote-intro { position: static; }
  .bars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-card { grid-template-columns: 150px 1fr; }
}

@media (max-width: 820px) {
  .nav { min-height: 74px; }
  .brand-logo {
    width: min(154px, 50vw);
    height: auto !important;
    max-height: 56px;
    object-fit: contain;
  }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: rgba(251,248,239,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { text-align: center; }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(2.05rem, 10.5vw, 2.85rem); }
  h2 { font-size: clamp(1.85rem, 8vw, 2.65rem); }
  .hero-grid { gap: 34px; }
  .hero-media { border-radius: 24px; padding: 10px; }
  .hero-media img { border-radius: 22px; }
  .floating-card { position: static; width: auto; margin-top: 10px; border-radius: 22px; }
  .feature-grid.two-by-two,
  .bars-grid,
  .benefits-grid,
  .info-cards,
  .form-row.two,
  .form-row.three,
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  .info-card { grid-template-columns: 1fr; }
  .info-card img { max-height: none; }
  .bar-card > img { height: auto; max-height: none; }
  .bar-body p { min-height: 0; }
  .mini-note { position: static; margin-top: 12px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .section-pad { padding: 58px 0; }
  .hero-subtitle { font-size: 1.32rem; }
  .hero-text, .section-copy p, .section-head p, .quote-intro p { font-size: .96rem; }
  .btn { width: 100%; }
  .trust-row span { width: 100%; text-align: center; }
  .image-stack, .quote-form, .final-card, .complements { border-radius: 26px; padding: 18px; }
  .feature-card, .benefit { padding: 20px; }
  .footer-logo { width: 172px; }
}


/* V11: Hero más balanceado para escritorio.
   Ajusta aquí si quieres hacerlo todavía más compacto. */
@media (min-width: 1041px) {
  .hero-copy { max-width: 560px; }
  .hero h1 { max-width: 620px; }
  .hero .eyebrow { margin-bottom: 12px; }
}

@media (min-width: 821px) and (max-width: 1180px) {
  h1 { font-size: clamp(2.35rem, 4.2vw, 3.55rem); }
  .hero-subtitle { font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
}
