/* =========================
   GRUPO SHERCO — CSS base
   ========================= */

/* Variables corporativas */
:root {
    --sherco-orange: #F8931D;
    --sherco-teal: #005F63;
    --sherco-white: #FFFFFF;
    --sherco-dark: #0b0b0b;

    --sherco-bg: #ffffff;
    --sherco-text: #0f172a;
    --sherco-muted: #475569;
    --sherco-soft: #f6f7fb;
    --sherco-border: rgba(2,6,23,.08);

    --radius-xl: 18px;
    --shadow-soft: 0 18px 45px rgba(0,0,0,.08);
    --shadow-hover: 0 28px 60px rgba(0,0,0,.12);
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* =========================
   SELLO 25 AÑOS
   ========================= */

.page-title-seal {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.seal-25 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;
    border-radius: 50%;

    background: linear-gradient(
        145deg,
        #fff1a8 0%,
        #f0c86a 20%,
        #d4a23c 45%,
        #f7dc86 70%,
        #c7922c 100%
    );

    border: 1px solid rgba(160,115,20,.85);

    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.55),
        inset 0 -6px 10px rgba(0,0,0,.18),
        0 10px 26px rgba(212,162,60,.35);

    position: relative;
    animation: sealPop 900ms ease-out both;
}

.seal-25::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px dashed rgba(110,75,10,.45);
}

.seal-25::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%);
    pointer-events: none;
}

.seal-num {
    font-weight: 900;
    font-size: 1.15rem;
    line-height: 1;
    color: #3b2600;
}

.seal-text {
    margin-top: 2px;
    font-size: .55rem;
    letter-spacing: .16em;
    font-weight: 800;
    color: #3b2600;
}

@keyframes sealPop {
    0% {
        transform: translateY(3px) scale(.92);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (max-width:576px) {
    .seal-25 {
        width: 52px;
        height: 52px;
    }
    .seal-num {
        font-size: 1rem;
    }
}

/* =========================
   HERO / SECCIONES
   ========================= */

.section {
    padding: 64px 0;
}

.section-soft {
    background: var(--sherco-soft);
}

.section-title,
.intro-title {
    color: var(--sherco-teal);
}

/* =========================
   LAYOUT BASE
   ========================= */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrap {
    flex: 1 0 auto;
}

.footer-sherco {
    flex-shrink: 0;
}

/* =========================
   CARDS
   ========================= */

.card-sherco {
    border: 1px solid var(--sherco-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}

.card-sherco:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
/* =========================
   NAVBAR / BRAND
========================= */
.navbar-sherco {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sherco-border);
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: .85rem;
  color: var(--sherco-teal);
  line-height: 1;
}

.navbar .nav-link {
  color: rgba(15,23,42,.78);
  font-weight: 600;
  border-radius: 12px;
  padding: .55rem .8rem;
}

.navbar .nav-link:hover {
  color: var(--sherco-text);
  background: rgba(2,6,23,.04);
}

/* =========================
   BOTONES
========================= */
.btn-sherco,
.boton-sherco {
  background-color: var(--sherco-orange) !important;
  color: var(--sherco-white) !important;
  border: none !important;
  border-bottom: 5px solid var(--sherco-teal) !important;
  border-radius: 999px !important;
  padding: .7rem 1.1rem !important;
  font-weight: 800 !important;
}

.btn-sherco:hover,
.boton-sherco:hover {
  background-color: #e88418 !important;
  color: var(--sherco-white) !important;
}

/* =========================
   HERO VIDEO
========================= */
.hero-video {
  position: relative;
  height: 90vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%,-50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.65));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
    max-width: 910px;
    text-align: center;
}

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

.hero-content p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2rem;
}

.hero-actions {
  margin-top: 1rem;
}

/* =========================
   INTRO + Acordeón
========================= */
.section-intro {
  padding: 64px 0;
}

