@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@400;500;600&display=swap");

/* ============================================================
   GROCVA — Páginas de Servicio
   ============================================================ */
:root {
  --brand-blue:       #1E3A5F;
  --brand-blue-deep:  #0B1B3D;
  --brand-lime:       #8DC63F;
  --brand-green:      #009444;
  --brand-steel:      #5B84B1;
  --brand-steel-light:#80A4C2;
  --background:       #ffffff;
  --border:           #e8edf5;
  --muted:            #f4f6fb;
  --muted-fg:         #4A5568;
  --grad-leaf:  linear-gradient(135deg, #8DC63F, #009444);
  --grad-base:  linear-gradient(180deg, #1E3A5F, #0B1B3D);
  --shadow-soft: 0 10px 30px -12px rgba(11,27,61,0.20);
  --shadow-glow: 0 20px 60px -20px rgba(141,198,63,0.40);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", sans-serif;
  background: var(--background);
  color: var(--brand-blue);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: "Poppins", sans-serif; letter-spacing: -0.02em; line-height: 1.1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,237,245,0.7);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1280px; margin: 0 auto;
}
.navbar__logo { display: flex; align-items: center; gap: 0.6rem; }
.navbar__logo-img { height: 70px; width: auto; display: block; object-fit: contain; }
.navbar__logo-name { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--brand-blue); }
.navbar__logo-sub { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-fg); }
.navbar__nav { display: flex; align-items: center; gap: 2rem; }
.navbar__nav a { font-size: 0.875rem; font-weight: 500; color: rgba(30,58,95,0.7); transition: color 0.2s; }
.navbar__nav a:hover { color: var(--brand-blue); }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Poppins", sans-serif; font-weight: 600;
  border-radius: 9999px; transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad-leaf); color: var(--brand-blue-deep);
  padding: 0.65rem 1.4rem; font-size: 0.875rem;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 24px 70px -16px rgba(141,198,63,0.55); }
.btn--whatsapp {
  background: #25D366; color: #fff;
  padding: 0.65rem 1.4rem; font-size: 0.875rem;
}
.navbar__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.navbar__hamburger span { display: block; width: 24px; height: 2px; background: var(--brand-blue); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar__mobile { display: none; flex-direction: column; background: rgba(255,255,255,0.97); border-top: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem; }
.navbar__mobile.open { display: flex; }
.navbar__mobile a { font-size: 1rem; font-weight: 500; color: var(--brand-blue); padding: 0.75rem 0; border-bottom: 1px solid var(--border); }

/* ============================================================
   HERO SERVICIO
   ============================================================ */
.svc-hero {
  position: relative; min-height: 55vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.svc-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 8s ease;
}
.svc-hero:hover .svc-hero__bg { transform: scale(1.04); }
.svc-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,27,61,0.97) 0%, rgba(11,27,61,0.65) 50%, rgba(11,27,61,0.20) 100%);
}
.svc-hero__content {
  position: relative; z-index: 2;
  padding: 4rem 1.5rem 3.5rem;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.svc-hero__breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}
.svc-hero__breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.svc-hero__breadcrumb a:hover { color: var(--brand-lime); }
.svc-hero__breadcrumb span { color: var(--brand-lime); }
.svc-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(141,198,63,0.15); border: 1px solid rgba(141,198,63,0.35);
  border-radius: 9999px; padding: 0.3rem 0.85rem;
  font-family: "Poppins", sans-serif; font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-lime);
  margin-bottom: 1rem;
}
.svc-hero__badge img { filter: brightness(0) saturate(100%) invert(72%) sepia(50%) saturate(500%) hue-rotate(50deg); }
.svc-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: #fff;
  line-height: 1.05; margin-bottom: 1rem;
  max-width: 700px;
}
.svc-hero__title span {
  background: linear-gradient(90deg, #8DC63F, #b8e05a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.svc-hero__desc {
  font-size: 1rem; color: rgba(255,255,255,0.78);
  line-height: 1.7; max-width: 580px; margin-bottom: 2rem;
}
.svc-hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   CONTENIDO PRINCIPAL
   ============================================================ */
.svc-main { padding: 5rem 0; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

/* ── Contenido izquierda ── */
.svc-content__eyebrow {
  font-family: "Poppins", sans-serif; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--brand-lime);
  display: flex; align-items: center; gap: 8px; margin-bottom: 0.75rem;
}
.svc-content__eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand-lime); border-radius: 2px; }

