:root{
  /* CodeBackpack Modern Trail */
  --cb-primary: #1F3A5F;
  --cb-primary-cta: #4F8EDC;
  --cb-secondary: #2E5E4E;
  --cb-accent: #9AD9E3;
  --cb-bg: #F5F6F5;
  --cb-text: #101418;
  --cb-muted: #3C4652;
  --cb-icon: #1C3557;
  --cb-border: #D9DEE3;

  --primary: var(--cb-primary);
  --secondary: var(--cb-secondary);
  --accent: var(--cb-accent);
  --bg: var(--cb-bg);
  --text: var(--cb-text);
  --muted: var(--cb-muted);
  --icon: var(--cb-icon);
  --border: var(--cb-border);

  --bg2:#FFFFFF;
  --panel: rgba(255,255,255,.92);
  --panel2: rgba(255,255,255,.96);
  --stroke: var(--border);
  --stroke2: #C9D1D7;

  --muted2: #5B6674;

  --shadow: 0 28px 70px rgba(18, 20, 23, .12);
  --shadow2: 0 12px 34px rgba(18, 20, 23, .10);

  --accent2: var(--secondary);
  --warn:#C07A1A;

  --radius: 18px;
  --radius2: 28px;
  --ring: 0 0 0 4px rgba(110,193,212,.28);

  --max: 1120px;
  --pad: clamp(18px, 3vw, 32px);
  --gutter: clamp(14px, 2vw, 22px);

  --h1: clamp(2.25rem, 4vw, 3rem);
  --h2: clamp(1.75rem, 3vw, 2.25rem);
  --h3: clamp(1.4rem, 2.2vw, 1.75rem);
  --h4: 1.2rem;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;
}

.topo{
  position:fixed; inset:0; pointer-events:none; opacity:.06;
  background:
    repeating-radial-gradient(circle at 28% 18%,
      rgba(31,58,95,.18) 0 1px,
      transparent 1px 34px),
    repeating-linear-gradient(135deg,
      rgba(46,94,78,.16) 0 1px,
      transparent 1px 68px);
  mix-blend-mode: multiply;
  filter: blur(.35px);
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button,input,select,textarea{ font:inherit; }
::selection{ background: rgba(110,193,212,.28); }
p{ max-width: 70ch; }

.wrap{ width:min(var(--max), calc(100% - 2*var(--pad))); margin-inline:auto; }
.section{ padding: clamp(74px, 7vw, 112px) 0; position:relative; }
.section-what{
  padding-top: clamp(24px, 2.8vw, 32px);
  background: var(--bg2);
}
.wave-divider{
  margin: 0;
  line-height: 0;
  pointer-events: none;
}
.wave-divider-services{
  margin: 0;
}
.wave-divider svg{
  display:block;
  width: 100%;
  height: 96px;
}
.wave-neutral{
  fill: none;
  stroke: var(--secondary);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}
.wave-accent{
  fill: none;
  stroke: var(--secondary);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}
.section-services{
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(31,58,95,.10), transparent 60%),
    radial-gradient(900px 420px at 88% 20%, rgba(46,94,78,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(245,246,245,.85) 100%);
}
.section#how{
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.88));
}
.steps-figure{
  margin: 18px 0 34px;
  max-width: 100%;
  width: 100%;
  transform: none;
  padding: 0;
  position: relative;
  background: transparent;
}
.steps-clip{
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--stroke2);
  background: var(--bg2);
  aspect-ratio: 1513 / 389;
}
.steps-figure img{
  display:block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  filter: saturate(.75) contrast(1.08) brightness(.98);
  opacity: 1;
}
@media (max-width: 1024px){
  .steps-figure{ max-width: 100%; width: 100%; transform: none; padding: 0; }
  .steps-figure img{ height: 100%; }
}
@media (max-width: 640px){
  .steps-figure{ max-width: 100%; width: 100%; transform: none; padding: 0; }
}
.section-quick{
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(31,58,95,.08), transparent 60%),
    radial-gradient(900px 420px at 88% 20%, rgba(46,94,78,.08), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(245,246,245,.85) 100%);
}
.start-block{ margin-bottom: clamp(64px, 8vw, 120px); }

