:root {
  --bg: #071426;
  --text: #0f172a;
  --muted: #5b677a;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #d29b3e;
  --brand-dark: #9b6d18;
  --navy: #0b2d5c;
  --navy-2: #0f447f;
  --cyan: #43c7ff;
  --gold-soft: #fff4d8;
  --white: #ffffff;
  --shadow: 0 30px 60px rgba(5, 15, 30, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210,155,62,0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(11,45,92,0.16), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 35%, #f6f9fd 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.grid { display: grid; gap: 20px; }

.topbar {
  background: linear-gradient(90deg, #e3b457, var(--brand));
  color: #2f2207;
  font-size: 13px;
}
.topbar__inner {
  min-height: 42px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar__inner > :first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(155,109,24,0.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.35;
  text-align: center;
}
.topbar__pill {
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.34);
  border: 1px solid rgba(155,109,24,0.35);
  font-weight: 700;
  text-align: center;
}

.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 8px 30px rgba(5, 15, 30, 0.04);
}
.nav__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 4px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px rgba(11,45,92,.16);
  overflow: hidden;
}
.brand__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__qb {
  color: var(--brand);
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 23px; line-height: 1.02; letter-spacing: .01em; }
.brand small { color: var(--muted); font-size: 14px; margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 26px; color: #233042; }
.nav__links a { font-size: 15px; font-weight: 600; opacity: .88; transition: color .2s ease, opacity .2s ease; }
.nav__links > a:hover,
.nav__links > a:focus-visible,
.nav__dropdown:hover > .nav__dropdown-toggle,
.nav__dropdown:focus-within > .nav__dropdown-toggle {
  color: var(--brand);
  opacity: 1;
}
.nav__dropdown { position: relative; }
.nav__dropdown-toggle { cursor: pointer; }
.nav__dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 0; padding-top: 14px; min-width: 880px;
  background: rgba(255,255,255,.98); border: 1px solid rgba(15,23,42,.08); border-radius: 20px;
  box-shadow: 0 26px 56px rgba(5, 15, 30, 0.18); padding: 16px; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease;
  z-index: 30; backdrop-filter: blur(10px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav__dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}
.dropdown-col {
  padding: 4px 8px; margin-bottom: 0;
}
.dropdown-col h4 {
  margin: 0 0 8px; color: var(--brand); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
}
.dropdown-col a {
  display: block; padding: 8px 0; font-size: 13px; color: #304154; opacity: .8;
  transition: opacity .2s ease, color .2s ease;
}
.dropdown-col a:hover { opacity: 1; color: var(--brand); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 18px; border: 0; border-radius: 14px; cursor: pointer;
  color: white; font-weight: 800; background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: 0 18px 38px rgba(210,155,62,0.22); transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease, filter .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(210,155,62,0.26); filter: saturate(1.04); }
.btn--ghost { background: rgba(210,155,62,0.10); color: var(--brand-dark); box-shadow: none; }
.btn--light { background: white; color: var(--brand-dark); }

.service-intro {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.95;
  margin: 0;
  max-width: 860px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #0a1520;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

section.hero[style*="padding: 64px 0 36px;"] {
  min-height: auto;
  display: block;
  padding: 20px 0 16px !important;
}

section.hero[style*="padding: 64px 0 36px;"] .hero__copy {
  max-width: 700px;
  color: white;
  background: rgba(6, 18, 34, .72);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  padding: 20px 22px;
  border-radius: 18px;
}

section.hero[style*="padding: 64px 0 36px;"] h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
  margin-bottom: 10px;
  color: white;
}

section.hero[style*="padding: 64px 0 36px;"] .lead {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
}

section.hero[style*="padding: 64px 0 36px;"] .eyebrow {
  color: var(--brand);
}

section.hero[style*="padding: 64px 0 36px;"] .hero__cta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider__slide.active {
  opacity: 1;
}

.slider__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10,21,32,.55) 0%, rgba(11,45,92,.48) 50%, rgba(10,21,32,.62) 100%);
  z-index: 2;
}

.slider__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1180px;
  z-index: 3;
  animation: slideInUp 0.8s ease-out forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}

.slider__content > div {
  background: rgba(6, 18, 34, .75);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 26px 28px;
  max-width: min(980px, 100%);
}

