@charset "UTF-8";
/*!
 Theme Name: tecniker-site
 Author: Francesco Rodriguez
 Author URI: https://francercoer.dev
 Description: Tema personalizado de WordPress para el sitio de Tecniker.
 Version: 1.0.0
 Text Domain: tecniker-site
*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

body {
  overflow-x: hidden;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

.title {
  background-color: #003B9E;
  color: white;
  position: relative;
  display: inline-block; /* clave */
  font-size: 30px;
  margin-bottom: 32px;
  padding: 1rem; /* opcional, para que el fondo no quede pegado al texto */
  border-radius: 8px;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

.contact-form {
  max-width: 800px;
  margin: 1rem 0;
}

.form-control input,
.form-control textarea,
.form-control select {
  display: block;
  width: 100%;
  margin: 1rem 0;
  padding: 11px 15px;
  border: 1px solid #dadbdd;
  border-radius: 7px;
}

.form-control textarea {
  min-height: 90px;
}

.form-inline {
  display: flex;
}
.form-inline .form-control {
  margin-right: 20px;
  min-width: 48.5%;
}

/* Otros estilos de formularios... */
/* =========================
   HERO HEADER + SLIDER (LIMPIO)
   ========================= */
.site-header {
  position: relative;
  color: #fff;
}
.site-header.has-slider {
  background: none !important;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 1;
  pointer-events: none;
}
.site-header .navigation {
  position: relative;
  z-index: 5;
}

/* --- Swiper del hero --- */
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: min(80vh, 760px);
}

@media (max-width: 1024px) {
  .hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide {
    height: min(70vh, 600px);
  }
}
@media (max-width: 640px) {
  .hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide {
    height: 55vh;
  }
}
.hero-swiper {
  position: relative;
  z-index: 0;
}

.hero-swiper .swiper-slide {
  position: relative;
}

.hero-swiper img,
.hero-swiper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 12px;
}

/* === Dimmer por slide (debajo del texto, encima del video) === */
.slide-dimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.35) 65%, rgba(0, 0, 0, 0) 100%);
  border-radius: 12px;
}

/* === Texto / CTAs por slide === */
.slide-caption {
  position: absolute;
  inset: 0; /* ocupa todo el slide */
  z-index: 3; /* por encima del dimmer */
  display: flex; /* móvil: columna */
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  /* legibilidad */
}
.slide-caption .header-title {
  font-size: clamp(1.5rem, 4vw, 48px);
  font-weight: 700;
}
.slide-caption .header-text {
  font-size: clamp(1rem, 2vw, 20px);
  max-width: 65ch;
}
.slide-caption, .slide-caption * {
  color: #fff !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* CTAs */
.slide-caption .cta-buttons {
  display: flex;
  flex-direction: column; /* móvil: uno debajo del otro */
  gap: 1rem;
}
.slide-caption .cta-buttons a {
  display: block;
  width: 100%;
  max-width: 500px;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  transition: 0.25s ease;
}
.slide-caption .cta-buttons .btn-primary {
  background: #003B9E;
  border: 1px solid #003B9E;
}
.slide-caption .cta-buttons .btn-primary:hover {
  background: #fff;
  color: #003B9E !important;
}
.slide-caption .cta-buttons .btn-secondary {
  border: 1px solid #fff;
  background: transparent;
}
.slide-caption .cta-buttons .btn-secondary:hover {
  background: #fff;
  color: #000;
}

/* padding extra en pantallas grandes */
@media (min-width: 1024px) {
  .slide-caption {
    padding: 2.5rem 3rem;
  }
}
/* A partir de 720px: texto izquierda / botones derecha */
@media (min-width: 720px) {
  .slide-caption {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    max-width: 1100px; /* opcional */
    margin-left: 3rem; /* opcional: empuja un poco desde la izquierda */
    margin-right: 3rem;
  }
  .slide-caption .header-title,
  .slide-caption .header-text {
    grid-column: 1; /* texto a la izquierda */
  }
  .slide-caption .cta-buttons {
    grid-column: 2; /* botones a la derecha */
    align-items: stretch; /* que los botones ocupen el ancho de su columna */
  }
}
.ah-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}
.ah-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.ah-hero__title, .ah-hero__subtitle {
  position: relative;
  z-index: 2;
}

.slide-logo {
  max-width: 200px !important;
  max-height: 100px !important;
  display: block;
  padding: 8px;
  object-fit: contain !important;
}

.header-hero {
  padding: 12px;
}

