/* GL Agentes Aduanales — personalización corporativa sobre Bootstrap 5.3.8 */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --background-color: #ffffff;
  --default-color: #2c3444;
  --heading-color: #172342;
  --accent-color: #4664ad;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --brand-navy: #172342;
  --brand-blue: #4664ad;
  --brand-blue-light: #8da8ea;
  --brand-ink: #181a1f;
  --brand-muted: #657086;
  --brand-line: #e3e8f1;
}

.light-background {
  --background-color: #f5f7fb;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0d1830;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #172b51;
  --contrast-color: #ffffff;
}

body {
  letter-spacing: -0.005em;
}

p {
  line-height: 1.72;
}

.section {
  padding: 82px 0;
}

.header {
  padding: 10px 0;
  background: rgba(10, 20, 42, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scrolled .header {
  background: rgba(10, 20, 42, 0.96);
}

.header .logo img {
  max-height: 62px;
  width: auto;
  margin: 0;
}

.header .btn-getstarted,
.header .btn-getstarted:focus,
.btn-brand {
  color: #fff;
  background: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  border-radius: 7px;
  font-weight: 700;
  padding: 12px 24px;
  box-shadow: 0 10px 24px rgba(70, 100, 173, 0.26);
}

.header .btn-getstarted:hover,
.btn-brand:hover {
  color: #fff;
  background: #5876bb;
  border-color: #5876bb;
  transform: translateY(-1px);
}

.navmenu a,
.navmenu a:focus {
  font-weight: 600;
}

.hero {
  min-height: 100vh;
  padding: 150px 0 85px;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 13, 29, 0.96) 0%, rgba(12, 26, 55, 0.89) 52%, rgba(12, 26, 55, 0.48) 100%);
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.3rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 12px 0 24px;
  letter-spacing: -0.035em;
}

.hero p {
  font-size: 1.12rem;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-kicker,
.section-eyebrow,
.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker,
.eyebrow-light {
  color: #a9bef3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 25px;
}

.hero-actions .btn {
  padding: 13px 25px;
  font-weight: 700;
  border-radius: 7px;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.42);
}

.hero .hero-stats {
  margin-top: 12px;
}

.hero .stats-item {
  padding: 12px 5px;
}

.hero .stats-item span {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.hero .stats-item p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 7px 0 0;
}

.featured-services .service-item {
  padding: 25px 20px;
  border-radius: 16px;
  transition: 0.3s ease;
}

.featured-services .service-item:hover {
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 35, 66, 0.09);
  transform: translateY(-4px);
}

.featured-services .service-item .icon i {
  color: var(--brand-blue);
}

.about .content h2,
.feature-story h2,
.clients-intro h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.18;
  margin: 12px 0 20px;
  font-weight: 750;
}

.about-list {
  padding: 0;
  margin: 26px 0 30px;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.about-list li > i {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  color: var(--brand-blue);
  font-size: 1.65rem;
  background: #edf1fb;
  border-radius: 14px;
}

.about-list h5 {
  font-size: 1.08rem;
  margin: 1px 0 5px;
  font-weight: 750;
}

.about-list p {
  margin: 0;
  color: var(--brand-muted);
}

.video-shell {
  background: #07101f;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 65px rgba(12, 23, 48, 0.22);
}

.corporate-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #07101f;
}

.video-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 600;
}

.video-caption i {
  color: #a9bef3;
  font-size: 1.1rem;
}

.section-title {
  padding-top: 0;
  margin-bottom: 38px;
}

.section-title h2 {
  color: var(--brand-navy);
  font-size: clamp(2rem, 3vw, 2.7rem);
  text-transform: none;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.section-title span {
  position: static;
  display: block;
  color: var(--brand-blue);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.section-title p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--brand-muted);
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(23, 35, 66, 0.06);
  transition: 0.35s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(23, 35, 66, 0.13);
}

