/* -------------------------------------------------------------------
 * Global typography — larger base text for readability
 * ------------------------------------------------------------------- */
html {
  font-size: 72.5%;
}

body {
  font-size: 16px;
  line-height: 1.6;
}

/* Hero title — mantener tamaño grande (mismo peso visual que el título largo) */
#home .home-content__main h1 {
  font-size: 9rem;
  line-height: 1.1;
  max-width: 11em;
}

@media only screen and (max-width: 1200px) {
  #home .home-content__main h1 {
    font-size: 7.2rem;
    max-width: 12em;
  }
}

@media only screen and (max-width: 900px) {
  #home .home-content__main h1 {
    font-size: 6.2rem;
  }
}

p,
.section-description,
#about .about-text,
.about-section .about-text,
#services .service-description {
  font-size: 17px;
  line-height: 1.65;
}

/* Resultados: pares alineados (2 en 2) */
#services .services-grid {
  display: flex;
  flex-wrap: wrap;
  clear: both;
}

#services .services-grid::before,
#services .services-grid::after {
  display: none;
}

#services .services-grid > .service-item {
  float: none;
}

@media (max-width: 991px) {
  #services .services-grid {
    display: block;
  }
}

.section-title {
  font-size: 36px;
}

#about .about-title,
.about-section .about-title {
  font-size: 32px;
}

.industries-section .industry-label {
  font-size: 15px;
}

#contact .form-control,
#contact label,
#contact .help-block {
  font-size: 14px;
}

.contact-required-note {
  font-size: 13px;
  color: #475569;
  margin: 0 0 10px;
  line-height: 1.4;
}

.contact-required-note .required-asterisk,
.required-asterisk {
  color: #c0392b;
  font-weight: 700;
}

.contact-form-label {
  display: block;
  font-weight: 700;
  color: #0b2d5c;
  margin-bottom: 3px;
  font-size: 13px;
}

.form-group--required .contact-form-label {
  color: #0b2d5c;
}

.form-group--required .form-control {
  border-left: 3px solid #2A8194;
}

.form-group--required .form-control:focus {
  border-left-color: #1a6fb5;
  box-shadow: inset 3px 0 0 #1a6fb5;
}

#contact .form .validation {
  font-size: 12px;
  margin-top: 2px;
}

/* Contacto compacto */
#contact {
  padding: 48px 0 36px;
}

#contact .info p {
  padding: 0 0 6px 44px;
  line-height: 1.4;
  font-size: 14px;
}

#contact .info i {
  font-size: 26px;
}

#contact .form .form-group {
  margin-bottom: 10px;
}

#contact .form-control,
#contact select.form-control {
  height: 36px;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1.3;
}

#contact textarea.form-control {
  height: auto;
  min-height: 72px;
  padding: 8px 10px;
  resize: vertical;
}

#contact .form .validation {
  margin: 0;
}

#contact .turnstile-container {
  margin-top: 6px !important;
  margin-bottom: 8px !important;
}

#contact .form button[type="submit"] {
  padding: 8px 20px;
  font-size: 14px;
}

@media (min-width: 768px) {
  #contact .contactForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
  }

  #contact .contact-required-note,
  #contact .form-group:has(#mensaje),
  #contact .turnstile-container,
  #contact .text-center {
    grid-column: 1 / -1;
  }

  #contact .form .form-group {
    margin-bottom: 6px;
  }
}

/* Trusted sectors & technology partners */
#trusted {
  padding: 48px 0 40px;
}

.trusted-sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 32px;
}

.trusted-sector {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #0b2d5c;
  box-shadow: 0 2px 8px rgba(11, 45, 92, 0.06);
}

.trusted-sector i {
  color: #1a6fb5;
  font-size: 18px;
}

.trusted-partners-label {
  text-align: center;
  font-size: 15px;
  color: #64748b;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trusted-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trusted-partner {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.02em;
}