.slider__content h1,
.slider__content .lead,
.slider__content .eyebrow {
  text-shadow: 0 2px 14px rgba(0,0,0,.42);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.slider__content .eyebrow {
  color: var(--brand);
  font-size: 14px;
  letter-spacing: .18em;
}

.slider__content h1 {
  color: white;
  font-size: clamp(52px, 6.6vw, 88px);
  line-height: 1.02;
  max-width: none;
  margin-bottom: 20px;
  margin-top: 0;
}

.slider__content .lead {
  color: rgba(255,255,255,.9);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.6;
  max-width: 80ch;
  margin: 0 auto;
  text-align: center;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: none;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  border: 1px solid rgba(255,255,255,.2);
}

.slider__btn:hover {
  background: rgba(255,255,255,.25);
  box-shadow: 0 12px 32px rgba(210,155,62,.2);
  transform: translateY(-50%) scale(1.1);
}

.slider__btn--prev {
  left: 24px;
}

.slider__btn--next {
  right: 24px;
}

.slider__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}

.slider__dot:hover {
  background: rgba(255,255,255,.4);
  border-color: rgba(255,255,255,.8);
}

.slider__dot.active {
  background: var(--brand);
  border-color: var(--brand);
  width: 28px;
  border-radius: 12px;
}

.hero__stats {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  z-index: 10;
}

.hero__stats div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.hero__stats strong {
  display: block;
  font-size: 28px;
  color: var(--brand);
  margin-bottom: 4px;
}

.hero__stats span {
  color: rgba(255,255,255,.8);
  font-size: 13px;
}
.hero__glass--top { top: 18px; left: 32px; }
.card--glass {
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.42);
  backdrop-filter: blur(18px);
}
.card--dashboard { padding: 24px; border-radius: 34px; width: min(100%, 600px); }
.card__head { display: flex; align-items: center; justify-content: space-between; color: #0c172b; font-weight: 800; margin-bottom: 18px; }
.dot { padding: 7px 10px; border-radius: 999px; font-size: 12px; }
.dot--live { background: rgba(210,155,62,.14); color: var(--brand-dark); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.metric {
  padding: 18px; border-radius: 22px; background: linear-gradient(180deg, #ffffff, #f8fbff); border: 1px solid rgba(15,23,42,.08);
  position: relative; overflow: hidden;
}
.metric::before {
  content: ''; position: absolute; inset: auto -25% -60% auto; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210,155,62,.16), rgba(210,155,62,0) 70%);
}
.metric span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.metric strong { font-size: 28px; color: var(--brand); }
.bar { display: block; margin-top: 14px; height: 10px; border-radius: 999px; background: rgba(11,45,92,.08); overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-dark), var(--brand)); }
.metric--ring { display: grid; place-items: center; position: relative; }
.ring {
  width: 138px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: var(--brand);
  background: conic-gradient(var(--brand) 0 99%, rgba(11,45,92,.08) 99% 100%);
  -webkit-mask: radial-gradient(circle at center, transparent 58%, #000 59%);
          mask: radial-gradient(circle at center, transparent 58%, #000 59%);
}
.floating-card {
  position: absolute; padding: 14px 18px; border-radius: 18px; font-weight: 700; color: var(--brand);
  background: rgba(255,255,255,.78); border: 1px solid rgba(15,23,42,.08); box-shadow: var(--shadow);
}
.floating-card--left { left: 18px; bottom: 32px; transform: rotate(-6deg); }
.floating-card--right { right: 12px; top: 48px; transform: rotate(4deg); }

.trust { padding: 18px 0 44px; }
.trust__inner { border-top: 1px solid var(--line); padding-top: 30px; text-align: center; }
.trust__inner p { margin: 0 0 16px; color: var(--muted); }
.trust__logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust__logos span {
  padding: 10px 14px; border-radius: 999px; background: white; border: 1px solid rgba(15,23,42,.08);
  color: #304154; font-size: 13px; font-weight: 700;
}

.section { padding: 84px 0; }
.section--alt { background: linear-gradient(180deg, rgba(11,45,92,.04), rgba(0,168,232,.03)); }
.section__head { display: grid; gap: 10px; margin-bottom: 36px; text-align: center; margin-left: auto; margin-right: auto; }
.section__head h2, .two-col h2, .cta h2, .contact-grid h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; color: #09162d; }
.section__head { max-width: none; }

.portfolio-showcase {
  background: linear-gradient(180deg, rgba(11,45,92,.03), rgba(255,255,255,.92));
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(5,15,30,.08);
  display: grid;
  grid-template-rows: 220px auto;
}

.portfolio-card--feature {
  grid-column: span 2;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: none;
}

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card__body {
  padding: 22px;
}

.portfolio-card h3 {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.2;
  color: #0a1b34;
}

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

.portfolio-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(210,155,62,.13);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.portfolio-kpis {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-kpis span {
  font-size: 12px;
  font-weight: 700;
  color: #17355e;
  background: rgba(11,45,92,.08);
  border: 1px solid rgba(11,45,92,.12);
  border-radius: 999px;
  padding: 6px 10px;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.work-item {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.work-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #102848;
}

.work-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

#home .trust {
  position: relative;
  padding: 30px 0 56px;
}

#home .trust::before {
  content: '';
  position: absolute;
  inset: auto 0 -16px 0;
  height: 120px;
  background: radial-gradient(circle at center, rgba(210,155,62,.18), rgba(210,155,62,0) 70%);
  pointer-events: none;
}

#home .trust__inner {
  border-top: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,251,255,.94));
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  box-shadow: 0 24px 44px rgba(6, 18, 34, 0.09);
  padding: 26px;
}

