:root {
  --blue-950: #07142a;
  --blue-900: #0a2147;
  --blue-800: #123a73;
  --blue-700: #1559a8;
  --orange-500: #f7a600;
  --orange-600: #e88f00;
  --steel-50: #f6f8fb;
  --steel-100: #e9eef5;
  --steel-300: #b8c3d3;
  --steel-700: #344154;
  --ink: #111827;
  --white: #ffffff;
  --green: #25d366;
  --shadow: 0 18px 50px rgba(7, 20, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 20, 42, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  height: 54px;
  width: 84px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--blue-950);
  box-shadow: 0 8px 24px rgba(7, 20, 42, 0.15);
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0;
  color: var(--blue-950);
}

.brand-kicker {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange-600);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(7, 20, 42, 0.12);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-950);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--steel-700);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--steel-50);
  color: var(--blue-900);
  outline: none;
}

.site-nav .language-link {
  border: 1px solid rgba(21, 89, 168, 0.18);
  color: var(--blue-800);
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 20, 42, 0.92) 0%, rgba(7, 20, 42, 0.76) 43%, rgba(7, 20, 42, 0.32) 100%),
    url("./malvin-hero-yard.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  background: linear-gradient(0deg, rgba(7, 20, 42, 0.95), rgba(7, 20, 42, 0));
}

.hero-content {
  display: grid;
  gap: 26px;
  padding: 82px 0 42px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border-left: 5px solid var(--orange-500);
  padding-left: 12px;
  color: #ffd372;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--orange-500);
  color: var(--blue-950);
}

.button-primary:hover {
  background: #ffc247;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-dark {
  background: var(--blue-900);
  color: var(--white);
}

.button-dark:hover {
  background: var(--blue-700);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.metric {
  min-height: 112px;
  padding: 22px;
  background: rgba(7, 20, 42, 0.48);
}

.metric strong {
  display: block;
  color: var(--orange-500);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: var(--steel-50);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(247, 166, 0, 0.1), rgba(21, 89, 168, 0.12)),
    var(--blue-950);
  color: var(--white);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  margin: 0;
  color: var(--steel-700);
  font-size: 17px;
  line-height: 1.75;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-950);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.intro-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.intro-list li {
  border-left: 4px solid var(--orange-500);
  padding: 8px 0 8px 14px;
  color: var(--steel-700);
  font-weight: 800;
}

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

.statement-card {
  border: 1px solid rgba(7, 20, 42, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
  padding: 18px;
  box-shadow: 0 14px 34px rgba(7, 20, 42, 0.07);
}

.statement-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.statement-card p {
  margin: 0;
  color: var(--steel-700);
  font-size: 14px;
  line-height: 1.6;
}

.grid-4,
.grid-3 {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid rgba(7, 20, 42, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 20, 42, 0.06);
}

.product-card {
  display: grid;
  min-height: 248px;
  align-content: start;
  padding: 24px;
}

.product-label {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(247, 166, 0, 0.14);
  padding: 7px 10px;
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3,
.solution-card h3,
.process-step h3,
.contact-card h3 {
  margin: 16px 0 10px;
  color: var(--blue-950);
  font-size: 20px;
  line-height: 1.2;
}

.product-card p,
.solution-card p,
.process-step p,
.contact-card p {
  margin: 0;
  color: var(--steel-700);
}

.solution-card {
  overflow: hidden;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution-card div {
  padding: 22px;
}

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

.process-step {
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--orange-500);
  color: var(--blue-950);
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}

.contact-card {
  padding: 24px;
}

.contact-card a {
  color: var(--blue-800);
  font-weight: 900;
}

.contact-visual {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(7, 20, 42, 0.1);
  background: var(--blue-950);
  box-shadow: var(--shadow);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: center top;
}

.legal-band {
  border-top: 1px solid rgba(7, 20, 42, 0.08);
  background: var(--white);
  padding: 34px 0;
}

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

.legal-grid h2 {
  margin: 0 0 8px;
  color: var(--blue-950);
  font-size: 18px;
}

.legal-grid p {
  margin: 0;
  color: var(--steel-700);
  font-size: 14px;
}

.site-footer {
  background: var(--blue-950);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.9fr;
  gap: 34px;
  padding: 56px 0;
}

.footer-logo {
  width: 190px;
  border-radius: 8px;
  background: #020817;
}

.footer-grid h2 {
  margin: 0 0 16px;
  color: var(--orange-500);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.footer-grid a {
  display: block;
  margin-top: 10px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.whatsapp-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  color: var(--white);
}

.whatsapp-message {
  max-width: 230px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 8px;
  background: rgba(7, 20, 42, 0.94);
  box-shadow: 0 12px 30px rgba(7, 20, 42, 0.22);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.whatsapp-icon {
  display: inline-flex;
  height: 56px;
  width: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.58), 0 14px 30px rgba(37, 211, 102, 0.38);
  animation: whatsapp-glow 2.2s ease-in-out infinite;
  font-weight: 900;
}

@keyframes whatsapp-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.58), 0 14px 30px rgba(37, 211, 102, 0.38);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 18px 36px rgba(37, 211, 102, 0.5);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(7, 20, 42, 0.1);
    border-radius: 8px;
    background: var(--white);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 72px;
  }

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

  .split,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .media-frame img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    height: 46px;
    width: 72px;
  }

  .brand-kicker {
    font-size: 10px;
  }

  .site-nav {
    inset: 70px 16px auto;
  }

  .hero-content {
    padding: 52px 0 32px;
  }

  .hero-metrics,
  .statement-grid,
  .grid-3,
  .grid-4,
  .process-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .whatsapp-message {
    display: none;
  }
}
