* {
  box-sizing: border-box;
}

/* Fix for images and media */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

body,
html {
  font-family: "myriad-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  max-width: 100vw;
}

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

/* Fix for coverage map overflow issues */
.coverage-map {
  width: 100%;
  padding: 0;
}

.coverage-map img.map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Prevent aggressive overflow hiding that causes inner scroll */
.row {
  overflow: visible;
}

.container {
  overflow: visible;
}

.btn-white {
  border-color: white;
  color: white;
  font-family: "myriad-pro", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: 2rem;
  transition: all 0.2s;
  width: fit-content;
}

.btn-orange {
  border-color: #ff6805;
  color: #ff6805;
  font-family: "myriad-pro", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  transition: all 0.2s;
  width: fit-content;
}

.btn-white a {
  color: white;
  text-decoration: none;
}

.btn-white:hover {
  border-color: white;
  background-color: white;
  color: #737472;
}

.btn-white:hover a {
  color: #737472;
}

.container {
  max-width: 980px;
}

nav.navbar-fixed-top {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1030;
  padding-top: 45px;
  padding-bottom: 15px;
  min-height: 102px;
  background-color: #ffffff00;
  transition: all 0.3s;
}

@media (max-width: 991.98px) {
  nav .navbar-collapse {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 2rem 0;
    max-height: calc(100vh - 102px);
    overflow-y: auto;
  }

  nav .navbar-collapse .navbar-nav {
    padding: 0 2rem;
  }
}

nav.navbar-fixed-top.scrolled,
nav.expanded,
.inner-needs-white nav.navbar-fixed-top {
  background-color: #ffffff;
  box-shadow: 0px 5px 15px #00000041;
}

nav.navbar-fixed-top .nav-item a {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #737472;
  transition: all 0.5s;
  padding: 0;
  cursor: pointer;
}

nav.navbar-fixed-top .nav-item a:hover {
  color: #ff6805;
}

nav .navbar-nav {
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
}

nav .nav-logo {
  width: 128px;
  height: auto;
}

nav .navbar-brand {
  padding: 0;
  margin: 0;
  align-self: end;
  position: relative;
  z-index: 1100;
}

nav .links {
  align-self: end;
}

nav>.container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 1rem;
}

nav .navbar-toggler {
  align-self: end;
}

.navbar-light .navbar-toggler {
  padding: 0px;
  border: 0px;
  margin: 0px;
}

.navbar-light .navbar-toggler-icon {
  background-image: none;
  position: relative;
  padding: 0px;
  position: relative;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler-icon .hamburger-icon,
.navbar-toggler-icon .close-icon {
  transition: all 0.3s ease;
  font-size: 1.5rem;
  color: #737472;
}

.navbar-toggler-icon .close-icon {
  display: none;
  position: absolute;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .close-icon {
  display: block;
}

.navc2a {
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  background-color: #737472;
  font-size: 0.8rem;
  color: #acacac;
  height: 30px;
  line-height: 30px;
}

.navc2a a {
  color: #acacac;
  font-weight: 700;
  transition: color 0.3s;
}

.navc2a a:hover {
  color: #ffffff;
  font-weight: 700;
}

.linkedin-icon {
  margin-left: 15px;
  font-size: 0.9rem;
  color: #acacac;
  transition: color 0.3s;
  text-decoration: none;
}

.linkedin-icon:hover {
  color: #0077b5;
  text-decoration: none;
}

.linkedin-icon i {
  font-size: 0.9rem;
}

main {
  padding-top: 100px;
}

main.one-sectioner,
main.one-sectioner section,
main.one-sectioner section .container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

main section {
  position: relative;
}

section .anchorme {
  position: absolute;
  top: -100px;
  display: block;
  left: 0px;
  width: 0px;
  height: 0px;
}

section .glowr {
  background: transparent;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 70%);
  display: block;
  position: absolute;
  aspect-ratio: 1/1;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  top: 0px;
}

main section:first-child,
main section.services-popper {
  padding-top: 200px;
}

section .container {
  position: relative;
}

section h1 {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 700;
  max-width: 100%;
  letter-spacing: 0.02ch;
}

h1.h1heading {
  font-size: 2rem;
  line-height: 1;
}

section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0.08ch;
  text-transform: uppercase;
  font-weight: 700;
}

section h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
  letter-spacing: 0.08ch;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 1rem;
}

section p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
  font-family: "myriad-pro", sans-serif;
  font-weight: 400;
}

section ul,
section ol {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
  font-family: "myriad-pro", sans-serif;
  font-weight: 400;
}

section p.text-small {
  font-size: 0.75rem;
}

section .section-pic {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0px 25px 15px #00000042);
}

section .container .prev-tail {
  position: absolute;
  top: 0px;
  right: 0px;
}

section.section-light-grey {
  background-color: #f9f9f9;
}

section.section-light-grey .glowr {
  background: transparent;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 70%);
}

section.section-light-grey h1 {
  color: #4d4d4d;
}

section.section-light-grey h2 {
  color: #737472;
}

section.section-light-grey.services-popper h1 {
  color: #ff6805;
}