.svc-content__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--brand-blue);
  margin-bottom: 1.25rem; line-height: 1.1;
}
.svc-content__title span { color: var(--brand-lime); }

.svc-content__desc { font-size: 0.95rem; color: var(--muted-fg); line-height: 1.8; margin-bottom: 2rem; }

/* specs */
.svc-specs { margin-bottom: 2.5rem; }
.svc-specs__title {
  font-family: "Poppins", sans-serif; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--brand-blue);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 8px;
}
.svc-specs__title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.svc-specs__list { display: flex; flex-direction: column; gap: 0.6rem; }
.svc-specs__item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; color: var(--muted-fg); line-height: 1.55;
  padding: 0.75rem 1rem;
  background: var(--muted); border-radius: 0.75rem;
  border-left: 3px solid var(--brand-lime);
  transition: transform 0.2s, border-color 0.2s;
}
.svc-specs__item:hover { transform: translateX(4px); border-color: var(--brand-green); }
.svc-specs__item img {
  width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin-top: 2px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(80%) saturate(400%) hue-rotate(70deg);
}

/* equipamiento */
.svc-equip { margin-bottom: 2.5rem; }
.svc-equip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.svc-equip__item {
  display: flex; align-items: center; gap: 0.65rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 0.85rem 1rem;
  font-size: 0.85rem; font-weight: 500; color: var(--brand-blue);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-equip__item:hover { border-color: rgba(141,198,63,0.4); box-shadow: var(--shadow-soft); }
.svc-equip__item img {
  width: 1.25rem; height: 1.25rem;
  filter: brightness(0) saturate(100%) invert(48%) sepia(80%) saturate(400%) hue-rotate(70deg);
}

/* proceso pasos */
.svc-process { margin-bottom: 2.5rem; }
.svc-process__steps { display: flex; flex-direction: column; gap: 0; }
.svc-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s; border-radius: 0.5rem; padding-left: 0.5rem;
}
.svc-step:last-child { border-bottom: none; }
.svc-step:hover { background: var(--muted); }
.svc-step__num {
  font-family: "Poppins", sans-serif; font-size: 1.5rem; font-weight: 900;
  color: var(--brand-lime); line-height: 1; flex-shrink: 0; width: 2rem;
}
.svc-step__body {}
.svc-step__title { font-family: "Poppins", sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 0.25rem; }
.svc-step__desc { font-size: 0.85rem; color: var(--muted-fg); line-height: 1.6; }

/* ── SIDEBAR ── */
.svc-sidebar { position: sticky; top: 6rem; }

.svc-sidebar__cta {
  background: var(--grad-base);
  border-radius: 1.25rem; padding: 2rem;
  color: #fff; margin-bottom: 1.25rem;
}
.svc-sidebar__cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem; font-weight: 800;
  margin-bottom: 0.5rem; line-height: 1.2;
}
.svc-sidebar__cta-desc { font-size: 0.82rem; color: rgba(255,255,255,0.72); line-height: 1.6; margin-bottom: 1.5rem; }
.svc-sidebar__btns { display: flex; flex-direction: column; gap: 0.75rem; }
.btn--wa {
  background: #25D366; color: #fff;
  padding: 0.85rem 1.25rem; font-size: 0.875rem;
  border-radius: 0.75rem; justify-content: center;
}
.btn--outline-white {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.85rem 1.25rem; font-size: 0.875rem;
  border-radius: 0.75rem; justify-content: center;
  backdrop-filter: blur(4px);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.15); }

/* info contacto sidebar */
.svc-sidebar__info {
  background: var(--muted); border-radius: 1rem;
  padding: 1.5rem; margin-bottom: 1.25rem;
}
.svc-sidebar__info-title {
  font-family: "Poppins", sans-serif; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand-blue);
  margin-bottom: 1rem;
}
.svc-sidebar__info-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 500; color: var(--brand-blue);
  margin-bottom: 0.65rem;
}
.svc-sidebar__info-item img { width: 1rem; height: 1rem; filter: brightness(0) saturate(100%) invert(19%) sepia(50%) saturate(800%) hue-rotate(190deg); }

