:root {
  /* CI Colors (client) */
  --c-white: #ffffff;
  --c-green: #67c079;
  --c-mint: #6bc5a9;
  --c-blue: #4ab1e4;
  --c-navy: #131130;

  /* Shades of CI for surfaces and accents */
  --green-tint: rgba(103, 192, 121, 0.12);
  --mint-tint: rgba(107, 197, 169, 0.14);
  --blue-tint: rgba(74, 177, 228, 0.12);
  --navy-tint: rgba(19, 17, 48, 0.06);

  --bg: #ffffff;
  --text: var(--c-navy);
  --muted: rgba(19, 17, 48, 0.72);
  --border: rgba(19, 17, 48, 0.12);

  /* Section backgrounds – CI tints, not gray */
  --surface-1: var(--mint-tint);
  --surface-2: var(--blue-tint);
  --surface-3: var(--green-tint);

  /* About section – CI gradient wash */
  --about-wash: linear-gradient(
    135deg,
    rgba(107, 197, 169, 0.08) 0%,
    rgba(74, 177, 228, 0.06) 50%,
    rgba(103, 192, 121, 0.06) 100%
  );

  --shadow: 0 8px 32px rgba(19, 17, 48, 0.08);
  --shadow-soft: 0 4px 20px rgba(19, 17, 48, 0.06);
  --radius: 8px;

  /* Fonts */
  --font-body: "Acumin Variable Concept", "Acumin Pro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-heading: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

a { color: var(--c-blue); text-decoration: none; }
a:hover { color: var(--text); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 28px;
}

/* Sections – clear separation, generous spacing */
.section {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.section--hero { border-top: 0; }

.section--soft { background: var(--surface-1); }
.section--soft-2 { background: var(--surface-2); }
.section--about { background: var(--about-wash); }
.section--clients { background: var(--bg); }

.section p {
  margin: 0 0 1rem;
  max-width: 65ch;
}

.section p:last-child {
  margin-bottom: 0;
}

/* About: content uses full width of section (no narrow left column) */
.section--about p {
  max-width: none;
}

.section--about .container {
  display: block;
}

/* Belief: quote and text use full width so the line doesn’t break early */
#belief .quote,
#belief p {
  max-width: none;
}

/* Typography – clear hierarchy for enterprise */
.eyebrow {
  margin: 0 0 14px;
  color: var(--c-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
}

h1, h2, h3, .nav__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

#contact {
  background: linear-gradient(
    135deg,
    rgba(107, 197, 169, 0.18) 0%,
    rgba(74, 177, 228, 0.14) 100%
  );
  color: var(--text);
  border-top: 1px solid var(--border);
}

#contact h2 {
  text-align: left;
  color: var(--text);
}

#contact a {
  color: var(--c-blue);
}