/* skip */
.skip{ position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip:focus{
  left: var(--pad); top: var(--pad); width:auto; height:auto; z-index:9999;
  background: rgba(255,255,255,.92);
  border:1px solid var(--stroke2);
  padding: 10px 12px; border-radius: 12px;
  box-shadow: var(--shadow2);
}

/* NAV */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: #1C3557;
  border-bottom:1px solid var(--border);
  box-shadow: 0 10px 26px rgba(18,20,23,.08);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 0; gap: 12px;
}

.nav-group{
  display:flex;
  align-items:center;
  gap: 18px;
}

.brand{
  display:flex; align-items:center; gap:12px; min-width: 220px;
}
.nav .brand{ min-width: auto; }

/* LOGO FIX: bigger mark + image fills it (more impact) */
.brandMark{
  width: 92px; height: 92px;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display:flex; align-items:center; justify-content:center;
  overflow:visible;
}
/* optional: make brand text feel slightly more premium */


.brandText .logoWord{
  font-weight: 700;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display:inline-flex;
  align-items:baseline;
  gap: 4px;
}
.brandText .logoText{
  color: #ffffff;
  font-weight: 700;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .2px;
}
.brandText .logoBracket{
  color: #9AD9E3;
  font-weight: 800;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: .08em;
  transform: translateY(1px);
  font-size: 28px;
}
.brandText .logoBracket.left{ margin-right: -2px; }
.brandText .logoBracket.right{ margin-left: -2px; }
.brandText span{
  font-size: 18px;
  color: rgba(29, 84, 213, 0.52);
  margin-top: 4px;
  font-family: var(--mono);
  letter-spacing:.04em;
}

.navlinks{ display:flex; gap: 10px; align-items:center; }
.navlinks a{
  font-size: 13px;
  font-weight: 500;
  color: rgba(248, 249, 246, 0.85);
  letter-spacing: -0.01em;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.navlinks a:hover{
  background: #9AD9E3;
  color: #ffffff;
  transform: translateY(-1px);
}

.cta{ display:flex; align-items:center; gap:10px; }
.nav .cta .btn.primary.cta-primary{
  padding: 7px 14px;
  border-color: var(--cb-primary-cta);
  background: var(--cb-primary-cta);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(18,20,23,.10);
}
.nav .cta .btn.primary.cta-primary:hover{
  border-color: var(--cb-accent);
  background: var(--cb-accent);
  color: #ffffff;
}
.btn{
  border:1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  cursor:pointer;
  display:inline-flex; align-items:center; gap:10px;
  white-space:nowrap;
  box-shadow: 0 10px 24px rgba(18,20,23,.08);
}
.btn:hover{
  transform: translateY(-1px);
  border-color: #C1C9D1;
  box-shadow: 0 14px 30px rgba(18,20,23,.12);
}
.btn:focus{ outline:none; box-shadow: var(--ring), 0 14px 30px rgba(2,6,23,.12); }

.btn.primary{
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}
.btn.secondary{
  border-color: var(--border);
  background: #F8F9F6;
  color: #1C3557;
}
.btn.primary:hover{
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text);
}
.btn.primary.cta-primary{
  border-color: var(--cb-primary-cta);
  background: var(--cb-primary-cta);
  color: #ffffff;
}
.btn.primary.cta-primary:hover{
  border-color: var(--cb-accent);
  background: var(--cb-accent);
  color: #ffffff;
}

