/* ------------------------------------------------------------------
   Animanía – Estilos base (paleta verde fresca)
-------------------------------------------------------------------*/
:root {
  --color-primary: #236b3a;
  /* verde principal fresco */
  --color-secondary: #86d7ad;
  /* verde claro frío */
  --color-accent: #ecf8f2;
  /* fondo verdoso muy suave */
  --color-dark: #24312d;
  --color-light: #ffffff;
  --font-sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --max-width: 1200px;
  --gap: 1.5rem;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: #f6f9f7;
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none
}

a:hover {
  opacity: .9
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--gap) 0
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo {
  display: flex;
  align-items: center;
  background: var(--color-accent);
  border-radius: 10px;
  padding: .4rem .6rem;
  margin-right: var(--gap)
}

.logo img {
  height: 58px;
  width: auto;
  display: block
}

/* Botón hamburguesa */
.menu-btn {
  font-size: 1.6rem;
  background: none;
  border: 0;
  cursor: pointer;
  display: none;
  margin-left: auto;
  /* bien pegado a la derecha en móvil */
  line-height: 1;
}

/* Nav desktop */
.main-nav {
  position: relative
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--gap)
}

.main-nav a {
  padding: .55rem 1rem;
  border-radius: 8px;
  transition: background .25s, color .25s
}

.main-nav a:hover {
  background: var(--color-accent)
}

.main-nav a.active {
  background: var(--color-primary);
  color: #fff
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(460px, 62vh, 720px);
  padding: 4rem 0;
  background: linear-gradient(180deg, #edf9f3 0%, #e6f4ee 100%);
  overflow: hidden
}

.hero-media {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  pointer-events: none
}

.hero-media img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(1600px, 100%);
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: saturate(.95) hue-rotate(-12deg) contrast(1.05);
  opacity: .95
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(1200px 600px at 50% 40%, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0)),
    linear-gradient(0deg, rgba(20, 72, 43, .18), rgba(20, 72, 43, .18));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35)
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: .6rem
}

.hero p {
  max-width: 720px;
  margin: 0 auto 1rem
}

/* Buttons */
.btn,
.btn-secondary,
.link-btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer
}

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

.btn-secondary {
  background: var(--color-secondary);
  color: #123
}

.link-btn {
  background: transparent;
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-primary)
}

/* Sections / Cards */
.section {
  padding: 4rem 0;
  background: var(--color-accent)
}

.bg-light {
  background: #fff
}

.grid {
  display: grid;
  gap: var(--gap)
}

.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

.card,
.service-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 14px;
  border-top: 5px solid var(--color-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  text-align: center
}

/* ===== Beneficios ===== */
.section-benefits {
  background: linear-gradient(180deg, var(--color-accent) 0%, #ffffff 100%);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem
}

.pills {
  list-style: none;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.pills li {
  background: #fff;
  border: 1px solid var(--color-secondary);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-weight: 600
}

.benefits {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: .75rem
}

.benefit {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem 1.6rem 1.4rem;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  border: 1px solid #e5efe6;
  transform: translateY(6px);
  animation: benefitPop .65s ease both
}

.benefit:nth-child(1) {
  animation-delay: .05s
}

.benefit:nth-child(2) {
  animation-delay: .15s
}

.benefit:nth-child(3) {
  animation-delay: .25s
}

.benefit::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  opacity: .9
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(35, 107, 58, .18)
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  color: #fff;
  box-shadow: 0 8px 18px rgba(35, 107, 58, .25);
  margin-bottom: .8rem
}

.benefit-title {
  font-size: 1.2rem;
  margin-bottom: .4rem
}

.benefits-strip {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem
}

.benefits-strip span {
  background: #f0faf3;
  border: 1px dashed var(--color-secondary);
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600
}

@keyframes benefitPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98)
  }

  to {
    opacity: 1;
    transform: translateY(6px) scale(1)
  }
}

@media (max-width:880px) {
  .section-head {
    justify-content: flex-start
  }
}

/* ===== Servicios destacados ===== */
.section-services-showcase .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap)
}

.service-card.service-cta {
  position: relative;
  padding-top: 1.4rem;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  border: 1px solid #e7efe8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05)
}