.service-image {
  height: 225px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.service-body {
  padding: 27px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-top: -52px;
  margin-bottom: 17px;
  position: relative;
  color: #fff;
  background: var(--brand-blue);
  border: 4px solid #fff;
  border-radius: 13px;
  font-size: 1.15rem;
  box-sizing: content-box;
}

.service-card h3 {
  font-size: 1.23rem;
  font-weight: 750;
}

.service-card p {
  color: var(--brand-muted);
  margin-bottom: 18px;
}

.service-card a {
  font-weight: 700;
}

.process-card,
.value-card,
.industry-card,
.stat-box {
  height: 100%;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(23, 35, 66, 0.055);
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card > span {
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(70, 100, 173, 0.12);
  font-size: 2.6rem;
  font-weight: 800;
}

.process-card > i,
.value-card > i,
.industry-card > i {
  color: var(--brand-blue);
  font-size: 2.15rem;
  margin-bottom: 18px;
  display: inline-block;
}

.process-card h4,
.value-card h3,
.industry-card h4 {
  font-size: 1.15rem;
  font-weight: 750;
}

.process-card p,
.value-card p {
  color: var(--brand-muted);
  margin: 0;
}

.client-chip,
.client-name {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  padding: 17px 19px;
  color: var(--brand-navy);
  font-weight: 650;
  box-shadow: 0 7px 22px rgba(23, 35, 66, 0.045);
}

.client-chip i,
.client-name i {
  color: var(--brand-blue);
  font-size: 1.25rem;
}

.call-to-action {
  position: relative;
  overflow: hidden;
  background: #0d1830;
}

.call-to-action:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(9, 18, 39, 0.94), rgba(19, 40, 77, 0.8));
}

.call-to-action .cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.call-to-action .container {
  z-index: 2;
}

.call-to-action h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 12px 0 16px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.call-to-action .cta-btn {
  margin: 0;
  font-weight: 700;
  border-radius: 7px;
}

.call-to-action .cta-btn-outline {
  background: transparent;
}

.faq .faq-item {
  position: relative;
  padding: 23px 55px 23px 24px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(23, 35, 66, 0.045);
  overflow: hidden;
}

.faq .faq-item h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 750;
  margin: 0;
  cursor: pointer;
}

.faq .faq-item .num {
  color: var(--brand-blue);
}

.faq .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease;
}

.faq .faq-item .faq-content p {
  overflow: hidden;
  margin: 0;
  padding-top: 0;
  color: var(--brand-muted);
}

.faq .faq-item .faq-toggle {
  position: absolute;
  right: 22px;
  top: 24px;
  color: var(--brand-blue);
  cursor: pointer;
  transition: 0.3s;
}

.faq .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
}

.faq .faq-item.faq-active .faq-content p {
  padding-top: 15px;
}

.faq .faq-item.faq-active .faq-toggle {
  transform: rotate(90deg);
}

.page-title {
  padding: 175px 0 90px;
  background-position: center;
}

.page-title:before {
  background: linear-gradient(90deg, rgba(8, 17, 37, 0.9), rgba(18, 37, 72, 0.74));
}

.page-title h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 15px;
}

.page-title p {
  max-width: 780px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.82);
}

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

.stat-box span {
  display: block;
  color: var(--brand-blue);
  font-size: 2.65rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-box p {
  margin: 0;
  font-weight: 650;
  color: var(--brand-navy);
}

.story-image,
.detail-image {
  width: 100%;
  box-shadow: 0 18px 55px rgba(23, 35, 66, 0.14);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
}

.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
}

.check-list i {
  color: var(--brand-blue);
  margin-top: 3px;
}

.list-service {
  display: flex;
  gap: 20px;
  height: 100%;
  padding: 27px;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 15px;
  box-shadow: 0 9px 30px rgba(23, 35, 66, 0.055);
}

.list-service > i {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  background: #edf1fb;
  color: var(--brand-blue);
  border-radius: 14px;
  font-size: 1.5rem;
}

.list-service h4 {
  font-size: 1.08rem;
  margin-bottom: 7px;
  font-weight: 750;
}

.list-service p {
  margin: 0;
  color: var(--brand-muted);
}

.service-detail-block {
  scroll-margin-top: 92px;
}