section.section-light-grey p,
section.section-light-grey li {
  color: #737472;
}

.priv>ol>li {
  margin-bottom: 1rem;
}

.priv h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ff6805;
}

.priv h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ff6805;
}

.priv h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #ff6805;
}

.priv p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #737472;
}

.priv ul,
.priv ol {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: #737472;
}

.priv li {
  margin-bottom: 0.5rem;
}

.priv blockquote {
  border-left: 3px solid #ff6805;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #737472;
}

.priv blockquote p {
  margin: 0;
}

.priv a {
  color: #ff6805;
  text-decoration: none;
}

.priv a:hover {
  text-decoration: underline;
}

/* ISO page h1 subtitle */
.h1-subtitle {
  font-size: 1.2rem;
  color: #737472;
  display: block;
  margin-top: 0.5rem;
  font-weight: 400;
  text-transform: none;
}

section.section-light-grey a {
  color: #ff6805;
}

section.section-orange {
  background-color: #ff6805;
}

section.section-orange .glowr {
  background: transparent;
  background: radial-gradient(circle, #fc8a4cd0 0%, #fc894c00 60%);
}

section.section-orange h1 {
  color: white;
}

section.section-orange h2 {
  color: #ffb078;
}

section.section-orange p {
  color: #ffffff;
}

section.section-dark-grey {
  background-color: #737472;
}

section.section-dark-grey .glowr {
  background: transparent;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0) 60%);
}

section.section-dark-grey h1 {
  color: white;
}

section.section-dark-grey h2 {
  color: #acacac;
}

section.section-dark-grey.services h1,
section.section-light-grey.services h1 {
  line-height: 1;
}

section.section-light-grey.services h1 {
  color: #ff6805;
}

section.section-dark-grey p {
  color: #ffffff;
}

section.greeting h2 {
  color: #ff6805;
}

section.greeting .greeting-logo {
  max-width: 50%;
  height: auto;
}

section.greeting .logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
}

section.greeting .logo {
  width: 90%;
  max-width: 200px;
  height: auto;
}

section.industries .industry-icon {
  display: grid;
  grid-template-rows: auto auto;
  grid-gap: 20px;
  align-content: center;
  align-items: center;
  justify-items: center;
  padding-top: 3rem;
}

section.industries .industry-icon img {
  width: 90%;
  max-width: 120px;
  height: auto;
}

section.certifications .cert-icon {
  display: grid;
  grid-template-rows: auto auto;
  grid-gap: 20px;
  align-content: center;
  align-items: center;
  justify-items: center;
}