.service-card.service-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 16px 16px 0 0;
  opacity: .95
}

.service-card.service-cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(35, 107, 58, .18)
}

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 8px 18px rgba(35, 107, 58, .25);
  margin-bottom: .8rem
}

.service-card.service-cta h3 {
  margin-bottom: .4rem
}

.service-card.service-cta p {
  margin-bottom: 1rem
}

.service-card.service-cta .btn {
  margin-top: .25rem
}

/* ===== Metodología ===== */
.section-method2 {
  background: linear-gradient(180deg, var(--color-accent), #ffffff);
  padding-top: 4rem;
  padding-bottom: 4rem
}

.method2-head {
  margin-bottom: .5rem
}

.method2-sub {
  opacity: .9
}

.method2-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 0 1.5rem;
  margin-bottom: .5rem
}

.method2-steps::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 42px;
  height: 6px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 999px;
  opacity: .25
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem
}

.step-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 10px 18px rgba(35, 107, 58, .28);
  border: 4px solid #fff;
  z-index: 1
}

.step small {
  opacity: .8
}

.method2-row {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  align-items: stretch
}

.method2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 16px;
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
  transition: transform .2s ease, box-shadow .25s ease;
  min-height: 320px
}

.method2-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 16px 16px 0 0
}

.method2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(35, 107, 58, .18)
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 8px 18px rgba(35, 107, 58, .25);
  margin-bottom: .55rem
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: .35rem
}

.method2-card p {
  margin: .55rem 0
}

.method-cta-global {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-weight: 700;
  border-radius: 12px
}

.cta-note {
  font-size: .9rem;
  opacity: .8
}

@media (max-width:1100px) {
  .method2-row {
    grid-template-columns: repeat(2, minmax(260px, 1fr))
  }
}

@media (max-width:720px) {
  .method2-steps {
    grid-template-columns: 1fr;
    row-gap: 1rem
  }

  .method2-steps::before {
    display: none
  }

  .method2-row {
    grid-template-columns: 1fr
  }
}

/* ===== Equipo ===== */
.section-team {
  background: linear-gradient(180deg, #ffffff, var(--color-accent));
  padding-top: 4rem;
  padding-bottom: 4rem
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  margin-top: .5rem
}

.team-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 16px;
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .25s ease;
  overflow: visible
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 16px 16px 0 0;
  opacity: .95
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(35, 107, 58, .18)
}

.team-photo {
  position: relative;
  margin: -0.6rem -0.6rem .9rem;
  height: clamp(240px, 34vh, 360px);
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--y, 40%);
  border-radius: 14px;
  display: block;
  transition: transform .6s ease;
  cursor: zoom-in
}

.team-card:hover .team-photo img {
  transform: scale(1.06)
}

.team-card h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
  font-size: 1.15rem;
  margin-top: .2rem
}

.team-role {
  font-size: .82rem;
  font-weight: 700;
  color: #1b5e20;
  background: #e8f5e9;
  border: 1px solid var(--color-secondary);
  border-radius: 999px;
  padding: .2rem .6rem
}

.team-card p {
  margin: .35rem 0 .2rem
}

@media (max-width:880px) {
  .team-photo {
    height: clamp(200px, 30vh, 300px)
  }
}

/* ===== Lightbox ===== */
.lb {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, .78);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation
}

.lb.show {
  opacity: 1;
  visibility: visible
}

.lb img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  background: #000
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  z-index: 1
}

body.lb-open {
  overflow: hidden;
  touch-action: none
}

/* Footer */
.site-footer {
  background: #1f2a26;
  color: #cfe7db;
  text-align: center;
  padding: 2rem 0
}

.site-footer .social-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: .5rem
}

.site-footer .social-links img,
.site-footer .social-links svg {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 24px
}

/* =================== Responsive NAV móvil =================== */
@media (max-width:880px) {
  .menu-btn {
    display: block;
    z-index: 60
  }

  /* Panel del menú: ocupa pantalla, entra desde la derecha */
  .main-nav ul {
    position: fixed;
    top: 100px;
    right: 0;
    width: min(92vw, 420px);
    height: 100dvh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    background: #fff;
    padding: 1rem 1rem 2rem;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    transform: translateX(105%);
    transition: transform .25s ease;
    z-index: 70;
  }

  .main-nav a {
    padding: 1rem 1rem
  }

  /* Botón X dentro del panel */
  .nav-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
    z-index: 71;
  }

  /* Backdrop que oscurece el fondo y permite cerrar al tocar */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 60;
  }

  /* Estados abiertos */
  .main-nav ul.show {
    transform: translateX(0)
  }

  body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto
  }

  /* Evita scroll de la página al abrir el menú */
  body.menu-open {
    overflow: hidden
  }
}