.hamburger{ display:none; width: 44px; height: 44px; justify-content:center; align-items:center; }
.menu{
  display:none;
  border-top:1px solid var(--border);
  padding: 10px 0 16px;
}
.menu a{
  display:block; padding: 12px 10px;
  border-radius: 12px; color: rgba(255,255,255,0.92);
}
.menu a:hover{ background: #9AD9E3; color: #ffffff; }
.menu .menu-cta{
  margin-top: 6px;
  justify-content: center;
  width: 100%;
  color: #ffffff;
}
.menu .menu-cta:hover{
  background: var(--cb-accent);
  color: #ffffff;
}

@media (max-width: 860px){
  .navlinks{ display:none; }
  .hamburger{ display:inline-flex; }
  .menu{ display:block; }
  .cta .btn.secondary{ display:none; }
  .brandText span{
    display:inline;
    font-size: 15px;
  }
  .brandMark{ width: 78px; height: 78px; }
  .nav .cta .nav-cta{ display:none; }
}
@media (min-width: 861px){
  .navlinks{ display:flex; }
  .hamburger{ display:none; }
  .menu{ display:none; }
}
.menu[hidden]{ display:none; }

/* HERO */
.hero{
  position: relative;
  z-index: 0;
  width: 100vw;
  height: 82vh;
  padding-top: clamp(18px, 2.8vw, 36px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(16,20,24,0.12);
  pointer-events: none;
  z-index:1;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("media/bg-desktop.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.06) contrast(1.03) saturate(0.95);
  z-index:0;
}
@media (max-width: 768px){
  .hero{
    height: auto;
    min-height: 70svh;
    padding-bottom: 18px;
  }
  .hero::after{
    background-image: url("media/bg-mobile.png");
  }
  .hero h1{
    font-size: clamp(30px, 7.2vw, 40px);
    line-height: 1.05;
    max-width: 22ch;
    margin-bottom: 16px;
  }
  .hero .lead{
    margin-bottom: 18px;
  }
  .hero-actions{
    margin-top: 0;
  }
  .nav .cta .btn.primary.cta-primary{
    padding: 6px 10px;
    font-size: 12px;
    border-color: var(--cb-primary-cta);
    background: var(--cb-primary-cta);
    color: #ffffff;
    box-shadow: none;
  }
  .chips{
    margin: 14px 0 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .highlights{
    margin-top: 22px;
    padding-top: 10px;
    gap: 10px;
  }
  .hl{
    padding: 10px;
    gap: 8px;
    background: #ffffff;
  }
  .miniRow{
    margin-top: 14px;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 520px){
  body{
    font-size: 15px;
    line-height: 1.65;
  }
  .kicker,
  .menu a,
  .btn,
  .chip,
  .mini,
  .pill,
  .tag,
  .badge,
  label,
  .help{
    font-size: 14px;
  }
}
.hero-grid{
  position: relative;
  z-index: 2;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(22px, 4vw, 52px);
  align-items:center;
}
.hero-divider{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  z-index: 2;
  margin-top: 0;
}
.hero-divider svg{
  display:block;
  width: 100%;
  height: 12px;
}
.hero-divider-line{
  stroke: var(--border);
  stroke-width: 10;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.kicker{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--secondary);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display:flex; gap:10px; align-items:center;
}
.kicker .spark{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  box-shadow: 0 0 0 5px rgba(110,193,212,.18);
}

h1{
  margin: 0 0 12px 0;
  font-size: var(--h1);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-family: var(--sans);
  font-weight: 600;
  color: #F8F9F6;
}
@media (min-width: 900px){
  .hero h1{
    color: rgba(248, 249, 246, 0.92);
    text-shadow: 0 1px 2px rgba(14, 17, 22, 0.18);
  }
  .hero .tagline{
    color: rgba(248, 249, 246, 0.88);
    text-shadow: 0 1px 2px rgba(14, 17, 22, 0.14);
  }
}
.lead{
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.75;
  max-width: 70ch;
}
.hero .lead{
  font-family: var(--sans);
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(28, 53, 87, 0.88);
  text-shadow: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero .lead::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 160px;
  transform: translateY(-50%);
  background: linear-gradient(to bottom,
    rgba(248, 249, 246, 0.7) 0%,
    rgba(248, 249, 246, 0.7) 55%,
    rgba(248, 249, 246, 0.7) 100%);
  filter: blur(22px);
  border-radius: 40px;
  pointer-events: none;
  z-index: -1;
}
.hero .tagline{
  margin: 14px 0 0;
  font-family: var(--sans);
  font-size: clamp(14px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
  font-style: italic;
}

.chips{
  display:flex;
  flex-wrap:nowrap;
  gap: 8px;
  margin: 12px 0 16px;
  align-items: baseline;
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 14px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(18,20,23,.06);
  line-height: 1;
}
.hero .chip{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(217,222,227,.9);
  color: var(--text);
}
.chip-stack{
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.chip-logo{
  width: 18px;
  height: 18px;
  object-fit: contain;
  display:block;
  opacity: .7;
}
.chip-logo.aws-logo{
  width: 22px;
  height: 22px;
}
.dot{ width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 3px rgba(110,193,212,.18); }
.dot.azure{ background: var(--accent2); box-shadow: 0 0 0 3px rgba(46,94,78,.18); }

.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top: 8px; }
.hero-actions .cta-note{
  flex-basis: 100%;
  max-width: 100%;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(248, 249, 246, 0.88);
  text-shadow: none;
  align-self: flex-start;
}
.hero .cta-note{
  color: rgba(248, 249, 246, 0.88);
  text-shadow: none;
}

.highlights{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 600px;
}
@media (max-width: 520px){ .highlights{ grid-template-columns:1fr; } }
@media (max-width: 520px){
  .chips{
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}
.hl{
  border:1px solid var(--border);
  background: #F8F9F6;
  border-radius: 16px;
  padding: 12px 12px;
  display:flex; gap:10px; align-items:flex-start;
  box-shadow: 0 14px 30px rgba(18,20,23,.08);
}
.hl .ic{
  width: 30px; height: 30px; border-radius: 12px;
  border:1px solid var(--icon);
  background: linear-gradient(135deg, rgba(110,193,212,.16), rgba(46,94,78,.14));
  display:grid; place-items:center;
  flex:0 0 auto;
}
.hl svg{ width: 16px; height: 16px; stroke: var(--icon); }
.hl b{ font-size: 13px; display:block; margin-bottom: 2px; }
.hl span{ font-size: 13px; color: var(--muted); line-height:1.35; }

.miniRow{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  align-items:center;
  color: var(--muted);
  font-size: 13px;
}
.mini{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(18,20,23,.06);
}
.mini .mDot{
  width: 9px; height: 9px; border-radius:999px;
  background: var(--secondary);
}
.post-hero-subhero{
  margin-top: 18px;
  max-width: 820px;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: rgba(248, 249, 246, 0.92);
}
.post-hero-note{
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(248, 249, 246, 0.70);
}

/* HERO VISUAL */
.visual{
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: #F8F9F6;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  min-height: 520px;
}
@media (max-width: 980px){ .visual{ min-height: 440px; } }

.visualTop{
  display:flex; justify-content:space-between; align-items:center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #F8F9F6;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12px;
  color: #1C3557;
  border:1px solid var(--border);
  background: #F8F9F6;
  border-radius: 999px;
  padding: 7px 10px;
  white-space:nowrap;
  box-shadow: 0 10px 24px rgba(18,20,23,.06);
}
.pill .bar{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.visualMain{
  position:absolute; inset:52px 0 0 0;
  display:grid; place-items:center;
  padding: 22px;
}

.shot{
  width: min(440px, 88%);
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #F8F9F6;
  box-shadow: 0 28px 70px rgba(18,20,23,.16);
  padding: 22px;
  position:relative;
  overflow:hidden;
}
.shot::before{
  content:"";
  position:absolute; inset:-20%;
  background: none;
  opacity:.55;
  transform: rotate(8deg);
  pointer-events:none;
  mask-image: radial-gradient(circle at 50% 40%, #101418 0 58%, transparent 74%);
}

.backpack{
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(2,6,23,.22));
  transform: translateY(2px);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  padding: 10px;
}

/* Sections */
h2{ margin: 0 0 12px 0; font-size: var(--h2); letter-spacing:-.015em; line-height:1.14; color: var(--primary); font-weight: 600; font-family: var(--sans); }
h3{ font-size: var(--h3); font-weight: 600; font-family: var(--sans); }
h4{ font-size: var(--h4); font-weight: 600; font-family: var(--sans); }
.section-what h2{ margin-bottom: 8px; }
.sub{ margin:0; color: var(--muted); line-height: 1.75; max-width: 70ch; }

.what-list{
  margin: 24px 0 0;
  padding-left: 22px;
  display:grid;
  gap: 6px;
  max-width: 60ch;
}
.what-list li{
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  max-width: 60ch;
  min-height: calc(1.7em * 2);
  margin: 0;
}
.what-list li::marker{ color: var(--accent); }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: 24px;
}
@media (max-width: 900px){ .grid3{ grid-template-columns: 1fr; } }

.card{
  border:1px solid var(--border);
  background: #F8F9F6;
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: 0 16px 40px rgba(18,20,23,.10);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: #C9D1D7;
  box-shadow: 0 22px 60px rgba(18,20,23,.12);
}
.card h3{ margin: 10px 0 8px; font-size: var(--h3); letter-spacing:-.01em; color: var(--secondary); }
.card p{ margin:0; color: var(--muted); line-height:1.65; font-size: 15px; }

.icon{
  width: 38px; height: 38px;
  border-radius: 14px;
  border: 1px solid var(--icon);
  background: linear-gradient(135deg, rgba(110,193,212,.18), rgba(46,94,78,.16));
  display:grid; place-items:center;
  box-shadow: 0 12px 26px rgba(18,20,23,.08);
}
.icon svg{ width: 18px; height: 18px; stroke: var(--icon); }

.cred{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #F8F9F6;
  line-height:1.65;
  box-shadow: 0 16px 40px rgba(18,20,23,.08);
}

/* Services */
.grid2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gutter);
  margin-top: 24px;
  align-items:stretch;
}
@media (max-width: 980px){ .grid2{ grid-template-columns: 1fr; } }
.section-services .grid2{
  gap: clamp(28px, 4.2vw, 48px);
}
.services-intro{
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.6;
}

.service{ padding: 22px; position:relative; overflow:hidden; }
.service.primary{
  border-color: rgba(31,58,95,.35);
  background: #F8F9F6;
}
.service .head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  margin-bottom: 10px;
}
.badge{
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.96);
  padding: 6px 10px; border-radius: 999px; white-space:nowrap;
  box-shadow: 0 10px 24px rgba(18,20,23,.06);
}
ul{ margin: 12px 0 0; padding-left: 18px; color: var(--muted); line-height:1.65; }
li{ margin: 7px 0; }

.outcomes{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.out{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px; color: var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.96);
  padding: 8px 10px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18,20,23,.06);
}
.out svg{ width: 16px; height: 16px; stroke: var(--icon); }

/* CTA block */
.cta-block{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: #F8F9F6;
  padding: clamp(22px, 3vw, 38px);
  display:flex; gap:16px; align-items:center; justify-content:space-between;
  box-shadow: 0 22px 60px rgba(18,20,23,.10);
}
@media (max-width: 780px){ .cta-block{ flex-direction:column; align-items:flex-start; } }

/* Example work */
.work-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
  margin-top: 24px;
}
@media (max-width: 980px){ .work-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .work-grid{ grid-template-columns: 1fr;} }
.work-grid .card{
  padding: 16px 16px 14px;
}
.work-grid .card p{
  font-size: 14px;
  line-height: 1.55;
}
.work-grid .tags{
  margin-top: 16px;
  gap: 10px;
}
.work-grid .tag{
  padding: 5px 9px;
  font-size: 11px;
  color: var(--muted);
  border-color: var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 14px rgba(18,20,23,.05);
}

.tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 12px; }
.tag{
  font-size: 12px;
  color: var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.96);
  padding: 6px 9px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(18,20,23,.06);
}

