:root {
  --primary: #e63e0f;
  --secondary: #0f1f52;
  --header-bg: #070e24;
  --header-bg-deep: #0b1024;
  --header-accent: #1b2e70;
  --header-text: #d6ddf7;
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --text: #0f172a;
  --muted: #5c6578;
  --card: #ffffff;
  --border: rgba(15, 31, 82, 0.1);
  --border-strong: rgba(15, 31, 82, 0.16);
  --shadow-sm: 0 4px 20px rgba(15, 31, 82, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 31, 82, 0.1);
  --icon-stroke: #2a4a8f;
  --success: #1e8a4a;
  --error: #c62828;
  --info: #1565c0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 52px 0;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-subtitle {
  margin: 0 auto 26px;
  max-width: 700px;
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

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

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

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: var(--secondary);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 6px;
  background: var(--secondary);
}

.hero--ml {
  padding: 0;
  margin: 0;
  min-height: 0;
  background: transparent;
}

.hero-banner {
  width: 100%;
}

.hero-banner--ml {
  background: #ffffff;
  padding: 0;
}

.hero-slider--mlskin {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
  overflow: visible;
  background: #ffffff;
  box-shadow: none;
}

.hero-slider-stage {
  position: relative;
  width: 100%;
}

.hero-slider--mlskin .hero-slider-viewport {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(15, 31, 82, 0.15);
  background: #ffffff;
  color: var(--secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-nav:hover {
  box-shadow: 0 4px 14px rgba(15, 31, 82, 0.18);
  color: var(--primary);
}

.hero-nav--prev {
  left: -6px;
}

.hero-nav--next {
  right: -6px;
}

@media (max-width: 768px) {
  .hero-nav {
    width: 38px;
    height: 38px;
  }

  .hero-nav--prev {
    left: 4px;
  }

  .hero-nav--next {
    right: 4px;
  }
}

.hero-slider[data-slides="1"] .hero-nav,
.hero-slider[data-slides="1"] .hero-slider-dots-wrap {
  display: none;
}

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

.hero-slider-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px 14px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  pointer-events: auto;
}

.hero-slider-bottom .hero-slider-cta,
.hero-slider-bottom .hero-slider-dots-wrap {
  pointer-events: auto;
}

.hero-slider-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-slider-dots-wrap {
  position: static;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-slider-dots-wrap .hero-slider-dots {
  pointer-events: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.hero-slider-dots-wrap .hero-slider-dot {
  background: rgba(15, 31, 82, 0.28);
}

.hero-slider-dots-wrap .hero-slider-dot.is-active {
  background: var(--secondary);
}

.hero-slider-dots-wrap .hero-slider-dot:focus-visible {
  outline: 2px solid var(--secondary);
}

.hero-slider-cta .btn-primary,
.btn-secondary--on-slide {
  color: #ffffff;
  background: var(--secondary);
  border: 1px solid #0a1438;
  box-shadow: 0 8px 22px rgba(15, 31, 82, 0.3);
}

.hero-slider-cta .btn-primary:hover,
.btn-secondary--on-slide:hover {
  background: var(--header-accent);
  border-color: #0a1438;
  box-shadow: 0 10px 26px rgba(15, 31, 82, 0.38);
}

.value-props-wrap {
  background: var(--bg);
  padding: 22px 0 28px;
  border-top: 1px solid var(--border);
}

.value-props {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.value-prop {
  text-align: center;
  padding: 8px 8px;
  border-right: 1px solid #e2e8f0;
}

.value-prop:last-child {
  border-right: none;
}

.value-prop-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  margin-bottom: 10px;
}

.value-prop-icon svg {
  width: 72px;
  height: 72px;
}

.value-prop h3 {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 1.35;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 13px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff5f1f, var(--primary));
  box-shadow: 0 14px 24px rgba(243, 74, 20, 0.35);
}

.btn-secondary {
  color: var(--secondary);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.hero-slider {
  position: relative;
  overflow: visible;
  background: transparent;
}

.hero-slider--full .hero-slider-viewport {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: clamp(300px, 54vh, 580px);
  min-height: 280px;
}

@media (max-width: 768px) {
  .hero-slider--full .hero-slider-viewport {
    aspect-ratio: 16 / 10;
    max-height: clamp(230px, 46vh, 400px);
    min-height: 220px;
  }
}

.hero-slides-track {
  --hero-count: 1;
  display: flex;
  width: calc(var(--hero-count) * 100%);
  height: 100%;
  transition: transform 0.45s ease-out;
  will-change: transform;
}

.hero-slide {
  margin: 0;
  flex: 0 0 calc(100% / var(--hero-count));
  min-width: 0;
  height: 100%;
  position: relative;
  background: #ffffff;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.hero-slider:not(.hero-slider--mlskin) .hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(7, 14, 36, 0.55);
}

.hero-slider--mlskin .hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider-dot.is-active {
  background: var(--secondary);
  transform: scale(1.15);
}

.hero-slider-dot:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.section--compact {
  padding: 32px 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ql-card {
  display: block;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
}

.ql-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 62, 15, 0.35);
}

.ql-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15, 31, 82, 0.08);
  color: var(--secondary);
  margin-bottom: 10px;
}