@media (min-width: 1100px) {
  .header-hero {
    padding: 0 7% 0 7%;
  }
}
.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}
.row .col-1 {
  flex: 0 0 8.33%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-2 {
  flex: 0 0 16.67%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-3 {
  flex: 0 0 25%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-4 {
  flex: 0 0 33.33%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-5 {
  flex: 0;
  flex-basis: 41.67%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-6 {
  flex: 0;
  flex-basis: 50%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-7 {
  flex: 0;
  flex-basis: 58.33%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-8 {
  flex: 0;
  flex-basis: 66.67%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-9 {
  flex: 0;
  flex-basis: 75%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-10 {
  flex: 0;
  flex-basis: 83.33%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-11 {
  flex: 0;
  flex-basis: 91.67%;
  padding-right: 1rem;
  padding-left: 1rem;
}
.row .col-12 {
  flex: 0;
  flex-basis: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (min-width: 576px) {
  .col-sm-1 {
    flex-basis: 8.3333333333%;
  }
  .col-sm-2 {
    flex-basis: 16.6666666667%;
  }
  .col-sm-3 {
    flex-basis: 25%;
  }
  .col-sm-4 {
    flex-basis: 33.3333333333%;
  }
  .col-sm-5 {
    flex-basis: 41.6666666667%;
  }
  .col-sm-6 {
    flex-basis: 50%;
  }
  .col-sm-7 {
    flex-basis: 58.3333333333%;
  }
  .col-sm-8 {
    flex-basis: 66.6666666667%;
  }
  .col-sm-9 {
    flex-basis: 75%;
  }
  .col-sm-10 {
    flex-basis: 83.3333333333%;
  }
  .col-sm-11 {
    flex-basis: 91.6666666667%;
  }
  .col-sm-12 {
    flex-basis: 100%;
  }
}
@media (min-width: 768px) {
  .col-md-1 {
    flex-basis: 8.3333333333%;
  }
  .col-md-2 {
    flex-basis: 16.6666666667%;
  }
  .col-md-3 {
    flex-basis: 25%;
  }
  .col-md-4 {
    flex-basis: 33.3333333333%;
  }
  .col-md-5 {
    flex-basis: 41.6666666667%;
  }
  .col-md-6 {
    flex-basis: 50%;
  }
  .col-md-7 {
    flex-basis: 58.3333333333%;
  }
  .col-md-8 {
    flex-basis: 66.6666666667%;
  }
  .col-md-9 {
    flex-basis: 75%;
  }
  .col-md-10 {
    flex-basis: 83.3333333333%;
  }
  .col-md-11 {
    flex-basis: 91.6666666667%;
  }
  .col-md-12 {
    flex-basis: 100%;
  }
}
.site-footer {
  position: relative;
  z-index: 1;
  padding: 28px 0 18px;
  color: #003B9E;
}
.site-footer .footer-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -1;
}
.site-footer .footer-wrap {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.site-footer .footer-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.14);
  padding: 18px 16px;
}
.site-footer .footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.site-footer .fcol .custom-logo {
  height: auto;
  margin-bottom: 8px;
}
.site-footer .fcol-title {
  font-weight: 700;
  margin: 0 0 6px;
  color: #003B9E;
}
.site-footer .fcol-text {
  margin: 0 0 10px;
  line-height: 1.6;
  color: #000;
}
.site-footer .fcol-text p {
  margin: 0;
}
.site-footer .fcol-text a {
  color: #003B9E;
  text-decoration: none;
}
.site-footer .fcol-text a:hover {
  text-decoration: underline;
}
.site-footer .footer-list, .site-footer .footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.site-footer .footer-list a {
  color: #003B9E;
  text-decoration: none;
  border-radius: 6px;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
}
.site-footer .footer-list a::before {
  content: none;
}
.site-footer .footer-list a:hover, .site-footer .footer-list a:focus-visible {
  text-decoration: underline;
  outline: none;
}
.site-footer .footer-social {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.site-footer .footer-social li {
  list-style: none;
}
.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease;
  color: #000;
  text-decoration: none;
  font-size: 32px;
}
.site-footer .footer-social a:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.08);
}
.site-footer .footer-social a:focus-visible {
  outline: 2px solid #FC460A;
  outline-offset: 2px;
}
.site-footer .footer-social a img {
  width: 32px;
}
.site-footer .footer-social a.icon-social::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
  font-style: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
  line-height: 1;
  transform: translateY(1px);
  content: "";
}
.site-footer .footer-social a.icon-yt::before {
  content: "\f167";
}
.site-footer .footer-social a.icon-wa::before {
  content: "\f232";
}
.site-footer .footer-social a.icon-in::before {
  content: "\f08c";
}
.site-footer .footer-social a.icon-fb::before {
  content: "\f39e";
}
.site-footer .footer-social a.icon-ig::before {
  content: "\f16d";
}
.site-footer .footer-copy {
  text-align: center;
  margin-top: 10px;
  color: #667ca5;
}
.site-footer .footer-copy small {
  font-size: 12px;
}
@media (min-width: 640px) {
  .site-footer .footer-card {
    padding: 20px 18px;
  }
  .site-footer .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .site-footer {
    padding: 40px 0 26px;
  }
  .site-footer .footer-card {
    padding: 22px;
    border-radius: 16px;
  }
  .site-footer .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.section {
  padding: 20px;
  background-color: #fff;
}
.section:nth-child(odd) {
  position: relative;
}

.text-center {
  text-align: center;
}

.whatsapp-icon {
  display: inline-block;
  position: fixed;
  bottom: 20px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-image: linear-gradient(112.42deg, rgb(34, 206, 90) 0%, rgb(34, 206, 90) 0.01%, rgb(48, 191, 66) 100%);
  border-radius: 50%;
  z-index: 100;
}
.whatsapp-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.notification.success {
  background-color: #dff0d8;
  color: #3c763d;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #d6e9c6;
  border-radius: 4px;
}

.contact-us-section {
  justify-content: center;
  padding: 2em 1em;
}
.contact-us-section .col-md-6 {
  margin-right: 2rem;
}

/* ===== GUTTERS Y PADDING GLOBAL ===== */
/* Estilo base (móviles) */
.section {
  padding: 20px;
  background-color: #fff;
}
.section:nth-child(odd) {
  position: relative;
}

/* Desktop: mayor aire y alineado con el footer */
@media (min-width: 1024px) {
  .frontpage-main {
    max-width: 1400px;
    margin: 0 auto;
  }
}
.catalog {
  padding-top: 5vw;
}

/* ========= Single Product – Limpio & Responsive ========= */
.content-single-product .site-main {
  /* Contenedor y ritmo vertical */
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 40px);
  /* Título */
  /* Galería principal (usa .gallery-top en tu markup) */
  /* Descripción */
  /* Precio (si decides mostrarlo en móvil) */
  /* Video YouTube responsivo */
  /* CTA: botón de cotización */
  /* Bloques relacionados (cuando uses el shortcode) */
}
.content-single-product .site-main .product-title {
  margin: 0 0 0.5rem 0;
  color: #002768;
  line-height: 1.15;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: -0.01em;
}
.content-single-product .site-main .product-image,
.content-single-product .site-main .gallery-top {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1; /* Cuadrado por defecto en móvil */
  margin-top: 1rem;
  /* Swiper core */
  /* Imágenes dentro de la galería */
  /* Eliminamos hacks heredados */
}
.content-single-product .site-main .product-image .swiper-wrapper,
.content-single-product .site-main .gallery-top .swiper-wrapper {
  align-items: center;
}
.content-single-product .site-main .product-image .swiper-slide,
.content-single-product .site-main .gallery-top .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-single-product .site-main .product-image img,
.content-single-product .site-main .product-image video,
.content-single-product .site-main .gallery-top img,
.content-single-product .site-main .gallery-top video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* no recorta, ideal para máquinas */
  display: block;
}
.content-single-product .site-main .product-image .swiper-wrapper-principal img,
.content-single-product .site-main .gallery-top .swiper-wrapper-principal img {
  position: static;
  top: auto;
  width: 100%;
}
.content-single-product .site-main .product-description {
  margin-top: clamp(12px, 1.6vw, 20px);
  line-height: 1.65;
  color: #12223A;
  padding-inline: 2px;
}
.content-single-product .site-main .product-description p {
  margin: 0.5rem 0 0 0;
  font-size: clamp(14px, 1.3vw, 18px);
}
.content-single-product .site-main .product-description p:first-child {
  margin-top: 0;
}
.content-single-product .site-main .product-price {
  margin-top: 0.75rem;
  font-weight: 700;
  color: #12223A;
  font-size: clamp(18px, 2vw, 22px);
}
.content-single-product .site-main .youtube-video {
  margin-top: clamp(16px, 2vw, 24px);
}
.content-single-product .site-main .youtube-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 10px;
  display: block;
}
.content-single-product .site-main .button-container {
  margin-top: clamp(16px, 2.2vw, 28px);
  display: flex;
  justify-content: center;
}
.content-single-product .site-main .custom-button, .content-single-product .site-main .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-product .site-main .visit-partner-site {
  appearance: none;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-width: min(200px, 100%);
  font-size: clamp(16px, 1.5vw, 20px);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 125, 12, 0.25);
  transition: transform 0.05s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.content-single-product .site-main .custom-button:hover, .content-single-product .site-main .partner-visit-site .visit-partner-site:hover, .partner-visit-site .content-single-product .site-main .visit-partner-site:hover { /*background: #e6710b; */ }
.content-single-product .site-main .custom-button:active, .content-single-product .site-main .partner-visit-site .visit-partner-site:active, .partner-visit-site .content-single-product .site-main .visit-partner-site:active {
  transform: translateY(1px);
}
.content-single-product .site-main .related-products {
  margin-top: clamp(24px, 3vw, 40px);
}
.content-single-product .site-main .related-products h2 {
  margin: 0 0 0.75rem 0;
  color: #002768;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
}

/* ====== Layout en pantallas medianas ====== */
@media (min-width: 630px) {
  .product-layout-wrapper {
    gap: 30px;
  }
}
@media (min-width: 768px) {
  .content-single-product .site-main {
    /* Galería un poco más rectangular */
  }
  .content-single-product .site-main .product-image,
  .content-single-product .site-main .gallery-top {
    aspect-ratio: 4/3;
  }
  .content-single-product .site-main .custom-button, .content-single-product .site-main .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-product .site-main .visit-partner-site {
    min-width: 60%;
  }
}
/* ====== Layout en desktop ====== */
@media (min-width: 1024px) {
  .content-single-product .site-main {
    /* Orden + áreas visuales sin grid-areas frágiles */
    /* como tenías antes */
  }
  .content-single-product .site-main .product-image,
  .content-single-product .site-main .gallery-top {
    min-height: 520px;
  }
  .content-single-product .site-main .product-description {
    margin-top: 0.5rem;
  }
  .content-single-product .site-main .button-container {
    margin-top: 0.5rem;
  }
  .content-single-product .site-main .button-container .custom-button, .content-single-product .site-main .button-container .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-product .site-main .button-container .visit-partner-site {
    min-width: 280px;
  }
  .content-single-product .site-main .youtube-video {
    margin-top: 0;
  }
  .content-single-product .site-main .youtube-video iframe {
    aspect-ratio: 16/10;
  }
  .content-single-product .site-main .product-price {
    display: none;
  }
  .content-single-product .site-main .related-products { /*grid-column: 1 / -1; */ }
}
/* ====== 1200+ ajustes finos ====== */
@media (min-width: 1200px) {
  .content-single-product .site-main {
    padding-inline: 4rem;
  }
  .content-single-product .site-main .product-description p {
    font-size: 18px;
    line-height: 1.65;
  }
}
/* === GRID (partners) === */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* más ancho base */
  gap: 2rem; /* separación consistente entre elementos */
  justify-content: center; /* centra las columnas */
  justify-items: center; /* centra cada tarjeta dentro de su celda */
  align-items: stretch; /* asegura que todas las tarjetas tengan igual altura */
  margin-top: 16px;
}

/* === TARJETA === */
.partner-card {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  width: 100%; /* elimina el ancho fijo (era 350px) */
  max-width: 340px; /* límite visual máximo */
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  will-change: transform, box-shadow;
}

/* efecto “sale de la pantalla” */
.partner-card:hover {
  transform: translateY(-2px) translateZ(8px) scale(1.02);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  filter: saturate(1.05);
}

/* convierte toda la tarjeta en enlace si hay URL */
.partner-link {
  display: block;
  text-decoration: none;
  color: black;
}
.partner-link:hover {
  color: black;
}

/* === IMAGEN / LOGO === */
.partner-image {
  text-align: center;
  padding: 22px;
  transform: translateZ(0);
}

.partner-image img.partner-logo {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  transform: translateZ(0);
  transition: transform 0.35s ease;
  will-change: transform;
}

/* el logo también “salta” un poco */
.partner-card:hover .partner-image img.partner-logo {
  transform: translateZ(4px) scale(1.03);
}

/* placeholder por si falta imagen */
.partner-placeholder {
  display: grid;
  place-items: center;
  height: 110px;
  color: #666;
  font-weight: 600;
  background: #f7f7f7;
  border-radius: 8px;
}

/* Responsivo */
@media (min-width: 768px) {
  .partner-card {
    max-width: 310px;
  }
}
@media (min-width: 1100px) {
  .ah-certificates {
    padding: 0 132px;
  }
  .partners-grid {
    padding: 0 132px 16px;
  }
}
.ah-certificates {
  background-color: #fff;
}

.ah-certificates .container {
  padding: 0;
}

.ah-certificates .container h2 {
  font-size: 42px;
}

.site-main-partners {
  background-color: #fff;
  padding-bottom: 16px;
}

.partner-overlay {
  margin-bottom: 32px;
}

.partner-btn {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-weight: 600;
  font-size: 18px;
  color: #002768;
}

.site-main {
  padding: 0;
}

/* === PARTNERS SWIPER (solo logos, no cards) === */
.partners-swiper {
  width: 100%;
  padding: 20px 0;
  /* Cada slide controla su ancho real */
  /* QUITAR TODA LA TARJETA (no queremos carta) */
  /* LOGO */
  /* Botones del swiper */
}
.partners-swiper .swiper-wrapper {
  align-items: center;
}
.partners-swiper .swiper-slide {
  width: 120px !important; /* <-- Ajusta aquí: tamaño de cada logo */
  display: flex;
  justify-content: center;
  align-items: center;
}
.partners-swiper .partner-card {
  width: 100%;
  height: auto;
  padding: 0; /* antes 16px → inflaba el bloque */
  margin: 0;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.partners-swiper .partner-image {
  padding: 0;
  margin: 0;
  text-align: center;
}
.partners-swiper .partner-image img.partner-logo {
  max-width: 100%;
  max-height: 60px; /* <-- Ajusta la altura del logo */
  object-fit: contain;
  display: block;
}
.partners-swiper .swiper-button-prev,
.partners-swiper .swiper-button-next {
  color: #002768;
  transition: all 0.2s ease;
}
.partners-swiper .swiper-button-prev:hover,
.partners-swiper .swiper-button-next:hover {
  color: #fc460a;
}

/* Título centrado */
.ah-certificates h2 {
  text-align: center;
  margin-bottom: 24px;
}

.partners-swiper .swiper-slide {
  width: auto !important;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-image img.partner-logo {
  max-height: 140px !important; /* AUMENTAR tamaño del logo */
  width: auto;
  object-fit: contain;
}

.about-tecniker .ah-hero-about h1.ah-hero-about__title {
  text-align: center;
  font-weight: 700;
}

.ah-builder-about__content > p.has-large-font-size {
  font-size: 42px !important;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 40px;
}
.ah-builder-about__content > p {
  padding: 0 20px 0 20px;
  margin-bottom: 24px;
}
.ah-builder-about__content .wp-block-columns {
  background: transparent;
  margin: 0;
  padding: 0 20px 20px 20px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column p {
  color: black;
  font-size: 18px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
  font-weight: 700;
  line-height: 1;
  margin-bottom: 26px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column figure.wp-block-image img {
  width: 100%;
  border-radius: 12px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column ul {
  margin: 12px 0 0 26px;
  list-style: none;
  padding: 0; /* Elimina el estilo de lista predeterminado */
}
.ah-builder-about__content .wp-block-columns .wp-block-column ul li {
  font-size: 18px !important;
  display: flex;
  align-items: center; /* Esto centra el texto verticalmente con el icono */
  margin-bottom: 8px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column ul li::before {
  content: "";
  display: inline-block;
  width: 1.2em; /* Tamaño proporcional al texto */
  height: 1.2em;
  margin-right: 10px;
  background-image: url("./images/check-3.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0; /* Evita que el icono se encoja */
}

.ah-pillars {
  margin: 40px 0 40px;
}
.ah-pillars .container {
  margin: 0;
  padding: 0;
  width: 100%;
}
.ah-pillars .container .ah-pillars__grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  justify-content: center;
}
.ah-pillars .container .ah-pillars__grid .ah-pillar {
  background-color: #9ad6f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 12px;
  max-width: 370px;
}
.ah-pillars .container .ah-pillars__grid .ah-pillar h3 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 8px;
  text-align: center;
}

@media (min-width: 620px) {
  .about-tecniker .ah-hero-about h1.ah-hero-about__title {
    font-size: 48px;
    margin-bottom: 26px;
  }
}
@media (min-width: 800px) {
  .about-tecniker .ah-hero-about h1.ah-hero-about__title {
    margin-bottom: 0;
  }
  .ah-builder-about__content .wp-block-columns {
    padding: 48px 48px 0 48px;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column p {
    color: black;
    font-size: clamp(16px, 2.3vw, 36px) !important;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 26px;
    font-size: 38px !important;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column figure.wp-block-image {
    display: flex;
    width: 100%;
    height: 100%;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column figure.wp-block-image img {
    object-fit: cover;
  }
}
@media (min-width: 1080px) {
  .about-tecniker {
    padding: 0 clamp(50px, 10vw, 172px) 0;
  }
  .about-tecniker .ah-hero-about h1.ah-hero-about__title {
    text-align: left;
    font-weight: 700;
    padding-left: 44px;
  }
  .about-tecniker .ah-builder-about__content > p.has-large-font-size {
    font-size: 52px !important;
  }
  .about-tecniker .ah-builder-about__content > p {
    font-size: 20px;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column {
    margin-top: 40px;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p {
    font-size: 18px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p strong {
    font-size: 18px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
    font-size: 32px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column ul {
    margin: 12px 0 0 26px;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column ul li {
    font-size: 18px !important;
  }
}
@media (min-width: 1200px) {
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: left;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p {
    display: block;
    width: 100%;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
    font-size: 52px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column ul {
    margin: 12px 0 0 64px;
    width: 100%;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns figure.wp-block-image {
    width: 80%;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns figure.wp-block-image img {
    object-fit: cover;
  }
}
/* =========================
   NAVIGATION + MENÚ
   ========================= */
.navigation {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  background-color: #fff;
  z-index: 9999;
}
.navigation .logo {
  margin-left: 1rem;
  max-width: 215px;
}
.navigation .nav-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
.navigation .nav-menu .menu-item {
  padding: 16px;
  position: relative;
}
.navigation .nav-menu .menu-item a {
  position: relative;
  padding-bottom: 8px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #002768; /* O el color inicial que prefieras */
  transition: color 0.3s ease;
}
.navigation .nav-menu .menu-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; /* Empieza sin ancho */
  height: 4px; /* El grosor que tenías en el border */
  background-color: white;
  transition: width 0.3s ease; /* Aquí ocurre la magia del crecimiento */
}
.navigation .nav-menu .menu-item a:hover::after {
  width: 100%;
}
.navigation .nav-menu .menu-item .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  z-index: 99999;
  transform: translateX(-100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.navigation .nav-menu .menu-item .sub-menu .menu-item {
  padding: 10px;
}
.navigation .nav-menu .menu-item .sub-menu .menu-item a {
  padding-bottom: 0;
  font-size: 16px;
  color: #333;
  border-bottom: none;
  transition: color 0.3s ease;
}
.navigation .nav-menu .menu-item .sub-menu .menu-item a:hover {
  color: #0073aa;
}
.navigation .nav-menu .menu-item .sub-menu.is-show {
  opacity: 1;
  transform: translateX(0);
}
.navigation .nav-menu .menu-item:hover > .sub-menu {
  display: block;
}

/* Bloque derecho: contacto + menú */
.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.nav-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  color: white;
}

.nav-contact__icon {
  font-size: 0.9rem;
}
.nav-contact__icon img {
  max-width: unset;
  height: auto;
}

.nav-contact__text {
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  width: 32px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  /* Línea central */
  /* Superior */
  /* Inferior */
  /* --- ANIMACIÓN A “X” --- */
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 3px;
  background: #fff; /* tu color */
  border-radius: 3px;
  transition: all 0.35s ease;
}
.menu-toggle span {
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  width: 20px;
}
.menu-toggle::before {
  top: 2px;
}
.menu-toggle::after {
  bottom: 2px;
}
.menu-toggle.active span {
  opacity: 0; /* desaparece línea central */
  transform: translateY(-50%) scale(0.5);
}
.menu-toggle.active::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.menu-toggle.active::after {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.menu-principal-container {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  top: 100%;
  background: #fff;
  z-index: 999;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.menu-principal-container.is-show {
  opacity: 1;
  transform: translateX(0);
}
.menu-principal-container:before {
  content: "";
  width: 100%;
  display: block;
  height: 1px;
  background: white;
  position: absolute;
  bottom: 10px;
  opacity: 0;
}

/* =========================
   DESKTOP (>= 800px)
   Logo izq + contacto + menú pill
   ========================= */
@media (min-width: 1000px) {
  .topbar-wrap {
    display: none;
  }
  .navigation {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navigation .nav-menu .menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .navigation .nav-menu .menu-item a {
    color: #fff;
  }
  .navigation .logo {
    margin-left: 0;
    max-width: 360px;
    padding: 0;
  }
  .navigation .logo img {
    max-height: 100px;
    width: auto;
    display: block;
  }
  .navigation .menu-toggle {
    display: none;
  }
  .navigation .nav-menu {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
  .nav-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    background-color: #002768;
    padding: 12px;
    border-radius: 12px;
  }
  .menu-principal-container {
    position: relative;
    top: 0;
    height: auto;
    background: transparent;
    max-width: 100%;
    opacity: 1;
    transform: translateX(0);
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .nav-menu .menu-item {
    padding: 8px;
  }
  .nav-menu .menu-item a {
    position: relative;
    font-weight: 600;
    color: #fff;
    font-size: 16px !important;
    line-height: 1.2;
    border-bottom: 0;
    text-decoration: none;
  }
  .nav-menu .menu-item a:hover {
    color: #fff;
  }
  .navigation .nav-menu .menu-item .sub-menu {
    transform: translateX(0);
    background: #fff;
  }
}
/* =========================================================
   TOPBAR CARD + MOBILE LOGO ALIGNMENT (NO afecta desktop)
   ========================================================= */
@media (max-width: 999px) {
  .topbar-wrap {
    position: relative;
    z-index: 12000;
    padding: 12px 16px 0;
  }
  .topbar-card {
    background: #002768;
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }
  /* MENÚ a la izquierda */
  .topbar-menu {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }
  /* INFO (TEL arriba, UBICACIÓN abajo) */
  .topbar-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .topbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
  }
  .topbar-ico {
    display: inline-flex;
    width: 18px;
    justify-content: center;
  }
  .topbar-text {
    font-weight: 600;
  }
  .topbar-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
  }
  .topbar-link:hover {
    text-decoration: underline;
  }
  /* Hamburger dentro de tarjeta: blanco y 2 líneas */
  .topbar-card .menu-toggle span,
  .topbar-card .menu-toggle::before,
  .topbar-card .menu-toggle::after {
    background: #ffc !important;
  }
  /* Oculta la línea central SOLO en topbar (queda 2 líneas) */
  .topbar-card .menu-toggle span {
    opacity: 0;
  }
  /* LOGO debajo, centrado (no cambia desktop) */
  .site-header .navigation {
    justify-content: center;
    background: transparent;
    padding: 14px 16px 0;
  }
  .site-header .navigation .logo {
    margin-left: 0;
    max-width: 260px;
  }
  /* Seguridad: si existiera toggle dentro del nav, lo escondemos */
  .site-header .navigation .menu-toggle {
    display: none;
  }
  /* En mobile usamos la topbar, así que ocultamos solo los textos de contacto de la nav */
  .nav-contact {
    display: none;
  }
  .nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.entry-header h1 {
  font-size: 2.5em;
  margin: 0 0 0 2rem;
}

.site-main {
  padding: 2em 1em;
}

.catalog {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 2rem auto;
  justify-content: center;
}

#loading-bar {
  width: 100%;
  height: 4px;
  background-color: #003a9e;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    width: 0;
  }
  50% {
    width: 50%;
  }
  100% {
    width: 100%;
  }
}
.search-page article {
  background: #fff;
  max-width: 800px;
  margin: 2rem auto;
}

.shop-filters {
  padding: 0 20px 40px 20px;
  border-radius: 10px;
  order: -1;
}

.shop-filters label {
  display: block;
  margin: 10px 0;
  background-color: #fff;
}

.catalog article {
  max-width: 1024px;
}

.catalog form {
  max-width: 200px;
}

#products-container {
  width: 100%;
  margin-top: 16px;
}

.wp-block-columns {
  background-color: #003b9e;
  padding: 40px 1em;
  border-radius: 12px;
  margin: 16px 24px 42px 24px;
}
.wp-block-columns p {
  color: white;
}
.wp-block-columns .wp-block-column strong {
  font-size: 18px;
  color: black;
}
.wp-block-columns p.has-large-font-size strong {
  font-size: 32px;
}
.wp-block-columns .wp-block-heading {
  position: relative;
  font-size: 36px;
  margin: 1.25rem 0;
}
.wp-block-columns .wp-block-heading::after {
  content: "";
  display: block;
  height: 2px;
  width: 80px;
  background: #fc460a;
  margin-top: 20px;
  margin-bottom: 20px;
}
.wp-block-columns:nth-child(even) {
  position: relative;
}
.wp-block-columns:nth-child(even) .wp-block-column {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .wp-block-columns {
    padding: 48px;
    margin: 16px 24px 42px 24px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.product-item {
  display: flex;
}

.product-image img {
  width: 100%;
}

.product-description {
  padding-left: 20px;
}

.filters-container select {
  margin-bottom: 10px;
}

.page-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  margin: 1rem 0 0 0;
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100% !important;
}
.products-list .product-item {
  width: 100%;
  background: #ffffff;
  box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  margin-top: 20px;
}
.products-list img {
  height: 300px;
  object-fit: cover;
  width: 100%;
}
.products-list h3 {
  font-size: 18px;
  padding: 0px 20px;
}
.products-list p {
  padding: 0 20px;
}
.products-list a {
  border: 1px solid #003B9E;
  border-radius: 4px;
  text-decoration: none;
  color: #003B9E;
  padding: 10px;
  text-transform: uppercase;
  font-size: 12px;
  display: block;
  text-align: center;
  margin: 20px;
  transition: 0.5s;
}
.products-list a:hover {
  color: white;
  background: #003B9E;
  transition: 0.5s;
}

.products li.product {
  background: #ffffff;
  box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  margin-top: 20px;
}
.products li.product h2.woocommerce-loop-product__title {
  font-size: 18px;
  padding: 0px 20px !important;
}
.products li.product .button {
  border: 1px solid #fc460a;
  border-radius: 4px;
  text-decoration: none;
  color: #fc460a;
  padding: 10px;
  text-transform: uppercase;
  font-size: 12px;
  display: block;
  text-align: center;
  margin: 20px;
  transition: 0.5s;
}
.products li.product .button:hover {
  color: white;
  background: #fc460a;
  transition: 0.5s;
}

@media (min-width: 800px) {
  .products-list .product-item {
    width: 48%;
  }
}
@media (min-width: 1024px) {
  .products-list {
    position: relative;
    margin-top: -120px;
  }
}
.shop-filters {
  align-items: flex-start;
  padding: 8px 0 16px;
}
.shop-filters .partner-filter select {
  min-width: 220px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}

/* Contenedor de la paginación */
.drs-pagination {
  list-style: none; /* quita los puntitos */
  margin: 20px 0;
  padding: 0;
  display: flex; /* en fila */
  justify-content: center; /* centrado */
  gap: 8px; /* separación entre números */
}

/* Cada item */
.drs-pagination li {
  list-style: none;
}

/* Enlaces y página actual */
.drs-pagination a.page-numbers,
.drs-pagination span.page-numbers {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  background: #333;
  color: #fff;
  border-color: #333;
}

/* Página actual */
.drs-pagination span.page-numbers.current {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* Hover en enlaces */
.drs-pagination a.page-numbers:hover {
  background: #f2f2f2;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

.btn {
  margin: 1rem;
  padding: 15px 25px;
  display: inline-block;
  border-radius: 4px;
  max-width: fit-content;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  font-size: 16px;
}
.btn.btn-primary {
  background: #003B9E !important;
  border: 1px solid #003B9E;
  color: #fff;
}
.btn.btn-block {
  display: block;
  width: 100%;
  max-width: unset;
}
.btn.btn-center {
  display: block;
  margin: 2rem auto;
}

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Otros estilos para comentarios... */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Otros estilos para widgets... */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Otros estilos de medios... */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* Gallery main */
.gallery-top {
  overflow: hidden;
}

.gallery-top .swiper-slide {
  position: relative;
}

.gallery-top .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  transform: translate(var(--tx, 0), var(--ty, 0)) scale(1);
  transform-origin: center center;
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.gallery-top .swiper-slide.is-zoomed {
  overflow: hidden; /* oculta desbordes al hacer zoom */
}

.gallery-top .swiper-slide.is-zoomed img {
  cursor: zoom-out;
  transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.8); /* ajusta 1.8 a tu gusto */
}

a {
  color: #FFF;
}

a:hover,
a:focus,
a:active {
  color: white;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

.wp-block-button__link {
  background-color: #003B9E;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.wp-block-button__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.wp-block-buttons > .wp-block-button {
  margin-top: 12px;
  margin-right: 24px;
}

.services-section {
  position: relative;
  background-color: #f6f6f6;
  z-index: 1;
}
.services-section::before {
  content: "";
  width: 40%;
  position: absolute;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 30%;
  background-repeat: no-repeat;
}
.services-section .services-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.services-section .services-card .service-card {
  width: 100%;
  padding: 1em 2em;
  max-width: 400px;
  margin: 1rem;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.services-section .services-card .service-card h3 {
  text-align: center;
  padding: 20px 40px;
}
.services-section .services-card .service-card:hover:hover {
  color: #fff;
  background-color: #003B9E;
  transform: scale(1.05) translateZ(10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .services-section .title {
    padding: 0 40px;
  }
  .services-section .services-card {
    justify-content: center;
  }
}
section.services-section {
  background: transparent;
}

.drs-productos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}
.drs-productos .drs-producto {
  position: relative;
  max-width: 300px;
  max-height: 450px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  border-radius: 12px;
}
.drs-productos .drs-producto:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.drs-productos .drs-producto h3 {
  font-size: 18px;
  color: #0a4572;
  margin: 1rem auto;
  text-decoration: none;
}
.drs-productos .drs-producto img {
  display: block;
  width: 100%;
  height: 40%;
  object-fit: contain;
  background-color: #eee;
}
.drs-productos .drs-producto .drs-producto-content {
  padding: 1em;
}
.drs-productos .drs-producto .product-category {
  font-weight: 500;
  position: absolute;
  top: 40%;
  right: 10px;
  transform: translateY(-50%);
  background-color: #003B9E;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
}
.drs-productos .drs-producto .product-status {
  font-weight: 500;
  position: absolute;
  top: 31%;
  right: 10px;
  transform: translateY(-50%);
  background-color: #003B9E;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "header-title" "header-text" "banner-newEquip" "shortcode-products" "cta-buttons";
  gap: 0px;
  width: 100%;
}
.grid-container .header-title {
  grid-area: header-title;
}
.grid-container .header-text {
  grid-area: header-text;
}
.grid-container .cta-buttons {
  grid-area: cta-buttons;
}
.grid-container .shortcode-products {
  grid-area: shortcode-products;
}

.banner-newEquip {
  grid-area: banner-newEquip;
}
.banner-newEquip h2 {
  position: relative;
}
.banner-newEquip h2 a {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  z-index: 2;
  color: #fff;
}

/* Responsive layout */
@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "header-title header-title" "header-text header-text" "banner-newEquip banner-newEquip" "shortcode-products shortcode-products" "cta-buttons cta-buttons";
    gap: 1rem;
  }
  .drs-productos .drs-producto {
    min-width: 240px;
    min-height: 240px;
  }
  .drs-productos .drs-producto h2 {
    font-size: 32px;
  }
  .drs-productos .drs-producto a {
    font-size: 18px;
  }
  .banner-newEquip h2 a {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    z-index: 2;
  }
}
.shortcode-products {
  scale: 1;
}

@media (min-width: 1024px) {
  .grid-container {
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-areas: "header-title header-title header-title" "header-text header-text cta-buttons" "banner-newEquip banner-newEquip banner-newEquip" "shortcode-products  shortcode-products shortcode-products";
    gap: 12px;
  }
  .drs-productos .drs-producto {
    min-width: 290px;
    min-height: 290px;
  }
  .drs-productos .drs-producto h2 {
    line-height: 36px;
  }
  .drs-productos .drs-producto a {
    font-size: 12px;
    padding: 10px 20px;
  }
}
/* Estilos para el slider de Swiper */
.swiper-container {
  width: 100%;
  overflow: hidden;
}

.gallery-top {
  position: relative;
  overflow: hidden;
}

.gallery-thumbs {
  position: absolute;
  top: 95%;
  transform: translateY(-95%);
  box-sizing: border-box;
  padding: 0 16px;
  overflow: hidden;
  z-index: 99999;
}

.gallery-thumbs .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.65;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: auto;
}

.swiper-slide-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px !important;
  padding: 0 !important;
}

@media (min-width: 1024px) {
  .gallery-thumbs {
    position: static;
    grid-area: gallery-thumbs;
    transform: translateY(0%);
  }
  .swiper-slide {
    justify-content: flex-start;
  }
}
/* ===== SWIPER: hero del header ===== */
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: min(80vh, 760px);
}

@media (max-width: 1024px) {
  .hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide {
    height: min(70vh, 600px);
  }
}
@media (max-width: 640px) {
  .hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide {
    height: 55vh;
  }
}
.hero-swiper {
  position: relative;
  z-index: 0;
}

.hero-swiper .swiper-slide {
  position: relative;
}

.hero-swiper img,
.hero-swiper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Controles */
.hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.hero-swiper .swiper-button-prev::after, .hero-swiper .swiper-button-next::after {
  font-size: 18px;
  color: #fff;
}
.hero-swiper .swiper-pagination-bullets .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
}
.hero-swiper .swiper-pagination-bullets .swiper-pagination-bullet-active {
  background: #fff;
}

/* Si existía el overlay antiguo de la slide, desactívalo */
.hero-overlay {
  display: none !important;
}

/* (Opcional) Ken Burns para imágenes: añade .kb a la <img> */
.hero-swiper img.kb {
  animation: kenburns 14s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
/* dentro de header.scss o donde tengas el hero */
.slide-caption {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  z-index: 3;
  padding: clamp(16px, 4vw, 48px);
}

@media (min-width: 1024px) {
  .slide-caption {
    padding: 2em 3em 1em 3em;
  }
}
/* Estilos para la tabla de atributos del producto */
.product-attributes-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 12px 12px 12px;
}

.table-header {
  margin-bottom: 12px;
}

.table-header,
.table-body {
  display: flex;
  flex-direction: column;
}

.table-header .table-row {
  font-size: 38px;
  color: #002768;
  line-height: 36px;
  background-color: rgba(221, 221, 221, 0);
  border-bottom: none;
}

.table-row {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  align-items: center;
  line-height: 24px;
  background-color: #fff;
}

.table-cell {
  flex: 1;
  padding: 8px;
}

.table-row:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.table-row:last-child {
  border-right: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.table-cell:last-child {
  border-right: none;
}

.table-header .table-row {
  background-color: #f2f2f2;
  font-weight: bold;
}

.table-body .table-row:nth-child(even) {
  background-color: #fff;
}

.table-body .table-row:hover {
  background-color: #fff;
}

@media (min-width: 768px) {
  .table-cell {
    padding: 12px;
  }
  .product-attributes-table {
    padding: 0;
  }
  .product-attributes-table .table-header .table-row .table-cell {
    padding: 16px 0;
  }
}
/* Estilos para los productos relacionados */
.related-products h2 {
  text-align: left;
  margin-bottom: 16px;
  font-size: 28px;
  color: #002768;
}

.related-products-slider .swiper-wrapper {
  display: flex;
}

.related-product {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.related-product a {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  max-width: 300px;
  background-color: #d9d9d9;
  align-items: center;
  justify-content: space-evenly;
}
.related-product a .cardSimi-text {
  background-color: #fff;
  padding: 0 12px 12px;
  text-align: left;
}
.related-product a .cardSimi-text h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #002768;
}
.related-product a .cardSimi-text p {
  font-size: 14px;
  color: #000;
}
.related-product a .cardSimi-text .view-more {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  text-align: left;
  transition: all 0.3s ease; /* Añadir transición suave */
}
.related-product a .cardSimi-text .view-more:hover {
  color: #0056b3; /* Cambiar color en hover */
  text-decoration: underline;
}
.related-product a img {
  max-width: 100%;
  height: auto;
  padding: 12px;
}

@media (min-width: 768px) {
  .related-products h2 {
    font-size: 38px;
  }
}
@media (min-width: 1024px) {
  .related-products h2 {
    margin: 0px 0;
  }
}
/* ===== Quote Modal centrado y elegante (sin grid) ===== */
/* Fondo del modal */
#quote-modal.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}

/* Mostrar modal */
#quote-modal.modal.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Caja central */
#quote-modal .modal-content {
  background: #fff;
  border-radius: 16px;
  width: min(600px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-align: center; /* centra todo el texto dentro */
}

/* Cuando se abre */
#quote-modal.is-open .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Título */
#quote-modal .modal-title,
#quote-modal h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

/* Botón cerrar (X) */
#quote-modal .close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

#quote-modal .close:hover {
  color: #1e293b;
}

/* ===== FORMULARIO ===== */
#quote-modal #quote-form {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra los inputs */
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

/* Etiquetas e inputs */
#quote-modal #quote-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.25rem;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

#quote-modal #quote-form input,
#quote-modal #quote-form select,
#quote-modal #quote-form textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  background-color: #f8fafc;
  color: #0f172a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#quote-modal #quote-form input:focus,
#quote-modal #quote-form select:focus,
#quote-modal #quote-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

/* Textarea */
#quote-modal #quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox */
#quote-modal #quote-form .checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #334155;
  width: 100%;
}

#quote-modal #quote-form .checkbox input[type=checkbox] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #2563eb;
  cursor: pointer;
}

/* Captcha */
#quote-modal #quote-form .captcha {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Botones */
#quote-modal #quote-form .actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

#quote-modal #quote-form .btn {
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.05s, background-color 0.2s, box-shadow 0.2s;
  min-width: 130px;
}

#quote-modal #quote-form .btn-primary {
  background-color: #2563eb;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

#quote-modal #quote-form .btn-primary:hover {
  background-color: #1d4ed8;
}

#quote-modal #quote-form .btn-ghost {
  background-color: transparent;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

#quote-modal #quote-form .btn-ghost:hover {
  background-color: #f1f5f9;
}

/* Evita scroll del body cuando está abierto */
body.modal-open {
  overflow: hidden;
}

.partners-banner {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  margin-bottom: 20px;
}

.partners-banner h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.partners-logos img {
  max-width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}

@media (min-width: 1270px) {
  .partners-logos {
    gap: 200px;
  }
}
@media (max-width: 1270px) {
  .partners-logos {
    gap: calc(80px + 120 * (100vw - 768px) / 502);
  }
  .partners-logos img {
    max-width: 100px;
  }
}
@media (max-width: 768px) {
  .partners-logos {
    gap: calc(20px + 60 * (100vw - 320px) / 448);
  }
  .partners-logos img {
    max-width: 80px;
  }
}
.partners-logos img:hover {
  transform: scale(0.9) translateZ(-10px);
}

.partners-logos:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.catalog {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 0 1rem;
}
.catalog .shop-filters {
  position: sticky;
  top: 100px;
  background: #fff;
  height: fit-content;
  max-width: 200px;
}
.catalog .shop-filters h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}
.catalog .shop-filters .part-category-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.catalog .shop-filters .part-category-form label {
  display: flex;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  color: #444;
}
.catalog .shop-filters .part-category-form label:hover {
  color: #ff6600;
}
.catalog .shop-filters .part-category-form label input[type=checkbox] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.catalog #parts-container .drs-parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0.5rem 0;
}
.catalog #parts-container .drs-parts-grid .drs-part-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.catalog #parts-container .drs-parts-grid .drs-part-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.catalog #parts-container .drs-parts-grid .drs-part-item img {
  width: 100%;
  object-fit: cover;
}
.catalog #parts-container .drs-parts-grid .drs-part-item .drs-part-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.catalog #parts-container .drs-parts-grid .drs-part-item .drs-part-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #002d56;
  margin-bottom: 0.4rem;
}
.catalog #parts-container .drs-parts-grid .drs-part-item .drs-part-info p {
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
}
.catalog #parts-container .drs-parts-grid .drs-part-item .drs-part-info a.btn {
  background-color: #ff6600;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  font-weight: 500;
  margin-top: 0.8rem;
  transition: background 0.3s;
}
.catalog #parts-container .drs-parts-grid .drs-part-item .drs-part-info a.btn:hover {
  background-color: rgb(204, 81.6, 0);
}
@media (max-width: 1024px) {
  .catalog {
    grid-template-columns: 220px 1fr;
  }
}
@media (max-width: 900px) {
  .catalog {
    grid-template-columns: 1fr;
  }
  .catalog .shop-filters {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 1.5rem;
    box-shadow: none;
    border: 1px solid #eee;
  }
}
@media (max-width: 600px) {
  .catalog #parts-container .drs-parts-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .catalog {
    padding-left: 5vw;
    padding-right: 5vw;
    margin: 0 auto;
  }
}
.drs-category-filter {
  margin-bottom: 2rem;
}
.drs-category-filter .drs-filter-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #111;
}
.drs-category-filter .drs-hierarchical-filter .filter-group {
  margin-bottom: 1rem;
}
.drs-category-filter .drs-hierarchical-filter input[type=checkbox] {
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #000;
}
.drs-category-filter .drs-hierarchical-filter .parent-label {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 0.5rem;
  cursor: pointer;
  user-select: none;
}
.drs-category-filter .drs-hierarchical-filter .parent-label:hover {
  color: #000;
}
.drs-category-filter .drs-hierarchical-filter .children-terms {
  margin-left: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.drs-category-filter .drs-hierarchical-filter .child-label {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.drs-category-filter .drs-hierarchical-filter .child-label:hover {
  color: #000;
}
.drs-category-filter .drs-hierarchical-filter .drs-separator {
  border: 0;
  border-top: 1px solid #eee;
  margin: 1rem 0;
}
.drs-category-filter .drs-hierarchical-filter .drs-separator:last-of-type {
  display: none;
}

.section {
  padding: 20px;
  background-color: #fff;
}
.section:nth-child(odd) {
  position: relative;
}

.text-center {
  text-align: center;
}

.whatsapp-icon {
  display: inline-block;
  position: fixed;
  bottom: 20px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-image: linear-gradient(112.42deg, rgb(34, 206, 90) 0%, rgb(34, 206, 90) 0.01%, rgb(48, 191, 66) 100%);
  border-radius: 50%;
  z-index: 100;
}
.whatsapp-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.notification.success {
  background-color: #dff0d8;
  color: #3c763d;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #d6e9c6;
  border-radius: 4px;
}

.contact-us-section {
  justify-content: center;
  padding: 2em 1em;
}
.contact-us-section .col-md-6 {
  margin-right: 2rem;
}

/* ===== GUTTERS Y PADDING GLOBAL ===== */
/* Estilo base (móviles) */
.section {
  padding: 20px;
  background-color: #fff;
}
.section:nth-child(odd) {
  position: relative;
}

/* Desktop: mayor aire y alineado con el footer */
@media (min-width: 1024px) {
  .frontpage-main {
    max-width: 1400px;
    margin: 0 auto;
  }
}
.catalog {
  padding-top: 5vw;
}

/* ========= Single Product – Limpio & Responsive ========= */
.content-single-product .site-main {
  /* Contenedor y ritmo vertical */
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 40px);
  /* Título */
  /* Galería principal (usa .gallery-top en tu markup) */
  /* Descripción */
  /* Precio (si decides mostrarlo en móvil) */
  /* Video YouTube responsivo */
  /* CTA: botón de cotización */
  /* Bloques relacionados (cuando uses el shortcode) */
}
.content-single-product .site-main .product-title {
  margin: 0 0 0.5rem 0;
  color: #002768;
  line-height: 1.15;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: -0.01em;
}
.content-single-product .site-main .product-image,
.content-single-product .site-main .gallery-top {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1; /* Cuadrado por defecto en móvil */
  margin-top: 1rem;
  /* Swiper core */
  /* Imágenes dentro de la galería */
  /* Eliminamos hacks heredados */
}
.content-single-product .site-main .product-image .swiper-wrapper,
.content-single-product .site-main .gallery-top .swiper-wrapper {
  align-items: center;
}
.content-single-product .site-main .product-image .swiper-slide,
.content-single-product .site-main .gallery-top .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-single-product .site-main .product-image img,
.content-single-product .site-main .product-image video,
.content-single-product .site-main .gallery-top img,
.content-single-product .site-main .gallery-top video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* no recorta, ideal para máquinas */
  display: block;
}
.content-single-product .site-main .product-image .swiper-wrapper-principal img,
.content-single-product .site-main .gallery-top .swiper-wrapper-principal img {
  position: static;
  top: auto;
  width: 100%;
}
.content-single-product .site-main .product-description {
  margin-top: clamp(12px, 1.6vw, 20px);
  line-height: 1.65;
  color: #12223A;
  padding-inline: 2px;
}
.content-single-product .site-main .product-description p {
  margin: 0.5rem 0 0 0;
  font-size: clamp(14px, 1.3vw, 18px);
}
.content-single-product .site-main .product-description p:first-child {
  margin-top: 0;
}
.content-single-product .site-main .product-price {
  margin-top: 0.75rem;
  font-weight: 700;
  color: #12223A;
  font-size: clamp(18px, 2vw, 22px);
}
.content-single-product .site-main .youtube-video {
  margin-top: clamp(16px, 2vw, 24px);
}
.content-single-product .site-main .youtube-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 10px;
  display: block;
}
.content-single-product .site-main .button-container {
  margin-top: clamp(16px, 2.2vw, 28px);
  display: flex;
  justify-content: center;
}
.content-single-product .site-main .custom-button, .content-single-product .site-main .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-product .site-main .visit-partner-site {
  appearance: none;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-width: min(200px, 100%);
  font-size: clamp(16px, 1.5vw, 20px);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 125, 12, 0.25);
  transition: transform 0.05s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.content-single-product .site-main .custom-button:hover, .content-single-product .site-main .partner-visit-site .visit-partner-site:hover, .partner-visit-site .content-single-product .site-main .visit-partner-site:hover { /*background: #e6710b; */ }
.content-single-product .site-main .custom-button:active, .content-single-product .site-main .partner-visit-site .visit-partner-site:active, .partner-visit-site .content-single-product .site-main .visit-partner-site:active {
  transform: translateY(1px);
}
.content-single-product .site-main .related-products {
  margin-top: clamp(24px, 3vw, 40px);
}
.content-single-product .site-main .related-products h2 {
  margin: 0 0 0.75rem 0;
  color: #002768;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
}

/* ====== Layout en pantallas medianas ====== */
@media (min-width: 630px) {
  .product-layout-wrapper {
    gap: 30px;
  }
}
@media (min-width: 768px) {
  .content-single-product .site-main {
    /* Galería un poco más rectangular */
  }
  .content-single-product .site-main .product-image,
  .content-single-product .site-main .gallery-top {
    aspect-ratio: 4/3;
  }
  .content-single-product .site-main .custom-button, .content-single-product .site-main .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-product .site-main .visit-partner-site {
    min-width: 60%;
  }
}
/* ====== Layout en desktop ====== */
@media (min-width: 1024px) {
  .content-single-product .site-main {
    /* Orden + áreas visuales sin grid-areas frágiles */
    /* como tenías antes */
  }
  .content-single-product .site-main .product-image,
  .content-single-product .site-main .gallery-top {
    min-height: 520px;
  }
  .content-single-product .site-main .product-description {
    margin-top: 0.5rem;
  }
  .content-single-product .site-main .button-container {
    margin-top: 0.5rem;
  }
  .content-single-product .site-main .button-container .custom-button, .content-single-product .site-main .button-container .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-product .site-main .button-container .visit-partner-site {
    min-width: 280px;
  }
  .content-single-product .site-main .youtube-video {
    margin-top: 0;
  }
  .content-single-product .site-main .youtube-video iframe {
    aspect-ratio: 16/10;
  }
  .content-single-product .site-main .product-price {
    display: none;
  }
  .content-single-product .site-main .related-products { /*grid-column: 1 / -1; */ }
}
/* ====== 1200+ ajustes finos ====== */
@media (min-width: 1200px) {
  .content-single-product .site-main {
    padding-inline: 4rem;
  }
  .content-single-product .site-main .product-description p {
    font-size: 18px;
    line-height: 1.65;
  }
}
/* === GRID (partners) === */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* más ancho base */
  gap: 2rem; /* separación consistente entre elementos */
  justify-content: center; /* centra las columnas */
  justify-items: center; /* centra cada tarjeta dentro de su celda */
  align-items: stretch; /* asegura que todas las tarjetas tengan igual altura */
  margin-top: 16px;
}