.intro-title {
  font-size: clamp(1.8rem,3vw,2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.intro-text {
  color: var(--sherco-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
}

.intro-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border-left: 6px solid var(--sherco-orange);
}

/* Acordeón */
.intro-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  color: var(--sherco-teal);
  font-size: 1.05rem;
}

.intro-toggle i {
  transition: transform .2s ease;
}

.intro-list {
  margin: 1rem 0 0 0;
  padding-left: 1.1rem;
  color: #334155;
}

.intro-list li {
  margin-bottom: .6rem;
}

/* =========================
   SERVICIOS (cards con imagen)
========================= */
.service-card-pro {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}

.service-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 1.5rem;
}

.service-body h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--sherco-teal);
  margin-bottom: .5rem;
}

.service-body p {
  color: var(--sherco-muted);
  margin: 0;
  line-height: 1.6;
}

/* =========================
   CONTACTO (versión limpia)
========================= */
.page-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  color: var(--sherco-teal);
  margin-bottom: 0.5rem;
}

/* Contacto rápido */
.quick-contact-grid {
  display: grid;
  gap: 0.8rem;
}

.qc-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: var(--sherco-text);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.qc-item i {
  color: var(--sherco-teal);
  font-size: 1.1rem;
}

.qc-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  color: var(--sherco-teal);
}

/* Mapa Google */
.map-embed {
  border-radius: var(--radius-xl);
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Mensajes del formulario */
.form-result {
  display: block;
  margin-bottom: 1rem;
  font-weight: 900;
}

.form-result-ok {
  color: #0f766e;
}

.form-result-error {
  color: #b91c1c;
}

/* =========================
   MAPA FOTO (si lo usas en home)
========================= */
.location-photo {
  border-radius: var(--radius-xl);
  position: relative;
  background: #ffffff;
  border: 1px solid var(--sherco-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.location-photo img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #ffffff;
  display: block;
  padding: 12px;
}

/* (Si ya quitaste el badge, puedes borrar esto) */
.location-photo-badge {
  display: none;
}

/* =========================
   FOOTER
========================= */
.footer-sherco {
  position: relative;
  z-index: 10;
}

.footer-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  margin: 0;
}

.footer-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.footer-link i {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: 0.05rem;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-sep {
  border-color: rgba(255, 255, 255, 0.14);
}

.footer-muted {
  color: rgba(255, 255, 255, 0.6);
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 991px) {
  .section {
    padding: 48px 0;
  }

  .hero-video {
    min-height: 460px;
    height: 70vh;
  }

  .map-embed iframe {
    height: 360px;
  }

  .location-photo img {
    height: 320px;
  }
}

/* =========================
   CONTACTO — FONDO MÁS VISIBLE
   (Se activa con: body.page-contact)
========================= */
body.page-contact {
  background: transparent;
}

/* Imagen de fondo (más visible) */
body.page-contact::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  /* ✅ RUTAS PHP: /assets/... (no /Content/...) */
  background-image: url("../img/contacto.jpg");
  background-image: image-set(
    url("../img/contacto.webp") type("image/webp"),
    url("../img/contacto.jpg") type("image/jpeg")
  );

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: grayscale(75%) brightness(0.92);
  opacity: 0.22; /* antes 0.12, ahora se nota más */
}

/* Capa clara para legibilidad (menos intensa) */
body.page-contact::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.86)
  );
}

body.page-contact .main-wrap,
body.page-contact .section,
body.page-contact .navbar,
body.page-contact footer {
  position: relative;
  z-index: 1;
}

/* =========================
   CARDS “MARCO BLANCO” MODERNAS
========================= */
.card-frame {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 6, 23, 0.10);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.card-frame--big {
  padding: 0;
}

.card-frame--media {
  padding: 0;
}

.card-frame--map {
  padding: 14px;
}

.card-frame__top {
  padding: 26px 26px 0 26px;
}

.card-frame__mid {
  padding: 18px 26px 26px 26px;
}