.service-number {
  display: inline-block;
  color: rgba(70, 100, 173, 0.15);
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 4px;
}

.detail-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-left: 14px;
  color: #fff;
  background: var(--brand-blue);
  border-radius: 14px;
  font-size: 1.25rem;
  vertical-align: top;
}

.service-detail-block h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 750;
  margin-bottom: 16px;
}

.industry-card {
  text-align: center;
  padding: 34px 20px;
}

.industry-card > i {
  font-size: 2.6rem;
}

.quote-shell {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(23, 35, 66, 0.12);
}

.quote-visual {
  position: relative;
  min-height: 720px;
  background-size: cover;
  background-position: center;
}

.quote-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 46, 0.55), rgba(10, 22, 46, 0.94));
}

.quote-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 45px;
  color: #fff;
}

.quote-overlay h2 {
  color: #fff;
  font-size: 2.35rem;
  margin: 12px 0 18px;
}

.quote-overlay ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.quote-overlay li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.quote-form,
.contact-form {
  padding: 42px;
}

.quote-form h3,
.contact-form h3 {
  font-size: 1.75rem;
  font-weight: 750;
}

.quote-form .form-control,
.quote-form .form-select,
.contact-form .form-control {
  min-height: 50px;
  border-color: #dce2ed;
  border-radius: 8px;
}

.quote-form textarea.form-control,
.contact-form textarea.form-control {
  min-height: auto;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus,
.contact-form .form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(70, 100, 173, 0.12);
}

.quote-form button[type="submit"],
.contact-form button[type="submit"] {
  border: 0;
  padding: 13px 28px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-blue);
  font-weight: 700;
}

.form-subtitle {
  font-size: 1.1rem;
  padding-top: 6px;
  border-top: 1px solid var(--brand-line);
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--brand-muted);
  margin: 12px 0 0;
}

.contact-panel {
  height: 100%;
  padding: 35px;
  color: #fff;
  background: var(--brand-navy);
  border-radius: 18px;
}

.contact-panel .info-item {
  gap: 18px;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel .info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel .info-item > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgba(141, 168, 234, 0.18);
  border-radius: 13px;
  font-size: 1.3rem;
}

.contact-panel h4,
.contact-panel a {
  color: #fff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 6px;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.legal-content article {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  padding: clamp(25px, 5vw, 55px);
  box-shadow: 0 18px 55px rgba(23, 35, 66, 0.08);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 30px;
}

.footer .footer-about .logo img {
  max-height: 92px;
  width: auto;
  margin: 0 0 8px;
}

.footer a {
  color: rgba(255, 255, 255, 0.74);
}

.footer a:hover,
.footer .credits a {
  color: #b4c6f1;
}

.footer-slogan {
  color: #b4c6f1;
  font-weight: 750;
}

.footer .copyright {
  padding-top: 26px;
  padding-bottom: 26px;
}

.footer .copyright p {
  margin-bottom: 4px;
}

.whatsapp-float {
  position: fixed;
  visibility: visible;
  opacity: 1;
  right: 20px;
  bottom: 72px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  font-size: 1.55rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:hover {
  color: #fff;
  background: #20bd5a;
  transform: translateY(-2px);
}

@media (max-width: 1199px) {
  .header .logo img {
    max-height: 54px;
  }

  .header .btn-getstarted {
    margin-right: 48px;
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .hero:before {
    background: rgba(7, 15, 33, 0.88);
  }

  .hero-visual img {
    aspect-ratio: 16 / 9;
  }

  .quote-visual {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 62px 0;
  }

  .header {
    padding: 7px 0;
  }

  .header .logo img {
    max-height: 47px;
  }

  .header .btn-getstarted {
    padding: 8px 11px;
    font-size: 0.72rem;
    margin-right: 42px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .page-title {
    padding: 140px 0 70px;
  }

  .quote-form,
  .contact-form,
  .contact-panel,
  .quote-overlay {
    padding: 27px;
  }

  .quote-visual {
    min-height: 430px;
  }

  .service-image {
    height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