/* otros servicios sidebar */
.svc-sidebar__others { background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; }
.svc-sidebar__others-title {
  font-family: "Poppins", sans-serif; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand-blue);
  margin-bottom: 1rem;
}
.svc-other-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 500; color: var(--brand-blue);
  transition: color 0.2s;
}
.svc-other-link:last-child { border-bottom: none; }
.svc-other-link:hover { color: var(--brand-green); }
.svc-other-link svg { width: 0.9rem; height: 0.9rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.svc-cta-banner {
  background: var(--grad-base);
  padding: 5rem 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.svc-cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(141,198,63,0.15), transparent 70%);
}
.svc-cta-banner__content { position: relative; z-index: 1; }
.svc-cta-banner__eyebrow {
  font-family: "Poppins", sans-serif; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--brand-lime);
  margin-bottom: 0.75rem;
}
.svc-cta-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900; margin-bottom: 1rem; line-height: 1.1;
}
.svc-cta-banner__desc { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.svc-cta-banner__btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); background: #fff; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding: 2rem 1.5rem; max-width: 1280px; margin: 0 auto;
}
.footer__copy { font-size: 0.875rem; color: var(--muted-fg); }

/* ============================================================
   ICON HELPERS
   ============================================================ */
.icon { display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.img-icon-lime { filter: brightness(0) saturate(100%) invert(72%) sepia(50%) saturate(500%) hue-rotate(50deg); }
.img-icon-white { filter: brightness(0) invert(1); }
.img-icon-blue { filter: brightness(0) saturate(100%) invert(19%) sepia(50%) saturate(800%) hue-rotate(190deg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; }
}
@media (max-width: 767px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .svc-equip__grid { grid-template-columns: 1fr; }
  .svc-hero { min-height: 60vh; }
  .navbar__logo-img { padding: 5px; }
}

/* ============================================================
   MODAL COTIZACIÓN
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11,27,61,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: #fff;
  border-radius: 1.5rem;
  width: 100%; max-width: 620px;
  max-height: 90vh; overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(.34,1.4,.64,1);
  scrollbar-width: none;
}
.modal-box::-webkit-scrollbar { display: none; }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 2rem; height: 2rem;
  background: rgba(30,58,95,0.08); border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(30,58,95,0.15); }
.modal-close svg { width: 1rem; height: 1rem; }

.modal-eyebrow {
  font-family: "Poppins", sans-serif; font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--brand-lime);
  margin-bottom: 0.5rem;
}
.modal-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem; font-weight: 900;
  color: var(--brand-blue); line-height: 1.1;
  margin-bottom: 1.25rem;
}
.modal-title span { color: var(--brand-lime); }

.modal-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(141,198,63,0.10);
  border: 1px solid rgba(141,198,63,0.30);
  border-radius: 0.5rem;
  padding: 0.5rem 0.9rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-green);
  margin-bottom: 1.75rem;
}
.modal-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-lime); display: inline-block; }

.modal-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand-blue);
}
.form-label span { color: var(--brand-lime); }

.form-input, .form-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 0.625rem;
  padding: 0.8rem 1rem;
  font-size: 0.9rem; font-family: "DM Sans", sans-serif;
  color: var(--brand-blue);
  background: #f9fbff;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #a0aec0; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-lime);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(141,198,63,0.12);
}
.form-textarea { resize: vertical; min-height: 100px; }

.btn-modal-submit {
  width: 100%;
  background: var(--grad-leaf);
  color: var(--brand-blue-deep);
  border: none; border-radius: 0.875rem;
  padding: 1rem 1.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px -6px rgba(141,198,63,0.40);
}
.btn-modal-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(141,198,63,0.55); }
.btn-modal-submit svg { width: 1.1rem; height: 1.1rem; }

.modal-note {
  text-align: center; margin-top: 0.85rem;
  font-size: 0.72rem; color: #a0aec0; line-height: 1.5;
}

/* success message */
.modal-success {
  text-align: center; padding: 2rem 1rem;
  display: none;
}
.modal-success.show { display: block; }
.modal-success-icon {
  width: 4rem; height: 4rem;
  background: var(--grad-leaf);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.modal-success-icon svg { width: 2rem; height: 2rem; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.modal-success h3 { font-family: "Poppins", sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 0.5rem; }
.modal-success p { font-size: 0.9rem; color: var(--muted-fg); line-height: 1.6; }

@media (max-width: 540px) {
  .modal-form-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 1.75rem 1.25rem; }
  .modal-title { font-size: 1.4rem; }
}

/* ============================================================
   CONTADORES DE ESTADÍSTICAS — Opción C minimalista
   ============================================================ */
.svc-stats {
  background: #fff;
  padding: 0;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #8DC63F, #009444) 1;
}
.svc-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.svc-stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  cursor: default;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.35s ease;
}
.svc-stat-item:hover { background: rgba(141,198,63,0.10); }
.svc-stat-item.in-view { opacity: 1; transform: translateY(0); }
.svc-stat-item:nth-child(1) { transition-delay: 0.0s; }
.svc-stat-item:nth-child(2) { transition-delay: 0.12s; }
.svc-stat-item:nth-child(3) { transition-delay: 0.24s; }
.svc-stat-item:nth-child(4) { transition-delay: 0.36s; }
.svc-stat-item:not(:last-child)::after {
  content: "";
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}

.svc-stat-item__icon {
  display: flex; justify-content: center; margin-bottom: 0.7rem;
  transition: transform 0.4s cubic-bezier(.34,1.6,.64,1);
}
.svc-stat-item:hover .svc-stat-item__icon { transform: scale(1.22); }
.svc-stat-item__icon img {
  width: 1.6rem; height: 1.6rem;
  filter: brightness(0) saturate(100%) invert(62%) sepia(60%) saturate(400%) hue-rotate(60deg);
}

.svc-stat-item__value {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #1E3A5F, #5B84B1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block;
  transition: transform 0.45s cubic-bezier(.34,1.8,.64,1);
}
.svc-stat-item:hover .svc-stat-item__value { transform: translateY(-7px); }

.svc-stat-item__divider {
  width: 36px; height: 3px;
  background: linear-gradient(90deg, #8DC63F, #009444);
  border-radius: 2px;
  margin: 0.7rem auto 0.65rem;
  transition: width 0.4s cubic-bezier(.34,1.2,.64,1), box-shadow 0.35s;
}
.svc-stat-item:hover .svc-stat-item__divider {
  width: 72px;
  box-shadow: 0 2px 10px rgba(141,198,63,0.45);
}

.svc-stat-item__label {
  font-family: "Poppins", sans-serif;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted-fg);
  transition: letter-spacing 0.3s, color 0.3s;
}
.svc-stat-item:hover .svc-stat-item__label {
  letter-spacing: 0.22em;
  color: var(--brand-blue);
}

/* ============================================================
   GALERÍA DE FOTOS
   ============================================================ */
.svc-gallery { padding: 5rem 0; background: var(--muted); }
.svc-gallery__header { margin-bottom: 2.5rem; }
.svc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
/* primera foto más grande */
.svc-gallery__item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
}
.svc-gallery__item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.svc-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  min-height: 200px;
}
.svc-gallery__item:first-child img { min-height: 420px; }
.svc-gallery__item:hover img { transform: scale(1.06); }
.svc-gallery__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,27,61,0.75), transparent);
  opacity: 0; transition: opacity 0.35s;
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.svc-gallery__item:hover .svc-gallery__overlay { opacity: 1; }
.svc-gallery__overlay-text {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem; font-weight: 700; color: #fff;
}