/* Timeline */
.timeline{
  display:grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: clamp(36px, 5.6vw, 72px);
  margin-top: 24px;
  margin-bottom: clamp(28px, 4.5vw, 60px);
  align-items:start;
  overflow-x: auto;
  position: relative;
}
.timeline::before{
  content:"";
  position:absolute;
  left: 8px;
  right: 8px;
  top: 26px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(217,222,227,.9) 0 18px,
    transparent 18px 32px
  );
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

.step{
  padding: 24px 24px 22px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 40px rgba(18,20,23,.10);
  display:grid;
  grid-template-rows: 14px auto auto;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.step .num{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing:.1em;
  color: var(--muted2);
  text-transform: uppercase;
  line-height: 14px;
}
.step h3{
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  min-height: 28px;
}
.step p{
  margin: 0;
  color: var(--muted);
  line-height:1.55;
  font-size: 14px;
  max-width: 36ch;
  white-space: normal;
}

/* Contact form */
form{
  margin-top: 14px;
  display:block;
}
.form-core{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin-bottom: 12px;
}
@media (max-width: 860px){
  .form-core{
    grid-template-columns: 1fr;
  }
}
.field{ display:flex; flex-direction:column; gap:6px; }
label{ font-size: 13px; color: var(--muted); }

input, textarea, select{
  background: rgba(255,255,255,.96);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 11px;
  outline:none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: 0 10px 22px rgba(18,20,23,.06);
}
textarea{ min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: var(--accent);
  box-shadow: var(--ring), 0 14px 30px rgba(18,20,23,.08);
  background: rgba(255,255,255,.98);
}

.full{ grid-column: 1 / -1; }
.help{
  font-size: 12px;
  color: var(--muted2);
  line-height:1.45;
  margin-top: 2px;
}

.actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top: 18px; }
.notice{
  display:none;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(46,94,78,.35);
  background: rgba(46,94,78,.12);
  color: var(--text);
  padding: 12px 12px;
  box-shadow: 0 16px 40px rgba(18,20,23,.08);
}