#contact a:hover {
  color: var(--c-navy);
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(10px);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav__toggle {
  background: var(--c-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
}

.nav__menu {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav__menu a {
  font-size: 0.95rem;
  color: var(--text);
}

.nav__menu a:hover {
  color: var(--c-blue);
}

.nav__cta {
  padding: 10px 20px;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav__cta:hover {
  background: var(--text);
  color: var(--c-white);
}

.nav__lang {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav__lang:hover {
  color: var(--c-blue);
}

.nav__logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Desktop nav */
@media (min-width: 900px) {
  .nav__menu { display: flex; }
  .nav__toggle { display: none; }
}

/* Mobile open state */
.nav.nav--open .nav__menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 28px;
  top: 60px;
  background: var(--c-white);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
  width: min(280px, calc(100vw - 56px));
  box-shadow: var(--shadow);
}

.nav.nav--open .nav__menu a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav.nav--open .nav__menu a:hover {
  background: var(--mint-tint);
}

/* Cards / grid – minimal, no glass effect */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.card {
  grid-column: span 12;
  border: 1px solid var(--border);
  border-top: 3px solid var(--c-mint);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.card:nth-child(2) { border-top-color: var(--c-blue); }
.card:nth-child(3) { border-top-color: var(--c-green); }

.card h3 {
  margin-bottom: 12px;
}

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

@media (min-width: 800px) {
  .card { grid-column: span 4; }
}

/* Clients section – white bg, logo cards, horizontal scroll when 5+ */
.container--clients {
  padding-left: 24px;
  padding-right: 24px;
}

.clients-wrapper {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 32px;
}

.clients-wrapper--scrollable {
  margin-left: -12px;
  margin-right: -12px;
}

.clients-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.clients-wrapper--scrollable .clients-track {
  grid-template-columns: none;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 12px;
  scrollbar-width: none;
}

.clients-wrapper--scrollable .clients-track::-webkit-scrollbar {
  display: none;
}

.clients-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.clients-arrow:hover:not(:disabled) {
  background: var(--mint-tint);
  border-color: var(--c-mint);
  color: var(--c-navy);
}

.clients-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.client-card {
  background: var(--c-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.clients-wrapper--scrollable .client-card {
  flex: 0 0 min(240px, calc(50vw - 60px));
  min-width: 200px;
}

.client-card__logo {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.client-card__logo img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.client-card__name {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.client-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.client-card__desc p {
  margin: 0 0 0.5rem;
  max-width: none;
}

.client-card__desc p:last-child {
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .clients-wrapper--scrollable .client-card {
    flex: 0 0 min(220px, calc(25vw - 50px));
  }
}

@media (min-width: 900px) {
  .clients-wrapper--scrollable .client-card {
    flex: 0 0 240px;
  }
}

/* Lists – clean, scannable */
.list {
  padding-left: 1.25rem;
  margin: 24px 0 0;
  list-style: none;
}

.list li {
  position: relative;
  margin: 14px 0;
  padding-left: 0.5rem;
  color: var(--text);
  line-height: 1.6;
}

.list li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--c-green);
  border-radius: 50%;
}

/* Split layout – content + image side by side */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 28px;
}

.split__content {
  min-width: 0;
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  background: var(--c-white);
}

.split__img {
  width: 100%;
  height: auto;
  display: block;
}

.split--align-center {
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 36px;
  }

  .split--align-center {
    align-items: center;
  }

  /* Image on the left for balance (e.g. Who We Serve) */
  .split--media-left .split__content {
    grid-column: 2;
  }

  .split--media-left .split__media {
    grid-column: 1;
    grid-row: 1;
  }
}

/* Quote – CI accent */
.quote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--c-blue);
  background: var(--blue-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  font-style: normal;
  color: var(--text);
  line-height: 1.6;
}

/* HERO – full-bleed image with quote overlay */
.hero {
  position: relative;
  min-height: 70vh;
  border-top: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgba(19, 17, 48, 0.5) 0%,
    rgba(19, 17, 48, 0.35) 100%
  );
}

.hero__inner {
  padding-top: 72px;
  padding-bottom: 72px;
  text-align: center;
}

.hero__quote {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-white);
  font-style: normal;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons – formal, not pill-shaped */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.btn--primary {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

.btn--primary:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--mint-tint);
  border-color: var(--c-mint);
  color: var(--text);
}

/* Hero overlay: light buttons on dark */
.hero__overlay .btn--primary {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
}

.hero__overlay .btn--primary:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--c-navy);
}

.hero__overlay .btn--ghost {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero__overlay .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--c-white);
  color: var(--c-white);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.contact__name { margin: 0 0 6px; font-weight: 700; }

#contact .split {
  align-items: flex-start;
}

#contact .split__content p {
  margin: 8px 0;
  line-height: 1.6;
}

/* Line QR code – right half of contact section, scannable size, seamless with section */
.contact__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.contact__qr-img {
  max-width: 220px;
  width: 100%;
  height: auto;
}

@media (min-width: 800px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Footer */
.footer {
  background: var(--c-navy);
  color: var(--c-white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer__company {
  margin: 0;
}

.footer__name {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer__address,
.footer__line {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.footer__copy {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 700px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__copy {
    padding-top: 0;
    border-top: 0;
    text-align: right;
  }
}
