@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #f2f6fb;
  --surface-dark: #12223a;
  --surface-darker: #0f1c2f;
  --text: #18314f;
  --text-soft: #6f8098;
  --text-inverse: #ffffff;
  --border: #d9e4f2;
  --border-strong: #c8d9ef;
  --blue: #0f2742;
  --blue-accent: #0f6cff;
  --blue-soft: rgba(15, 108, 255, 0.1);
  --red: #ed1c24;
  --shadow-soft: 0 18px 42px rgba(15, 39, 66, 0.1);
  --shadow-card: 0 18px 36px rgba(15, 39, 66, 0.08);
  --shadow-hero: 0 16px 32px rgba(7, 18, 34, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: 1120px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  width: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section[id] {
  scroll-margin-top: 96px;
}

.reveal-enabled .reveal-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-heading,
.about-copy-panel,
.quote-copy {
  text-align: center;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 32px;
}

.section-heading.compact {
  max-width: 880px;
}

.section-heading h2,
.about-copy-panel h2,
.quote-copy h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(42px, 4vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p,
.about-copy-panel p,
.quote-copy p,
.service-flashcard p,
.industry-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.62;
}

.section-heading p {
  max-width: 760px;
  margin: 14px auto 0;
}

.section-badge,
.section-kicker,
.industry-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 40px;
  margin: 0 auto 18px;
  padding: 0 16px;
  border: 1px solid rgba(15, 108, 255, 0.26);
  border-radius: 999px;
  background: rgba(15, 108, 255, 0.06);
  color: var(--blue-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #c9101b 0%, var(--red) 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 20px 40px rgba(237, 28, 36, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn::after {
  content: "\2192";
  font-size: 15px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(237, 28, 36, 0.28);
  filter: brightness(1.03);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 39, 66, 0.08);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 112px;
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(15, 39, 66, 0.1);
  border-radius: 999px;
  background: rgba(246, 249, 253, 0.92);
  box-shadow: 0 12px 28px rgba(15, 39, 66, 0.08);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(15, 108, 255, 0.08);
}

.main-nav .nav-contact {
  background: linear-gradient(135deg, #c9101b 0%, var(--red) 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(237, 28, 36, 0.18);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 39, 66, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(15, 39, 66, 0.1);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }

.menu-toggle.is-open span:nth-child(1) {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

.tegar-hero {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(600px, 46vw, 760px);
  padding: 116px 0 136px;
  background:
    linear-gradient(90deg, rgba(8, 28, 56, 0.92) 0%, rgba(8, 28, 56, 0.82) 34%, rgba(8, 28, 56, 0.42) 60%, rgba(8, 28, 56, 0.08) 100%),
    url("../images/hero-tegar-day-21x9.webp?v=20260601-opt1") 61% 48% / cover no-repeat;
}

.tegar-hero > .container {
  padding-left: 20px;
  padding-right: 20px;
}

.hero-content {
  width: min(100%, 560px);
  max-width: 560px;
}

.text-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 336px;
  margin: 0 0 24px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.text-route-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.text-route-badge span + span::before {
  content: "\00b7";
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.text-route-badge img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
}

.tegar-hero h1 {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(60px, 5vw, 88px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-red-word {
  color: var(--red);
  font-style: italic;
}

.tegar-hero p {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}

.tegar-hero .btn {
  margin-top: 30px;
}

.metrics-strip-section {
  width: min(calc(100% - 48px), 1120px);
  margin: -78px auto 0;
  position: relative;
  z-index: 5;
}

.metrics-strip {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(180deg, #163056 0%, #112543 100%);
  border: 1px solid rgba(98, 169, 255, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}

.metric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 12px;
  min-height: 78px;
  text-align: center;
}

.metric-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: calc(100% - 30px);
  transform: translateY(-50%);
  background: linear-gradient(
    180deg,
    rgba(116, 185, 255, 0) 0%,
    rgba(116, 185, 255, 0.16) 20%,
    rgba(116, 185, 255, 0.36) 50%,
    rgba(116, 185, 255, 0.16) 80%,
    rgba(116, 185, 255, 0) 100%
  );
}

.metric-card:last-child::after {
  display: none;
}

.metric-card img {
  width: 18px;
  height: 18px;
  filter: invert(31%) sepia(99%) saturate(2905%) hue-rotate(212deg) brightness(100%) contrast(101%);
}

.metric-card strong {
  color: #ffffff;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  min-width: 92px;
}

.metric-card p {
  color: rgba(232, 239, 248, 0.76);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.15;
}

.about-section {
  padding-top: 94px;
}

.services-section,
.clients-section,
.coverage-section,
.units-section,
.quote-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.about-layout {
  max-width: 900px;
  margin: 0 auto;
}

.about-copy-panel h2 {
  max-width: 820px;
  margin: 0 auto;
}

.about-copy-panel p {
  max-width: 760px;
  margin: 14px auto 0;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-flashcard {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-flashcard:hover,
.service-flashcard:focus-within {
  transform: translateY(-4px);
  border-color: rgba(15, 108, 255, 0.22);
  box-shadow: 0 22px 42px rgba(15, 39, 66, 0.12);
}

.service-flashcard figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe8f3;
}

.service-flashcard figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.service-flashcard:hover figure img,
.service-flashcard:focus-within figure img {
  transform: scale(1.04);
}

.service-flashcard figure span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 35, 58, 0.92);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-flashcard > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 22px 22px;
  text-align: center;
}

.service-flashcard > div p {
  max-width: 30ch;
  margin: 0 auto;
}

.service-flashcard h3,
.industry-card h3,
.unit-diagram-card h3 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(28px, 2vw, 40px);
  line-height: 0.98;
  text-transform: uppercase;
}

.clients-section .container {
  overflow: hidden;
}

.coverage-industries {
  width: 100%;
}

.industry-carousel {
  position: relative;
  margin-top: 24px;
}

.industry-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.industry-carousel-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(15, 39, 66, 0.06);
}

.industry-carousel-arrow:disabled {
  opacity: 0.42;
  cursor: default;
}

.industry-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.industry-carousel-track::-webkit-scrollbar {
  display: none;
}

.industry-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.industry-card:hover,
.industry-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(15, 108, 255, 0.18);
  box-shadow: 0 20px 40px rgba(15, 39, 66, 0.1);
}

.industry-card figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf1f9;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.industry-card:hover img,
.industry-card:focus-within img {
  transform: scale(1.04);
}

.industry-card > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 18px;
  text-align: center;
}

