/*
Theme Name: Radpan
Theme URI: https://wegraphypa.com/
Author: fabiczg
Author URI: https://fabiczg.github.io/my_projects/
Description: sitio web para RadPan.
Requires at least: 5.9
Tested up to: 4.7.29
Requires PHP: 5.6
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}

:root {
  --color-primary-dark: #054375;
  --color-primary: #2E5CB8;
  --color-accent: #2E5CB8;
  --color-gray: #B8B8B8;
  --color-gray-light: #E1E3E6;
  --primary: var(--color-accent);
  --text: #141414;
  --textwhite: #f8fafc;
  --titulocolor: var(--color-primary-dark);
  --shadow-soft: 0 18px 45px rgba(5, 67, 117, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: #fff;
}

input,
button,
textarea,
select {
  font: inherit;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img,
video,
svg {
  height: auto;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

/* clases reutilziables */

.contenedor {
  max-width: 1200px;
}

.titulo {
  font-family: "Century Gothic Bold";
}

header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.96);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 28px rgba(5, 67, 117, 0.08);

  /* position: fixed;
  top: 0;
  z-index: 10; */
  /* box-shadow: 0px 3px 6px #00000029; */
}

header.scroll {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

header img {
  width: 155px;
}

.header-contenedor {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-menu ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.header-menu ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary-dark);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease;
}

.header-menu ul li a:hover,
.header-custom-contenedor ul li a:hover {
  color: var(--color-accent);
}

.header-menu ul li a img {
  width: 20px;
}

.header-menu ul li a.telefono-link img {
  width: 15px;
}
.header-menu ul li a.comollegar {
  color: var(--color-primary);
  text-decoration: underline;
}

.header-custom {
  position: fixed;
  display: none;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.header-custom.scroll {
  top: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-bottom: 1px solid var(--color-gray-light);
}

.header-custom-contenedor {
  margin: 0 auto;
}

.header-custom-contenedor ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 60px;
}

.header-custom-contenedor ul li.item-menu-inicio {
  display: none;
}

.header-custom-contenedor ul li a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.header-custom-contenedor ul li a.btn {
  font-weight: 600;
  border: 2px solid var(--color-accent);
  padding: 3px 15px;
  border-radius: 7px;
  background: var(--color-accent);
  color: #fff;
}

.header-custom-contenedor ul li a.btn:hover {
  background: #fff;
  color: var(--color-accent);
}

.header-custom.scroll .header-custom-contenedor ul li a {
  color: var(--color-primary-dark);
}

.menu-hamburger {
  position: absolute;
  display: none;
  display: none;
  right: 14px;
  top: 8px;
  font-size: 26px;
}

.close-header-custom {
  display: none;
  position: absolute;
  right: 11px;
  top: 15px;
  font-size: 40px;
  line-height: 20px;
}

.header-menu-responsive {
  display: none;
}

.header-menu-responsive ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.header-menu-responsive ul li a {
  font-size: 30px;
}

.header-menu-responsive ul > li:nth-child(1) a {
  color: var(--color-accent);
}
.header-menu-responsive ul > li:nth-child(2) a {
  color: var(--color-primary);
}
.header-menu-responsive ul > li:nth-child(3) a {
  color: var(--color-primary-dark);
}

/* footer */
footer {

  padding: 60px 0;
  background: var(--color-primary-dark);
}

.footer-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer-container .logo-footer {
  align-self: center;
}

.footer-container .logo-footer img {
  width: 250px;
}

.footer-container > div strong {
  color: var(--color-accent);
  display: block;
  margin-bottom: 10px;
}

.footer-container ul {
  list-style: none;
}

.footer-container > div.menu-inicio ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.footer-container > div.menu-inicio ul li a:hover,
.footer-container > div.menu-contacto ul li a:hover {
  color: var(--color-accent);
}

.footer-container > div.menu-contacto ul li.whatsapp a {
  display: flex;
  align-items: center;
  color: #fff;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-container > div.menu-contacto ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-container > div.menu-contacto ul li.redes-link {
  display: flex;
  gap: 10px;
}