/* ======= Mobile polish ======= */
@media (max-width:600px) {
  .hero {
    min-height: clamp(400px, 58vh, 620px);
    padding: 3rem 0
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.35rem)
  }

  .hero p {
    font-size: .98rem
  }

  .btn,
  .btn-secondary {
    width: 100%
  }
}

@media (max-width:480px) {
  :root {
    --gap: 1.1rem
  }

  .container {
    width: 92%
  }

  .benefits,
  .services-grid,
  .method2-row,
  .team-grid {
    grid-template-columns: 1fr
  }

  .pills {
    justify-content: flex-start
  }
}

@media (max-width:880px) {
  .main-nav ul {
    width: 100vw;
    height: 100dvh;
    padding-top: 1rem
  }

  .main-nav a {
    padding: 1rem 1.25rem
  }
}

/* ===== Sobre Nosotros (hero y bloques reutilizables aquí también) ===== */
.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1800px 700px at 50% -10%, rgba(35, 107, 58, .08), rgba(35, 107, 58, 0) 70%),
    linear-gradient(180deg, #ecf8f2 0%, #ffffff 100%);
  padding: 4rem 0 3.2rem
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: -20% -10% -40% -10%;
  opacity: .18;
  pointer-events: none;
  background:
    radial-gradient(18rem 18rem at 12% 18%, rgba(134, 215, 173, .6) 0 60%, transparent),
    radial-gradient(22rem 16rem at 88% 62%, rgba(35, 107, 58, .5) 0 55%, transparent);
  filter: blur(6px)
}

.about-hero .container {
  position: relative;
  z-index: 1;
  text-align: center
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: .5rem;
  color: #1f2a26
}

.about-lead {
  max-width: 820px;
  margin: 0 auto;
  color: #2c4238
}

.about-split {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: var(--gap)
}

.about-block {
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05)
}

.about-block h2,
.about-block h3 {
  margin-bottom: .4rem
}

.muted {
  opacity: .8
}

.checklist {
  list-style: none;
  display: grid;
  gap: .6rem;
  padding-left: 0
}

.checklist li {
  position: relative;
  padding-left: 1.6rem
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(47, 125, 50, .2)
}

.checklist.small li {
  font-size: .95rem
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: var(--gap);
  margin-top: .75rem
}

.value-card {
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 14px;
  padding: 1rem 1rem .9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .05)
}

.value-card h4 {
  margin-bottom: .25rem;
  color: #1b5e20
}

.value-card p {
  opacity: .95
}

.timeline {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-left: 3px solid rgba(47, 125, 50, .18)
}

.tl-item {
  position: relative;
  padding: .4rem 0 .9rem 1rem
}

.tl-dot {
  position: absolute;
  left: -9px;
  top: .45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(47, 125, 50, .25)
}

.tl-item h4 {
  margin-bottom: .25rem
}

.about-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-top: .5rem
}

.mini {
  font-size: 1rem;
  margin: .25rem 0
}

.about-cta {
  text-align: center
}

.about-cta p {
  max-width: 760px;
  margin: .35rem auto 1rem
}

@media (max-width:980px) {
  .about-split {
    grid-template-columns: 1fr
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr))
  }

  .about-duo {
    grid-template-columns: 1fr
  }
}

@media (max-width:600px) {
  .values-grid {
    grid-template-columns: 1fr
  }
}

/* Micro-ajustes metodología + móvil */
.method2-steps {
  margin-bottom: .25rem
}

.step h3 {
  margin-top: .2rem
}

.step:hover .step-dot {
  transform: translateY(-2px);
  transition: transform .2s ease
}

