:root{
  --sage: #7A8B77;
  --stone: #E8E5E1;
  --white: #FFFFFF;

  --header-offset: 90px;

  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --text: #1a1a1a;
  --muted: rgba(26, 26, 26, .60);
  --border: rgba(26, 26, 26, .08);
  --accent: var(--sage);
  --accent-ink: #1a1a1a;
  --ring: rgba(122, 139, 119, .20);
  --shadow: 0 8px 32px rgba(0, 0, 0, .06);
  --radius: 24px;
  --max: 1200px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;

  /* Bootstrap theme alignment */
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--border);
  --bs-primary: var(--sage);
  --bs-primary-rgb: 122, 139, 119;
  --bs-link-color: #1a1a1a;
  --bs-link-hover-color: #1a1a1a;
  --bs-secondary-color: var(--muted);
  --bs-heading-color: var(--text);
  --bs-card-bg: var(--surface);
  --bs-card-border-color: var(--border);
}
a{ color: inherit; text-decoration: none; }

/* Make containers feel like the reference (a bit wider) */
.container{
  max-width: 1200px;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: all 0.3s ease-in-out;
}

header .navbar{
  --bs-navbar-color: rgba(26,26,26,.70);
  --bs-navbar-hover-color: rgba(26,26,26,.95);
  --bs-navbar-active-color: rgba(26,26,26,.95);
  --bs-navbar-toggler-border-color: rgba(26,26,26,.15);
  --bs-navbar-toggler-focus-width: 0.15rem;
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

header .navbar-toggler{
  border-radius: 12px;
}

header .navbar-toggler-icon{
  filter: none;
}

/* Ensure Bootstrap toggler icon shows on light header */
header .navbar-toggler-icon{
  background-image: var(--bs-navbar-toggler-icon-bg);
}

header .navbar-brand{
  margin-right: 0;
}

header .nav-link{
  font-size: 15px;
  color: rgba(26,26,26,.70);
  border-radius: 999px;
  font-weight: 500;
}
header .nav-link:hover{
  background: rgba(122, 139, 119, .08);
  color: rgba(26,26,26,.95);
}

/* Centrar menú en modo hamburguesa (móvil) */
@media (max-width: 767px) {
  header .navbar-collapse {
    text-align: center;
  }
  
  header .navbar-nav {
    align-items: center;
  }
  
  header .btn {
    margin-top: 0.5rem;
  }
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(122, 139, 119, .40), rgba(122, 139, 119, 0) 50%),
    linear-gradient(135deg, var(--sage), var(--sage));
  box-shadow: 0 8px 16px rgba(0, 0, 0, .35);
}
.brand .title{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand .title strong{ font-size: 15px; letter-spacing: .02em; color: var(--text); }
.brand .title span{ font-size: 13px; color: var(--muted); }


main{ padding-bottom: 0; }

section{ scroll-margin-top: var(--header-offset); }

.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 140px;
  background:
    radial-gradient(140% 140% at 50% 0%, rgba(122, 139, 119, .08), rgba(122, 139, 119, 0) 70%),
    linear-gradient(180deg, #FFFFFF, #FFFFFF);
  border-bottom: 1px solid var(--border);
}

.hero-content{
  max-width: 920px;
  margin: 0 auto;
}

.landing-badge{
  border: 1px solid var(--border);
  background: rgba(122, 139, 119, .04);
  color: var(--text);
  font-size: 13px;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
h1{
  margin: 0 0 32px;
  font-size: clamp(52px, 7vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}


.hero h1{ max-width: 100%; }
.lead{
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 740px;
  font-weight: 400;
}
.claim{
  margin: 24px 0 0;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--text);
}

.visual{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 130% at 10% 10%, rgba(122, 139, 119, .10), rgba(122, 139, 119, 0) 60%),
    linear-gradient(180deg, #FFFFFF, #E8E5E1);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
  display: grid;
  place-items: center;
  position: relative;
}
.visualInner{
  width: min(560px, calc(100% - 32px));
  padding: 28px;
  border-radius: 20px;
  border: 1px dashed rgba(122, 139, 119, .25);
  background: rgba(255, 255, 255, .90);
}
.visualTitle{ font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; font-size: 20px; }
.visualText{ margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.section{
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

/* Alternar colores de fondo entre secciones */
.section:nth-of-type(odd){
  background: var(--stone);
}

.section:nth-of-type(even){
  background: var(--white);
}
.sectionHeader{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
  text-align: center;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.sectionKicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 15, 26, .10);
  background: rgba(11, 15, 26, .04);
  color: rgba(11, 15, 26, .70);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h2{
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 800;
}
.sub{
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.7;
  max-width: 100%;
  font-weight: 400;
}

.landing-card{
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .03);
  backdrop-filter: blur(10px);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}

.landing-card:hover{
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  transform: translateY(-3px);
}

.miniCard{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(122, 139, 119, .02);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.miniCard:hover{
  border-color: rgba(122, 139, 119, .15);
  background: rgba(122, 139, 119, .05);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.miniIcon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(122, 139, 119, .25);
  background: rgba(122, 139, 119, .10);
  color: var(--text);
}
.miniIcon i{ font-size: 24px; }
.miniCard strong{ display:block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.miniCard span{ display:block; margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.landing-card-accent{
  border-color: rgba(122, 139, 119, .35);
}

.landing-card-cta{
  background-color: #6d7d6a;
}

.stat{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
}
.donut{
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: conic-gradient(var(--accent) 0 216deg, rgba(122, 139, 119,.12) 216deg 360deg);
  position: relative;
  box-shadow: 0 8px 20px rgba(122, 139, 119, .12);
}
.donut::after{
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--border);
}
.stat strong{
  font-size: 32px;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.stat span{ color: var(--muted); font-size: 15px; display:block; line-height: 1.6; }

.feature{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}
.icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(122, 139, 119, .06);
  display: grid;
  place-items: center;
  color: var(--text);
}
.icon i{ font-size: 24px; line-height: 1; }
.feature h3{ margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.feature p{ margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.quote{
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  background: rgba(122, 139, 119, .04);
  border-radius: 16px;
  color: var(--text);
  font-weight: 600;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
}

.checklist{
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li{
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}
.check{
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(122, 139, 119, .14);
  border: 1px solid rgba(122, 139, 119, .35);
  display: grid;
  place-items: center;
  color: rgba(11, 15, 26, .92);
  margin-top: 1px;
}

.step{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(122, 139, 119, .02);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.step:hover{
  border-color: var(--border);
  background: rgba(122, 139, 119, .05);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.num{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(122, 139, 119, .20);
  background: rgba(122, 139, 119, .08);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}
.step strong{ display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.step span{ color: var(--muted); font-size: 16px; line-height: 1.7; }

.case{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: rgba(122, 139, 119, .02);
}
.caseHeader{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.caseHeader strong{ font-size: 18px; font-weight: 700; }
.pill{
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  white-space: nowrap;
}
.case p{ margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

footer{
  border-top: 1px solid var(--border);
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

/* Comparison */
.comparisonList{ display: grid; gap: 16px; }
.compareHeader{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.compareEyebrow{
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(122, 139, 119, .04);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.compareTitle{
  margin: 12px 0 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.3;
}
.compareBadge{
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(122, 139, 119, .04);
  display: grid;
  place-items: center;
  color: var(--text);
  flex: 0 0 auto;
}
.compareBadge i{ font-size: 20px; line-height: 1; }
.compareBadge-accent{
  border-color: rgba(122, 139, 119, .25);
  background: rgba(122, 139, 119, .10);
}
.comparisonItem{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(122, 139, 119, .02);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.comparisonItem:hover{
  border-color: rgba(122, 139, 119, .15);
  background: rgba(122, 139, 119, .04);
  transform: translateX(6px);
}
.comparisonItem strong{ color: var(--text); }
.comparisonItem strong{ display:block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.comparisonItem span{ display:block; color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 4px; }
.comparisonIcon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(122, 139, 119, .06);
  color: var(--text);
}
.comparisonIcon i{ font-size: 18px; }

/* Buttons */
.btn-primary{
  --bs-btn-bg: var(--sage);
  --bs-btn-border-color: var(--sage);
  --bs-btn-hover-bg: #7A8B77;
  --bs-btn-hover-border-color: #7A8B77;
  --bs-btn-color: #FFFFFF;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(122, 139, 119, .28);
  --bs-btn-hover-bg: #6d7d6a;
  --bs-btn-hover-border-color: #6d7d6a;
}
.btn-light{
  --bs-btn-bg: #FFFFFF;
  --bs-btn-border-color: rgba(26, 26, 26, .15);
  --bs-btn-hover-bg: rgba(255, 255, 255, .9);
  --bs-btn-hover-border-color: rgba(26, 26, 26, .25);
  --bs-btn-color: var(--text);
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  border-width: 1px;
  border-style: solid;
}
.btn-light:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}
.btn-outline-secondary{
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.btn-outline-secondary:hover{
  background: rgba(122, 139, 119, .06);
  border-color: rgba(122, 139, 119, .20);
  color: var(--text);
  transform: translateY(-2px);
}

/* Footer */
.footer{
  padding: 100px 0 60px;
  border-top: 1px solid #1C2706;
  background: #151f05;
}

.footer-title{
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
}

.footer-links{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link{
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 16px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}

.footer-link:hover{
  color: #FFFFFF;
  transform: translateX(6px);
}

.footer-link i{
  width: 22px;
  font-size: 18px;
  color: #7A8B77;
}

.footer-legal{
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* Estilos específicos del navbar */
header .navbar{
  padding-top: 5px;
  padding-bottom: 5px;
}

header .navbar-brand img{
  height: 60px;
}

/* Hero section */
.hero{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/landing_hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero h1,
.hero .lead{
  color: white;
}

/* Card con texto con margen y color muted */
.landing-card p.card-text-muted{
  margin: 0;
  color: var(--muted);
}

/* Imagen con object-fit cover */
.landing-card img.img-cover{
  object-fit: cover;
}

/* CTA especial con fondo verde */
.landing-card-cta-green{
  background-color: #D5DEC5;
}

.landing-card-cta-green h2{
  font-size: 2rem;
  font-weight: 700;
  color: #1C2706;
}

.landing-card-cta-green p{
  color: #1C2706;
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}

.btn-cta-dark{
  background-color: #1C2706;
  color: white;
  border-radius: 60px;
  border: none;
  font-size: 1.1rem;
}

.btn-cta-dark:hover{
  background-color: #151f05;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 39, 6, .28);
}

@media (min-width: 760px){
  /* Bootstrap grid handles layout; keep only non-grid tweaks here. */
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
