/* ADL Projects
   Colors are taken from the business prospectus: navy, green, orange, light background.
   The wordmark is set in the system font. It is not a reconstruction of the printed logo. */

:root {
  --navy: #071a38;
  --navy-soft: #12315c;
  --ink: #102033;
  --muted: #3d4c5f;
  --bg: #f7f5f2;
  --paper: #ffffff;
  --orange: #e39440;
  --green: #1f7a34;
  --green-bright: #2f7a34;
  --line: #e4dfd6;
  --footer-muted: #d5ddea;
  --focus: #c45e00;
  --shadow: 0 12px 32px rgba(7, 26, 56, 0.07);
  --header-offset: 5.75rem;
  --font: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --c-green: #1f7a34;
  --c-blue: #2c3f9c;
  --c-purple: #5c36b8;
  --c-orange: #b8610a;
  --c-red: #b3322c;
  color-scheme: light;
}

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

html {
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

button {
  font: inherit;
}

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

::selection {
  background: #f6d7b0;
  color: var(--navy);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .service-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(7, 26, 56, 0.1);
  }
}

.skip {
  position: fixed;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 0 0 0.75rem 0.75rem;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus,
.skip:focus-visible {
  top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

main:focus,
main:focus-visible {
  outline: none;
}

.container {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 1.75rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid rgba(7, 26, 56, 0.08);
  padding-top: env(safe-area-inset-top);
}

.site-header::before,
.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--green-bright) 58%, var(--navy));
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-block: 0.8rem;
}

.brand {
  order: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  flex-direction: column;
}

.brand-adl {
  color: var(--orange);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.85;
}

.brand-projects {
  display: block;
  margin-top: 0.28rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  padding-inline-start: 0.26em;
  line-height: 1;
}

.brand-tag {
  max-width: 9.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.lang-toggle {
  order: 3;
  margin-inline-start: auto;
  flex: none;
  min-width: 3.25rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-toggle:hover {
  background: var(--navy);
  color: #fff;
}

.nav {
  order: 4;
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(7, 26, 56, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 4rem;
}

.hero-blob,
.hero-dots {
  position: absolute;
  pointer-events: none;
}

.hero-blob {
  border-radius: 50%;
}

.hero-blob-orange {
  width: 170px;
  height: 170px;
  background: var(--orange);
  top: -80px;
  inset-inline-start: -70px;
}

.hero-blob-green {
  width: 150px;
  height: 150px;
  background: var(--green-bright);
  top: -85px;
  inset-inline-end: -70px;
}

.hero-dots {
  width: 72px;
  height: 52px;
  top: 22px;
  inset-inline-start: 18px;
  background-image: radial-gradient(var(--navy) 1.5px, transparent 1.6px);
  background-size: 13px 13px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.9rem, 4.4vw, 3.05rem);
  max-width: 12em;
}

.hero-subtitle {
  display: inline-block;
  margin-top: 1rem;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
}

.hero-subtitle::after {
  content: "";
  display: block;
  height: 0.42rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: var(--green-bright);
}

.hero-text {
  max-width: 38rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy .btn {
  margin-top: 1.6rem;
}

.hero-art {
  position: relative;
  height: 360px;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-green {
  width: 190px;
  height: 190px;
  background: var(--green-bright);
  inset-inline-start: 0;
  bottom: 18px;
}

.orb-orange {
  width: 132px;
  height: 132px;
  background: var(--orange);
  inset-inline-end: 8px;
  top: 18px;
}

.orb-card {
  width: 220px;
  height: 220px;
  inset-inline-start: 72px;
  top: 54px;
  border-radius: 36px;
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(7, 26, 56, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.orb-card .brand-adl {
  font-size: 3.4rem;
}

.orb-card .brand-projects {
  color: #fff;
  font-size: 0.92rem;
}

.orb-ring {
  width: 78px;
  height: 78px;
  border: 14px solid var(--orange);
  background: transparent;
  inset-inline-end: 28px;
  bottom: 28px;
}

.orb-dots {
  width: 88px;
  height: 70px;
  border-radius: 0;
  top: 36px;
  inset-inline-start: 18px;
  background-image: radial-gradient(var(--navy) 2px, transparent 2.2px);
  background-size: 14px 14px;
}

.section {
  padding-block: 4.5rem;
}

.section-title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section-title::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.32rem;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: var(--orange);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}

.service-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid rgba(7, 26, 56, 0.06);
  border-top: 4px solid var(--accent);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.card-green { --accent: var(--c-green); }
.card-blue { --accent: var(--c-blue); }
.card-purple { --accent: var(--c-purple); }
.card-orange { --accent: var(--c-orange); }
.card-red { --accent: var(--c-red); }

.icon-badge,
.check {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #fff;
}

.icon-badge {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--accent);
}

.icon-badge svg {
  width: 1.65rem;
  height: 1.65rem;
}

.service-card h3 {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.22rem;
}

.service-card p {
  width: 100%;
  margin-top: 0.4rem;
  color: var(--muted);
}

.why {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  color: #fff;
}

.why .section-title {
  color: #fff;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  line-height: 1.5;
}

.check {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--green);
}

.check svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-wrap {
  display: flex;
  justify-content: center;
}

.contact-panel {
  width: min(760px, 100%);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(7, 26, 56, 0.06);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 1.35rem;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-list li span {
  color: var(--muted);
  font-weight: 700;
}

.contact-list a {
  color: var(--navy);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-soft);
}

.btn-green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: #18662a;
  border-color: #18662a;
}

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.btn-orange:hover {
  background: #cf832f;
  border-color: #cf832f;
}

.btn-ghost {
  background: #fff;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.site-footer {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-bottom: calc(2.75rem + env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 2.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.site-footer .brand-projects {
  color: #fff;
}

.site-footer .brand-tag {
  color: var(--footer-muted);
}

.legal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin: 0;
}

.legal dt {
  color: #f0b56a;
  font-size: 1rem;
  font-weight: 700;
}

.legal dd {
  margin: 0.35rem 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.copyright {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.98rem;
}

@media (min-width: 800px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .nav {
    order: 2;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .lang-toggle {
    order: 3;
    margin-inline-start: 0.5rem;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    display: none;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-block: 2.5rem 3rem;
  }

  .hero-blob-orange,
  .hero-blob-green {
    width: 110px;
    height: 110px;
  }

  .hero-dots {
    display: none;
  }

  .section {
    padding-block: 3rem;
  }

  .services-grid,
  .why-list,
  .legal {
    grid-template-columns: 1fr;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .contact-actions .btn {
    flex: 1 1 100%;
  }
}