/* placeholder para fotos sin imagen */
.svc-gallery__placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: linear-gradient(135deg, #e8edf5, #d0daea);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  color: #a0aec0;
}
.svc-gallery__placeholder img { width: 2rem; height: 2rem; opacity: 0.4; }
.svc-gallery__placeholder span { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

/* lightbox */
.svc-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.svc-lightbox.open { opacity: 1; pointer-events: all; }
.svc-lightbox__img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 0.75rem;
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(.34,1.4,.64,1);
}
.svc-lightbox.open .svc-lightbox__img { transform: scale(1); }
.svc-lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 2.5rem; height: 2.5rem;
  background: rgba(255,255,255,0.12); border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.svc-lightbox__close:hover { background: rgba(255,255,255,0.25); }
.svc-lightbox__close svg { width: 1.1rem; height: 1.1rem; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }

@media (max-width: 767px) {
  .svc-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-stat-item:nth-child(2)::after { display: none; }
  .svc-gallery__grid { grid-template-columns: 1fr 1fr; }
  .svc-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 480px) {
  .svc-gallery__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NAVBAR DROPDOWN — páginas de servicio
   ============================================================ */
.navbar__dropdown {
  position: relative;
}
.navbar__dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(30,58,95,0.7);
  cursor: pointer;
  transition: color 0.2s;
}
.navbar__dropdown-trigger:hover { color: var(--brand-blue); }
.navbar__dropdown-arrow {
  transition: transform 0.3s cubic-bezier(.34,1.4,.64,1);
}
.navbar__dropdown:hover .navbar__dropdown-arrow { transform: rotate(180deg); }

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px -12px rgba(11,27,61,0.18);
  padding: 0.5rem;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(.34,1.4,.64,1);
  z-index: 200;
}
.navbar__dropdown-menu::after {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.navbar__dropdown-menu::before {
  content: "";
  position: absolute;
  top: -1px; left: 1rem; right: 1rem;
  height: 3px;
  background: var(--grad-leaf);
  border-radius: 0 0 3px 3px;
}
.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.navbar__dropdown-item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.85rem; font-weight: 500;
  color: var(--brand-blue);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.navbar__dropdown-item:hover {
  background: rgba(141,198,63,0.08);
  color: var(--brand-green);
  transform: translateX(4px);
}
.navbar__dropdown-item img {
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(19%) sepia(50%) saturate(800%) hue-rotate(190deg);
  transition: filter 0.2s;
}
.navbar__dropdown-item:hover img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(80%) saturate(400%) hue-rotate(70deg);
}