/* === TARJETA === */
.partner-card {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  width: 100%; /* elimina el ancho fijo (era 350px) */
  max-width: 340px; /* límite visual máximo */
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  will-change: transform, box-shadow;
}

/* efecto “sale de la pantalla” */
.partner-card:hover {
  transform: translateY(-2px) translateZ(8px) scale(1.02);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  filter: saturate(1.05);
}

/* convierte toda la tarjeta en enlace si hay URL */
.partner-link {
  display: block;
  text-decoration: none;
  color: black;
}
.partner-link:hover {
  color: black;
}

/* === IMAGEN / LOGO === */
.partner-image {
  text-align: center;
  padding: 22px;
  transform: translateZ(0);
}

.partner-image img.partner-logo {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  transform: translateZ(0);
  transition: transform 0.35s ease;
  will-change: transform;
}

/* el logo también “salta” un poco */
.partner-card:hover .partner-image img.partner-logo {
  transform: translateZ(4px) scale(1.03);
}

/* placeholder por si falta imagen */
.partner-placeholder {
  display: grid;
  place-items: center;
  height: 110px;
  color: #666;
  font-weight: 600;
  background: #f7f7f7;
  border-radius: 8px;
}

/* Responsivo */
@media (min-width: 768px) {
  .partner-card {
    max-width: 310px;
  }
}
@media (min-width: 1100px) {
  .ah-certificates {
    padding: 0 132px;
  }
  .partners-grid {
    padding: 0 132px 16px;
  }
}
.ah-certificates {
  background-color: #fff;
}