/* Footer */
.site-footer{
  margin-top: clamp(28px, 4.5vw, 60px);
  padding: clamp(94px, 10vw, 132px) 0 clamp(64px, 8vw, 96px);
  border-top: 1px solid rgba(217,222,227,.4);
  background: linear-gradient(180deg, rgba(232,238,244,.92) 0%, var(--bg) 55%, var(--bg2) 100%);
}
.foot{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 28px;
  text-align:center;
}
.foot-copy{ max-width: 62ch; }
.foot-head{
  margin: 0 0 10px;
  font-size: var(--h3);
  line-height: 1.2;
  color: var(--text);
}
.foot-support{
  margin: 0;
  color: var(--muted2);
  font-size: 14px;
  line-height: 1.6;
  display:flex;
  flex-direction:column;
  gap: 4px;
}
.foot-support span{ display:block; }
.foot-cred{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(60,70,82,.65);
  letter-spacing: .02em;
}
.foot-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
}
.foot-logo{
  min-width: auto;
  justify-content:center;
  opacity: .88;
}
.foot-logo .brandText{ line-height: 1.1; }
.foot-logo .logoText{ color: #1C3557; }
.foot-logo .logoBracket{ color: #9AD9E3; }
.foot-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  font-size: 11px;
  color: var(--muted2);
}
.foot-links a{
  color: var(--muted2);
  padding: 0 2px;
}
.foot-links a + a::before{
  content: "·";
  margin: 0 10px;
  color: var(--muted2);
}
.foot-links a:hover{ color: var(--text); }
.foot-legal{
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: .02em;
}

/* reveal */
.reveal{ opacity:0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .btn, .card, .reveal, .navlinks a{ transition:none !important; transform:none !important; }
  html{ scroll-behavior:auto !important; }
}
