:root {
  --blue: #0795ff;
  --blue-deep: #0562ae;
  --blue-soft: #62c0ff;
  --green: #25d366;
  --ink: #04080d;
  --ink-2: #07111b;
  --panel: #0a1723;
  --panel-2: #0d1c29;
  --line: #203242;
  --text: #f6f9fc;
  --muted: #a9bac9;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 11px 15px;
  background: #fff;
  color: #000;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: 84px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(3, 8, 13, 0.96), rgba(3, 8, 13, 0.72));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand img {
  width: 59px;
  height: 31px;
  object-fit: contain;
}

.brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 2.6px;
}

.brand small {
  margin-top: 5px;
  color: #9fb0bf;
  font-size: 7px;
  letter-spacing: 1.6px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  color: #becbd6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.primary-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-link,
.header-whatsapp {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #405262;
  color: #dce7ef;
}

.icon-link {
  width: 38px;
}

.header-whatsapp {
  gap: 8px;
  padding: 0 13px;
  border-color: rgba(37, 211, 102, 0.52);
  color: #dfffea;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.header-phone {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #435463;
  line-height: 1;
}

.header-phone small {
  color: #91a5b6;
  font-size: 7px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.header-phone strong {
  margin-top: 6px;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("tep-hero-v2.webp") center / cover no-repeat;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 10, 0.97) 0%, rgba(2, 7, 12, 0.87) 42%, rgba(2, 7, 12, 0.18) 76%),
    linear-gradient(0deg, #04080d 0%, transparent 34%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(690px, 86vw);
  margin-left: max(calc((100vw - var(--max)) / 2), 6vw);
  padding: 110px 0 120px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  margin-right: 11px;
  display: inline-block;
  vertical-align: middle;
  background: var(--blue);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(49px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin: 25px 0 0;
  color: #c8d4dd;
  font-size: clamp(16px, 1.35vw, 19px);
}

.hero-actions,
.contact-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 50px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #657785;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
}

.button.secondary {
  background: rgba(7, 17, 27, 0.82);
}

.button.light {
  border-color: #fff;
  background: #fff;
  color: #07111b;
}

.button.whatsapp-button {
  border-color: var(--green);
  background: rgba(13, 54, 29, 0.85);
}

.hero-note {
  margin: 25px 0 0;
  color: #9eafbd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-note span {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #54f69a;
  box-shadow: 0 0 12px #54f69a;
}

.trust-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  min-height: 94px;
  padding: 0 max(calc((100vw - var(--max)) / 2), 6vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: linear-gradient(90deg, #0679d2, #0998ff);
}

.trust-strip > div {
  min-height: 47px;
  padding: 4px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.27);
}

.trust-strip > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-strip strong {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.trust-strip span {
  margin-top: 2px;
  color: #d9eeff;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.services-section {
  padding: 112px max(calc((100vw - var(--max)) / 2), 6vw) 120px;
  background:
    radial-gradient(circle at 8% 25%, rgba(7, 149, 255, 0.08), transparent 28%),
    var(--ink-2);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 61px);
  line-height: 1.04;
  letter-spacing: -2.2px;
  text-transform: uppercase;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
}

.service-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  position: relative;
  min-height: 265px;
  padding: 29px 25px 26px;
  overflow: hidden;
  background: var(--panel);
}

.service-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform 180ms ease;
}

