/* ===========================
   BASE
=========================== */
:root{
  --brand: #00A24F;
  --text: #0f172a;
  --muted: #475569;
  --border: #e5e7eb;
  --shadow: 0 10px 28px rgba(15,23,42,.10);
  --shadow2: 0 18px 40px rgba(15,23,42,.14);
  --radius: 16px;
  --container: 1120px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:#fff;
}

a{ color:inherit; text-decoration:none; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ===========================
   TITULOS REUTILIZABLES (para que se vea igual “premium”)
=========================== */
.section-title{
  margin: 0 0 22px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 48px;
  color: var(--text);
}

/* ===========================
   SECCIONES (espaciado tipo tu amigo)
=========================== */
.section{ padding: 64px 0; }
.section--white{ background:#fff; }
.section--light{ background:#f6f7f6; }

.section-kicker{
  margin:0 0 8px;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.section-intro{
  color: var(--muted);
  max-width: 820px;
  line-height: 1.65;
}

/* ===========================
   HEADER
=========================== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 74px;
}

.logo img{
  width: 120px;
  height: 44px;
  object-fit: contain;
}

.nav{
  display:flex;
  gap: 22px;
  align-items:center;
}

.nav__link{
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  padding: 10px 2px;
  transition: color .2s ease;
}

.nav__link::after{
  content:"";
  position:absolute;
  left:0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: var(--brand);
  transition: width .28s ease;
}

.nav__link:hover{ color: var(--brand); }
.nav__link:hover::after{ width: 100%; }

.nav__link--active{
  color: var(--brand);
  font-weight: 800;
}
.nav__link--active::after{ width: 100%; }

.header__right{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Botón idioma */
.lang-toggle{
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
  transition: background .2s ease;
  color: #334155;
  font-weight: 400;
}
.lang-toggle:hover{ background: rgba(15,23,42,.06); }
.lang-toggle__svg{ width: 22px; height: 22px; display:block; }
.lang-toggle__label{ font-weight: 500; font-size: 13px; }

.header__menu-btn{
  display:none;
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
}
.header__menu-btn:hover{ background: rgba(15,23,42,.06); }

/* Menú móvil */
.mobile-nav{
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav__inner{
  display:flex;
  flex-direction:column;
  gap: 6px;
  padding: 12px 0 14px;
}
.mobile-nav__link{
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 700;
  color:#334155;
}
.mobile-nav__link:hover{
  background: rgba(15,23,42,.05);
  color: var(--brand);
}

@media (max-width: 900px){
  .nav{ display:none; }
  .header__menu-btn{ display:block; }
}

/* ===========================
   HERO
=========================== */
.hero{
  position: relative;
  min-height: 560px;
  background-image: url("img/HeroSection2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
  display:flex;
  align-items:center;
}

.hero__content{
  position: relative;
  z-index: 10;
  padding: 96px 0;
}

@media (max-width: 640px){
  .hero__content{ padding: 64px 0; }
}
@media (min-width: 1024px){
  .hero__content{ padding: 128px 0; }
}

.hero__content .container{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px){
  .hero__content .container{
    grid-template-columns: 1fr 1fr;
    gap: 96px;
  }
}

.hero-content{
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 1024px){
  .hero-content{
    margin: 0;
    text-align: left;
  }
}

.hero h1{
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  margin: 0;
  color: #ffffff;

  display: inline-block;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0,0,0,.30);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
@media (min-width: 640px){
  .hero h1{
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
}
@media (max-width: 720px){
  .hero{ min-height: 480px; }
  .hero h1{
    font-size: 36px;
    line-height: 44px;
  }
}

/* Botón hero (misma vibra que tu amigo, conservando tu verde) */
.hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 16px;
  font-weight: 500;
  line-height: 24px;

  height: 48px;
  padding: 24px 32px;
  border: 0;
  border-radius: 16px;

  background: var(--brand);
  color: #fff;

  box-shadow:
    rgba(0, 0, 0, 0.10) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.10) 0px 4px 6px -4px;

  transition: transform .15s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn:hover{
  transform: translateY(-1px);
}

.hero-btn:active{ transform: translateY(0px); }

@media (min-width: 640px){
  .hero-btn{ width: auto; }
}

/* ===========================
   EXPERTISE
=========================== */
.expertise__title{
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--text);
  text-align: left;
}

.expertise-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.expertise-card{
  cursor:pointer;
  transition: transform .45s ease;
  padding: 10px 4px;
}
.expertise-card:hover{
  transform: translateY(-6px) scale(1.03);
}

.expertise-card__top{
  display:flex;
  align-items:flex-end;
  gap: 10px;
}
.expertise-card__number{
  font-size: 56px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}
.expertise-card__unit{
  font-size: 30px;          /* como tu amigo */
  font-weight: 500;         /* como tu amigo */
  color: var(--brand);      /* conservas tu verde */
  letter-spacing: 1.5px;    /* como tu amigo */
  line-height: 30px;
  padding-bottom: 2px;
}

.expertise-card__caption{
  margin: 10px 0 0;
  color: #64748b;
  letter-spacing: 2px;
}

.expertise-card__underline{
  display:block;
  margin-top: 14px;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transition: width .7s ease;
}
.expertise-card:hover .expertise-card__underline{ width: 100%; }

.expertise-card--right{ text-align: right; }
.expertise-card--right .expertise-card__top{ justify-content: flex-end; }
.expertise-card--center{ text-align: center; }
.expertise-card--center .expertise-card__top{ justify-content: center; align-items:center; }

.expertise-icon{
  transition: transform .45s ease, filter .45s ease;
  filter: drop-shadow(0 8px 16px rgba(15,23,42,.10));
}
.expertise-card:hover .expertise-icon{
  transform: scale(1.08);
  filter: drop-shadow(0 14px 24px rgba(15,23,42,.16));
}

@media (max-width: 900px){
  .expertise-grid{ grid-template-columns: 1fr; }
  .expertise-card--right{ text-align:left; }
  .expertise-card--right .expertise-card__top{ justify-content:flex-start; }
}

/* ===========================
   NOS DISTINGUE
=========================== */
.distintivos{
  padding: 64px 0;
}

/* “Nos distingue” como tu amigo */
.distintivos__title{
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 1.5px;
  color: var(--text);
}

.distintivos__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.distintivos__iso img{
  width: 280px;
  height: 65px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.distintivos__iso img:hover{ transform: translateY(-5px); }

.distintivos__right{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

/* Ícono hoja (SVG) - forzar a verde */
.distintivos__right svg{
  width: 54px;
  height: 54px;
  display: block;
  fill: var(--brand);     /* si el SVG usa fill */
  color: var(--brand);    /* por si usa currentColor */
}

/* Si tu SVG usa stroke en lugar de fill */
.distintivos__right svg *{
  stroke: var(--brand);
}


.distintivos__text{
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  color: #64748b;
}

@media (max-width: 900px){
  .distintivos__grid{ grid-template-columns: 1fr; }
  .distintivos__iso{ display:flex; justify-content:center; }
}

/* ===========================
   TESTIMONIOS (slider)
=========================== */
.testimonials{
  padding-top: 40px;
  padding-bottom: 80px;
}

.testimonials__slider{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__card{
  width: min(980px, 100%);
  background: #eef3ee;
  border-radius: 16px;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
  box-shadow: 0 10px 26px rgba(15,23,42,.08);
  position: relative;
}

.testimonials__media{
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px rgba(15,23,42,.08);
}
.testimonials__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonials__content{
  text-align: center;
  padding: 4px 8px;
}

.testimonials__quote{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  line-height: 29.25px;
  text-align: center;
  color: #5b6b7a;
}

.testimonials__source{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;

  text-align: right;       /* ✅ como tu amigo */
  color: #64748b;          /* tono similar al oklch que viste */
}

.testimonials__dots{
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimonials__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.testimonials__dot:hover{ transform: scale(1.12); }
.testimonials__dot--active{ background: var(--brand); }

.testimonials__arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15,23,42,.14);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  color: #334155;
  transition: transform .2s ease, background .2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.testimonials__arrow:hover{
  transform: translateY(-50%) scale(1.06);
  background: #f8fafc;
}
.testimonials__arrow--left{ left: -18px; }
.testimonials__arrow--right{ right: -18px; }

@media (max-width: 900px){
  .testimonials__card{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px 44px;
  }
  .testimonials__media{ margin: 0 auto; }
  .testimonials__arrow--left{ left: 8px; }
  .testimonials__arrow--right{ right: 8px; }
}

/* ===========================
   REPRESENTACIONES (CARRUSEL)
=========================== */

/* Título: usa el estilo “premium” */
.reps__title{
  margin: 0 0 22px;
  font-size: 42px;
  font-weight: 700;   /* ✅ como tu amigo */
  line-height: 48px;
  color: var(--text);
}

/* contenedor con fade */
.reps-marquee{
  position: relative;
  overflow: hidden;
  padding: 18px 0 28px;
}

.reps-marquee::before,
.reps-marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.reps-marquee::before{
  left:0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}
.reps-marquee::after{
  right:0;
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.reps-track{
  display:flex;
  gap: 22px;
  width: max-content;
  animation: repsScroll 28s linear infinite;
  will-change: transform;
}
.reps-marquee:hover .reps-track{ animation-play-state: paused; }

@keyframes repsScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.rep-card{
  position: relative;
  flex: 0 0 auto;
  width: 340px;
  height: 180px;
  background:#fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(15,23,42,.14);
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rep-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15,23,42,.18);
  border-color: rgba(4,117,30,.25);
}

.rep-card__pin{
  position:absolute;
  top: 10px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfd4dc;
}
.rep-card:hover .rep-card__pin{ background: #00c853; }

/* ✅ Área del logo (centrado real) */
.rep-card__logo{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 26px;
}

/* ✅ AQUÍ ajustas el tamaño de los logos */
.rep-card__logo img{
  max-width: 220px;  /* ⬅️ súbelo si los ves pequeños (ej: 230/240) */
  max-height: 80px;  /* ⬅️ súbelo si los ves pequeños (ej: 86/90) */
  width: auto;
  height: auto;
  object-fit: contain;
  display:block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 12px rgba(15,23,42,.06));
}

/* Ajuste óptico para logos que “se ven arriba” */
.rep-card__logo img[alt="PureCircle"],
.rep-card__logo img[alt="ROHA"],
.rep-card__logo img[alt="Ingredion"],
.rep-card__logo img[alt="azingro"],
.rep-card__logo img[alt="Azingro"]{
  transform: translateY(4px);
}

/* overlay hover */
.rep-card__details{
  position:absolute;
  inset:0;
  padding: 18px 18px 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: rgba(255,255,255,.96);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.rep-card:hover .rep-card__details{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rep-card__details h3{
  margin:0;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

/* ✅ Line clamp sin warning + fallback */
.rep-card__details p{
  margin:0;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
  max-width: 260px;
  overflow: hidden;

  /* estándar */
  line-clamp: 3;

  /* webkit real */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.rep-card__btn{
  margin-top: 2px;
  width: 100%;
  max-width: 280px;
  background: #00a83a;
  color:#fff;
  font-weight: 900;
  border-radius: 12px;
  padding: 12px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 22px rgba(0,168,58,.18);
  transition: transform .18s ease, background .18s ease;
}
.rep-card__btn:hover{
  background:#009633;
  transform: translateY(-1px);
}

@media (max-width: 720px){
  .reps__title{ font-size: 34px; }
  .rep-card{ width: 300px; }
  .reps-marquee::before, .reps-marquee::after{ width: 50px; }

  .rep-card__logo img{
    max-width: 180px;
    max-height: 64px;
  }
}

/* ===========================
   PRODUCTOS (Carrusel estático)
=========================== */
.products{
  padding: 64px 0;
  background: #f6f7f6; /* si quieres el “look” como tu amigo */
}

.products__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.products__title{
  margin:0;
  font-size: 42px;
  font-weight: 700;   /* ✅ como tu amigo */
  line-height: 48px;
  color: var(--text);
}

.products__controls{
  display:flex;
  gap: 10px;
}

.products__arrow{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.products__arrow:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(15,23,42,.10);
  background: rgba(15,23,42,.02);
}
.products__arrow:disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.products__viewport{
  overflow: hidden;
  padding: 12px 2px 0;
}

.products__track{
  display:flex;
  gap: 26px;
  transform: translateX(0px);
  transition: transform .45s ease;
  will-change: transform;
}

.product-card{
  flex: 0 0 calc((100% - (26px * 3)) / 4);
  text-align: center;
}

.product-card img{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 26px rgba(15,23,42,.16);
  border: 1px solid rgba(2,6,23,.06);
}

.product-card h3{
  margin-top: 12px;
  margin-bottom: 0;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;

  color: #1e293b; /* equivalente visual a oklch(0.21 0.034 264.665) */

  text-align: center;
  max-width: 240px;
  padding: 0 8px;
  margin-left: auto;
  margin-right: auto;
}


.products__dots{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  margin-top: 22px;
}

.products__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.products__dot.is-active{
  width: 24px;
  background: var(--brand);
}

@media (max-width: 980px){
  .product-card{ flex: 0 0 calc((100% - (26px * 1)) / 2); }
}

@media (max-width: 560px){
  .product-card{ flex: 0 0 100%; }
  .products__header{ align-items:flex-start; }
}

/* ===========================
   FOOTER estilo "Contáctanos"
=========================== */
.footer--contact{
  background: var(--brand);
  color: #fff;
  padding: 46px 0;
}

.footer-contact{
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.footer-contact__title{
  margin: 0 0 24px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  color: #fff;
  text-align: left;
}


.footer-contact__iso{
  width: 180px;
  height: 60px;
  max-width: 100%;
  display: block;
  object-fit: contain;
}


.footer-contact__center{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact__item{
  display: block;              /* como tu amigo */
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  margin: 0;
}
.footer-contact__item:hover{
  text-decoration: underline;
}



.footer-contact__item:hover{ text-decoration: underline; }

.footer-contact__icon{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-contact__icon svg{ display: block; }

.footer-contact__right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.footer-contact__privacy{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;   /* en móvil sería 14px si quieres, abajo te dejo opcional */
  line-height: 24px;
  color: #fff;
  text-decoration: underline;
}

.footer-contact__privacy:hover{
  text-decoration: none;
}


.footer-contact__logo{
  width: 110px;
  height: auto;
  display: block;
}

@media (max-width: 980px){
  .footer-contact{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-contact__right{ align-items: flex-start; }
  .footer-contact__title{ font-size: 36px; }
}

/* ===========================
   WHATSAPP FLOATING BUTTON
=========================== */
.whatsapp-float{
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(4,117,30,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover{
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 36px rgba(4,117,30,.45);
}
.whatsapp-icon{
  width: 28px;
  height: 28px;
  fill: #ffffff;
  stroke: none;
}


/* Link activo en menú móvil */
.mobile-nav__link--active{
  background: rgba(15,23,42,.05);
  color: var(--brand);
}



/* =========================
   CONTACTO
   ========================= */

:root {
  --green: #04751e;
  --green2: #00a24f;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  --shadow2: 0 18px 30px rgba(0, 0, 0, 0.14);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 100px;
  height: 32px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 14px;
  color: #374151;
  transition: color 180ms ease;
}

.nav-link:hover { color: #16a34a; }
.nav-link.active { color: #16a34a; font-weight: 700; }

.lang-btn {
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 180ms ease, color 180ms ease;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.lang-btn:hover { background: rgba(0,0,0,0.05); }

.header-actions-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn.mobile { padding: 8px 10px; }

.menu-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  padding: 8px 10px;
  border-radius: 10px;
}

.menu-btn:hover { background: rgba(0,0,0,0.05); }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: white;
}

.mobile-menu-inner {
  padding: 14px 0;
  display: grid;
  gap: 10px;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 10px;
  color: #374151;
}

.mobile-link:hover { background: rgba(0,0,0,0.05); }
.mobile-link.active { color: #16a34a; font-weight: 700; }

/* MAIN */
.main { padding: 64px 0; }

.section { margin-bottom: 56px; }

.page-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 48px;
}

/* GRID */
.grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }

.centered {
  width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* OFFICE CARD */
.office-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
  transform: translateY(0) scale(1);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.office-card:hover {
  box-shadow: var(--shadow2);
  transform: translateY(-8px) scale(1.03);
}

.office-media {
  position: relative;
  overflow: hidden;
}

.office-img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  transform: scale(1);
  transition: transform 450ms ease;
}

.office-card:hover .office-img { transform: scale(1.10); }

.office-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: white;
  color: #111827;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 220ms ease, color 220ms ease;
}

.office-card:hover .office-badge {
  background: var(--green);
  color: white;
}

.office-body { padding: 24px; }

.office-h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  transition: color 220ms ease;
}

.office-h4 {
  margin: 10px 0 8px;
  font-size: 14px;
  font-weight: 700;
  transition: color 220ms ease;
}

.office-card:hover .office-h3,
.office-card:hover .office-h4 {
  color: var(--green);
}

.office-p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.office-mail {
  display: inline-block;
  font-size: 13px;
  color: var(--green);
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.office-mail:hover {
  text-decoration: underline;
  opacity: .85;
  transform: scale(1.02);
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover { opacity: .85; }

.btn-secondary {
  background: #4b5563;
  color: #fff;
}

.btn-secondary:hover { background: #374151; }

/* CONTACT SECTION */
.contact-section { margin-top: 40px; }

.contact-card {
  border-radius: 12px;
  padding: 32px 18px;
}

.contact-inner {
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
}

.contact-subtitle {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(4, 117, 30, 0.55);
  box-shadow: 0 0 0 4px rgba(4, 117, 30, 0.12);
}

.btn-submit {
  padding: 12px 18px;
  width: fit-content;
  justify-self: center;
}

.form-status {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* FOOTER */
.site-footer {
  background: var(--green2);
  color: #fff;
}

.footer-inner { padding: 36px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.footer-title {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.footer-col-1,
.footer-col-2,
.footer-col-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-badges { display: flex; gap: 16px; align-items: center; }

.iso-img {
  width: 260px;
  height: 55px;
  object-fit: contain;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.footer-ico {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.footer-link { color: #fff; }
.footer-link:hover { text-decoration: underline; }

.footer-link.row { display: inline-flex; align-items: center; gap: 10px; }

.footer-text { color: #fff; }

.underline { text-decoration: underline; }
.underline:hover { text-decoration: none; }

.footer-logo-wrap { margin-top: 10px; }
.footer-logo {
  width: 128px;
  height: 90px;
  object-fit: contain;
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 24px rgba(0,0,0,.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  transform: translateY(2px);
}

.wa-float:hover {
  background: #16a34a;
  box-shadow: 0 18px 30px rgba(0,0,0,.22);
  transform: translateY(0);
}

.wa-icon { font-size: 22px; }

/* RESPONSIVE */
@media (min-width: 768px) {
  .header-inner { height: 80px; }

  .brand-logo { width: 120px; height: 40px; }

  .nav-desktop { display: inline-flex; }
  .header-actions-mobile { display: none; }

  .grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }

  .footer-title { text-align: left; font-size: 36px; }

  .footer-col-1,
  .footer-col-2,
  .footer-col-3 {
    align-items: flex-start;
    text-align: left;
  }

  .footer-col-3 { align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* CONTENEDOR GENERAL */
.privacy-page {
  background: #ffffff;
  padding: 48px 16px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
}

/* HEADER */
.privacy-header {
  text-align: center;
  margin-bottom: 48px;
}

.privacy-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #04751E;
  margin-bottom: 16px;
}

.privacy-divider {
  height: 4px;
  width: 130px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, #04751E, transparent);
}

/* CONTENIDO */
.privacy-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

/* CAJA GRIS */
.privacy-box {
  background: #f9fafb;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.privacy-box p {
  margin: 0;
}

/* SECCIONES */
.privacy-section {
  margin-bottom: 32px;
}

.privacy-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #04751E;
  margin-bottom: 12px;
}

.privacy-section p {
  margin-bottom: 16px;
}

/* LISTA CON BORDE VERDE */
.privacy-list-box {
  background: #ffffff;
  border-left: 4px solid #04751E;
  padding: 16px 24px;
}

.privacy-list-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-list-box li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.privacy-list-box li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #04751E;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.6em;
}

/* FOOTER */
.privacy-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
}

.privacy-footer p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.privacy-footer strong {
  color: #04751E;
}


:root{
  --green: #04751E;
  --green-soft: #8FCAA7;
  --text: #111827;
  --muted: #6B7280;
  --border: #E5E7EB;
}

.about-page{
  background:#fff;
}

.about-wrap{
  max-width: 1280px; /* max-w-7xl */
  margin: 0 auto;
  padding: 0 16px;
}

.about-hero{
  margin-top: 48px;
  margin-bottom: 88px;
}

.about-label{
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.about-title{
  font-size: 48px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 32px 0;
  letter-spacing: .08em; /* tracking-widest */
}

.about-lead{
  font-size: 18px;
  color: var(--muted);
  max-width: 1150px;
  text-align: justify;
  line-height: 1.65;
}

/* --- Pilares --- */
.about-pillars{
  display:grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 88px;
}

@media (min-width: 768px){
  .about-pillars{ grid-template-columns: repeat(3, 1fr); }
}

.pillar{
  text-align:center;
  cursor:pointer;
  transition: transform .5s;
  padding: 8px;
}
.pillar:hover{
  transform: translateY(-8px) scale(1.05);
}

.pillar__icon{
  width:64px;height:64px;
  margin: 0 auto 16px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.pillar__icon svg{
  width: 100px;
  height: 100px;
  color: var(--green);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.12));
  transition: transform .5s;
}
.pillar:hover .pillar__icon svg{
  transform: scale(1.10);
}

.pillar__title{
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  transition: color .3s;
}
.pillar__title--sub{ margin-bottom: 16px; }

.pillar__text{
  color: var(--muted);
  transition: color .3s;
}

.pillar:hover .pillar__title,
.pillar:hover .pillar__text{
  color: var(--green);
}
.pillar:hover .pillar__text{
  color: #1f2937;
}

.pillar__line{
  height: 4px;
  width: 0;
  margin: 16px auto 0;
  background: linear-gradient(to right, transparent, var(--green), transparent);
  transition: width .7s ease;
}
.pillar:hover .pillar__line{ width: 100%; }

/* --- Grupo --- */
.group-block{
  text-align:center;
  margin-bottom: 88px;
}

.group-logos{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 24px;
  margin-bottom: 24px;
}

.group-logos__row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 32px;
}

.group-logos img{
  height: 64px;
  width:auto;
  object-fit:contain;
}

.group-logos a{ transition: opacity .2s; }
.group-logos a:hover{ opacity:.8; }

.group-title{
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
}
.group-title span{
  color: var(--green);
  letter-spacing: .06em;
}

.group-desc{
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
}

/* --- Historia / Timeline --- */
.history{
  margin-bottom: 88px;
}

.history__title{
  text-align:center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
}

.history__hint{
  text-align:center;
  color:#6b7280;
  font-size: 12px;
  margin: 0 0 16px;
}

.timeline{
  position:relative;
  overflow-x:auto;
  padding: 32px 16px;
  border-radius: 16px;
  scroll-behavior:smooth;
}

.timeline__track{
  display:flex;
  gap: 64px;
  align-items:center;
  min-width: 1400px;
  padding: 40px 32px;
  height: 240px;
}

/* Item */
.titem{
  width: 180px;
  flex: 0 0 180px;
  text-align:center;
}

.titem__dot{
  width:72px;height:72px;
  margin: 0 auto 12px;
  border-radius:999px;
  background:#fff;
  border:4px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 18px rgba(3,7,18,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 8px;
  position:relative;
  transition: transform .2s;
}
.titem__dot:hover{ transform: scale(1.1); }

.titem__dot img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.titem__ring{
  position:absolute;
  inset:0;
  border-radius:999px;
  border: 4px solid rgba(4,117,30,.3);
  pointer-events:none;
}
.titem__ring--ping{
  animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite;
}
.titem__ring--pulse{
  border-color: rgba(4,117,30,.2);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes ping{
  0%{ transform: scale(1); opacity: 1; }
  100%{ transform: scale(1.6); opacity: 0; }
}
@keyframes pulse{
  0%,100%{ opacity:.6; }
  50%{ opacity:.2; }
}

.titem__year{
  color: var(--green);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 4px;
}
.titem__name{
  font-weight: 600;
  color: #111827;
  font-size: 14px;
  margin-bottom: 4px;
}
.titem__desc{
  color: #6b7280;
  font-size: 12px;
  line-height: 1.2;
}

/* --- Misión / Visión / Valores cards --- */
.mvvs{
  margin-bottom: 88px;
}

.mvvs-grid{
  display:flex;
  flex-direction:column;
  gap: 24px;
}

@media (min-width: 768px){
  .mvvs-grid{ flex-direction:row; }
}

.mvvs-card{
  background: var(--green-soft);
  color:#fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  padding: 24px;
  flex:1;
  cursor:pointer;
  transition: transform .3s;
  align-self:flex-start;
}
.mvvs-card:hover{ transform: translateY(-4px); }

.mvvs-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.mvvs-left{
  display:flex;
  align-items:center;
  gap: 16px;
}

.mvvs-badge{
  width:48px;height:48px;
  background:#fff;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
}
.mvvs-badge svg{
  width:28px;height:28px;
  color: var(--green-soft);
}

.mvvs-card h3{
  font-size: 24px;
  margin: 0;
  font-weight: 800;
  text-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.mvvs-btn{
  width:32px;height:32px;
  border-radius:999px;
  border:none;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.mvvs-btn svg{
  width:16px;height:16px;
  color: var(--green);
}

.mvvs-body{
  margin-top: 16px;
  color: rgba(255,255,255,.92);
  line-height: 1.6;
}

/* Lista estilo "cards" para Valores */
.mvvs-list{
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.mvvs-list li{
  background: rgba(255,255,255,.18);  /* similar a tu screenshot */
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
}

/* (Opcional) si quieres viñeta visible como puntito */
.mvvs-list li{
  position: relative;
  padding-left: 34px;
}
.mvvs-list li::before{
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  transform: translateY(-50%);
}


/* ================================ SERVICIOS ================================= */ 
.services-page{ padding: 18px 0 36px; } 
.services-wrap{ max-width: 1150px; } 
.services-title{ font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-weight: 800; text-align: center; color: #0f172a; margin: 0 0 64px; padding: 0 16px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; } 

/* ---------- Mobile cards ---------- */ 
.services-mobile{ display: grid; gap: 22px; } 
.svc-card{ background: #fff; border: 1px solid rgba(15,23,42,.10); border-radius: 14px; box-shadow: 0 12px 24px rgba(15,23,42,.08); padding: 20px; } 
.svc-card__head{ display: flex; align-items: center; gap: 14px; margin-bottom: 10px; } 
.svc-icon{ width: 64px; height: 64px; border-radius: 999px; background: #00A24F; display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 10px 18px rgba(0,0,0,.12); } 
.svc-icon svg{ width: 34px; height: 34px; color: #fff; } 
.svc-card h3{ margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; } 
.svc-card p{ margin: 0 0 14px; color: rgba(15,23,42,.65); line-height: 1.5; } 
.svc-btn{ width: 100%; border: 0; background: #00A24F; color: #fff; font-weight: 700; border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; } 
.svc-btn:hover{ background: #028a45; box-shadow: 0 12px 18px rgba(0,0,0,.10); transform: translateY(-1px); } 

/* ---------- Desktop orbit ---------- */ 
.services-desktop{ display: none; padding-top: 6px; } @media (min-width: 1024px)
{ .services-mobile{ display: none; } .services-desktop{ display: block; } } 
.svc-orbit{ position: relative; display: flex; justify-content: center; padding: 10px 0 30px; } 
.svc-orbit__img{ width: 414px; height: 446px; object-fit: contain; transform: translateX(32px) translateY(-20px); transition: transform .3s ease, width .3s ease, height .3s ease; cursor: pointer; } 
.svc-orbit:hover .svc-orbit__img{ width: 514px; height: 556px; } /* Pin wrapper */ 
.svc-pin{ position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; } /* common lines + dot */ 
.svc-line{ position: absolute; height: 2px; background: #0b0f18; transform-origin: left center; opacity: .95; } 
.svc-dot{ position: absolute; width: 10px; height: 10px; border-radius: 999px; background: #fff; border: 2px solid #0b0f18; } /* bubble */ 
.svc-bubble{ position: absolute; width: 80px; height: 80px; border-radius: 999px; background: #00A24F; border: 4px solid #fff; box-shadow: 0 14px 22px rgba(0,0,0,.16); display: grid; place-items: center; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; } 
.svc-bubble svg{ width: 40px; height: 40px; color: #fff; z-index: 1; } 
.svc-bubble:hover{ background: #028a45; transform: scale(1.08); box-shadow: 0 18px 30px rgba(0,0,0,.20); } 
.svc-bubble:active{ transform: scale(.98); } /* ping ring */ 
.svc-ping{ position: absolute; inset: -6px; border-radius: 999px; border: 4px solid rgba(0,162,79,.45); animation: svcPing 1.6s ease-out infinite; } @keyframes svcPing{ 0%{ transform: scale(.85); opacity: .8; } 100%{ transform: scale(1.25); opacity: 0; } } /* label hover */ 
.svc-label{ position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); white-space: nowrap; color: #0b0f18; font-weight: 600; font-size: 16px; opacity: 0; transition: opacity .2s ease; pointer-events: none; } 
.svc-bubble:hover .svc-label{ opacity: 1; } /* ---- positions: imitate your friend's layout ---- */ /* Left top */ 
.svc-pin--lt{ transform: translate(-300px, -140px); } 
.svc-pin--lt .svc-line--diag{ width: 130px; transform: rotate(45deg); left: 0; top: 0; } 
.svc-pin--lt .svc-dot{ left: -115px; top: -42px; transform: translate(-50%, -50%); } 
.svc-pin--lt .svc-line--h{ width: 200px; transform: rotate(0deg); left: -230px; top: -48px; } 
.svc-pin--lt .svc-bubble{ left: -310px; top: -78px; } /* Right top */ 
.svc-pin--rt{ transform: translate(180px, -180px); } 
.svc-pin--rt .svc-line--diag{ width: 130px; transform: rotate(-45deg); left: 0; top: 0; } 
.svc-pin--rt .svc-dot{ left: 120px; top: -45px; transform: translate(-50%, -50%); } 
.svc-pin--rt .svc-line--h{ width: 200px; left: 140px; top: -50px; } 
.svc-pin--rt .svc-bubble{ left: 240px; top: -85px; } /* Left bottom */ 
.svc-pin--lb{ transform: translate(-280px, 140px); } 
.svc-pin--lb .svc-line--diag{ width: 130px; transform: rotate(-45deg); left: 0; top: 0; } 
.svc-pin--lb .svc-dot{ left: -105px; top: 80px; transform: translate(-50%, -50%); } 
.svc-pin--lb .svc-line--h{ width: 200px; left: -230px; top: 75px; } 
.svc-pin--lb .svc-bubble{ left: -310px; top: 45px; } /* Right bottom */ 
.svc-pin--rb{ transform: translate(200px, 20px); } 
.svc-pin--rb .svc-line--diag{ width: 130px; transform: rotate(45deg); left: 0; top: 0; } 
.svc-pin--rb .svc-dot{ left: 125px; top: 60px; transform: translate(-50%, -50%); } 
.svc-pin--rb .svc-line--h{ width: 200px; left: 145px; top: 55px; } 
.svc-pin--rb .svc-bubble{ left: 250px; top: 25px; } 

/* ====== SERVICIOS ====== */ 
.services-page { padding: 28px 0 56px; background: #fff; } 
.services-wrap { max-width: 1100px; } 
.services-title { font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-weight: 800; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; text-align: center; margin: 0 0 28px; color: #0f172a; } /* Desktop diagram */ 
.services-diagram { position: relative; width: min(1100px, 100%); margin: 0 auto; height: 640px; /* controla el alto del “lienzo” */ display: none; /* se activa en desktop */ } 
.services-beaker { position: absolute; left: 50%; top: 50%; transform: scale(0.92); width: 520px; max-width: 52%; height: auto; filter: drop-shadow(0 22px 22px rgba(0,0,0,.10)); z-index: 2; } 
.services-wires { position: absolute; inset: 0; z-index: 1; } 
.wire { fill: none; stroke: #0b0f1a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } 
.pin { fill: #fff; stroke: #0b0f1a; stroke-width: 3; } /* Burbujas verdes */ 
.svc-bubble { position: absolute; width: 84px; height: 84px; border-radius: 999px; background: #00A24F; border: 6px solid #fff; box-shadow: 0 16px 20px rgba(0,0,0,.14); display: grid; place-items: center; cursor: pointer; z-index: 3; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; } 
.svc-bubble:hover { transform: scale(1.06); box-shadow: 0 22px 30px rgba(0,0,0,.18); background: #0b8f49; } 
.svc-icon svg { width: 38px; height: 38px; stroke: #fff; } /* “anillo” tipo glow */ 
.svc-ring { position: absolute; inset: -10px; border-radius: 999px; border: 6px solid rgba(0,162,79,.35); box-shadow: 0 0 0 6px rgba(0,162,79,.18); pointer-events: none; } /* Posiciones (ajústalas si tu imagen cambia) */ 
.svc-bubble--tl { left: 80px; top: 110px; } 
.svc-bubble--tr { right: 80px; top: 110px; } 
.svc-bubble--bl { left: 80px; bottom: 80px; } 
.svc-bubble--br { right: 80px; bottom: 80px; } /* Mobile cards */ 
.services-cards { display: grid; gap: 18px; } 
.svc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; box-shadow: 0 12px 18px rgba(15, 23, 42, 0.08); } 

.svc-card h3 { margin: 0 0 8px; font-weight: 800; color: #0f172a; } 
.svc-card p { margin: 0 0 12px; color: #475569; line-height: 1.5; } 
.svc-cta { width: 100%; background: #00A24F; color: #fff; border: 0; border-radius: 12px; padding: 10px 12px; font-weight: 700; cursor: pointer; } 
.svc-cta:hover { background: #0b8f49; } /* Breakpoint: desktop muestra diagrama, oculta cards */ @media (min-width: 1024px) 
{ .services-diagram { display: block; } 
.services-cards { display: none; } } 
.svc-diagram { position: relative; } /* 1) Imagen abajo */ 
.svc-beaker{ position: absolute; z-index: 1; } /* 2) Líneas arriba de la imagen */ 
.svc-lines{ position: absolute; inset: 0; z-index: 5; pointer-events: none; } /* 3) Botones arriba de todo */ 
.svc-btn{ position: absolute; z-index: 10; } 
.services-visual{ display: flex; justify-content: center; }

/* ================================
   SERVICIOS (CSS COMPLETO)
================================= */

.services-page{
  padding: 28px 0 56px;
  background: #fff;
}

.services-wrap{
  max-width: 1100px;
}

.services-title{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.1;
  text-align: center;
  margin: 0 0 64px;
  padding: 0 16px;
  color: #0f172a;
}

/* ================================
   MOBILE: CARDS
================================= */

.services-cards{
  display: grid;
  gap: 18px;
}

.svc-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15,23,42,.08);
  padding: 20px;
}

.svc-card__head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.svc-card__icon{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #00A24F;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
  font-size: 28px;
}

.svc-card h3{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.svc-card p{
  margin: 0 0 14px;
  color: rgba(15,23,42,.65);
  line-height: 1.5;
}

.svc-cta{
  width: 100%;
  border: 0;
  background: #00A24F;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.svc-cta:hover{
  background: #028a45;
  box-shadow: 0 12px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

/* ================================
   DESKTOP: DIAGRAMA
================================= */

.services-diagram{
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  height: 640px;
  display: none; /* se activa en desktop */
}

/* Vaso centrado: aquí ajustas tamaño */
.services-beaker{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  max-width: 56%;
  height: auto;

  /* ✅ centrado real + escala (reduce aquí) */
  transform: translate(-50%, -50%) scale(0.88);

  filter: drop-shadow(0 22px 22px rgba(0,0,0,.10));

  /* ✅ IMAGEN ABAJO */
  z-index: 1;

  /* tip: evita que “tape” clics */
  pointer-events: none;
}

/* ✅ LÍNEAS ARRIBA DEL VASO */
.services-wires{
  position: absolute;
  inset: 0;
  z-index: 5; /* mayor que el vaso */
  pointer-events: none;
}

.services-wires .wire{
  fill: none;
  stroke: #0b0f1a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-wires .pin{
  fill: #fff;
  stroke: #0b0f1a;
  stroke-width: 3;
}

/* ================================
   BURBUJAS (DESKTOP)
================================= */

.svc-bubble{
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: #00A24F;
  border: 6px solid #fff;
  box-shadow: 0 16px 20px rgba(0,0,0,.14);
  display: grid;
  place-items: center;
  cursor: pointer;

  /* ✅ arriba de todo */
  z-index: 10;

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.svc-bubble:hover{
  transform: scale(1.06);
  box-shadow: 0 22px 30px rgba(0,0,0,.18);
  background: #0b8f49;
}

.svc-icon{
  font-size: 34px;
  line-height: 1;
  z-index: 2;
}

.svc-ring{
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 6px solid rgba(0,162,79,.35);
  box-shadow: 0 0 0 6px rgba(0,162,79,.18);
  pointer-events: none;
}

/* Hover text (como tu amigo) */
.svc-hover{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #0b0f1a;
  white-space: nowrap;

  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.svc-bubble:hover .svc-hover{
  opacity: 1;
}

/* texto a la derecha o izquierda del círculo */
.svc-hover--right{ left: calc(100% + 26px); }
.svc-hover--left{ right: calc(100% + 26px); }

/* Posiciones (esquinas) */
.svc-bubble--tl{ left: 80px;  top: 110px; }
.svc-bubble--tr{ right: 80px; top: 110px; }
.svc-bubble--bl{ left: 80px;  bottom: 80px; }
.svc-bubble--br{ right: 80px; bottom: 80px; }

/* ================================
   MODAL (FLASHCARD)
================================= */

.no-scroll{ overflow: hidden; }

.svc-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.svc-modal.is-open{ display: block; }

.svc-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
}

.svc-modal__card{
  position: relative;
  width: min(880px, calc(100% - 40px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 12px;
  padding: 26px 28px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.svc-modal__x{
  position: absolute;
  right: 14px;
  top: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #94a3b8;
}

.svc-modal__x:hover{ color: #475569; }

.svc-modal__title{
  margin: 0 0 10px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: #0f172a;
}

.svc-modal__desc{
  margin: 0 0 18px;
  color: #334155;
  font-size: 18px;
  line-height: 1.6;
}

.svc-modal__sub{
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 22px;
  color: #0f172a;
}

.svc-modal__list{
  margin: 0;
  padding: 0 0 0 22px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.8;
}

.svc-modal__list li::marker{
  color: #00A24F;
  font-size: 20px;
}

.svc-modal__actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.svc-modal__btn{
  border: 0;
  background: #00A24F;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 22px;
  cursor: pointer;
}

.svc-modal__btn:hover{ background: #0b8f49; }

/* ================================
   BREAKPOINT: DESKTOP ON
================================= */
@media (min-width: 1024px){
  .services-diagram{ display: block; }
  .services-cards{ display: none; }
}

/* Asegura que el contenedor cree un stacking context */
.svc-diagram{
  position: relative;
  isolation: isolate;
}

/* Imagen del vaso abajo */
.svc-beaker{
  z-index: 1;
}

/* Líneas arriba del vaso */
.svc-lines{
  z-index: 5;
}

/* Botones arriba de todo */
.svc-btn{
  z-index: 10;
}

.svc-hover{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #0b0f1a;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.svc-btn:hover .svc-hover{ opacity: 1; }

.svc-hover--right{ left: calc(100% + 26px); }
.svc-hover--left{ right: calc(100% + 26px); }

.no-scroll{ overflow:hidden; }

.svc-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.svc-modal.is-open{ display:block; }

.svc-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.86);
}

.svc-modal__card{
  position: relative;
  width: min(900px, calc(100% - 40px));
  margin: 9vh auto 0;
  background: #fff;
  border-radius: 12px;
  padding: 26px 28px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.svc-modal__x{
  position:absolute;
  right: 14px;
  top: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  color: #94a3b8;
}
.svc-modal__x:hover{ color:#475569; }

.svc-modal__title{
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 34px;
  color: #0f172a;
}

.svc-modal__desc{
  margin: 0 0 18px;
  color: #334155;
  font-size: 18px;
  line-height: 1.6;
}

.svc-modal__sub{
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 22px;
  color: #0f172a;
}

.svc-modal__list{
  margin: 0;
  padding: 0 0 0 22px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.8;
}
.svc-modal__list li::marker{
  color: #00A24F;
  font-size: 20px;
}

.svc-modal__actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.svc-modal__btn{
  border: 0;
  background: #00A24F;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 22px;
  cursor: pointer;
}
.svc-modal__btn:hover{ filter: brightness(.95); }


/* --- 1) Asegura que hover pueda activarse en todo el bloque --- */
.svc-diagram{
  position: relative;
}

/* El vaso: hover por DIAGRAMA (no por imagen) */
.svc-diagram:hover .svc-beaker{
  width: 560px;
  transform: translate(-50%, -52%);
}


/* --- 3) Opcional: que los botones también “resalten” cuando el hover está activo --- */
.svc-diagram:hover .svc-btn{
  transform: scale(1.04);
  box-shadow: 0 24px 34px rgba(0,0,0,.22);
}

/* Mantén el hover individual (si quieres que al pasar por un botón se destaque un poquito más) */
.svc-btn:hover{
  transform: scale(1.08);
  box-shadow: 0 28px 40px rgba(0,0,0,.26);
}

/* Antes tenías algo como esto */
.svc-btn--bl{ left: 60px;  bottom: 75px; }
.svc-btn--br{ right: 60px; bottom: 75px; }

/* Cambia a esto (sube los círculos) */
.svc-btn--bl{ left: 60px;  bottom: 95px; }  /* +20px arriba */
.svc-btn--br{ right: 60px; bottom: 95px; }  /* +20px arriba */

/* Hover label debajo del círculo */
.svc-hover{
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);      /* debajo del botón */
  transform: translateX(-50%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0b0f1a;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

/* aparece al hover */
.svc-btn:hover .svc-hover{
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

/* ya NO necesitas estas dos */
.svc-hover--right{ left:auto; right:auto; }
.svc-hover--left{ left:auto; right:auto; }

.svc-btn .ping{
  position:absolute;
  inset:-18px;                 /* antes -10px; (más grande) */
  border-radius:999px;
  border:4px solid rgba(16,185,129,.35);
  animation: svcPing 2.4s ease-out infinite; /* antes 1.6s */
  pointer-events:none;
}


/* ================================
   HOVER GLOBAL (vaso + botones)
================================ */

/* 1) Textos debajo del botón (siempre ocultos por default) */
.svc-hover{
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);     /* debajo del círculo */
  transform: translateX(-50%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0b0f1a;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}

/* Ya no uses variantes left/right */
.svc-hover--right,
.svc-hover--left{
  left: 50%;
  right: auto;
}

/* 2) Estado activo global */
.svc-diagram.is-hover .svc-hover{
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

/* 3) Zoom del vaso cuando el estado global está activo */
.svc-beaker{
  transition: transform .22s ease, width .22s ease;
}

.svc-diagram.is-hover .svc-beaker{
  width: 560px;
  transform: translate(-50%, -52%);
}

/* 4) Opcional: que TODOS los botones "suban" ligeramente al activar hover global */
.svc-btn{
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.svc-diagram.is-hover .svc-btn{
  transform: scale(1.03);
  box-shadow: 0 24px 34px rgba(0,0,0,.22);
}

/* Hover individual (más fuerte) */
.svc-btn:hover{
  transform: scale(1.07);
  box-shadow: 0 28px 40px rgba(0,0,0,.26);
}

/* ================================
   "BURBUJA" POP (rápida y revienta)
================================ */

/* Apaga el ping infinito si quieres (recomendado para que se vea más el pop) */
.svc-btn .ping{
  display: none;
}

/* Usamos un pseudo-elemento para el "pop" */
.svc-btn::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  border: 5px solid rgba(16,185,129,.35);
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
}

/* Animación rápida tipo "expand & pop" */
@keyframes bubblePop{
  0%   { opacity: .95; transform: scale(.92); }
  60%  { opacity: .55; transform: scale(1.18); }
  100% { opacity: 0;   transform: scale(1.32); }
}

/* El pop ocurre cuando el estado global está activo */
.svc-diagram.is-hover .svc-btn::after{
  animation: bubblePop .28s ease-out both;
}
/* ================================
   1) HOVER GLOBAL (vaso + botones)
================================ */

/* Textos debajo del botón (ocultos por default) */
.svc-hover{
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  transform: translateX(-50%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0b0f1a;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}

/* Ya no usamos left/right (anula tus reglas anteriores) */
.svc-hover--right,
.svc-hover--left{
  left: 50% !important;
  right: auto !important;
}

/* Zoom del vaso SOLO con hover global */
.svc-beaker{
  transition: transform .22s ease, width .22s ease;
}
.svc-diagram.is-hover .svc-beaker{
  width: 560px;
  transform: translate(-50%, -52%);
}

/* Mostrar TODOS los textos cuando hover global está activo */
.svc-diagram.is-hover .svc-hover{
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

/* Opcional: resaltar todos los botones en hover global */
.svc-diagram.is-hover .svc-btn{
  transform: scale(1.03);
  box-shadow: 0 24px 34px rgba(0,0,0,.22);
}

/* Mantén hover individual más fuerte si quieres */
.svc-btn:hover{
  transform: scale(1.07);
  box-shadow: 0 28px 40px rgba(0,0,0,.26);
}


/* ================================
   2) BURBUJAS "REVENTANDO" SIEMPRE
================================ */

/* Apaga el ping infinito anterior (si lo quieres quitar) */
.svc-btn .ping{ display: none; }

/* Creamos "pops" constantes con ::before y ::after */
.svc-btn{
  position: absolute; /* ya lo tienes */
  overflow: visible;
}

/* Pop 1 */
.svc-btn::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  border: 5px solid rgba(16,185,129,.35);
  animation: bubblePop 1.05s ease-out infinite;
  pointer-events:none;
}

/* Pop 2 (desfasado para que no se vea repetitivo) */
.svc-btn::after{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius:999px;
  border: 5px solid rgba(16,185,129,.22);
  animation: bubblePop 1.05s ease-out infinite;
  animation-delay: .52s;
  pointer-events:none;
}

@keyframes bubblePop{
  0%   { opacity: .95; transform: scale(.90); }
  60%  { opacity: .55; transform: scale(1.18); }
  100% { opacity: 0;   transform: scale(1.32); }
}

/* ===============================
   PAGE PLACEHOLDER
================================ */
.page-placeholder {
  min-height: calc(100vh - 160px); /* ajusta según alto de header/footer */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-placeholder__content h1 {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.page-placeholder__content p {
  font-size: 18px;
  color: #6b7280;
}