@media (max-width: 768px) {
  .card-frame__top {
    padding: 20px 18px 0 18px;
  }

  .card-frame__mid {
    padding: 14px 18px 18px 18px;
  }
}

/* =========================
   HERO CONTACTO
========================= */
.contact-hero-modern {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}

.card-title-orange {
  color: var(--sherco-orange);
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.card-media {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

/* =========================
   BOTONES DE CONTACTO (no links estilo pill)
========================= */
.contact-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 991px) {
  .contact-btn-grid {
    grid-template-columns: 1fr;
  }
}

.btn-contact {
  /*display: flex;*/
  align-items: center;
  gap: 12px;
  /*padding: 14px 14px;*/
padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(2, 6, 23, 0.10);
  background: #fff;
  color: var(--sherco-text);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-contact i {
  font-size: 1.25rem;
  color: var(--sherco-teal);
}

.btn-contact span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.btn-contact small {
  font-weight: 600;
  color: var(--sherco-muted);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  border-color: rgba(0, 95, 99, 0.25);
  color: var(--sherco-text);
}

.btn-contact--accent {
  border-color: rgba(248, 147, 29, 0.35);
  background: rgba(248, 147, 29, 0.10);
}

.btn-contact--accent i {
  color: var(--sherco-orange);
}

/* Nota inferior */
.contact-note {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--sherco-muted);
  font-weight: 700;
}

.contact-note i {
  color: var(--sherco-teal);
}

.contact-photo {
  background: #fff;
  padding: 16px;
}

.contact-photo img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

/* =========================
   “SEGMENTED” para ciudades
========================= */
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.segmented__btn {
  border: 1px solid rgba(2, 6, 23, 0.14);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.85);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.segmented__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.city-btn.is-active {
  background: var(--sherco-orange);
  color: #fff;
  border-color: rgba(0, 0, 0, 0);
  box-shadow: 0 18px 34px rgba(248, 147, 29, 0.22);
}

/* Bloque oficina */
.office-box {
  border-radius: 18px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: rgba(246, 247, 251, 0.75);
  padding: 16px;
}

.office-title {
  font-weight: 900;
  color: var(--sherco-teal);
  margin-bottom: 6px;
}

/* =========================
   MAPA más “premium”
========================= */
.map-embed--modern {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(2, 6, 23, 0.10);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.map-embed--modern iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* =========================
   FORMULARIO más moderno
========================= */
.input-modern {
  border-radius: 16px !important;
  border: 1px solid rgba(2, 6, 23, 0.12) !important;
  padding: 14px 14px !important;
}

.input-modern:focus {
  border-color: rgba(0, 95, 99, 0.35) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 95, 99, 0.10) !important;
}

/* móvil: fondo fijo suele fallar en iOS */
@media (max-width: 768px) {
  body.page-contact::before {
    background-attachment: scroll;
    opacity: 0.18;
  }
}

/* =========================
   DESCONTAMINACIÓN — UI moderna
========================= */
.page-hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 6, 23, 0.10);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
  padding: 26px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(248, 147, 29, 0.12);
  border: 1px solid rgba(248, 147, 29, 0.25);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.85);
  margin-bottom: 12px;
}

.badge-pill i {
  color: var(--sherco-orange);
}

.badge-pill--teal {
  background: rgba(0, 95, 99, 0.10);
  border-color: rgba(0, 95, 99, 0.22);
}

.badge-pill--teal i {
  color: var(--sherco-teal);
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kpi {
  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(246, 247, 251, 0.75);
}

.kpi__top {
  font-weight: 900;
  color: var(--sherco-teal);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 4px;
}

.kpi__text {
  color: var(--sherco-muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.media-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(2, 6, 23, 0.10);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
  background: #fff;
}

.media-frame__img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.frame-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 6, 23, 0.10);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
  padding: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.feature {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: rgba(246, 247, 251, 0.75);
}

.feature i {
  font-size: 1.35rem;
  color: var(--sherco-teal);
  margin-top: 2px;
}

.feature__title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
}