.service-card:hover {
  background: var(--panel-2);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card svg {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px;
  max-height: 34px;
  color: var(--blue-soft);
  fill: none !important;
  flex: 0 0 34px;
}

.service-number {
  position: absolute;
  top: 26px;
  right: 24px;
  color: #486071;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.service-card h3 {
  min-height: 38px;
  margin: 24px 0 10px;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: #9eafbd;
  font-size: 13px;
  line-height: 1.55;
}

.path-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.path-card {
  min-height: 350px;
  padding: clamp(34px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.path-card h3 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.06;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.path-card > p:not(.eyebrow) {
  max-width: 530px;
  margin: 18px 0 0;
  font-size: 14px;
}

.service-path {
  border: 1px solid var(--line);
  background: #08131e;
}

.service-path > p:not(.eyebrow) {
  color: var(--muted);
}

.equipment-path {
  background: linear-gradient(150deg, #0795ff, #07539a);
}

.equipment-path .eyebrow {
  color: #e4f4ff;
}

.equipment-path .eyebrow::before {
  background: #fff;
}

.equipment-path-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.equipment-path .button {
  width: fit-content;
}

.equipment-inquiry-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.equipment-inquiry-link span {
  margin-left: 6px;
}

.text-link {
  width: fit-content;
  margin-top: 27px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.text-link span {
  margin-left: 8px;
  color: var(--blue-soft);
}

.contact-section {
  padding: 110px max(calc((100vw - var(--max)) / 2), 6vw);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  background:
    radial-gradient(circle at 72% 130%, rgba(7, 149, 255, 0.58), transparent 40%),
    #050b11;
}

.contact-section > div:first-child > p:last-child {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
}

.contact-actions {
  margin: 0;
  flex-direction: column;
}

.contact-actions .button {
  width: 100%;
}

footer {
  padding: 46px max(calc((100vw - var(--max)) / 2), 6vw) 32px;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 35px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #03070b;
  color: #8295a4;
}

.footer-brand {
  margin: 0;
  color: #fff;
}

footer > p {
  margin: 0;
  font-size: 10px;
}

footer nav {
  display: flex;
  gap: 20px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

footer > small {
  grid-column: 1 / -1;
  padding-top: 21px;
  border-top: 1px solid #17232d;
  font-size: 9px;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 1050px) {
  .primary-nav {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 220px;
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: 56px;
  }

  .site-header {
    height: 72px;
    padding: 0 15px;
    gap: 10px;
  }

  .brand > span,
  .header-whatsapp span,
  .header-phone small {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 27px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-whatsapp,
  .icon-link {
    width: 35px;
    height: 35px;
    padding: 0;
  }

  .header-phone {
    padding-left: 9px;
  }

  .header-phone strong {
    margin: 0;
    font-size: 10px;
  }

  .hero {
    min-height: 795px;
    align-items: flex-start;
  }

  .hero-media {
    background-position: 67% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 6, 10, 0.95), rgba(2, 7, 12, 0.66) 82%),
      linear-gradient(0deg, #04080d 0%, transparent 48%);
  }

  .hero-inner {
    width: auto;
    margin: 0 20px;
    padding: 122px 0 170px;
  }

  .hero h1 {
    max-width: 530px;
    font-size: clamp(42px, 11.5vw, 58px);
    letter-spacing: -2px;
  }

  .hero-copy {
    max-width: 520px;
  }

  .trust-strip {
    min-height: 116px;
    padding: 13px 20px;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .trust-strip > div {
    min-height: 44px;
    padding: 5px 12px;
  }

  .trust-strip > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .services-section {
    padding: 78px 20px 85px;
  }

  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading > p {
    max-width: 620px;
  }

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

  .contact-section {
    padding: 84px 20px;
  }

  footer {
    padding: 42px 20px 32px;
    grid-template-columns: 1fr;
    gap: 23px;
  }

  footer > small {
    grid-column: auto;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    height: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #06101a;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #263a4a;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
  }

  .mobile-action-bar a:last-child {
    border-top-color: var(--green);
    background: #0c3b21;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    line-height: 1.6;
  }

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

  .service-card {
    min-height: 0;
    padding: 25px 22px 27px;
  }

  .service-card h3 {
    min-height: 0;
    margin-top: 18px;
  }

  .path-card {
    min-height: 0;
    padding: 38px 26px;
  }

  .equipment-path .button,
  .equipment-inquiry-link {
    width: 100%;
  }

  .equipment-inquiry-link {
    padding: 10px 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