/* Case studies */
#casos {
  padding: 48px 0 40px;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.case-study-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(11, 45, 92, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-study-card:hover {
  box-shadow: 0 8px 24px rgba(11, 45, 92, 0.1);
  transform: translateY(-2px);
}

.case-study-sector {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a6fb5;
  background: #eff6ff;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 12px;
}

.case-study-metric {
  font-size: 32px;
  font-weight: 800;
  color: #0b2d5c;
  line-height: 1.1;
  margin: 8px 0 4px;
}

.case-study-metric-label {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.case-study-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.case-study-link {
  font-size: 15px;
  font-weight: 700;
  color: #1a6fb5;
  margin-top: auto;
}

.case-study-link:hover {
  color: #0b2d5c;
}

/* Extended footer */
#footer {
  padding: 48px 0 24px;
  background: #2A8194;
  color: #fff;
}

.footer-main {
  margin-bottom: 28px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px;
}

.footer-logo {
  max-height: 42px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a,
.footer-legal a {
  color: #fff;
  font-size: 16px;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: #e6fbff;
  text-decoration: underline;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
}

.footer-contact i {
  color: #fff;
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 45, 92, 0.35);
  color: #fff;
  font-size: 20px;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: #0b2d5c;
  color: #fff;
}

.footer-legal {
  margin-top: 8px;
}

.footer-legal a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

#footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

/* Blog */
.blog-hero {
  padding: 100px 0 40px;
  background: #0b2d5c;
  color: #fff;
  text-align: center;
}

.blog-hero h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  margin: 0 0 12px;
}

.blog-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 18px;
}

.blog-list {
  padding: 48px 0 64px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 6px 20px rgba(11, 45, 92, 0.08);
}

.blog-card-meta {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.blog-card h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.blog-card h2 a {
  color: #0b2d5c;
}

.blog-card p {
  color: #475569;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.blog-read-more {
  font-size: 15px;
  font-weight: 700;
  color: #1a6fb5;
}

.blog-article {
  padding: 100px 0 64px;
}

.blog-article .container {
  max-width: 760px;
}

.blog-article h1 {
  font-size: clamp(30px, 4.5vw, 42px);
  color: #0b2d5c;
  margin-bottom: 12px;
}

.blog-article-meta {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 28px;
}

.blog-article p,
.blog-article li {
  font-size: 18px;
  line-height: 1.7;
  color: #334155;
}

.blog-article ul {
  margin: 16px 0;
  padding-left: 20px;
}

.blog-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1a6fb5;
}

@media (max-width: 768px) {
  .footer-col {
    margin-bottom: 28px;
  }

  .trusted-sectors {
    gap: 10px;
  }

  .trusted-sector {
    font-size: 15px;
    padding: 8px 14px;
  }
}