.coverage-content {
  display: flex;
  justify-content: center;
}

.coverage-layout {
  width: 100%;
}

.coverage-map,
.route-map-stage {
  width: min(100%, 480px);
  margin: 0 auto;
}

.route-map-stage {
  position: relative;
}

.route-map-stage img {
  width: 100%;
  height: auto;
}

.route-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(237, 28, 36, 0.14);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.route-hotspot::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(237, 28, 36, 0.24);
  border-radius: 999px;
  animation: pulse 2s infinite ease-out;
}

.route-hotspot span {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 35, 58, 0.94);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.route-hotspot:hover,
.route-hotspot:focus-visible,
.route-hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 0 10px rgba(237, 28, 36, 0.18);
}

.route-hotspot:hover span,
.route-hotspot:focus-visible span,
.route-hotspot.is-active span {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

.point-lima {
  left: 18%;
  top: 32.1%;
}

.point-santiago {
  left: 28.8%;
  top: 60.4%;
}

.point-buenos-aires {
  left: 50.1%;
  top: 61.2%;
}

.service-units {
  width: 100%;
}

.unit-diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.unit-diagram-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 18px 18px 22px;
  text-align: center;
}

.unit-diagram-card img {
  width: 100%;
  height: auto;
}

.unit-diagram-card h3 {
  margin-top: 10px;
  font-size: clamp(24px, 1.85vw, 34px);
}

.quote-section {
  padding-bottom: 70px;
}

.quote-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 32px 30px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #eff4fb 100%);
  box-shadow: 0 26px 60px rgba(15, 39, 66, 0.08);
}

.quote-copy {
  max-width: 620px;
  margin: 0 auto 20px;
  text-align: center;
}

.quote-copy h2 {
  text-align: center;
}

.quote-copy p {
  max-width: 520px;
  margin: 14px auto 0;
  text-align: center;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}

.quote-form .btn,
.quote-form .quote-trust,
.quote-form .form-status,
.quote-form textarea,
.quote-form .quote-char-count {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
}

.quote-form textarea {
  min-height: 92px;
  padding: 14px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(15, 108, 255, 0.16);
  border-color: rgba(15, 108, 255, 0.34);
}

.quote-char-count {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
}

.quote-form .btn {
  justify-self: center;
  min-width: 140px;
  min-height: 46px;
}

.quote-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: -2px;
}

.quote-trust span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.quote-trust span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.12);
}

.form-status {
  min-height: 20px;
  font-size: 13px;
  text-align: center;
}

.form-status.is-success {
  color: #1b8f4b;
}

.form-status.is-error {
  color: #c63137;
}

.site-footer {
  padding: 34px 0 28px;
  border-top: 1px solid rgba(15, 39, 66, 0.08);
  background: #ffffff;
}

.footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.footer-brand a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 700;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 39, 66, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 108, 255, 0.24);
  box-shadow: 0 14px 26px rgba(15, 39, 66, 0.08);
}

.footer-socials img {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  margin: 0;
  color: #8a97ab;
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.18);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.72;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@media (min-width: 1600px) {
  .tegar-hero {
    background:
      linear-gradient(90deg, rgba(8, 28, 56, 0.92) 0%, rgba(8, 28, 56, 0.82) 34%, rgba(8, 28, 56, 0.4) 60%, rgba(8, 28, 56, 0.08) 100%),
      url("../images/hero-tegar-day-21x9.webp?v=20260601-opt1") 59% 48% / cover no-repeat;
  }
}

@media (max-width: 1100px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-carousel-track {
    grid-auto-columns: calc((100% - 20px) / 2);
    gap: 20px;
  }

  .unit-diagram-grid,
  .quote-card {
    grid-template-columns: 1fr;
  }

  .quote-copy,
  .quote-copy h2,
  .quote-copy p {
    text-align: center;
  }
}

@media (max-width: 980px) {
  .nav-container {
    min-height: 78px;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(15, 39, 66, 0.14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(15, 39, 66, 0.08);
    border-radius: 14px;
    background: #f5f8fc;
  }

  .main-nav .nav-contact {
    justify-content: center;
    border-color: transparent;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .tegar-hero {
    min-height: clamp(540px, 72vw, 700px);
    height: auto;
    padding-bottom: 128px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), 420px);
  }

  .section {
    padding: 42px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .about-copy-panel h2,
  .quote-copy h2 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 0.98;
  }

  .section-heading p,
  .about-copy-panel p,
  .quote-copy p,
  .service-flashcard p,
  .industry-card p {
    font-size: 15px;
    line-height: 1.5;
  }

  .section-badge,
  .section-kicker,
  .industry-bubble {
    min-height: 36px;
    margin-bottom: 14px;
    padding: 0 14px;
    font-size: 13px;
  }

  .logo img {
    width: 92px;
  }

  .tegar-hero {
    min-height: clamp(620px, calc(100svh - 228px), 700px);
    padding-top: 64px;
    padding-bottom: 76px;
    background:
      linear-gradient(180deg, rgba(8, 28, 56, 0.92) 0%, rgba(8, 28, 56, 0.78) 42%, rgba(8, 28, 56, 0.46) 100%),
      url("../images/hero-tegar-day-21x9.webp?v=20260601-opt1") 60% 42% / cover no-repeat;
  }

  .hero-content {
    width: min(100%, 324px);
    max-width: 324px;
  }

  .text-route-badge {
    min-width: 0;
    margin-bottom: 14px;
    padding: 6px 11px;
    gap: 9px;
  }

  .text-route-badge span {
    font-size: 11px;
  }

  .text-route-badge span + span::before {
    margin-right: 9px;
  }

  .tegar-hero h1 {
    max-width: 320px;
    font-size: clamp(40px, 10.2vw, 49px);
    line-height: 0.92;
  }

  .tegar-hero p {
    max-width: 310px;
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.38;
  }

  .tegar-hero .btn {
    min-width: 0;
    margin-top: 20px;
    padding: 14px 26px;
  }

  .metrics-strip-section {
    width: min(calc(100% - 28px), 420px);
    margin-top: -152px;
  }

  .metrics-strip {
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card {
    padding: 8px 6px;
    min-height: 68px;
  }

  .metric-card img {
    width: 16px;
    height: 16px;
  }

  .metric-card strong {
    font-size: clamp(15px, 4.2vw, 19px);
  }

  .metric-card p {
    font-size: 9px;
  }

  .metric-card:nth-child(2n)::after {
    display: none;
  }

  .service-card-grid,
  .unit-diagram-grid {
    grid-template-columns: 1fr;
  }

  .service-flashcard > div,
  .unit-diagram-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .industry-carousel {
    margin-top: 16px;
  }

  .industry-carousel-controls {
    margin-bottom: 12px;
  }

  .industry-carousel-arrow {
    width: 42px;
    height: 42px;
  }

  .industry-carousel-track {
    grid-auto-columns: minmax(260px, 86vw);
    gap: 16px;
  }

  .route-hotspot {
    width: 26px;
    height: 26px;
  }

  .route-hotspot span {
    min-height: 34px;
    font-size: 12px;
  }

  .quote-card {
    padding: 28px 18px;
  }

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

  .footer-brand strong {
    font-size: 34px;
  }

  .footer-brand p {
    font-size: 14px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-enabled .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