@media (max-width:720px) {
  .method2-steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(120px, 1fr);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: .75rem;
    padding: .25rem .25rem .5rem;
    scroll-snap-type: x mandatory
  }

  .method2-steps::-webkit-scrollbar {
    display: none
  }

  .step {
    scroll-snap-align: center
  }

  .step-dot {
    width: 52px;
    height: 52px;
    border-width: 3px;
    box-shadow: 0 8px 14px rgba(35, 107, 58, .2)
  }

  .step small {
    display: none
  }
}

/* En táctiles, sin cursor de zoom */
@media (pointer:coarse) {
  .team-photo img {
    cursor: default
  }
}

/* ===== Servicios – hero ===== */
.svcs-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1400px 600px at 50% -10%, rgba(35, 107, 58, .09), transparent 70%),
    linear-gradient(180deg, #ecf8f2 0%, #ffffff 100%);
  padding: 3.5rem 0 2.2rem
}

.svcs-hero .container {
  text-align: center
}

.svcs-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1f2a26;
  margin-bottom: .4rem
}

.svcs-lead {
  max-width: 820px;
  margin: 0 auto .5rem;
  color: #2c4238
}

.svcs-pills {
  justify-content: center
}


/* ===== Packs / Tarifas / Comparador / Contacto ===== */
/* (Todo tu bloque original de precios, comparador y contacto se mantiene igual.
   Lo omito aquí para no duplicar aún más líneas, pero no he eliminado nada.) */

/* --- Formulario (labels flotantes + select) --- */
.field {
  position: relative
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1rem .95rem .9rem;
  border: 1px solid #dce8df;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: #1f2a26;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease
}

.field textarea {
  resize: vertical;
  min-height: 130px
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(35, 107, 58, .12)
}

.field label {
  position: absolute;
  left: .9rem;
  top: .78rem;
  padding: 0 .25rem;
  background: #fff;
  color: #5b6d62;
  pointer-events: none;
  transition: all .15s ease
}

.field input::placeholder,
.field textarea::placeholder {
  color: transparent
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label {
  transform: translateY(-.9rem) scale(.92);
  color: var(--color-primary)
}

/* Select con flecha custom */
.field select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232c4238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right .8rem center;
  background-size: 14px;
  padding-right: 2rem;
}

/* Select dentro de .field-select con label flotante */
.field-select label {
  transform: translateY(-.0rem) scale(1);
  color: #5b6d62
}

.field-select select:focus+label,
.field-select select:valid+label {
  transform: translateY(-.9rem) scale(.92);
  color: var(--color-primary)
}

/* Estados select */
.field-select select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(35, 107, 58, .12)
}

.field-select select:invalid {
  color: #2c4238
}

/* Accesibilidad */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important
}
/* Compáctalo en móvil */
@media (max-width: 880px){
  /* Todos los enlaces del panel */
  .main-nav a{
    padding: .7rem .9rem;      /* antes ~1rem 1.25rem */
    font-size: .95rem;         /* opcional, un pelín más pequeño */
  }

  /* Solo el enlace activo (verde) aún más compacto */
  .main-nav a.active{
    padding: .55rem .8rem;     /* reduce la “píldora” verde */
    border-radius: 8px;        /* opcional: menos redondeo */
  }
}