/* mobile sub items */
.navbar__mobile-sub {
  font-size: 0.82rem !important;
  color: var(--brand-green) !important;
  padding-left: 1.5rem !important;
  border-bottom: 1px dashed var(--border) !important;
}

/* ============================================================
   COMPOST CARD TÉCNICA — Valorización
   ============================================================ */
.svc-compost-card {
  background: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 0.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.svc-compost-card:hover {
  border-color: rgba(141,198,63,0.40);
  box-shadow: 0 8px 30px -8px rgba(141,198,63,0.15);
}
.svc-compost-card__header {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1rem;
}
.svc-compost-card__icon {
  width: 2.5rem; height: 2.5rem;
  background: rgba(141,198,63,0.12);
  border: 1px solid rgba(141,198,63,0.30);
  border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-compost-card__tag {
  font-size: 0.58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand-green); margin-bottom: 2px;
}
.svc-compost-card__name {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: var(--brand-blue); line-height: 1.1;
}
.svc-compost-card__desc {
  font-size: 0.85rem; color: var(--muted-fg);
  line-height: 1.75; margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.svc-compost-card__cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 1.25rem;
}
.svc-compost-card__subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem; font-weight: 700;
  color: var(--brand-blue); margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.svc-compost-card__norma {
  display: flex; align-items: flex-start; gap: 0.5rem;
  background: rgba(141,198,63,0.07);
  border: 1px solid rgba(141,198,63,0.25);
  border-radius: 0.6rem; padding: 0.75rem 1rem;
  font-size: 0.78rem; color: var(--muted-fg); line-height: 1.6;
}
.svc-compost-card__norma img { flex-shrink: 0; margin-top: 2px; }
.svc-compost-card__norma strong { color: var(--brand-blue); }

@media (max-width: 768px) {
  .svc-compost-card__cols { grid-template-columns: 1fr; }
}

/* ============================================================
   NAVBAR MOBILE ACTIONS — llamada y cotización
   ============================================================ */
.navbar__mobile-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 0.75rem;
}
.navbar__mobile-btn {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  transition: transform 0.2s;
}
.navbar__mobile-btn:hover { transform: scale(1.1); }
.navbar__mobile-btn svg { width: 1rem; height: 1rem; }
.navbar__mobile-btn--call { background: var(--brand-blue); }
.navbar__mobile-btn--call svg { stroke: #fff; }
.navbar__mobile-btn--quote { background: linear-gradient(135deg, #8DC63F, #009444); }
.navbar__mobile-btn--quote svg { stroke: #0B1B3D; }
.navbar__mobile-btn--quote::before,
.navbar__mobile-btn--quote::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: rgba(141,198,63,0.45);
  animation: btn-pulse 2s ease-out infinite; z-index: -1;
}
.navbar__mobile-btn--quote::after { animation-delay: 0.6s; }

@media (max-width: 767px) {
  .navbar__mobile-actions { display: flex; }
  .navbar__inner { padding: 0.3rem 1.5rem; }
}