.feature__text {
  color: var(--sherco-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.list-check {
  padding-left: 1.1rem;
}

.list-check li {
  margin-bottom: 0.55rem;
}

.callout {
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(0, 95, 99, 0.18);
  background: rgba(0, 95, 99, 0.06);
  margin-top: 14px;
}

.callout__title {
  font-weight: 900;
  color: var(--sherco-teal);
  margin-bottom: 4px;
}

.callout--soft {
  border-color: rgba(2, 6, 23, 0.10);
  background: rgba(246, 247, 251, 0.75);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.note-card {
  border-radius: 18px;
  border: 1px solid rgba(2, 6, 23, 0.10);
  background: #fff;
  padding: 14px;
}

.note-card__title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 6px;
}

.note-card__title i {
  color: #b91c1c;
}

@media (max-width: 991px) {
  .mini-kpis {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .media-frame__img {
    height: 280px;
  }
}

/* =========================
   FUNDACIÓN — imagen contenida
========================= */
.fundacion-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
  max-height: 320px; /* evita imagen gigante */
}

.fundacion-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .fundacion-image-wrap {
    max-height: 220px;
  }
}

/* =========================
   COOKIE BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
}

.cookie-banner__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--sherco-teal);
}

.cookie-banner__p {
  margin: 6px 0 8px;
  color: #6c757d;
  max-width: 820px;
}

.cookie-banner__links {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
}

.cookie-banner__links a {
  color: var(--sherco-teal);
  text-decoration: none;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn {
  white-space: nowrap;
}

/* Make banner dark-buttons readable */
.cookie-banner .btn-outline-light {
  border-color: rgba(0, 0, 0, 0.2);
  color: #111;
}

.cookie-banner .btn-outline-light:hover {
  background: #f2f2f2;
}
/* Modal */
.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.cookie-modal__panel {
    position: relative;
    width: min(720px, calc(100% - 24px));
    margin: 6vh auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
    overflow: hidden;
}

.cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.cookie-modal__title {
    font-weight: 900;
    font-size: 1.15rem;
    color: #0b3b4a;
}

.cookie-modal__close {
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    padding: 0 6px;
    cursor: pointer;
    color: #333;
}

.cookie-modal__body {
    padding: 14px 18px;
}

.cookie-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.cookie-row__name {
    font-weight: 800;
}

.cookie-row__desc {
    font-size: .95rem;
}

.cookie-modal__footer {
    padding: 14px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d9dee3;
    transition: .2s;
    border-radius: 999px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 3px;
        top: 3px;
        background: white;
        transition: .2s;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,.18);
    }

.switch input:checked + .slider {
    background: var(--sherco-teal);
}

    .switch input:checked + .slider:before {
        transform: translateX(22px);
    }
.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}
/* Ocultar la barra superior (topbar) */
.topbar{
  display:none !important;
}
/* --- FIX: overlays invisibles bloqueando clicks --- */
.cookie-banner[hidden],
.cookie-modal[hidden]{
  display: none !important;
}

/* Asegura que el modal realmente tapa solo cuando está visible */
.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
}

/* Backdrop del modal */
.cookie-modal__backdrop{
  position: absolute;
  inset: 0;
}

/* Panel por encima del backdrop */
.cookie-modal__panel{
  position: relative;
  z-index: 1;
}

/* Asegura que el nav queda por encima de cosas normales */
.navbar-sherco{
  position: sticky;
  top: 0;
  z-index: 1050; /* similar a Bootstrap */
}
.form-result{
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid transparent;
}

.form-result.form-result-ok{
  display: block;
  background: rgba(25, 135, 84, .12);  /* verde suave */
  border-color: rgba(25, 135, 84, .35);
  color: #198754;
}