#home .trust__logos span {
  background: linear-gradient(180deg, #fff, #f7fbff);
  border-color: rgba(210,155,62,.28);
  box-shadow: 0 10px 20px rgba(5,15,30,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

#home .trust__logos span:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(210,155,62,.18);
}

#home .section {
  position: relative;
  overflow: clip;
}

#home .section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,155,62,.14), rgba(210,155,62,0) 72%);
  pointer-events: none;
}

#home .section::after {
  content: '';
  position: absolute;
  left: -180px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,45,92,.09), rgba(11,45,92,0) 72%);
  pointer-events: none;
}

#home .section > .container {
  position: relative;
  z-index: 1;
}

#home .section__head .eyebrow {
  justify-self: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(210,155,62,.14);
  border: 1px solid rgba(210,155,62,.28);
}

#home .section__head h2 {
  background: linear-gradient(180deg, #0c1e37 0%, #153a6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { 
  padding: 22px 22px;
  position: relative; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 180px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(210,155,62,.18);
  box-shadow: 0 10px 40px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(210,155,62,.4) 100%);
  border-radius: 24px 24px 0 0;
}

.hover-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.hover-card:hover { 
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(210,155,62,.18), 0 2px 4px rgba(0,0,0,.12);
  border-color: rgba(210,155,62,.3);
}

#home .cards .card h3 {
  color: var(--brand);
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

#home .cards .card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 500;
}

#home .hover-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 56px rgba(210,155,62,.2);
}

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 30px; color: #304154; line-height: 1.6; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); font-weight: 800; font-size: 12px; }
.card--metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card--metrics div { padding: 22px; border-radius: 20px; background: white; border: 1px solid rgba(15,23,42,.08); }
.card--metrics span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.card--metrics strong { font-size: 32px; color: var(--brand); }

#home .card--metrics {
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(246,250,255,.94));
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 26px 46px rgba(6,18,34,.09);
}

#home .card--metrics div {
  background: linear-gradient(180deg, #fff, #f9fcff);
  border-color: rgba(210,155,62,.2);
}

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.timeline div { padding: 24px; background: white; border: 1px solid rgba(15,23,42,.08); border-radius: 22px; box-shadow: var(--shadow); }
.timeline span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--cyan)); color: white; font-weight: 800; margin-bottom: 14px; }
.timeline span { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.timeline h3 { margin: 0 0 8px; color: var(--brand); font-size: 22px; font-weight: 700; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.65; }

#home .timeline {
  position: relative;
}

#home .timeline::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 41px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(210,155,62,.55), rgba(67,199,255,.45));
  z-index: 0;
}

#home .timeline div {
  position: relative;
  z-index: 1;
  transition: transform .25s ease, box-shadow .25s ease;
}

#home .timeline div:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(6,18,34,.13);
}

.testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { margin: 0; font-size: 18px; line-height: 1.75; color: #1f2c3d; }
.quote footer { margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }

#home .testimonials .quote {
  position: relative;
  border-top: 4px solid rgba(210,155,62,.45);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

#home .testimonials .quote::before {
  content: '"';
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: 64px;
  line-height: 1;
  color: rgba(210,155,62,.3);
  font-weight: 800;
}

.faq { display: grid; gap: 12px; }
details {
  background: white; border: 1px solid rgba(15,23,42,.08); border-radius: 18px; padding: 4px 18px; box-shadow: var(--shadow);
}
summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--brand); }
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); margin: 0 0 16px; line-height: 1.65; }

