@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/archivo-black.ttf') format('truetype');
}

@font-face {
  font-family: 'Changa One';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/changa-one.ttf') format('truetype');
}

@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/teko-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/teko-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/teko-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/teko-700.ttf') format('truetype');
}

#sp-logo .logo a,
#sp-header .logo a {
  font-family: 'Changa One', cursive !important;
  font-size: 35px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.offcanvas-menu {
  background: #ffffff;
  box-shadow: -18px 0 45px rgba(15, 23, 42, 0.18);
}

body.offcanvas-active {
  overflow: hidden;
}

body.offcanvas-active .offcanvas-overlay {
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu .offcanvas-logo {
  display: inline-block;
  margin: 8px 0 28px;
  color: #111827;
  font-family: 'Changa One', cursive;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.offcanvas-menu .close-offcanvas {
  right: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #ffffff;
}

.offcanvas-menu .close-offcanvas::before {
  content: "\00d7";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  color: #111827;
  opacity: 1;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu > li.current-item > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover {
  color: #0345bf;
}

.offcanvas-menu .menu-child {
  padding-left: 14px !important;
}

.offcanvas-menu .menu-parent > a {
  padding-right: 38px !important;
}

.seo-h1-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#jbmaps2-108,
.map-wrap {
  width: 100%;
  min-height: 400px;
}

#jbmaps2-108 iframe,
.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border: 0;
}

.standalone-contact-section {
  padding: 40px 0 80px;
}

.standalone-contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.standalone-contact-card {
  grid-column: span 6;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(21, 32, 55, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
}

.standalone-contact-card h2,
.standalone-contact-card h3 {
  margin-top: 0;
}

.standalone-contact-card p {
  line-height: 1.6;
}

.contact-hero {
  padding: 4.5rem 0 2rem;
  background:
    radial-gradient(circle at top left, rgba(42, 88, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #0d1a36 0%, #162a54 50%, #203a70 100%);
  color: #fff;
}

.contact-hero-inner {
  max-width: 760px;
}

.contact-hero .eyebrow,
.contact-panel .eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.8;
}

.contact-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1;
  margin: 0.3rem 0 1rem;
}

.contact-hero p {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20, 30, 55, 0.08);
  padding: 1.6rem;
}

.contact-panel h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  line-height: 1.05;
  margin: 0.25rem 0 0.9rem;
}

.contact-panel p {
  line-height: 1.65;
  color: #334155;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.contact-details--single {
  grid-template-columns: 1fr;
}

.contact-details div {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #f7f9ff;
  border: 1px solid rgba(37, 77, 210, 0.08);
}

.contact-details span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.contact-details a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.contact-badges span {
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.86rem;
}

.contact-map-panel {
  display: flex;
  flex-direction: column;
}

.contact-map-header {
  margin-top: 1.4rem;
  margin-bottom: 0.9rem;
}

.contact-map-header p {
  margin-bottom: 0;
}

.contact-map {
  overflow: hidden;
  border-radius: 18px;
  min-height: 480px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

.contact-panel--form .btn-primary {
  width: 100%;
}

.home-contact-section {
  padding: 64px 0 72px !important;
  background:
    radial-gradient(circle at 14% 15%, rgba(37, 77, 210, 0.12), transparent 34%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.home-contact-heading {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.home-contact-heading .eyebrow {
  margin: 0 0 0.35rem;
  color: #254dd2;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-contact-heading h2 {
  margin: 0;
  color: #0f172a;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.home-contact-grid .contact-panel {
  margin: 0;
}

.home-contact-grid .contact-map,
.home-contact-grid .contact-map iframe {
  min-height: 100%;
}

.home-contact-grid .contact-map {
  height: 100%;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #1f2937;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: #111827;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(45, 79, 210, 0.2);
  border-color: #2d4fd2;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form .form-note {
  margin: 0;
  color: #66707a;
  font-size: 0.95rem;
}

.g-recaptcha {
  min-height: 78px;
}

.contact-form .honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .standalone-contact-card {
    grid-column: span 12;
  }

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

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 320px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .home-contact-section {
    padding: 44px 0 52px !important;
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-grid .contact-map,
  .home-contact-grid .contact-map iframe {
    min-height: 340px;
  }
}

@media (max-width: 991px) {
  .sp-page-builder .page-content #section-id-1528373276799 {
    padding-top: 72px !important;
    padding-bottom: 280px !important;
    background-size: 100% auto !important;
    background-position: 50% 100% !important;
  }

  #sppb-addon-1528374828942 {
    margin: 0 24px !important;
    max-width: none !important;
  }

  #sppb-addon-1528374828942 .sppb-addon-title {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  #sppb-addon-1528374828942 {
    font-size: 16px !important;
    line-height: 1.75 !important;
  }
}

@media (max-width: 575px) {
  .offcanvas-menu {
    width: min(86vw, 320px);
  }

  .offcanvas-menu .offcanvas-inner {
    padding: 26px 24px;
  }

  .sp-page-builder .page-content #section-id-1528373276799 {
    padding-top: 56px !important;
    padding-bottom: 220px !important;
  }

  #sppb-addon-1528374828942 {
    margin: 0 14px !important;
  }
}