.form-result.form-result-error{
  display: block;
  background: rgba(220, 53, 69, .12);  /* rojo suave */
  border-color: rgba(220, 53, 69, .35);
  color: #dc3545;
}
.form-result{
  display:none;
  padding:14px 16px;
  border-radius:16px;
  font-weight:600;
  margin-bottom:14px;
  border:1px solid transparent;
}
.form-result.form-result-ok{
  display:block;
  background: rgba(25,135,84,.12);
  border-color: rgba(25,135,84,.35);
  color:#198754;
}
.form-result.form-result-error{
  display:block;
  background: rgba(220,53,69,.12);
  border-color: rgba(220,53,69,.35);
  color:#dc3545;
}
.form-result{
  display:none;
  padding:14px 16px;
  border-radius:16px;
  font-weight:600;
  margin-bottom:14px;
  border:1px solid transparent;
}
.form-result.form-result-ok{
  display:block;
  background: rgba(25,135,84,.12);
  border-color: rgba(25,135,84,.35);
  color:#198754;
}
.form-result.form-result-error{
  display:block;
  background: rgba(220,53,69,.12);
  border-color: rgba(220,53,69,.35);
  color:#dc3545;
}
.segmented__btn.is-active{
  background:#F8931D;
  color:#fff;
  border-color:#F8931D;
}
.form-result{
  display:none;
  padding:14px 16px;
  border-radius:16px;
  font-weight:600;
  margin-bottom:14px;
  border:1px solid transparent;
}
.form-result.form-result-ok{
  display:block;
  background: rgba(25,135,84,.12);
  border-color: rgba(25,135,84,.35);
  color:#198754;
}
.form-result.form-result-error{
  display:block;
  background: rgba(220,53,69,.12);
  border-color: rgba(220,53,69,.35);
  color:#dc3545;
}
.segmented__btn.is-active{
  background:#F8931D;
  color:#fff;
  border-color:#F8931D;
}
/* Que hidden NO capture clics */
[hidden] { display: none !important; }

/* Si por alguna razón quedan “ocultos”, que no bloqueen clicks */
.cookie-modal[hidden],
.cookie-banner[hidden] {
  pointer-events: none !important;
}

/* Asegura capas: navbar clicable por encima del contenido */
.navbar-sherco { position: sticky; top: 0; z-index: 2000; }
.topbar { position: relative; z-index: 2001; }

/* El banner/modal solo por encima cuando se muestran */
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 4000; }

/* Activo para segmented (si no lo tienes) */
.segmented__btn.is-active{
  background:#F8931D;
  color:#fff;
  border-color:#F8931D;
}
[hidden] { display: none !important; }

.cookie-modal[hidden],
.cookie-banner[hidden] {
  pointer-events: none !important;
}

.navbar-sherco { position: sticky; top: 0; z-index: 2000; }
.topbar { position: relative; z-index: 2001; }

.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 4000; }
/* =========================
   FIX dropdown navbar en Contacto
   (menú desplegable quedaba por detrás)
========================= */

/* Asegura que el NAV está por encima del contenido y del fondo */
.navbar.navbar-sherco{
  position: sticky;
  top: 0;
  z-index: 5000 !important;
}

/* El dropdown debe estar aún por encima */
.navbar.navbar-sherco .dropdown-menu{
  position: absolute;
  z-index: 6000 !important;
}

/* Importante: los overlays del fondo NO deben interceptar ni competir */
body.page-contact::before,
body.page-contact::after{
  z-index: 0 !important;
  pointer-events: none !important;
}