.ql-ico--wa {
  background: rgba(37, 211, 102, 0.15);
  color: #128c7e;
}

.ql-title {
  display: block;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.ql-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.section--map .section-subtitle {
  margin-bottom: 18px;
}

.map-panel {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.map-coverage {
  height: 360px;
  width: 100%;
  background: #e8edf5;
}

.map-legend {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.map-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 6px;
  vertical-align: middle;
}

.tnt-leaflet-marker {
  background: transparent;
  border: none;
}

.tnt-pin-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.leaflet-container {
  font-family: inherit;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.services-heading {
  text-align: center;
  margin-bottom: 18px;
}

.services-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(230, 62, 15, 0.1);
  border: 1px solid rgba(230, 62, 15, 0.35);
  color: #b8320a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-subtitle {
  margin-bottom: 0;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -70% -20%;
  height: 130px;
  background: radial-gradient(circle, rgba(230, 62, 15, 0.12), rgba(230, 62, 15, 0));
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 62, 15, 0.45);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(15, 31, 82, 0.06);
  border: 1px solid var(--border);
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.service-icon svg path,
.service-icon svg circle,
.service-icon svg rect {
  fill: none;
  stroke: var(--icon-stroke);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 8px;
}

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

.service-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-list li {
  margin: 4px 0;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-item {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 16px;
  min-height: 210px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 62, 15, 0.35);
}

.process-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff6f38, var(--primary));
  box-shadow: 0 8px 18px rgba(243, 74, 20, 0.35);
}

.process-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 31, 82, 0.06);
  border: 1px solid var(--border);
}

.process-icon svg {
  width: 36px;
  height: 36px;
}

.process-icon svg path,
.process-icon svg circle {
  fill: none;
  stroke: var(--icon-stroke);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-item h3 {
  margin: 0 0 8px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
  min-height: 0;
}

.about-content,
.about-visual {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.about-visual {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.about-subtitle,
.contact-subtitle {
  margin: 0 0 16px;
}

.about-highlights {
  display: grid;
  gap: 12px;
}

.about-chip {
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 13px 14px;
}

.about-chip strong {
  display: block;
  margin-bottom: 3px;
}

.about-chip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.about-logo-wrap {
  border-radius: 14px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.about-logo-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-logo-wrap--video {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 200px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--header-bg);
  border: 1px solid rgba(15, 31, 82, 0.25);
}

.about-brand-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-stat-grid {
  flex-shrink: 0;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-stat {
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 12px;
}

.about-stat strong {
  font-size: 1.4rem;
  display: block;
  line-height: 1.1;
}

.about-stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.application-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.form-panel,
.info-panel {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

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

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.field-error {
  display: block;
  min-height: 20px;
  color: #b91c1c;
  font-size: 0.82rem;
}

.form-feedback {
  margin-top: 12px;
  border-radius: 8px;
  padding: 11px 12px;
  font-weight: 600;
}

.form-feedback.success { background: rgba(30, 138, 74, 0.12); color: #166534; }
.form-feedback.error { background: rgba(198, 40, 40, 0.12); color: #991b1b; }
.form-feedback.info { background: rgba(21, 101, 192, 0.12); color: #1e40af; }

.contact-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.contact-list li {
  margin: 10px 0;
  color: var(--muted);
}

.contact-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.contact-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  right: -80px;
  top: -90px;
  background: radial-gradient(circle, rgba(230, 62, 15, 0.18), rgba(230, 62, 15, 0));
  animation: pulseGlow 4.2s ease-in-out infinite;
  pointer-events: none;
}

.contact-content,
.contact-cards {
  position: relative;
  z-index: 1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.mini-contact-card {
  border-radius: 14px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: floatCard 5s ease-in-out infinite;
}

.mini-contact-card:nth-child(2) {
  animation-delay: 0.35s;
}

.mini-contact-card:nth-child(3) {
  animation-delay: 0.7s;
}

.mini-contact-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.mini-contact-card p {
  margin: 0;
  color: var(--muted);
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.95); opacity: 0.72; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--muted);
  background: var(--bg);
}

.whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4);
  z-index: 60;
}

.whatsapp-btn svg {
  width: 28px;
  fill: white;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .application-layout,
  .about-layout,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .about-logo-wrap--video {
    min-height: min(48vh, 400px);
  }

  .value-props {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-prop {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
  }

  .value-prop:nth-child(2n) {
    border-left: 1px solid #e2e8f0;
  }

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

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

  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .value-props {
    grid-template-columns: 1fr;
  }

  .value-prop:nth-child(2n) {
    border-left: none;
  }
}

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

  .section--compact {
    padding: 28px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 16px;
    flex-direction: column;
  }

  .nav-links.open a {
    color: var(--secondary);
  }

  .nav-links.open a:hover {
    color: var(--primary);
  }

  .nav-links.open {
    display: flex;
  }

  .cards,
  .services-grid,
  .quick-links,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding: 18px 14px;
  }

  .about-stat-grid {
    grid-template-columns: 1fr;
  }
}