section.certifications .cert-icon img {
  max-width: 150px;
  margin-top: 2rem;
  width: 90%;
  height: auto;
  filter: drop-shadow(0px 8px 10px #00000088);
}

section.coverage .coverage-map {
  display: grid;
  align-items: center;
}

section.coverage .coverage-map .map-svg {
  width: 80%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0px 8px 10px #00000067);
}

section .section-drop {
  position: absolute;
  z-index: 1000;
  width: 12.5%;
  max-width: 200px;
  margin-top: Calc(3rem - 1px);
  left: 0px;
  top: 100%;
}

section .section-drop.drop-righter {
  left: auto;
  right: 0px;
}

footer {
  background-color: #5b5b5b;
  color: #eae9e9;
  font-family: "myriad-pro", sans-serif;
  font-weight: 400;
  font-size: 0.625rem;
  margin-top: auto;
  padding: 3rem 0 6rem 0;
  position: relative;
}



.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 4rem;
  align-items: end;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .footer-left {
    align-items: flex-start;
    padding-right: 0;
  }

  .footer-center {
    padding: 0;
    justify-content: flex-start;
  }

  .footer-nav-vertical {
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
    padding-left: 0;
  }

  .footer-credit {
    text-align: left;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-right: 2rem;
}

.footer-logo {
  width: 120px;
  height: auto;
  filter: brightness(1.1);
}

.footer-copyright {
  font-size: .75rem;
  margin: 0;
  opacity: 0.8;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .footer-copyright {
    text-align: left;
  }
}

.footer-center {
  display: flex;
  justify-content: center;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .footer-center {
    justify-content: flex-start;
    padding: 0;
  }
}

.footer-nav-vertical {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .footer-nav-vertical {
    align-items: flex-start;
  }
}

.footer-nav-vertical li {
  font-size: 0.7rem;
  position: relative;
  padding-left: 1rem;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-nav-vertical li {
    padding-left: 0;
  }
}



.footer-nav-vertical a {
  font-family: "Poppins", sans-serif;
  color: #eae9e9;
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-nav-vertical a {
    text-align: left;
    display: block;
  }
}

.footer-nav-vertical a:hover {
  opacity: 1;
  padding-left: 0.25rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  padding-left: 2rem;
}

@media (max-width: 768px) {
  .footer-right {
    padding-left: 0;
  }
}

.footer-linkedin {
  color: #ffffff;
  font-size: 1.2rem;
  opacity: 0.8;
  transition: all 0.3s;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-linkedin {
    align-self: flex-start;
  }
}

.footer-linkedin:hover {
  opacity: 1;
  color: #ff6805;
  transform: scale(1.1);
}

.footer-credit {
  font-size: 0.625rem;
  margin: 0;
  opacity: 0.8;
  text-align: right;
  line-height: 1.6;
}

.footer-credit a {
  color: #ff6805;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.footer-credit a:hover {
  opacity: 1;
  text-decoration: underline;
}

.servicios-lista {
  list-style: none;
  padding: 0;
  text-transform: uppercase;
}

.servicios-lista li {
  position: relative;
}

.servicios-lista li::before {
  position: absolute;
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #eae9e9;
  transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 2s;
  left: -1rem;
}

.servicios-lista li:hover::before {
  left: -1.6rem;
}

.servicios-lista .servicio a {
  color: white;
  opacity: 0.6;
  text-decoration: none;
  transition: all 0.3s;
}

.servicios-lista .servicio a:hover {
  opacity: 1;
}

.services .card.service-desc {
  background: none;
  border: none;
}

.services .card.service-desc .card-title {
  text-transform: uppercase;
  display: grid;
  grid-template-columns: auto auto;
}

.services .card.service-desc .card-title h1 {
  font-size: 1.4rem;
  line-height: 1;
  align-self: end;
}

.services .card.service-desc .card-title .service-icon {
  height: 50px;
  width: auto;
  align-self: end;
  justify-self: right;
  margin-bottom: 0.8rem;
}

.services.section-light-grey .card.service-desc .card-title {
  border-bottom: solid 3px #ff6805;
}

.services.section-light-grey .totop {
  color: #ff6805;
}

.services.section-dark-grey .card.service-desc .card-title {
  border-bottom: solid 3px #f9f9f9;
}

.services.section-dark-grey .totop,
.services.section-orange .totop {
  color: #f9f9f9;
}

.totop {
  display: block;
  text-align: right;
  margin-top: 2rem;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.totop:hover {
  text-decoration: none;
  opacity: 0.7;
}

.services.section-orange .card.service-desc .card-title h1 {
  color: #f9f9f9;
}

.services.section-orange .card.service-desc .card-title {
  border-bottom: solid 3px #f9f9f9;
}

.services.section-dark-grey .card .card-text p {
  color: #f9f9f9;
}

.map {
  width: 100%;
  min-height: 400px;
  position: relative;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.map:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: #ff6805;
}

.map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.map-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
}

.map-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #ff6805;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: 1px solid #ff6805;
}

.map-link:hover {
  background: #ff6805;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 104, 5, 0.3);
}

.commercial_info {
  color: #4d4d4d;
}

.commercial_info a {
  color: #ff6805;
}

@media (max-width: 991.98px) {
  .container {
    max-width: 80%;
  }

  nav .nav-item a {
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 90%;
  }

  nav .navbar-nav {
    margin-top: 4rem;
  }

  nav .nav-item a {
    font-size: 1rem;
  }

  .navc2a {
    height: 40px;
    line-height: 40px;
  }

  .top-c2a {
    font-size: 1rem;
  }

  nav.navbar-fixed-top {
    padding-top: 55px;
  }

  main section:first-child {
    padding-top: 100px;
  }

  section h1 {
    font-size: 2rem;
    line-height: 1;
  }

  section h2 {
    font-size: 1rem;
  }

  section p {
    font-size: 0.8rem;
    text-align: justify;
  }

  section p.text-small {
    font-size: 0.75rem;
  }

  section .section-pic-container {
    text-align: right;
  }

  section .section-pic {
    max-width: 250px;
    height: auto;
    position: relative;
    right: 0px;
  }

  section.greeting .greeting-logo {
    max-width: 200px;
    justify-self: center;
  }

  section.greeting .logos {
    display: grid;
    align-items: center;
    justify-content: center;
  }

  section.greeting .logo {
    width: 90%;
    max-width: 200px;
    height: auto;
  }

  section.industries .industry-icon {
    display: grid;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    align-content: center;
    align-items: center;
    justify-items: center;
    padding-top: 2rem;
    width: 50%;
  }

  section.industries .industry-icon img {
    max-width: 50%;
    height: auto;
    margin-bottom: 1rem;
  }

  section .section-drop {
    width: 30%;
  }

  footer {
    padding-top: 2rem;
  }

  footer ul.footer-navbar-nav {
    display: none;
  }
}

/* Specific fixes for in-app browsers like LinkedIn */
@media screen and (max-width: 480px) {

  body,
  html {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .container {
    max-width: 90%;
    padding-left: 15px;
    padding-right: 15px;
  }

  nav.navbar-fixed-top {
    padding-top: 45px;
  }

  .navc2a {
    height: 35px;
    line-height: 35px;
  }

  .top-c2a {
    font-size: 0.85rem;
  }

  nav .nav-logo {
    width: 100px;
  }

  main section:first-child {
    padding-top: 90px;
  }

  section h1 {
    font-size: 1.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  section h2 {
    font-size: 0.95rem;
  }

  section p {
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}