/* El contenido queda por debajo del nav */
body.page-contact .main-wrap{
  position: relative;
  z-index: 1;
}
/* Evita que alguna card cree contexto que tape el dropdown */
.page-contact .card-frame,
.page-contact .map-embed--modern{
  position: relative;
  z-index: 1;
}
.glass-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0,0,0,.10);
}
.page-cookies .table { margin-bottom: 0; }
.page-cookies .table th { font-weight: 900; }
.page-cookies .table td { color: #475569; }

/* FIX: enlaces que no hacen click por overlays/pseudoelementos */
.card-sherco,
.glass-card,
.section,
.section-soft {
  position: relative;
}

/* si tienes overlays en cards (muy típico), que NO capturen clicks */
.card-sherco::before,
.card-sherco::after,
.glass-card::before,
.glass-card::after {
  pointer-events: none !important;
}

/* asegura que los enlaces estén por encima */
.card-sherco a,
.glass-card a {
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
}

/* por si en algún sitio se desactivaron eventos por error */
.text-secondary a,
.small a {
  pointer-events: auto !important;
}

/* =========================
   NAVBAR RESPONSIVE FIXES
   Evita que los items se descoloquen en pantallas medianas
========================= */

/* Sobrescribir colores de Bootstrap para usar paleta corporativa */
.btn-primary {
  background-color: #005F63 !important;
  border-color: #005F63 !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #004a4d !important;
  border-color: #004a4d !important;
}
.btn-outline-primary {
  color: #005F63 !important;
  border-color: #005F63 !important;
  background-color: transparent !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #005F63 !important;
  border-color: #005F63 !important;
  color: #fff !important;
}
.text-primary {
  color: #005F63 !important;
}
a.text-primary:hover {
  color: #004a4d !important;
}

/* Navbar más compacto entre 992px y 1200px */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar .nav-link {
    padding: .4rem .5rem;
    font-size: 0.85rem;
  }
  
  .navbar .nav-link i {
    display: none; /* Ocultar iconos en este rango */
  }
  
  .navbar .btn-sherco {
    padding: .5rem .8rem !important;
    font-size: 0.85rem !important;
  }
  
  .navbar-brand .brand-text {
    font-size: 0.7rem;
  }
  
  .navbar-brand .brand-logo {
    height: 40px;
  }
}

/* Navbar aún más compacto entre 992px y 1100px */
@media (min-width: 992px) and (max-width: 1099px) {
  .navbar .nav-link {
    padding: .35rem .4rem;
    font-size: 0.8rem;
  }
  
  .navbar .dropdown-toggle::after {
    margin-left: 0.2em;
  }
}

/* Asegurar que el navbar no se desborde */
.navbar-nav {
  flex-wrap: nowrap;
}

/* Menú móvil mejorado */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
  }
  
  .navbar-nav .nav-link {
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .navbar-nav .nav-link i {
    display: inline-block;
    width: 24px;
  }
  
  .navbar-nav .dropdown-menu {
position: relative !important;
    border: none;
    background: rgba(0,0,0,0.02);
    margin: 0;
    padding-left: 1rem;
  }
  
  .navbar-nav .btn-sherco {
    margin-top: 1rem;
  }
}


.text-danger {
    color:#005F63 !important;
}
.me-1 {
color: #005F63;
   /* color: #f8931d !important;*/
}
.me-2 {
    color: #f8931d;
}
.mb-3 {
    /* color: #005F63;*/
}
.text-dark {
    color: #005F63 !important;
}
.mb-4 {
    /* color: #005F63;*/

}
.h2, h2, h1 {
    color: #005F63;
}

.rounded-pill {
    padding-top: 10.5px;
}


/* ===== HASH BADGE PARA DESCARGAS ===== */
.hash-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.7rem;
}

.hash-badge i.bi-shield-lock-fill {
  color: #10b981;
  font-size: 0.8rem;
}

.hash-badge .hash-label {
  color: #6b7280;
  font-weight: 500;
}

.hash-badge .hash-value {
  background: #d1fae5;
  color: #065f46;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  cursor: help;
}

.hash-badge .hash-copy {
  background: transparent;
  border: none;
  color: #10b981;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hash-badge .hash-copy:hover {
  background: #d1fae5;
  color: #065f46;
}
.card-text:last-child {
    text-align: justify;
}



.navbar.navbar-sherco .dropdown-menu {
    background-color: #F8FAFC;

}
.text-success {
    color:#005F63 !important;
}







.carousel-indicators {
    display: none!important;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    /* display: flex; */
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
}