:root {
  --bg: #f4f1eb;
  --bg-alt: #ebe6dc;
  --bg-dark: #0f1f2e;
  --bg-accent: #1a4d5c;
  --text: #1a2332;
  --text-muted: #4a5568;
  --text-light: #e8eef4;
  --accent: #c9a227;
  --accent-hover: #b08e1f;
  --border: rgba(26, 35, 50, 0.12);
  --shadow: 0 20px 50px rgba(15, 31, 46, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --container: min(1120px, 92vw);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bg-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  border-radius: 10px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.nav__list a:hover {
  color: var(--bg-accent);
}

.nav__cta {
  padding: 0.55rem 1.1rem;
  background: var(--bg-dark);
  color: var(--text-light) !important;
  border-radius: 999px;
}

.nav__cta:hover {
  background: var(--bg-accent);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(26, 77, 92, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 162, 39, 0.12), transparent);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bg-accent);
  margin: 0 0 1rem;
}

.eyebrow--light {
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  margin: 0 0 1.25rem;
  font-weight: 700;
}

h1 em {
  font-style: normal;
  color: var(--bg-accent);
}

.hero__lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn--primary:hover {
  background: var(--bg-accent);
  color: #fff;
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--bg-accent);
  color: var(--bg-accent);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__stats strong {
  display: block;
  font-size: 1.75rem;
  color: var(--bg-dark);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

.hero-card {
  position: absolute;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 260px;
}

.hero-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card--1 {
  top: 0;
  right: 10%;
}

.hero-card--2 {
  top: 38%;
  left: 0;
}

.hero-card--3 {
  bottom: 0;
  right: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark p {
  color: rgba(232, 238, 244, 0.85);
}

.section--accent {
  background: var(--bg-accent);
  color: var(--text-light);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 1rem;
}

.section-head__desc {
  color: var(--text-muted);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin: 0 0 1.25rem;
}

.values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-card {
  padding: 1.35rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--bg-accent);
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 0.75rem 0;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

.why-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.quote {
  margin: 3rem 0 0;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  margin: 0 0 1rem;
}

.quote footer {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Timeline */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--border);
  margin-left: 1rem;
}

.timeline__item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.timeline__step {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-accent);
}

.timeline__item h3 {
  margin: 0.35rem 0 0.5rem;
}

.timeline__item p {
  margin: 0;
  color: var(--text-muted);
  max-width: 65ch;
}

/* Industries */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.industry {
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.industry h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--bg-accent);
}

.industry p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Tech */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.tech-tags li {
  padding: 0.4rem 0.9rem;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
}

.tech-panel {
  padding: 2rem;
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
}

.tech-panel h3 {
  margin: 0 0 1rem;
  color: var(--accent);
}

.tech-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.tech-panel li {
  margin-bottom: 0.5rem;
  color: rgba(232, 238, 244, 0.9);
}

/* Cases */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.case-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-accent);
}

.case-card h3 {
  margin: 0.75rem 0;
}

.case-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Expertise */
.expertise > p {
  max-width: 75ch;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.expertise-card {
  padding: 1.35rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.expertise-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--bg-accent);
}

.expertise-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Numbers */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.numbers strong {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-display);
  color: var(--accent);
}

.numbers span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.numbers__note {
  text-align: center;
  max-width: 65ch;
  margin: 0 auto;
  opacity: 0.9;
}

/* FAQ */
.faq {
  max-width: 800px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0;
}

.faq__item summary {
  padding: 1.1rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--bg-accent);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  padding-right: 2rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 0 0 1rem;
}

.contact-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 1.25rem;
}

.contact-list__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-list a {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--bg-dark);
}

.contact-list a:hover {
  color: var(--bg-accent);
}

.contact-form {
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--bg-accent);
  outline-offset: 1px;
}

.contact-form__note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.footer__brand .logo__mark {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.footer__brand p {
  width: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__copy {
  margin: 0;
  text-align: right;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* Mobile */
@media (max-width: 960px) {
  .hero__grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 320px;
    margin-top: 1rem;
  }

  .services-grid,
  .industries,
  .cases,
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav__list a {
    display: block;
    padding: 0.75rem;
  }

  .services-grid,
  .industries,
  .cases,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    justify-content: center;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__copy {
    text-align: center;
  }
}