.footer-container > div.menu-contacto ul li.redes-link a {
  background-color: var(--color-primary);
  color: #fff;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 16px;
  margin: 0;
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.footer-container > div.menu-contacto ul li.redes-link a:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-container > div.menu-contacto ul li.redes-link a.instagram-link span {
  line-height: 20px;
  font-size: 22px;
}

.footer-container > div.menu-contacto ul li.redes-link a.facebok-link span {
  line-height: 20px;
  font-size: 20px;
}

.menu-nuestro-horario p {
  color: #fff;
  margin-bottom: 5px;
}

.modal-servicios {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-servicios.show {
  display: flex;
}

.modal-servicios-body {
  background-color: #fff;
  padding: 40px 70px;
  border-radius: 10px;
  position: relative;
  box-shadow: var(--shadow-soft);
  display: none;
}

.modal-servicios-body .lista-grupo {
  display: flex;
  justify-content: space-between;
}

.modal-servicios-body.show {
  display: block;
}

.modal-servicios-body .btnl-close-modal {
  position: absolute;
  top: 5px;
  right: 20px;
  color: var(--color-gray);
  background-color: transparent;
  border: none;
  font-weight: 400;
  font-size: 45px;
  cursor: pointer;
}

.modal-servicios-body h4 {
  color: var(--color-primary-dark);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 15px;
}

.modal-servicios-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.modal-servicios-body ul li::marker {
  color: var(--color-accent);
  font-size: 1.5em;
}
.modal-servicios-body ul li {
  font-weight: 500;
  font-size: 17px;
}
.modal-servicios-body > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.modal-servicios-body > div a {
  background-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
  padding: 9px 40px;
  font-weight: 600;
  border-radius: 10px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.modal-servicios-body > div a.solicitar {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.modal-servicios-body > div a:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

/* modal de galeria imagenes */

.modal-galeria {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-galeria.show {
  display: flex;
}

.modal-galeria-body {
  background-color: #fff;
  padding: 60px 10px 40px 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: var(--shadow-soft);
  width: 700px;
  height: 500px;
  position: relative;
}

.modal-galeria-body-grid {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding-right: 10px;
}

.modal-galeria-body-grid-swiper {
  width: 100%;
}

.modal-galeria-body-grid-swiper .swiper-slide div {
  height: 100%;
}

.modal-galeria-body-grid-swiper .swiper-slide div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-galeria-body .btnl-close-modal {
  position: absolute;
  top: 5px;
  right: 20px;
  color: var(--color-gray);
  background-color: transparent;
  border: none;
  font-weight: 400;
  font-size: 45px;
  cursor: pointer;
}

/* Static Radpan inner pages */
.header-menu ul li a.is-active,
.header-custom-contenedor ul li a.is-active {
  background: var(--color-primary-dark);
  color: #fff;
}

.header-menu ul li a {
  border-radius: 8px;
  font-weight: 700;
  padding: 12px 14px;
}

.header-menu ul li a:hover {
  background: var(--color-gray-light);
}

.radpan-static-page {
  background: #f3f5f7;
  padding: 132px 20px 64px;
}

.radpan-page-shell {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin: 0 auto;
  max-width: 1200px;
  padding: 48px;
}

.radpan-page-header {
  border-bottom: 1px solid var(--color-gray-light);
  margin-bottom: 40px;
  padding-bottom: 28px;
}

.radpan-page-header h1 {
  color: var(--color-primary-dark);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
}

.radpan-page-header p {
  color: #556271;
  font-size: 18px;
  margin-top: 12px;
}

.radpan-rich-text {
  color: #46566b;
  font-size: 17px;
  line-height: 1.75;
}

.radpan-rich-text p {
  margin-bottom: 18px;
}

.radpan-rich-text strong,
.radpan-rich-text h2,
.radpan-product-section h2,
.radpan-contact-card h2,
.radpan-map-aside h2 {
  color: var(--color-primary-dark);
}

.radpan-about-layout {
  display: grid;
  gap: 36px;
  grid-template-columns: 380px 1fr;
}

.radpan-media-card,
.radpan-product-image,
.radpan-thumb-card,
.radpan-gallery-item {
  background: #fff;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(5, 67, 117, 0.08);
  overflow: hidden;
}

.radpan-media-card img,
.radpan-product-image img,
.radpan-thumb-card img,
.radpan-gallery-item img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.radpan-media-card {
  height: 260px;
}

.radpan-trust-strip {
  border-top: 1px solid var(--color-gray-light);
  margin-top: 36px;
  padding-top: 28px;
  text-align: center;
}

.radpan-trust-strip img {
  opacity: 0.75;
  width: min(100%, 900px);
}

.radpan-trust-strip .radpan-history-thumb {
  border-radius: 8px;
  display: block;
  margin: 0 auto 24px;
  max-width: 360px;
  opacity: 1;
  width: 100%;
}

.radpan-client-logo-grid {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 28px auto 0;
  max-width: 920px;
}

.radpan-client-logo-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  display: flex;
  height: 96px;
  justify-content: center;
  margin: 0;
  padding: 16px;
}

.radpan-client-logo-card img {
  filter: grayscale(1);
  height: auto;
  max-height: 62px;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.58;
  transition: filter 0.25s ease, opacity 0.25s ease;
  width: auto;
}

.radpan-client-logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.radpan-two-column,
.radpan-contact-layout {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.radpan-catalog-brand {
  border-bottom: 1px solid var(--color-gray-light);
  padding: 0 0 28px;
  margin-bottom: 28px;
}

.radpan-catalog-brand h2 {
  color: var(--color-primary-dark);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.radpan-catalog-brand ul {
  color: #536273;
  line-height: 1.8;
  padding-left: 28px;
}

.radpan-catalog-brand a,
.radpan-contact-card a,
.radpan-map-aside a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.radpan-catalog-brand a:hover,
.radpan-contact-card a:hover,
.radpan-map-aside a:hover {
  color: var(--color-accent);
}

.radpan-map-aside {
  align-self: start;
  background: #f7f9fb;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  padding: 22px;
  position: sticky;
  top: 122px;
}

.radpan-map-aside h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.radpan-map-aside iframe {
  border: 0;
  border-radius: 8px;
  height: 260px;
  margin-bottom: 12px;
  width: 100%;
}

.radpan-product-feature {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 250px 1fr;
  margin-bottom: 54px;
}

.radpan-product-image img {
  aspect-ratio: 4 / 3;
}

.radpan-product-image figcaption,
.radpan-thumb-card figcaption {
  background: #f7f9fb;
  color: #566170;
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
  text-align: center;
}

.radpan-product-section {
  margin-top: 44px;
}

.radpan-product-section h2 {
  font-size: 18px;
  margin-bottom: 22px;
}

.radpan-image-grid {
  display: grid;
  gap: 24px;
}

.radpan-image-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.radpan-image-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.radpan-thumb-card img {
  aspect-ratio: 4 / 3;
}

.radpan-accessory-list {
  color: #46566b;
  columns: 2;
  line-height: 1.75;
  margin-bottom: 26px;
}

.radpan-gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.radpan-gallery-item {
  aspect-ratio: 1 / 1;
}

.radpan-contact-card {
  color: #46566b;
  font-size: 17px;
  line-height: 1.7;
}

.radpan-contact-card h2 {
  font-size: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.radpan-contact-card p {
  margin-bottom: 16px;
}

.radpan-whatsapp-link {
  align-items: center;
  background: #25d366;
  border: 2px solid #25d366;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  margin: 20px 0 0;
  padding: 10px 16px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.radpan-whatsapp-link:hover,
.radpan-whatsapp-link:focus-visible {
  background: #128c4a;
  border-color: #128c4a;
  color: #fff;
  transform: translateY(-2px);
}

.radpan-whatsapp-link .fa {
  font-size: 22px;
}

.radpan-map-aside .radpan-whatsapp-link {
  color: #fff;
  justify-content: center;
  width: 100%;
}

.radpan-map-aside .radpan-whatsapp-link:hover,
.radpan-map-aside .radpan-whatsapp-link:focus-visible {
  color: #fff;
}

.radpan-contact-form {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  max-width: 520px;
}

.radpan-contact-form label {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.radpan-contact-form input,
.radpan-contact-form textarea {
  border: 1px solid var(--color-gray);
  border-radius: 6px;
  color: var(--text);
  padding: 10px 12px;
  width: 100%;
}

.radpan-contact-form input:focus,
.radpan-contact-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(46, 92, 184, 0.12);
  outline: none;
}

.radpan-contact-form .btn-form {
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  justify-self: start;
  margin-top: 8px;
  padding: 10px 22px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.radpan-contact-form .btn-form:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .header-menu {
    display: none;
  }

  .header-contenedor {
    flex-direction: column;
    padding: 0 !important;
  }

  .header-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .close-header-custom {
    display: block;
  }

  .header-custom {
    top: 0;
    background-color: rgba(225, 227, 230, 0.97);
    width: 100%;
    height: 100%;
    left: 0;
    display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
  }

  .header-custom.show {
    display: flex;
    top: 0;
  }

  .header-custom-contenedor ul {
    flex-direction: column;
    gap: 25px;
  }

  .header-custom-contenedor ul li.item-menu-inicio {
    display: block;
  }

  .header-custom-contenedor ul li a {
    color: var(--color-primary-dark);
    text-align: center;
    display: block;
    font-weight: 600;
  }

  .header-contenedor .header-logo {
    align-self: flex-start;
  }

  .menu-hamburger {
    display: block;
    top: 19px;
    right: 24px;
  }

  .header-menu-responsive {
    display: block;
  }

  .footer-container.contenedor {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 1100px) {
  .header-menu ul {
    gap: 6px;
  }

  .header-menu ul li a {
    font-size: 13px;
    padding: 10px 8px;
  }

  .radpan-two-column,
  .radpan-contact-layout,
  .radpan-about-layout,
  .radpan-product-feature {
    grid-template-columns: 1fr;
  }

  .radpan-map-aside {
    position: static;
  }

  .radpan-media-card {
    height: auto;
  }
}

@media (max-width: 767px) {
  .radpan-static-page {
    padding: 120px 14px 42px;
  }

  .radpan-page-shell {
    padding: 28px 18px;
  }

  .radpan-image-grid--three,
  .radpan-image-grid--four,
  .radpan-gallery-grid {
    grid-template-columns: 1fr;
  }

  .radpan-accessory-list {
    columns: 1;
  }

  .header-menu-responsive {
    display: none;
  }
}

/* Radpan inner pages redesign */
.radpan-static-page {
  background:
    linear-gradient(180deg, #f7f9fb 0, #fff 360px);
  padding: 140px 20px 82px;
}

.radpan-page-shell {
  background: transparent;
  box-shadow: none;
  max-width: 1200px;
  padding: 0;
}

.radpan-page-header {
  background: var(--color-primary-dark);
  border: 0;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 42px;
  overflow: hidden;
  padding: 44px;
  position: relative;
z-index: 0;
}

.radpan-page-header::after {
  background: var(--color-accent);
  content: "";
  height: 100%;
  position: absolute;
  right: -70px;
  top: 0;
  transform: skewX(-18deg);
  width: 180px;
}

.radpan-page-header .section-kicker {
  color: #fff;
  opacity: 0.82;
}

.radpan-page-header h1 {
  color: #fff;
  max-width: 760px;
}

.radpan-page-header p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
}

.radpan-about-layout,
.radpan-contact-layout,
.radpan-two-column,
.radpan-product-feature,
.radpan-product-section,
.radpan-trust-strip {
  background: #fff;
  border: 1px solid rgba(5, 67, 117, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 67, 117, 0.08);
  padding: 32px;
}

.radpan-about-layout,
.radpan-contact-layout,
.radpan-two-column {
  gap: 34px;
}

.radpan-trust-strip {
  margin-top: 28px;
}

.radpan-media-card,
.radpan-product-image,
.radpan-thumb-card,
.radpan-gallery-item {
  border: 1px solid rgba(5, 67, 117, 0.1);
  box-shadow: none;
}

.radpan-catalog-list {
  display: grid;
  gap: 18px;
}

.radpan-catalog-brand {
  background: #f7f9fb;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  margin: 0;
  padding: 22px;
}

.radpan-catalog-brand h2 {
  border-bottom: 2px solid rgba(46, 92, 184, 0.18);
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.radpan-catalog-brand ul {
  padding-left: 20px;
}

.radpan-catalog-brand li {
  margin-bottom: 10px;
}

.radpan-description-trigger {
  background: transparent;
  border: 0;
  color: var(--color-primary);
  cursor: pointer;
  display: inline;
  font: inherit;
  font-weight: 800;
  margin-left: 6px;
  padding: 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.radpan-description-trigger::before {
  content: "- ";
}

.radpan-description-trigger:hover,
.radpan-description-trigger:focus-visible {
  color: var(--color-accent);
  outline: none;
}

.radpan-description-modal {
  align-items: center;
  background: rgba(5, 25, 43, 0.74);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.radpan-description-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.radpan-description-modal__dialog {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  max-height: min(88vh, 760px);
  max-width: 820px;
  overflow: auto;
  padding: 34px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
  width: min(100%, 820px);
}

.radpan-description-modal.show .radpan-description-modal__dialog {
  transform: translateY(0);
}

.radpan-description-modal__close {
  align-items: center;
  background: var(--color-primary-dark);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  transition: background-color 0.25s ease, transform 0.25s ease;
  width: 42px;
}

.radpan-description-modal__close:hover,
.radpan-description-modal__close:focus-visible {
  background: var(--color-accent);
  outline: none;
  transform: rotate(90deg);
}

.radpan-description-modal h2 {
  color: var(--color-primary-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  margin: 8px 56px 22px 0;
}

.radpan-description-modal__media {
  align-items: center;
  background: #f7f9fb;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
  padding: 18px;
}

.radpan-description-modal__media img {
  display: block;
  height: auto;
  max-height: 62vh;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.radpan-description-modal__media p {
  color: #46566b;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.radpan-modal-open {
  overflow: hidden;
}

.radpan-map-aside {
  background: #fff;
  box-shadow: 0 18px 42px rgba(5, 67, 117, 0.08);
}

.radpan-product-feature {
  margin-bottom: 24px;
}

.radpan-product-section {
  margin-top: 28px;
}

.radpan-image-grid {
  gap: 18px;
}

.radpan-thumb-card {
  background: #f7f9fb;
}

.radpan-thumb-card img,
.radpan-product-image img {
  background: #fff;
  object-fit: contain;
  padding: 12px;
}

.radpan-gallery-grid {
  background: #fff;
  border: 1px solid rgba(5, 67, 117, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 67, 117, 0.08);
  gap: 18px;
  padding: 24px;
}

.radpan-gallery-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.radpan-gallery-item:hover {
  box-shadow: 0 16px 34px rgba(5, 67, 117, 0.16);
  transform: translateY(-3px);
}

.radpan-gallery-item img {
  object-position: center;
}

.radpan-contact-card {
  background: #fff;
}

@media (max-width: 767px) {
  .radpan-static-page {
    padding: 118px 14px 52px;
  }

  .radpan-page-header {
    padding: 30px 22px;
  }

  .radpan-page-header::after {
    display: none;
  }

  .radpan-about-layout,
  .radpan-contact-layout,
  .radpan-two-column,
  .radpan-product-feature,
  .radpan-product-section,
  .radpan-trust-strip,
  .radpan-gallery-grid {
    padding: 20px;
  }

  .radpan-description-modal {
    padding: 14px;
  }

  .radpan-description-modal__dialog {
    padding: 26px 18px 18px;
  }

  .radpan-description-modal__close {
    height: 36px;
    right: 12px;
    top: 12px;
    width: 36px;
  }

  .radpan-description-modal__media {
    min-height: 220px;
    padding: 12px;
  }

  .radpan-client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radpan-client-logo-card {
    height: 88px;
  }
}

/* Global overflow guard and section alignment refinements */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

header,
main,
footer,
.radpan-static-page,
.radpan-page-shell,
.radpan-page-header {
  max-width: 100%;
  overflow-x: clip;
}

.contenedor,
.header-contenedor,
.footer-container,
.radpan-page-shell {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: min(100%, 1200px);
}

.radpan-page-header::after {
  right: -36px;
  width: 120px;
}

@media (max-width: 767px) {
  .header-contenedor,
  .footer-container,
  .radpan-page-shell {
    width: 100%;
  }
}

/* Stable header sizing prevents the fixed navigation from covering page banners. */
header {
  min-height: 92px;
}

.header-logo,
.header-logo a {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
}

header .header-logo img {
  display: block;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  width: 155px;
}

.header-menu {
  min-width: 0;
}

@media (max-width: 767px) {
  header {
    min-height: 76px;
    padding: 10px 16px;
  }

  header .header-logo img {
    max-height: 52px;
    width: 125px;
  }

  .radpan-static-page {
    padding-top: 108px;
  }
}
