:root {
  --navy-950: #051322;
  --navy-900: #071a2f;
  --navy-800: #0b2948;
  --navy-700: #12436d;
  --blue-500: #178bd3;
  --blue-400: #35a8ec;
  --amber-400: #f4b326;
  --green-500: #20b66f;
  --ink: #102235;
  --muted: #5f6f80;
  --line: #dce5ed;
  --surface: #f3f7fa;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(7, 26, 47, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--white);
  padding: 10px 14px;
  color: var(--navy-900);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 229, 237, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 176px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #2f4051;
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue-500);
  content: "";
  transition: transform 180ms ease;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  border-radius: 999px;
  background: var(--navy-900);
  padding: 12px 18px;
  color: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--navy-700);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 4px;
  background: var(--navy-900);
}

.hero {
  position: relative;
  min-height: 730px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

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

.hero-media {
  background-image: url("assets/mottahev-hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.015);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 19, 34, 0.98) 0%, rgba(5, 19, 34, 0.93) 35%, rgba(5, 19, 34, 0.48) 66%, rgba(5, 19, 34, 0.26) 100%),
    linear-gradient(180deg, rgba(5, 19, 34, 0.1), rgba(5, 19, 34, 0.72));
}

.hero::after {
  position: absolute;
  right: -110px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(53, 168, 236, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(53, 168, 236, 0.04), 0 0 0 160px rgba(53, 168, 236, 0.025);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 110px 90px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a9dfff;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--amber-400);
}

.hero h1,
.section-heading h2,
.trust-copy h2,
.contact-copy h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
}

.hero h1 strong {
  color: var(--blue-400);
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: #d2dce7;
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue-500), #0f6fae);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(23, 139, 211, 0.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(23, 139, 211, 0.4);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.button-full {
  width: 100%;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 42px 0 0;
  padding: 0;
  color: #dce8f1;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(53, 168, 236, 0.55);
  border-radius: 50%;
  color: var(--blue-400);
  font-size: 12px;
}

.section {
  padding-block: 108px;
}

.services {
  background: var(--surface);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.trust-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(36px, 4.5vw, 56px);
}

.split-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  position: relative;
  min-height: 326px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 30px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 139, 211, 0.55);
  box-shadow: var(--shadow);
}

.featured-card {
  border-color: var(--navy-800);
  background: var(--navy-900);
  color: var(--white);
}

.service-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #b6c3cf;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.featured-card .service-number {
  color: #64809b;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 15px;
  background: #e6f5fd;
  color: var(--blue-500);
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.featured-card .service-icon {
  background: rgba(53, 168, 236, 0.13);
  color: var(--blue-400);
}

.service-card h3 {
  margin: 24px 0 10px;
  color: var(--navy-900);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.25;
}

.featured-card h3 {
  color: var(--white);
}

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

.featured-card p {
  color: #b9c9d8;
}

.service-card a {
  position: absolute;
  right: 30px;
  bottom: 26px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
}

.featured-card a {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--blue-400);
}

.model-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 24px 28px;
}

.model-note-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--blue-400);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.model-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.model-note p strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.text-link {
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.trust-section {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}

.trust-section::before {
  position: absolute;
  top: -240px;
  left: -240px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 139, 211, 0.2), transparent 67%);
  content: "";
}

.trust-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 92px;
  align-items: start;
}

.light-kicker {
  color: #7bcdf8;
}

.trust-copy h2 {
  max-width: 660px;
  color: var(--white);
}

.trust-intro {
  max-width: 690px;
  margin: 26px 0 0;
  color: #bdccd9;
  font-size: 17px;
}

.trust-points {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-points > div {
  display: grid;
  grid-template-columns: 50px 190px 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
}

.trust-points span {
  color: var(--blue-400);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.trust-points h3 {
  margin: 0;
  font-size: 15px;
}

.trust-points p {
  margin: 0;
  color: #9fb1c1;
  font-size: 13px;
}

.diagnostic-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  padding: 36px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.diagnostic-badge {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(244, 179, 38, 0.13);
  padding: 7px 12px;
  color: #ffd77d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnostic-card h3 {
  margin: 24px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  line-height: 1.18;
}

.diagnostic-card > p {
  margin: 0;
  color: #bdccd9;
  font-size: 14px;
}

.diagnostic-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  color: #e0e8ef;
  font-size: 13px;
  list-style: none;
}

.diagnostic-card li {
  display: flex;
  gap: 10px;
}

.diagnostic-card li span {
  color: var(--blue-400);
}

.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.contact-copy > p:not(.section-kicker) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-details a {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-details a > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e8f6fd;
  color: var(--blue-500);
  font-size: 20px;
}

.contact-details small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdae3;
  border-radius: var(--radius-sm);
  outline: 0;
  background: var(--white);
  padding: 14px 15px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(23, 139, 211, 0.12);
}

.contact-form ::placeholder {
  color: #8d9aaa;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

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

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 50px 38px;
}

.footer-top img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.footer-top p {
  margin: 12px 0 0;
  color: #9fb1c1;
  font-size: 13px;
}

.footer-top nav {
  display: flex;
  gap: 30px;
  color: #d9e3eb;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  color: #71869a;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: var(--green-500);
  padding: 12px 17px;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(8, 70, 43, 0.28);
  font-size: 12px;
  transition: transform 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
}

.floating-whatsapp span {
  font-size: 18px;
}

:focus-visible {
  outline: 3px solid rgba(244, 179, 38, 0.85);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: var(--white);
    padding: 12px;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 12px 14px;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 19, 34, 0.97), rgba(5, 19, 34, 0.7));
  }

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

  .split-heading,
  .trust-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .trust-layout,
  .contact-layout {
    gap: 42px;
  }

  .diagnostic-card {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: 720px;
  }

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

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 19, 34, 0.77), rgba(5, 19, 34, 0.98) 69%);
  }

  .hero-content {
    align-self: end;
    padding-block: 150px 54px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .hero-trust {
    display: grid;
    gap: 12px;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading h2,
  .trust-copy h2,
  .contact-copy h2 {
    font-size: 38px;
  }

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

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

  .model-note {
    grid-template-columns: auto 1fr;
  }

  .model-note .text-link {
    grid-column: 1 / -1;
  }

  .trust-points > div {
    grid-template-columns: 36px 1fr;
  }

  .trust-points p {
    grid-column: 2;
  }

  .diagnostic-card,
  .contact-form {
    padding: 26px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top nav {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .floating-whatsapp strong {
    display: none;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