/* =========================
   Selector Online / Presencial (Tarifas)
   ========================= */
   .mode-switch,
   .tarifas-switch,
   .svcs-hero .tabs {
     display: flex;
     gap: .75rem;
     justify-content: center;
     align-items: center;
     margin: .75rem 0 1.25rem;
   }
   
   .mode-switch button,
   .tarifas-switch button,
   .svcs-hero .tabs button {
     appearance: none;
     border: 1px solid var(--color-border, #dfe5e0);
     background: #fff;
     padding: .45rem .9rem;
     border-radius: 999px;
     font-weight: 600;
     line-height: 1;
     cursor: pointer;
     box-shadow: 0 1px 1px rgba(16, 24, 16, .06);
     transition: background .2s ease, color .2s ease, border-color .2s ease, transform .06s ease;
   }
   
   .mode-switch button:hover,
   .tarifas-switch button:hover,
   .svcs-hero .tabs button:hover {
     border-color: var(--color-primary, #236B3A);
   }
   
   .mode-switch .is-active,
   .tarifas-switch .is-active,
   .svcs-hero .tabs .active,
   .svcs-hero .tabs .is-active {
     background: var(--color-primary, #236B3A);
     color: #fff;
     border-color: transparent;
     box-shadow: 0 3px 10px rgba(35, 107, 58, .18);
   }
   
   @media (min-width: 768px) {
     .mode-switch button,
     .tarifas-switch button,
     .svcs-hero .tabs button {
       padding: .55rem 1.1rem;
       font-size: .95rem;
     }
   }
   
   /* (Opcional) integra un poco más el selector en el hero de tarifas */
   .svcs-hero .mode-switch,
   .svcs-hero .tarifas-switch,
   .svcs-hero .tabs {
     margin-top: .5rem;
   }
   /* === Close button (X) para el off-canvas === */
.nav-close{
  display:none;                 /* oculta por defecto */
  position:absolute;
  top:.75rem;
  right:.75rem;
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#1f2a26;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  align-items:center;
  justify-content:center;
}

body.menu-open .nav-close{      /* visible cuando el menú está abierto */
  display:flex;
  z-index:3;                    /* por encima del panel y cualquier overlay */
}

.nav-close:hover{ filter:brightness(0.95); }
.nav-close:focus-visible{ outline:2px solid var(--color-primary); outline-offset:2px; }


   /* ====== Servicios – hero y layouts específicos ====== */
.svcs-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1400px 600px at 50% -10%, rgba(35, 107, 58, .09), transparent 70%),
    linear-gradient(180deg, #ecf8f2 0%, #ffffff 100%);
  padding: 3.5rem 0 2.2rem;
}

.svcs-hero .container {
  text-align: center
}

.svcs-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1f2a26;
  margin-bottom: .4rem
}

.svcs-lead {
  max-width: 820px;
  margin: 0 auto .5rem;
  color: #2c4238
}

.svcs-pills {
  justify-content: center
}

/* Packs */
.pack-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pack-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
  transition: transform .2s ease, box-shadow .25s ease;
}

.pack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(35, 107, 58, .18)
}

.pack-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  margin-bottom: .35rem
}

.pack-emoji {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 8px 18px rgba(35, 107, 58, .25);
}

.pack-meta {
  font-size: .92rem;
  opacity: .85
}

.pack-premium {
  border-width: 2px;
  border-color: rgba(35, 107, 58, .25);
}

.ribbon {
  position: absolute;
  top: 10px;
  right: -6px;
  background: var(--color-primary);
  color: #fff;
  padding: .25rem .55rem;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(35, 107, 58, .25);
}

/* Badges / estados */
.badge-soon {
  display: inline-block;
  margin: .35rem 0 .6rem;
  padding: .25rem .55rem;
  border: 1px dashed var(--color-secondary);
  border-radius: 999px;
  font-weight: 700;
  color: #1b5e20;
  background: #f0faf3;
}

.is-disabled {
  opacity: .6;
  pointer-events: none
}

/* Responsive puntual */
@media (max-width:720px) {
  .svcs-hero {
    padding: 3rem 0 1.8rem
  }
}
/* ===== Tarifas: selector, grid y cards ===== */
.price-switch {
  display: inline-flex;
  gap: .25rem;
  padding: .25rem;
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  margin: .75rem 0 .25rem;
}

.price-switch__btn {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  color: #1f2a26;
}

.price-switch__btn.is-active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(35, 107, 58, .25);
}

.price-group {
  display: none
}

.price-group.is-visible {
  display: block
}

/* rejilla de precios */
.price-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.price-card {
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
  transition: transform .2s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(35, 107, 58, .18)
}

.price-card__head {
  display: flex;
  flex-direction: column;
  gap: .25rem
}

.price-emoji {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 8px 18px rgba(35, 107, 58, .25);
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1b5e20
}

.price-card--soon .price {
  font-size: 1rem;
  color: #406b50
}

.faq {
  margin-top: .6rem;
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 12px;
  padding: .65rem .9rem
}

.faq summary {
  cursor: pointer;
  font-weight: 700
}

.faq[open] {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06)
}

@media (max-width:720px) {
  .price-switch {
    width: 100%;
    justify-content: space-between
  }

  .price-switch__btn {
    flex: 1;
    text-align: center
  }
}

