/* ==========================================================================
   PT Global Solusi Handal Teknologi: site styles
   Edit the tokens below to change colors, fonts and spacing site-wide.
   ========================================================================== */

:root {
  /* Brand */
  --accent: #1E40AF;
  --accent-hover: #1E3A8A;
  --accent-soft: #EEF2FF;
  --accent-line: #C7D2FE;

  /* Neutrals */
  --text: #0F172A;
  --text-2: #334155;
  --muted: #5A6A80;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Shape & layout */
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .06);

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

/* Hides the English → Indonesian swap on first paint (see inline script in <head>). */
html[data-lang-loading] body { opacity: 0; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); line-height: 1.07; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.03em; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
h2 em { font-style: normal; color: var(--accent); }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Flowing background ----------
   Soft blue color clouds drift slowly across a pale gradient. Disabled automatically for visitors who
   prefer reduced motion (it stays still). To tone it down lower the .xx opacities; to slow it down raise the seconds. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background: linear-gradient(125deg, #ffffff 0%, #e3eefc 30%, #cfe3fb 50%, #eaf3fd 70%, #ffffff 100%);
  background-size: 260% 260%;
  animation: bg-base 30s ease-in-out infinite alternate;
}
body::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, .34) 0, transparent 42%) 0% 0% / 170% 170% no-repeat,
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, .28) 0, transparent 40%) 100% 0% / 160% 160% no-repeat,
    radial-gradient(circle at 50% 50%, rgba(30, 64, 175, .26) 0, transparent 44%) 50% 100% / 180% 180% no-repeat;
  animation: bg-blobs 22s ease-in-out infinite alternate;
}
@keyframes bg-base {
  to { background-position: 100% 100%; }
}
@keyframes bg-blobs {
  0%   { background-position: 0% 0%,   100% 0%,   50% 100%; }
  50%  { background-position: 70% 60%, 30% 100%,  100% 20%; }
  100% { background-position: 100% 100%, 0% 40%,  0% 0%; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .15s; }
.btn:hover svg { transform: translateX(2px); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-ghost { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: #94A3B8; }

.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); color: var(--accent-hover); }

.btn-whatsapp { width: 100%; background: #075E54; color: #fff; padding-block: 15px; }
.btn-whatsapp:hover { background: #054C44; color: #fff; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover svg { transform: none; }

.btn[disabled] { opacity: .6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 600; font-size: .9375rem; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead, .section-lead {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.6;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled, .site-header.nav-open { border-bottom-color: var(--border); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { display: block; width: auto; height: 56px; }
.site-footer .brand { display: inline-flex; }
.site-footer .brand-logo { height: 60px; }

.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: .9375rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-toggle span { padding: 4px 9px; border-radius: 999px; color: var(--muted); transition: background-color .15s, color .15s; }
.lang-toggle span.is-active { background: var(--text); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform .2s; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px; font-size: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
/* Alternate sections: frosted glass over the flowing background, with a soft blue edge */
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-block: 1px solid rgba(30, 64, 175, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .section-lead { margin-bottom: 0; }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
}
.section-head-row h2 { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

/* Subtle grid motif shared by hero areas */
.hero, .page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { max-width: 14ch; text-wrap: balance; }
h2, .page-hero h1 { text-wrap: balance; }
.hero .lead { max-width: 34rem; margin-bottom: 32px; }

.hero-visual svg { width: 100%; height: auto; }
.hero-visual text { font: 600 13px var(--font); fill: var(--text); }
.hero-visual .node rect { filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .06)); }
.hero-visual .flow path { stroke-dasharray: 4 6; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(56px, 7vw, 96px) clamp(44px, 5vw, 72px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 20ch; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.page-hero .lead { max-width: 42rem; margin-bottom: 0; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pill {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-2);
  font-size: .875rem;
  font-weight: 500;
}
.pill:hover { border-color: var(--accent-line); color: var(--accent); }

/* ---------- Logos ---------- */
.logos { padding-block: 8px 0; }
.logos + .section { padding-top: clamp(64px, 7vw, 96px); }
.logos-title { margin-bottom: 20px; color: var(--muted); font-size: .875rem; font-weight: 500; text-align: center; }

.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-row-4 { grid-template-columns: repeat(4, 1fr); }
.logo-row-3 { grid-template-columns: repeat(3, 1fr); }
.logo-row li { display: grid; place-items: center; min-height: 112px; padding: 16px 24px; }
.logo-row img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
/* Scrolling client logos (home page). JS adds .is-scrolling; without JS the logos stay as a static grid. */
.logo-marquee.is-scrolling {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee.is-scrolling .logo-row {
  display: flex;
  width: max-content;
  gap: 0;
  animation: logo-scroll var(--marquee-duration, 40s) linear infinite;
}
.logo-marquee.is-scrolling:hover .logo-row { animation-play-state: paused; }
.logo-marquee.is-scrolling .logo-row li { flex: none; width: 240px; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee.is-scrolling { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .logo-marquee.is-scrolling .logo-row { width: auto; flex-wrap: wrap; justify-content: center; }
}

.logo-ph {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: #94A3B8;
  font-size: .8125rem;
  font-weight: 500;
  text-align: center;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-5 { grid-template-columns: repeat(6, 1fr); }
.card-grid.cols-5 > * { grid-column: span 2; }
.card-grid.cols-5 > :nth-child(n+4) { grid-column: span 3; }

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }

.card-link { color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-link:hover { color: inherit; border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-more { margin-top: auto; padding-top: 8px; color: var(--accent); font-size: .9375rem; font-weight: 600; }

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--border-strong); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--accent); }
.step p { margin: 0; color: var(--muted); font-size: .9375rem; }
.step-num {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

/* ---------- How we work: step cards (same background as the other sections) ---------- */
.section-process .steps { gap: 28px; }
.section-process .step {
  padding: 28px 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.section-process .step::before { display: none; }
.section-process .step:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.section-process .step h3 { font-size: 1.25rem; }
.section-process .step-num {
  position: absolute;
  top: 18px;
  right: 22px;
  margin: 0;
  color: var(--accent-line);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.step-icon svg { width: 24px; height: 24px; }
.section-process .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -29px;
  width: 30px;
  border-top: 2px dashed var(--accent-line);
}
@media (max-width: 960px) { .section-process .step::after { display: none; } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}
.stat { padding: clamp(22px, 3vw, 32px); background: #fff; }
.stat-value {
  margin-bottom: 6px;
  color: var(--text);
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.stat-label { margin: 0; color: var(--muted); font-size: .9375rem; }

/* ---------- Services page ---------- */
.service { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--border); scroll-margin-top: var(--header-h); }
.service-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 56px) clamp(32px, 6vw, 88px); align-items: start; }
.service-tech { grid-column: 1 / -1; }
.service-intro .section-lead { margin-bottom: 0; }
.service-detail { display: grid; gap: 36px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.detail-title {
  margin-bottom: 16px;
  color: var(--text);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.list-check li { position: relative; margin-bottom: 12px; padding-left: 30px; }
.list-check li:last-child { margin-bottom: 0; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E40AF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.split .list-check { margin-top: 28px; }

/* Technology logo tiles. Logos are gray until hovered, like the client logos.
   For full-color logos, delete the filter/opacity lines below. */
.tech-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tech-logos li {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 20px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s;
}
.tech-logos li:hover { border-color: var(--border-strong); }
.tech-logos img {
  width: auto;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .2s, opacity .2s;
}
.tech-logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 600px) {
  .tech-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tech-logos li { height: 92px; padding: 16px; }
  .tech-logos img { height: 44px; }
}
.logos-more { margin: 20px 0 0; }
.logo-fallback { color: var(--text-2); font-size: .9375rem; font-weight: 600; text-align: center; line-height: 1.3; }


/* ---------- About page ---------- */
.facts-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.facts-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(120deg, #1E3A8A 0%, #1E40AF 45%, #406d96 100%);
  color: #fff;
}
.facts-logo { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: #fff; }
.facts-title { margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.facts-sub { margin: 2px 0 0; color: #C9D6F5; font-size: .8125rem; }
.facts { margin: 0; }
.facts > div { display: flex; align-items: flex-start; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--border); transition: background-color .2s; }
.facts > div:last-child { border-bottom: 0; }
.facts > div:hover { background: var(--accent-soft); }
.fact-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.fact-icon svg { width: 20px; height: 20px; }
.facts > div:hover .fact-icon { background: #fff; }
.fact-text { min-width: 0; }
.facts dt { margin-bottom: 2px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; color: var(--text); font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.facts dd.fact-big { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }


/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.form-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-title { margin-bottom: 24px; font-size: 1.375rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; color: var(--text); font-size: .875rem; font-weight: 600; }
.req { color: var(--accent); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #94A3B8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, .15);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-note { margin: 0; color: var(--muted); font-size: .8125rem; }

.form-status { margin: 20px 0 0; padding: 12px 16px; border-radius: 8px; font-size: .9375rem; }
.form-status.info { background: var(--accent-soft); color: var(--accent-hover); }
.form-status.success { border: 1px solid #A7F3D0; background: #ECFDF5; color: #065F46; }
.form-status.error { border: 1px solid #FECACA; background: #FEF2F2; color: #991B1B; }

.contact-aside { display: grid; gap: 28px; }
.contact-list li { display: flex; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--border); }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--muted); }
.contact-list div { display: flex; flex-direction: column; }
.contact-label { color: var(--muted); font-size: .8125rem; }
.contact-list a, .contact-list div > span:last-child { color: var(--text); font-weight: 500; }

.next-steps ol { counter-reset: next; }
.next-steps li { position: relative; margin-bottom: 14px; padding-left: 40px; color: var(--text-2); font-size: .9375rem; counter-increment: next; }
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); color: #fff; }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-band h2 { margin-bottom: 10px; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.cta-band p { max-width: 40rem; margin: 0; color: #DBE4FF; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .45) 100%); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-top: 1px solid rgba(30, 64, 175, .14); font-size: .9375rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.5fr;
  gap: 32px;
  padding-block: clamp(48px, 6vw, 64px) 40px;
}
.footer-brand p { max-width: 22rem; margin: 16px 0 0; color: var(--muted); }
.footer-title {
  margin-bottom: 14px;
  color: var(--text);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer li { margin-bottom: 8px; color: var(--text-2); }
.site-footer li a { color: var(--text-2); }
.site-footer li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .8125rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .card-grid, .card-grid.cols-5 { grid-template-columns: 1fr; }
  .card-grid.cols-5 > *, .card-grid.cols-5 > :nth-child(n+4) { grid-column: auto; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .logo-row-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .two-col, .form-grid { grid-template-columns: 1fr; }
  .logo-row, .logo-row-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