.ah-certificates .container {
  padding: 0;
}

.ah-certificates .container h2 {
  font-size: 42px;
}

.site-main-partners {
  background-color: #fff;
  padding-bottom: 16px;
}

.partner-overlay {
  margin-bottom: 32px;
}

.partner-btn {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-weight: 600;
  font-size: 18px;
  color: #002768;
}

.site-main {
  padding: 0;
}

/* === PARTNERS SWIPER (solo logos, no cards) === */
.partners-swiper {
  width: 100%;
  padding: 20px 0;
  /* Cada slide controla su ancho real */
  /* QUITAR TODA LA TARJETA (no queremos carta) */
  /* LOGO */
  /* Botones del swiper */
}
.partners-swiper .swiper-wrapper {
  align-items: center;
}
.partners-swiper .swiper-slide {
  width: 120px !important; /* <-- Ajusta aquí: tamaño de cada logo */
  display: flex;
  justify-content: center;
  align-items: center;
}
.partners-swiper .partner-card {
  width: 100%;
  height: auto;
  padding: 0; /* antes 16px → inflaba el bloque */
  margin: 0;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.partners-swiper .partner-image {
  padding: 0;
  margin: 0;
  text-align: center;
}
.partners-swiper .partner-image img.partner-logo {
  max-width: 100%;
  max-height: 60px; /* <-- Ajusta la altura del logo */
  object-fit: contain;
  display: block;
}
.partners-swiper .swiper-button-prev,
.partners-swiper .swiper-button-next {
  color: #002768;
  transition: all 0.2s ease;
}
.partners-swiper .swiper-button-prev:hover,
.partners-swiper .swiper-button-next:hover {
  color: #fc460a;
}

/* Título centrado */
.ah-certificates h2 {
  text-align: center;
  margin-bottom: 24px;
}

.partners-swiper .swiper-slide {
  width: auto !important;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-image img.partner-logo {
  max-height: 140px !important; /* AUMENTAR tamaño del logo */
  width: auto;
  object-fit: contain;
}

.about-tecniker .ah-hero-about h1.ah-hero-about__title {
  text-align: center;
  font-weight: 700;
}

.ah-builder-about__content > p.has-large-font-size {
  font-size: 42px !important;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 40px;
}
.ah-builder-about__content > p {
  padding: 0 20px 0 20px;
  margin-bottom: 24px;
}
.ah-builder-about__content .wp-block-columns {
  background: transparent;
  margin: 0;
  padding: 0 20px 20px 20px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column p {
  color: black;
  font-size: 18px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
  font-weight: 700;
  line-height: 1;
  margin-bottom: 26px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column figure.wp-block-image img {
  width: 100%;
  border-radius: 12px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column ul {
  margin: 12px 0 0 26px;
  list-style: none;
  padding: 0; /* Elimina el estilo de lista predeterminado */
}
.ah-builder-about__content .wp-block-columns .wp-block-column ul li {
  font-size: 18px !important;
  display: flex;
  align-items: center; /* Esto centra el texto verticalmente con el icono */
  margin-bottom: 8px;
}
.ah-builder-about__content .wp-block-columns .wp-block-column ul li::before {
  content: "";
  display: inline-block;
  width: 1.2em; /* Tamaño proporcional al texto */
  height: 1.2em;
  margin-right: 10px;
  background-image: url("./images/check-3.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0; /* Evita que el icono se encoja */
}

.ah-pillars {
  margin: 40px 0 40px;
}
.ah-pillars .container {
  margin: 0;
  padding: 0;
  width: 100%;
}
.ah-pillars .container .ah-pillars__grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  justify-content: center;
}
.ah-pillars .container .ah-pillars__grid .ah-pillar {
  background-color: #9ad6f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 12px;
  max-width: 370px;
}
.ah-pillars .container .ah-pillars__grid .ah-pillar h3 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 8px;
  text-align: center;
}

@media (min-width: 620px) {
  .about-tecniker .ah-hero-about h1.ah-hero-about__title {
    font-size: 48px;
    margin-bottom: 26px;
  }
}
@media (min-width: 800px) {
  .about-tecniker .ah-hero-about h1.ah-hero-about__title {
    margin-bottom: 0;
  }
  .ah-builder-about__content .wp-block-columns {
    padding: 48px 48px 0 48px;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column p {
    color: black;
    font-size: clamp(16px, 2.3vw, 36px) !important;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 26px;
    font-size: 38px !important;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column figure.wp-block-image {
    display: flex;
    width: 100%;
    height: 100%;
  }
  .ah-builder-about__content .wp-block-columns .wp-block-column figure.wp-block-image img {
    object-fit: cover;
  }
}
@media (min-width: 1080px) {
  .about-tecniker {
    padding: 0 clamp(50px, 10vw, 172px) 0;
  }
  .about-tecniker .ah-hero-about h1.ah-hero-about__title {
    text-align: left;
    font-weight: 700;
    padding-left: 44px;
  }
  .about-tecniker .ah-builder-about__content > p.has-large-font-size {
    font-size: 52px !important;
  }
  .about-tecniker .ah-builder-about__content > p {
    font-size: 20px;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column {
    margin-top: 40px;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p {
    font-size: 18px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p strong {
    font-size: 18px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
    font-size: 32px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column ul {
    margin: 12px 0 0 26px;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column ul li {
    font-size: 18px !important;
  }
}
@media (min-width: 1200px) {
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: left;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p {
    display: block;
    width: 100%;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column p.has-large-font-size {
    font-size: 52px !important;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns .wp-block-column ul {
    margin: 12px 0 0 64px;
    width: 100%;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns figure.wp-block-image {
    width: 80%;
  }
  .about-tecniker .ah-builder-about__content .wp-block-columns figure.wp-block-image img {
    object-fit: cover;
  }
}
.partner-single {
  max-width: 1140px;
  margin: 0 auto;
}
.partner-single .partner-logo-wrap {
  text-align: center;
  margin: 24px 0 24px 0;
}
.partner-single .partner-logo {
  max-height: 96px;
  width: auto;
}
.partner-single .partner-title {
  text-align: center;
  margin: 0 0 1rem;
}
.partner-single .partner-media .wp-video,
.partner-single .partner-media iframe,
.partner-single .partner-media .partner-video,
.partner-single .partner-media .partner-hero {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}
.partner-single .partner-media .partner-video {
  outline: none;
}
.partner-single .partner-products-title {
  margin: 2rem 0 1rem;
}

.partner-visit-site {
  margin-top: clamp(24px, 3vw, 48px);
  text-align: center;
}
.partner-visit-site a {
  color: #0000ff;
}
.partner-visit-site .visit-partner-site {
  min-width: 240px;
}

/* ===== SERVICES PAGE ===== */
/* El body recibe esta clase al usar la plantilla (variará según ruta/nombre del archivo).
   Si el archivo es page-services.php en la raíz del tema, WP suele generar:
   .page-template-page-services
*/
.page-template-page-services .entry-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
}

/* Contenedor común */
.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ========== HERO ========== */
.sv-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 480px);
  display: grid;
  place-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #0f172a; /* fallback si no hay overlay */
}
.sv-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.28); /* leve dim */
  pointer-events: none;
}
.sv-hero .container {
  position: relative;
  z-index: 1;
}
.sv-hero__title {
  margin: 0;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
}
.sv-hero__subtitle {
  margin: 0.5rem 0 0;
  font-size: clamp(15px, 2vw, 20px);
  color: #e2e8f0;
}

/* ========== INTRO 2C ========== */
.section {
  padding: clamp(32px, 5vw, 0px) 0 0 0;
}

.sv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
}
@media (min-width: 960px) {
  .sv-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.sv-intro__copy h2 {
  color: #FC460A;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.2vw, 36px);
  line-height: 1.15;
}
.sv-intro__copy .lead {
  font-size: clamp(1rem, 1.2vw, 18px);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.sv-intro__copy .wp-content p {
  margin: 0 0 1rem;
  line-height: 1.75;
}
.sv-intro__copy .wp-content ul, .sv-intro__copy .wp-content ol {
  margin: 0.75rem 0 1rem 1.25rem;
}
@media (min-width: 1100px) {
  .sv-intro__copy {
    padding: 25px 100px;
  }
}

.sv-intro__media {
  margin: 0;
}
.sv-intro__media img, .sv-intro__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

/* ========== SERVICES GRID (usa tu shortcode) ========== */
/* Apoyamos clases que imprime tu [show_services] */
.services-section .title {
  text-align: center;
  font-size: clamp(26px, 3.6vw, 40px);
  margin: 0 0 24px;
}
.services-section .services-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
  margin-bottom: 40px;
}
@media (min-width: 700px) {
  .services-section .services-card {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-section .services-card {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}
.services-section .service-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
  display: grid;
  gap: 10px;
  text-align: center;
}
.services-section .service-card img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}
.services-section .service-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.services-section .service-card p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}

/* ========== CTA ========== */
.sv-cta .sv-cta__box {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 42px);
  text-align: center;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}
.sv-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  color: #0f172a;
}
.sv-cta p {
  margin: 0 0 1.25rem;
  color: #334155;
  font-size: clamp(15px, 1.2vw, 18px);
}
.sv-cta .cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.sv-cta .btn-primary,
.sv-cta .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  min-width: 180px;
  transition: transform 0.05s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.sv-cta .btn-primary {
  background: #FC460A;
  border: 1px solid #FC460A;
  color: #fff;
}
.sv-cta .btn-primary:hover {
  background: #fff;
  color: #FC460A;
}
.sv-cta .btn-secondary {
  background: transparent;
  color: #FC460A;
  border: 2px solid #FC460A;
}
.sv-cta .btn-secondary:hover {
  background: #FC460A;
  color: #fff;
}

/* Afinado de headings como en tu ejemplo */
.ah-hero__title,
.sv-hero__title {
  text-align: center;
}

/* Por si usas bloques nativos junto a la plantilla, mantenemos estilos coherentes */
.page-template-page-services .wp-block-button .wp-block-button__link {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}

.page-template-page-services .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #FC460A;
  border: 2px solid #FC460A;
}

.page-template-page-services h2,
.page-template-page-services h3 {
  scroll-margin-top: 80px;
}

/* ========= Single Part – Igual a Single Product ========= */
.content-single-part .site-main {
  /* Contenedor */
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 40px);
  /* Título */
  /* Galería principal */
  /* Descripción */
  /* Video YouTube */
  /* CTA: botón de cotización */
  /* Relacionados */
}
.content-single-part .site-main .part-title {
  margin: 0 0 0.5rem 0;
  color: #002768;
  line-height: 1.15;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: -0.01em;
}
.content-single-part .site-main .part-gallery,
.content-single-part .site-main .gallery-top {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1/1;
  margin-top: 1rem;
}
.content-single-part .site-main .part-gallery .swiper-wrapper,
.content-single-part .site-main .gallery-top .swiper-wrapper {
  align-items: center;
}
.content-single-part .site-main .part-gallery .swiper-slide,
.content-single-part .site-main .gallery-top .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-single-part .site-main .part-gallery img,
.content-single-part .site-main .part-gallery video,
.content-single-part .site-main .gallery-top img,
.content-single-part .site-main .gallery-top video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.content-single-part .site-main .part-description {
  margin-top: clamp(12px, 1.6vw, 20px);
  line-height: 1.65;
  color: #12223a;
  padding-inline: 2px;
}
.content-single-part .site-main .part-description p {
  margin: 0.5rem 0 0 0;
  font-size: clamp(14px, 1.3vw, 18px);
}
.content-single-part .site-main .part-description p:first-child {
  margin-top: 0;
}
.content-single-part .site-main .youtube-video {
  margin-top: clamp(16px, 2vw, 24px);
}
.content-single-part .site-main .youtube-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 10px;
  display: block;
}
.content-single-part .site-main .button-container {
  margin-top: clamp(16px, 2.2vw, 28px);
  display: flex;
  justify-content: center;
}
.content-single-part .site-main .custom-button, .content-single-part .site-main .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-part .site-main .visit-partner-site {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #ff7d0c;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 16px 22px;
  min-width: min(375px, 100%);
  font-size: clamp(16px, 1.5vw, 20px);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 125, 12, 0.25);
  transition: transform 0.05s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.content-single-part .site-main .custom-button:hover, .content-single-part .site-main .partner-visit-site .visit-partner-site:hover, .partner-visit-site .content-single-part .site-main .visit-partner-site:hover {
  background: #e6710b;
}
.content-single-part .site-main .custom-button:active, .content-single-part .site-main .partner-visit-site .visit-partner-site:active, .partner-visit-site .content-single-part .site-main .visit-partner-site:active {
  transform: translateY(1px);
}
.content-single-part .site-main .related-parts {
  margin-top: clamp(24px, 3vw, 40px);
}
.content-single-part .site-main .related-parts h2 {
  margin: 0 0 0.75rem 0;
  color: #002768;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
}

/* ====== Layout en pantallas medianas ====== */
@media (min-width: 768px) {
  .content-single-part .site-main .part-gallery,
  .content-single-part .site-main .gallery-top {
    aspect-ratio: 4/3;
  }
  .content-single-part .site-main .custom-button, .content-single-part .site-main .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-part .site-main .visit-partner-site {
    min-width: 60%;
  }
}
/* ====== Layout en desktop ====== */
@media (min-width: 1024px) {
  .content-single-part .site-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: clamp(18px, 2vw, 28px);
    align-items: start;
  }
  .content-single-part .site-main .part-title {
    grid-column: 1/-1;
  }
  .content-single-part .site-main .part-gallery,
  .content-single-part .site-main .gallery-top {
    grid-column: 1/2;
    aspect-ratio: 4/3;
    min-height: 520px;
  }
  .content-single-part .site-main .part-description {
    grid-column: 2/3;
    margin-top: 0.5rem;
  }
  .content-single-part .site-main .button-container {
    grid-column: 2/3;
    margin-top: 0.5rem;
  }
  .content-single-part .site-main .button-container .custom-button, .content-single-part .site-main .button-container .partner-visit-site .visit-partner-site, .partner-visit-site .content-single-part .site-main .button-container .visit-partner-site {
    min-width: 280px;
  }
  .content-single-part .site-main .youtube-video {
    grid-column: 1/2;
    margin-top: 0;
  }
  .content-single-part .site-main .youtube-video iframe {
    aspect-ratio: 16/10;
  }
  .content-single-part .site-main .related-parts {
    grid-column: 1/-1;
  }
}
.field {
  text-align: left;
}

/* ====== 1200+ ajustes finos ====== */
@media (min-width: 1200px) {
  .content-single-part .site-main {
    padding-inline: 4rem;
  }
  .content-single-part .site-main .part-description p {
    font-size: 18px;
    line-height: 1.65;
  }
}
/* ============================
   PARTS FLEX PAGE — FINAL SCSS
   ============================ */
.parts-flex-page {
  /* ===== GENERAL CONTAINER ===== */
  /* ======================
     HERO (VIDEO + OVERLAY)
     ====================== */
  /* ============================
     Gutenberg Content Area
     ============================ */
  /* ========== RESPONSIVE FIXES ========== */
}
.parts-flex-page .entry-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
}
.parts-flex-page .parts-hero {
  width: 100%;
  padding: 0 16px; /* match global layout */
  display: flex;
  justify-content: center;
  /* ===== VIDEO ===== */
  /* ===== TEXT OVER VIDEO ===== */
}
.parts-flex-page .parts-hero .hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  min-height: clamp(320px, 45vw, 520px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  background: #000;
}
.parts-flex-page .parts-hero .video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.parts-flex-page .parts-hero .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
  border-radius: 12px;
}
.parts-flex-page .parts-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2; /* always on top */
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: left;
}
.parts-flex-page .parts-hero .hero-overlay .hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.1;
}
.parts-flex-page .parts-hero .hero-overlay .hero-subtitle {
  max-width: 740px;
  font-size: clamp(12px, 1vw, 24px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}
.parts-flex-page .parts-hero .hero-overlay .hero-buttons {
  display: flex;
  gap: 16px;
}
.parts-flex-page .parts-hero .hero-overlay .hero-buttons .btn {
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
  margin: 0;
}
.parts-flex-page .parts-hero .hero-overlay .hero-buttons .primary {
  background: #fff;
  color: #003067;
  border: 2px solid #fff;
}
.parts-flex-page .parts-hero .hero-overlay .hero-buttons .primary:hover {
  background: transparent;
  color: #fff;
}
.parts-flex-page .parts-hero .hero-overlay .hero-buttons .secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.parts-flex-page .parts-hero .hero-overlay .hero-buttons .secondary:hover {
  border-color: #fff;
}
.parts-flex-page .parts-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
  /* Buttons */
}
.parts-flex-page .parts-content .wp-block-media-text {
  align-items: center;
  gap: 32px;
  margin: clamp(24px, 3vw, 48px) auto;
}
.parts-flex-page .parts-content .wp-block-media-text__content {
  padding: 0 !important;
}
.parts-flex-page .parts-content .wp-block-media-text__content h2 {
  color: #FC460A;
  margin-bottom: 0.5rem;
  font-size: clamp(24px, 3vw, 42px);
}
.parts-flex-page .parts-content .wp-block-media-text__content p {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.parts-flex-page .parts-content .wp-block-media-text__media img,
.parts-flex-page .parts-content .wp-block-media-text__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.15);
}
.parts-flex-page .parts-content .wp-block-button .wp-block-button__link {
  background: #FC460A;
  border: 1px solid #FC460A;
  color: #fff;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 6px;
}
.parts-flex-page .parts-content .wp-block-button .wp-block-button__link:hover {
  background: #fff;
  color: #FC460A !important;
}
.parts-flex-page .parts-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid #FC460A;
  color: #FC460A;
}
@media (max-width: 782px) {
  .parts-flex-page .parts-hero {
    padding: 0 10px;
  }
  .parts-flex-page .parts-hero .hero-overlay {
    text-align: left;
  }
  .parts-flex-page .parts-hero .hero-buttons {
    gap: 10px;
  }
  .parts-flex-page .wp-block-media-text {
    gap: 16px;
  }
}
@media (min-width: 1100px) {
  .parts-flex-page .parts-content {
    padding: 25px 100px;
  }
}

.has-x-large-font-size {
  line-height: 1;
  font-weight: 600;
  margin-bottom: 16px;
}

.drs-working-on-wrapper {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.drs-working-on-logo img {
  max-width: 260px;
  height: auto;
  margin-bottom: 1.5rem;
}

.drs-working-on-media img,
.drs-working-on-media video {
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.drs-working-on-text {
  font-size: 1.2rem;
  font-weight: 500;
}

.aplications-catalog_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.aplications-catalog_container .aplications-catalog_textContainer {
  width: 100%;
  text-align: center;
}
.aplications-catalog_container .shop-filters {
  order: 0;
}
@media (min-width: 928px) {
  .aplications-catalog_container .aplicaciones-products_container {
    width: 70% !important;
  }
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*# sourceMappingURL=style.css.map */