/* Local Font Awesome bridge for the HTML we reconstructed from Joomla */
.fa,
.far,
.fas,
.fab,
.fa-regular,
.fa-solid,
.fa-brands {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fab,
.fa-brands {
  font-weight: 400;
}

.fas,
.fa-solid,
.far,
.fa-regular {
  font-weight: 400;
}

/* Slideshow arrows: replace the missing SYW font with Font Awesome chevrons */
.flexslider .flex-direction-nav a,
[id^="trs_"] .flex-direction-nav a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 48px !important;
  overflow: visible !important;
  color: #202020 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.flexslider .flex-direction-nav a::before,
[id^="trs_"] .flex-direction-nav a::before,
#trs_105 .flex-direction-nav a::before,
#trs_111 .flex-direction-nav a::before {
  display: block !important;
  width: auto !important;
  height: auto !important;
  color: currentColor !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 42px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  content: "\2039" !important;
}

.flexslider .flex-direction-nav a.flex-next::before,
[id^="trs_"] .flex-direction-nav a.flex-next::before,
#trs_105 .flex-direction-nav a.flex-next::before,
#trs_111 .flex-direction-nav a.flex-next::before {
  content: "\203A" !important;
}

.flexslider:hover .flex-direction-nav .flex-prev,
[id^="trs_"] .flexslider:hover .flex-direction-nav .flex-prev {
  left: 8px !important;
}

.flexslider:hover .flex-direction-nav .flex-next,
[id^="trs_"] .flexslider:hover .flex-direction-nav .flex-next {
  right: 8px !important;
}

/* Hide the unused language switcher from the reconstructed site */
.sp-module.idioma {
  display: none !important;
}

/* Add a simple dropdown cue for product menu items */
.sp-megamenu-parent .sp-has-child > a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  position: relative;
}

.sp-megamenu-parent .sp-has-child > a::after,
.sp-megamenu-parent > li.sp-has-child > a::after {
  content: "" !important;
  display: inline-block !important;
  position: static !important;
  width: 0;
  height: 0;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.8;
  font-family: inherit !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.idioma {
  display: none !important;
}

/* Clientes: reemplazo local del modulo os_imagegallery_97 de Joomla. */
.imageGallery.ordasoft.os_gallery_97,
.clientes-gallery {
  display: block;
  width: 100%;
}

.imageGallery.ordasoft.os_gallery_97 .rowImages,
.clientes-gallery .rowImages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
}

.imageGallery.ordasoft.os_gallery_97 .fancybox,
.clientes-gallery-item {
  position: relative;
  display: block;
  flex: 0 1 calc(33.333% - 18px);
  max-width: calc(33.333% - 18px);
  overflow: hidden;
  background: #f4f4f4;
  color: inherit;
  text-decoration: none;
}

.imageGallery.ordasoft.os_gallery_97 .fancybox img,
.clientes-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  transition: transform 220ms ease;
}

.clientes-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.clientes-gallery-lens {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.clientes-gallery-lens::before {
  content: "\f00e";
  font-family: FontAwesome;
  font-size: 20px;
  line-height: 1;
}

.imageGallery.ordasoft.os_gallery_97 .fancybox:hover img,
.clientes-gallery-item:hover img {
  transform: scale(1.04);
}

.imageGallery.ordasoft.os_gallery_97 .fancybox:hover .clientes-gallery-overlay,
.clientes-gallery-item:hover .clientes-gallery-overlay {
  opacity: 1;
}

#section-id-1529349285650 .sppb-addon-single-image-container img {
  margin-right: auto;
  margin-left: auto;
}

#section-id-1529349285650 .sppb-column-addons {
  display: grid;
  grid-template-rows: 84px 56px 84px 56px;
  align-items: center;
}

#section-id-1529349285650 .sppb-addon-single-image {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 84px;
}

#section-id-1529349285650 .sppb-addon-single-image-container {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 72px;
}

#section-id-1529349285650 .sppb-addon-single-image-container img {
  width: auto;
  max-width: 96px;
  max-height: 42px;
  object-fit: contain;
}

#section-id-1529349285650 img[src*="sedan-gnc"] {
  max-width: 96px;
  max-height: 42px;
}

#section-id-1529349285650 .sppb-addon-text-block {
  display: flex;
  align-items: start;
  justify-content: center;
  min-height: 56px;
}

@media (max-width: 991px) {
  .imageGallery.ordasoft.os_gallery_97 .fancybox,
  .clientes-gallery-item {
    flex-basis: calc(50% - 18px);
    max-width: calc(50% - 18px);
  }
}

@media (max-width: 600px) {
  .imageGallery.ordasoft.os_gallery_97 .fancybox,
  .clientes-gallery-item {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.sp-page-builder .page-content #section-id-1533582152621 {
  background-color: #173b24;
  background-image: url('/images/2018/08/06/bosque-naturaleza-gnc.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;
}

@media (max-width: 991px) {
  .sp-page-builder .page-content #section-id-1533582152621 {
    background-attachment: scroll;
  }
}