#home .faq details {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#home .faq details:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(6,18,34,.11);
  border-color: rgba(210,155,62,.3);
}

#home .faq details[open] {
  border-color: rgba(210,155,62,.35);
  background: linear-gradient(180deg, #ffffff, #fbfeff);
}

.cta {
  background: linear-gradient(135deg, #071426 0%, #0b2d5c 56%, #122e53 100%);
  color: white;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cta h2, .cta .eyebrow { color: white; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.form {
  display: grid;
  gap: 14px;
  padding: 30px;
  border-top: 4px solid rgba(210,155,62,.45);
  border-radius: 24px;
}

.form__header {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.form__header h3 {
  margin: 0;
  font-size: 26px;
  color: var(--text);
}

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

.form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.form label span {
  display: block;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: white;
  color: var(--text);
}

.form textarea {
  resize: vertical;
  min-height: 140px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #8a95a5;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: rgba(210,155,62,.55);
  box-shadow: 0 0 0 4px rgba(210,155,62,.12);
}

#home .form {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 28px 56px rgba(6,18,34,.12);
}

.footer {
  padding: 48px 0 22px; color: white;
  background: linear-gradient(180deg, #06111f, #091d36);
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; padding-bottom: 22px;
}
.footer h3, .footer h4 { margin: 0 0 12px; }
.footer p, .footer a { color: rgba(255,255,255,.75); display: block; margin: 0 0 10px; }
.footer__bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero__grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .cards, .testimonials, .timeline, .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid,
  .work-list { grid-template-columns: 1fr; }
  .portfolio-card--feature { grid-column: span 1; grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero h1 { max-width: none; }
  .hero__dashboard { min-height: 460px; }
  .slider__btn { width: 48px; height: 48px; }
  .slider__btn--prev { left: 16px; }
  .slider__btn--next { right: 16px; }
  .hero__stats { gap: 12px; }
  .nav__dropdown-menu {
    min-width: min(92vw, 640px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    font-size: 12px;
  }
  .topbar__inner {
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    text-align: center;
    gap: 8px;
    min-height: auto;
  }
  .topbar__inner > :first-child {
    width: 100%;
    min-height: auto;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.45;
  }
  .topbar__pill {
    width: 100%;
    padding: 6px 12px;
    font-size: 12px;
  }
  .nav__inner {
    position: relative;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
  }
  .brand {
    gap: 10px;
    min-width: 0;
  }
  .brand__mark { width: 50px; height: 50px; }
  .brand strong { font-size: 16px; line-height: 1.05; }
  .brand small { font-size: 11px; margin-top: 2px; }
  .nav__actions {
    gap: 8px;
    justify-self: end;
    align-items: center;
  }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(15,23,42,.1); border-radius: 12px; background: white; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 16px; right: 16px; margin-top: 8px; flex-direction: column; gap: 0;
    padding: 12px; border-radius: 20px; background: white; box-shadow: var(--shadow); border: 1px solid rgba(15,23,42,.08);
    z-index: 40;
    max-height: min(70vh, 560px);
    overflow: auto;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 10px; width: 100%; }
  .nav__dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav__dropdown-toggle::after {
    content: '+';
    color: var(--brand);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
  }
  .nav__dropdown.is-open > .nav__dropdown-toggle::after {
    content: '−';
  }
  .nav__dropdown-menu {
    position: static;
    margin-top: 2px;
    min-width: 0;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 4px 0 0;
    display: none;
    background: transparent;
    backdrop-filter: none;
  }
  .nav__dropdown.is-open .nav__dropdown-menu {
    display: block;
  }
  .dropdown-col { padding: 0 8px 8px; }
  .hero__stats, .cards, .testimonials, .timeline, .footer__grid, .card--metrics { grid-template-columns: 1fr; }
  .hero { padding: 0; min-height: auto; }
  .hero__slider {
    height: auto;
    min-height: auto;
    padding-bottom: 28px;
  }
  .slider__container {
    height: min(78svh, 640px);
    min-height: 560px;
  }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__dashboard { margin-top: 10px; }
  .hero h1 { max-width: none; }
  .card--dashboard { padding: 18px; border-radius: 26px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .hero__glass--top { left: 14px; top: -8px; }
  .floating-card { display: none; }
  .section { padding: 64px 0; }
  .section__head h2, .two-col h2, .cta h2, .contact-grid h2 {
    font-size: clamp(28px, 9vw, 38px);
  }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .slider__btn { width: 40px; height: 40px; top: auto; bottom: 150px; transform: none; }
  .slider__btn--prev { left: 12px; }
  .slider__btn--next { right: 12px; }
  .slider__content {
    top: 42%;
    padding: 0 16px;
  }
  .slider__content > div {
    padding: 20px 18px;
    border-radius: 18px;
  }
  .slider__content h1 {
    font-size: clamp(32px, 8.6vw, 44px);
    line-height: 1.06;
    max-width: none;
    margin-bottom: 14px;
  }
  .slider__content .lead {
    font-size: 16px;
    line-height: 1.55;
    max-width: 34ch;
    margin: 0 auto;
    text-align: center;
  }
  .slider__dots {
    bottom: 120px;
    gap: 8px;
  }
  .slider__dot {
    width: 10px;
    height: 10px;
  }
  .slider__dot.active {
    width: 24px;
  }
  .hero__stats {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: calc(100% - 32px);
    margin: -28px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero__stats div {
    padding: 14px;
    min-height: 92px;
  }
  .hero__stats strong {
    font-size: 24px;
  }
  .trust { padding: 10px 0 40px; }
  .trust__inner { padding: 20px; }
  #home .section,
  #home .section__head,
  #home .two-col,
  #home .contact-grid,
  #home .cta__inner,
  #home .faq,
  #home .testimonials,
  #home .timeline,
  #home .cards {
    text-align: center;
  }
  #home .section__head .eyebrow {
    justify-self: center;
  }
  #home .cards .card,
  #home .timeline div,
  #home .testimonials > *,
  #home .faq details,
  #home .form,
  #home .card--metrics,
  #home .contact-grid > * {
    margin-left: auto;
    margin-right: auto;
  }
  #home .cards .card,
  #home .timeline div,
  #home .testimonials .quote,
  #home .faq details,
  #home .form,
  #home .contact-grid,
  #home .cta__inner {
    text-align: center;
  }
  #home .section h2,
  #home .section h3,
  #home .section p,
  #home .section .lead,
  #home .timeline h3,
  #home .timeline p,
  #home .testimonials .quote,
  #home .testimonials .quote footer,
  #home .faq summary,
  #home .faq details p {
    text-align: center;
  }
  #home .cards .card {
    align-items: center;
  }
  #home .checklist {
    justify-items: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  #home .checklist li {
    width: 100%;
    max-width: 460px;
    padding-left: 0;
    padding-top: 30px;
    text-align: center;
  }
  #home .checklist li::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  #home .timeline span,
  #home .card--metrics span,
  #home .card--metrics strong,
  #home .quote footer {
    margin-left: auto;
    margin-right: auto;
  }
  #home .timeline::before {
    display: none;
  }
  #home .cta__inner {
    align-items: center;
  }
  #home .cta__inner .btn {
    align-self: center;
  }
  #home .contact-grid {
    justify-items: center;
  }
  #home .form {
    width: min(100%, 620px);
  }
  #home .form__header,
  #home .form label,
  #home .form label span {
    text-align: center;
  }
  #home .form input,
  #home .form textarea,
  #home .form select {
    text-align: center;
  }
  #home .form button {
    justify-self: center;
  }
  .form { padding: 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 20px; }
  .footer { padding: 40px 0 20px; }
  .footer__grid > div,
  .footer__grid h3,
  .footer__grid h4,
  .footer__grid p,
  .footer__grid a,
  .footer__bottom {
    text-align: center;
  }
  .footer__bottom { font-size: 13px; }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1180px);
  }
  .brand__mark {
    width: 46px;
    height: 46px;
  }
  .brand strong {
    font-size: 14px;
  }
  .brand small {
    font-size: 10px;
  }
  .topbar {
    font-size: 11px;
  }
  .topbar__inner > :first-child {
    font-size: 11px;
    padding: 7px 10px;
  }
  .topbar__pill {
    font-size: 11px;
  }
  .slider__container {
    min-height: 520px;
    height: min(72svh, 560px);
  }
  .slider__content {
    top: 40%;
  }
  .slider__content > div {
    padding: 18px 16px;
  }
  .slider__content h1 {
    font-size: clamp(28px, 10vw, 38px);
  }
  .slider__content .lead {
    font-size: 15px;
    max-width: 28ch;
    margin: 0 auto;
    text-align: center;
  }
  .slider__btn {
    bottom: 138px;
    width: 36px;
    height: 36px;
  }
  .hero__stats {
    grid-template-columns: 1fr;
    margin-top: -18px;
  }
  .hero__stats div {
    min-height: auto;
  }
}