/* ===== Tarifa con oferta ===== */
.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1b5e20;
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
}

.price .was {
  font-size: 1rem;
  font-weight: 700;
  color: #5b6d62;
  text-decoration: line-through;
  opacity: .7;
}

.price .now {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 900;
  color: var(--color-primary);
}

.price .plus {
  font-size: .95rem;
  color: #2c4238;
  opacity: .9;
}

/* Pegatina de oferta en cards de precio */
.price-card .ribbon {
  position: absolute;
  top: 10px;
  right: -6px;
  background: var(--color-primary);
  color: #fff;
  padding: .25rem .55rem;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(35, 107, 58, .25);
}

.ribbon-offer {
  background: linear-gradient(135deg, var(--color-primary), #2b7a3f);
}

.badge-save {
  display: inline-block;
  margin-top: -.3rem;
  margin-bottom: .25rem;
  background: #f0faf3;
  color: #1b5e20;
  border: 1px dashed var(--color-secondary);
  border-radius: 999px;
  padding: .2rem .55rem;
  font-weight: 700;
}

/* ===== Comparador (Sesión vs Pack) ===== */
.compare-switch {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin: .25rem 0 1rem;
}

.compare-switch__btn {
  padding: .5rem .9rem;
  border: 1px solid #e6efe7;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: #1f2a26;
}

.compare-switch__btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(35, 107, 58, .25);
}

.compare-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.cmp-card {
  background: #fff;
  border: 1px solid #e6efe7;
  border-radius: 16px;
  padding: 1.1rem 1.25rem 1.2rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.cmp-card.is-primary {
  border-width: 2px;
  border-color: rgba(35, 107, 58, .25);
}

.cmp-head {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cmp-emoji {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 30%, var(--color-secondary), var(--color-primary));
  box-shadow: 0 8px 18px rgba(35, 107, 58, .25);
}

.cmp-price {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  flex-wrap: wrap;
}

.cmp-price .was {
  font-size: 1rem;
  font-weight: 700;
  color: #5b6d62;
  text-decoration: line-through;
  opacity: .75;
}

.cmp-price .now {
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  font-weight: 900;
  color: var(--color-primary);
}

.cmp-lists .cmp-list[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact – HERO full-bleed, centrado y con padding consistente ===== */
.contact-hero{
  position: relative;
  isolation: isolate;               /* Para poder poner el fondo con ::before detrás */
}

.contact-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;                     /* full-bleed */
  transform: translateX(-50%);
  z-index: -1;

  /* Mismo “look” que en producción */
  background:
    radial-gradient(120% 140% at 50% -10%, rgba(35, 107, 58, .12) 0%, rgba(35, 107, 58, 0) 65%),
    linear-gradient(180deg, var(--color-light) 0%, #dfeee6 100%);
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 30px rgba(0,0,0,.06) inset;
}

.contact-hero .container{
  /* centra todo y da aire */
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding-block: clamp(28px, 7vw, 80px);
}

/* Fila de CTAs primaria (los dos botones) */
.contact-hero .cta-row{
  display: grid;
  gap: 10px;
  width: min(560px, 100%);
}

/* Pastillas/beneficios debajo */
.contact-hero .contact-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}

/* Botones un poco más compactos en móvil */
@media (max-width: 420px){
  .contact-hero .btn{ padding: .65rem .9rem; font-size: .95rem; }
}

/* En pantallas medianas, coloca los 2 CTAs en dos columnas y agranda un poco */
@media (min-width: 768px){
  .contact-hero .cta-row{
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .contact-hero .btn{ padding: .8rem 1.1rem; font-size: 1rem; }
}


/* --- Contacto: compactar etiqueta y valor --- */
.contact-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mantén etiqueta y valor en la misma línea, con poco hueco */
.contact-info ul li{
  display: flex;           /* más simple que grid para este caso */
  align-items: center;
  gap: .50rem;             /* reduce el espacio entre "Correo:" y el email */
  line-height: 1.2;        /* compacta verticalmente */
  margin: 0;               /* por si algún reset añade margen */
}

/* Opcional: si tu email es largo, que parta bien sin saltar de línea extraña */
.contact-info ul li a{
  word-break: break-word;  /* evita desbordes raros en móviles */
}