/* Header — logo SISCONPER (mismo tamaño en todas las páginas) */
.s-header .header-logo a {
  display: block;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.s-header .header-logo__img,
.s-header .header-logo img {
  width: auto !important;
  height: 76px !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

/* Posición: aire simétrico logo ↔ menú (arriba, no al centro de la pantalla) */
.s-header {
  top: 28px;
  height: 100px;
}

.s-header .header-logo {
  left: 48px !important;
  top: 50%;
  transform: translateY(-50%);
}

.s-header .header-menu-toggle {
  right: 48px !important;
  top: 42px !important;
  transform: none !important;
  height: 45px;
  line-height: 45px;
}

.header-lang {
  right: 200px !important;
  top: 42px !important;
  transform: none !important;
  height: 45px;
}

@media only screen and (max-width: 1200px) {
  .s-header .header-logo {
    left: 40px !important;
  }

  .s-header .header-menu-toggle {
    right: 40px !important;
    top: 42px !important;
  }

  .header-lang {
    right: 185px !important;
    top: 42px !important;
  }

  .s-header .header-logo__img,
  .s-header .header-logo img {
    width: auto !important;
    height: 64px !important;
    max-height: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .s-header .header-logo__img,
  .s-header .header-logo img {
    width: auto !important;
    height: 56px !important;
    max-height: none !important;
  }
}

@media only screen and (max-width: 400px) {
  .s-header .header-logo__img,
  .s-header .header-logo img {
    width: auto !important;
    height: 44px !important;
    max-height: none !important;
  }
}

/* Hero — texto rotativo dentro del área central (sin invadir sidelinks) */
.s-home .home-content {
  overflow: visible;
}

.s-home .cd-intro {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.s-home .cd-headline.slide {
  text-align: center;
}

/* Subtítulos rotativos del hero — tamaño; la animación la maneja cd-headline.js */
.s-home .cd-headline,
.s-home .cd-headline.slide {
  font-size: 2.2rem !important;
  line-height: 1.35 !important;
}

.s-home .cd-headline.slide .cd-words-wrapper {
  overflow: hidden;
  vertical-align: top;
  display: inline-block;
  position: relative;
}

.s-home .cd-words-wrapper b {
  font-size: inherit !important;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
  padding: 0 0.25em;
}

@media only screen and (min-width: 1301px) {
  .s-home .cd-intro {
    max-width: calc(100% - 22rem);
  }
}

/* Nav lateral — ritmo equilibrado y legible */
.header-nav {
  width: 300px !important;
  padding: 2.4rem 1.8rem 2rem 2rem !important;
  background: #0a0a0a !important;
}

.header-nav h3 {
  margin: 0 0 1.4rem !important;
  letter-spacing: 0.18rem !important;
  font-size: 11px !important;
  color: #5eb3c4 !important;
}

.header-nav__list {
  margin: 0 0 1.6rem !important;
  padding: 0 !important;
  font-size: 1.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-nav__list > li {
  line-height: 1.25 !important;
  padding: 0 !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.header-nav__list > li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.header-nav__list > li > a {
  display: block;
  padding: 0.85rem 0 0.85rem 2.6rem !important;
  color: #fff !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.header-nav__list > li > a:hover,
.header-nav__list > li > a:focus {
  color: #7ec8d6 !important;
  padding-left: 2.85rem !important;
}

.header-nav__list > li > a::before {
  top: 50% !important;
  transform: translateY(-50%);
  left: 0 !important;
  font-size: 10px !important;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35) !important;
}

.header-nav__item--has-sub {
  position: relative;
}

.header-nav__item--has-sub > a {
  border-bottom: none !important;
}

.header-nav__sublist {
  list-style: none;
  margin: 0 0 0.75rem 0 !important;
  padding: 0.15rem 0 0.55rem 2.6rem !important;
  border: none;
}

.header-nav__sublist li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  border: none !important;
}

.header-nav__sublist a {
  display: block;
  padding: 0.38rem 0 0.38rem 0.85rem !important;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.35 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none;
  border-left: 2px solid rgba(42, 129, 148, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-nav__sublist a::before {
  display: none !important;
}

.header-nav__sublist a:hover,
.header-nav__sublist a:focus {
  color: #fff !important;
  border-left-color: #2A8194;
}

.header-nav p,
.header-nav p[align="justify"] {
  margin: 0 !important;
  padding-top: 0.25rem;
  text-align: left !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  max-width: 100%;
}

/* Mapa / GIF bajo SOLUCIONES */
.soluciones-mapa-wrap {
  max-width: 100%;
  margin: 16px auto 0;
  text-align: center;
}

.soluciones-mapa-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.soluciones-mapa-actions {
  margin-top: 12px;
  text-align: center;
}

.soluciones-mapa-actions--hidden {
  display: none;
}

.soluciones-mapa-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: #1a6fb5;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.soluciones-mapa-play:hover,
.soluciones-mapa-play:focus {
  background: #155a94;
  color: #fff;
  outline: none;
}

.soluciones-mapa-play:disabled {
  opacity: 0.7;
  cursor: wait;
}

.soluciones-mapa-play::before {
  content: "\f04b";
  font-family: FontAwesome;
  font-size: 12px;
}

.soluciones-mapa-status {
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  color: #666;
}

/* Más información en iconos de soluciones */
a.industry-more-info {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1a6fb5;
  letter-spacing: 0.02em;
  text-decoration: none;
}

a.industry-more-info:hover,
a.industry-more-info:focus {
  text-decoration: underline;
}

.industries-section .industry-icon-wrapper {
  width: 120px;
}

/* Menos espacio entre mapa GIF e iconos de sectores */
.industries-section {
  padding: 8px 0 48px 0 !important;
}

.industries-section .industries-icons-container {
  margin: 8px auto 20px auto !important;
  padding: 0 !important;
  gap: 24px !important;
}

/* Language selector — visible en header, no en menú lateral */
.header-lang {
  position: fixed;
  right: 200px !important;
  top: 42px !important;
  transform: none !important;
  height: 45px;
  display: flex;
  align-items: center;
  z-index: 502;
}

.language-selector--header.language-selector--dropdown {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.language-selector--header .language-selector__trigger {
  width: auto !important;
  min-width: 0;
  height: 36px;
  padding: 0 1rem !important;
  line-height: 36px;
  background: rgba(0, 0, 0, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(6px);
  letter-spacing: 0.06em;
  box-sizing: border-box;
}

.language-selector--header .language-selector__trigger:hover,
.language-selector--header .language-selector__trigger:focus {
  background: rgba(0, 0, 0, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.language-selector--header .language-selector__label {
  display: none;
}

.language-selector--header .language-selector__trigger-text {
  flex-wrap: nowrap;
  gap: 0.35em;
}

.language-selector--header .language-selector__panel {
  left: auto;
  right: 0;
  min-width: 190px;
}

.header-nav .language-selector--dropdown {
  display: none !important;
}

@media only screen and (max-width: 1600px) {
  .header-lang {
    right: 190px !important;
  }
}

@media only screen and (max-width: 1200px) {
  .header-lang {
    right: 185px !important;
  }
}

@media only screen and (max-width: 800px) {
  .header-lang {
    right: 170px !important;
  }
}

@media only screen and (max-width: 600px) {
  .header-lang {
    right: 155px !important;
  }

  .language-selector--header .language-selector__trigger {
    height: 32px;
    line-height: 32px;
    padding: 0 0.75rem !important;
    font-size: 10px;
  }
}

@media only screen and (max-width: 400px) {
  .header-lang {
    right: 140px !important;
  }
}

/* ===================================================================
 * Responsive — móvil y tablet (sitio completo)
 * =================================================================== */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

img,
video,
iframe,
.soluciones-mapa-img {
  max-width: 100%;
}

.section-top-spacer {
  height: 72px;
}

@media (max-width: 767px) {
  .section-top-spacer {
    height: 48px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header — barra flexible (logo | idioma | menú) */
  .s-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    height: auto !important;
    min-height: 60px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
    box-sizing: border-box;
  }

  .header-logo {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin-right: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-lang {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    height: auto !important;
    flex: 0 0 auto;
  }

  .header-logo img,
  .s-header .header-logo__img,
  .s-header .header-logo img {
    width: auto !important;
    max-width: min(70vw, 280px) !important;
    height: 52px !important;
    max-height: none !important;
  }

  .language-selector--header .language-selector__trigger {
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 0.65rem !important;
    font-size: 11px !important;
  }

  .header-menu-toggle {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    line-height: 44px !important;
    flex: 0 0 auto;
    margin: 0;
    letter-spacing: 0;
    font-size: 0;
  }

  .header-menu-toggle::before {
    display: none !important;
  }

  /* Hero home — pantalla completa */
  #home.s-home,
  .page-home .s-home {
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
    display: block;
  }

  .s-home .contenedor {
    position: relative;
    width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .s-home .contenedor video {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    z-index: 0;
  }

  .s-home .overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 68px 16px 56px;
    box-sizing: border-box;
    z-index: 1;
  }

  .s-home .home-content {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
    vertical-align: unset !important;
    position: relative;
    z-index: 2;
  }

  .home-content__main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .home-content h1,
  .home-content__main h1 {
    font-size: clamp(22px, 6.2vw, 32px) !important;
    line-height: 1.18 !important;
    color: #ffffff !important;
    margin: 0 0 12px !important;
    text-align: center;
    overflow-wrap: break-word;
  }

  .s-home .cd-intro {
    margin-top: 6px;
  }

  .s-home .cd-headline,
  .s-home .cd-headline.slide {
    font-size: clamp(14px, 3.9vw, 17px) !important;
    line-height: 1.45 !important;
  }

  .s-home .cd-words-wrapper {
    min-height: 3.4em;
  }

  .s-home .cd-words-wrapper b {
    font-size: inherit !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.45 !important;
  }

  .home-sidelinks {
    display: none !important;
  }

  .home-scroll {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    bottom: 18px !important;
    top: auto !important;
    height: auto !important;
    z-index: 3;
  }

  .home-scroll__text {
    display: none !important;
  }

  .home-scroll__icon {
    height: 42px !important;
    width: 42px !important;
    position: relative !important;
    right: auto !important;
  }

  /* Páginas sector — banner superior */
  #subscribe {
    padding: 88px 0 48px !important;
    background-attachment: scroll !important;
  }

  .retail,
  .comercial,
  .terminales,
  .banca,
  .transporte,
  .supermercado {
    background-attachment: scroll !important;
  }

  /* Secciones */
  .section-title {
    font-size: clamp(24px, 6vw, 30px) !important;
    line-height: 1.2;
  }

  .section-description,
  #soluciones .about-title {
    font-size: 16px !important;
    line-height: 1.55;
    text-align: center !important;
  }

  #about,
  .about-section,
  #services,
  #contact,
  #trusted,
  #casos {
    padding: 48px 0 !important;
  }

  #about .about-title,
  .about-section .about-title {
    font-size: clamp(20px, 5vw, 26px) !important;
    text-align: center !important;
  }

  #about .about-text,
  .about-section .about-text {
    font-size: 16px !important;
  }

  .about-img {
    margin-bottom: 24px;
  }

  .about-img img {
    width: 100%;
    height: auto;
  }

  .service-item {
    margin-bottom: 28px;
    text-align: center;
  }

  .service-title {
    font-size: 18px !important;
  }

  .servicio,
  .viñetas {
    margin-left: 0 !important;
  }

  .viñetas {
    padding-left: 1.25rem;
  }

  /* Contacto */
  #contact {
    padding: 48px 0 !important;
  }

  #contact .info {
    margin-bottom: 24px;
    text-align: center;
  }

  #contact .info i {
    float: none;
    display: block;
    margin: 0 auto 8px;
  }

  #contact .info p {
    padding: 0 !important;
  }

  #contact .form-control,
  #contact select.form-control,
  #contact textarea.form-control {
    font-size: 16px !important;
    min-height: 44px;
  }

  #contact .form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .mobile-contact-cta {
    display: block;
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 9998;
    background: #0b2d5c;
    color: #fff !important;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-study-metric {
    font-size: 28px;
  }

  .trusted-sector {
    font-size: 14px;
    padding: 8px 14px;
  }

  .industries-section .industries-icons-container {
    gap: 16px 10px;
    padding: 0 4px;
  }

  .industries-section .industry-icon-wrapper {
    width: calc(33.333% - 10px);
    min-width: 88px;
  }

  .industry-description-container {
    padding: 16px !important;
    margin: 0 4px;
  }

  .soluciones-mapa-wrap {
    margin: 12px 0 8px;
    overflow: hidden;
  }

  .blog-hero {
    padding: 88px 16px 32px;
  }

  .blog-card {
    padding: 18px;
  }

  .section-soft,
  .section-white {
    padding: 40px 0 28px !important;
  }
}

@media (max-width: 480px) {
  .header-logo img,
  .s-header .header-logo__img,
  .s-header .header-logo img {
    max-width: min(65vw, 220px) !important;
    height: 44px !important;
    max-height: none !important;
  }

  .industries-section .industry-icon-wrapper {
    width: calc(50% - 8px);
  }

  .trusted-sectors {
    gap: 8px;
  }

  .trusted-partner {
    font-size: 13px;
    padding: 6px 10px;
  }
}

@media (max-width: 380px) {
  .language-selector--header .language-selector__trigger {
    padding: 0 0.5rem !important;
    font-size: 10px !important;
  }
}
