:root {
  --bg: #09111f;
  --bg-soft: #101b32;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ecf2ff;
  --muted: #a8b6d9;
  --brand: #60a5fa;
  --brand-2: #22d3ee;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 25%),
    linear-gradient(180deg, #08101d 0%, #0c1426 100%);
  line-height: 1.65;
}

html, body {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.15; }
img { max-width: 100%; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section { padding: 3.5rem 0; }

.section-alt {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.glass,
.card,
.portfolio-card,
.accordion-item,
.cta-band,
.form-card,
.info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 16, 29, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #07111f;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #03101c;
  font-weight: 800;
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.18);
}

.btn:hover { transform: translateY(-2px); }

.btn-sm {
  padding: 0.8rem 1.05rem;
  color: #04111d !important;
}

.btn-ghost,
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero,
.page-hero {
  padding: 6.25rem 0 5rem;
}

.page-hero.compact {
  padding-bottom: 2.25rem;
}

.hero-grid,
.about-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 4.2vw, 56px);
  line-height: 1.15;
  max-width: 700px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-hero h1 {
  max-width: 14ch;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: #c8defd;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.08rem;
  max-width: 64ch;
}

.hero-title-wrap {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #dce8ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-kicker {
  width: 100%;
  white-space: normal;
  flex-wrap: wrap;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.65vw, 1.18rem);
  line-height: 1.75;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.8rem 0;
}

.hero-points,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.hero-points li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-2);
  font-weight: 800;
}

.hero-card,
.timeline-card,
.info-card,
.form-card {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-grid article {
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--panel-strong);
}

.stat-grid strong {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 0.35rem;
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.tech-cloud,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.tech-cloud span,
.tag-cloud span,
.pill {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: #d9e4ff;
}

.tag-cloud.large span { font-size: 0.96rem; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 64ch;
}

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

.card,
.portfolio-card {
  border-radius: var(--radius);
  padding: 1.45rem;
}

.client-project-logo {
  margin-bottom: 1rem;
}

.card h3,
.portfolio-card h3 {
  margin-bottom: 0.75rem;
}

.services-preview .card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  transition: transform .2s ease;
}

.center-actions {
  text-align: center;
  margin-top: 1.75rem;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.client-logo-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}

.client-logo-card img,
.client-project-logo {
  width: auto;
  max-width: 170px;
  max-height: 52px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

.client-logo-card h3,
.client-project-card h3 {
  margin-bottom: 0.65rem;
}

.client-logo-card p,
.client-project-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-summary-grid {
  margin-top: 1.25rem;
}

.testimonial-slider {
  position: relative;
  min-height: 220px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.testimonial.active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial p {
  font-size: 1.1rem;
  color: var(--text);
}

.testimonial span {
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial-dots {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.testimonial-dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
}

.testimonial-dots button.active {
  background: var(--brand-2);
}

.cta-band {
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cta-band .btn {
  white-space: nowrap;
  min-width: 190px;
}

.accordion-wrap {
  display: grid;
  gap: 1rem;
}

.accordion-item {
  border-radius: 18px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1.2rem 1.25rem;
  font: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
}

.accordion-panel {
  display: none;
  padding: 0 1.25rem 1.25rem;
}

.accordion-item.active .accordion-panel {
  display: block;
}

.filter-bar {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn.active {
  color: var(--text);
  border-color: rgba(34,211,238,0.6);
  background: rgba(34,211,238,0.08);
}

.portfolio-card.hidden {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin: 0 auto;
  align-items: start;
}

.contact-details-title {
  margin-bottom: 0.75rem;
}

.contact-list {
  margin-bottom: 1rem;
}

.contact-list a,
.contact-list p {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.enquiry-types-card {
  margin-top: 4rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font: inherit;
}

.form-note {
  font-size: 0.9rem;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.65rem;
  color: var(--muted);
}

.footer-bottom {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  margin-right: 6px;
}

.contact-hero {
  padding-top: 3.6rem;
  padding-bottom: 1.5rem;
}

.contact-hero .lead {
  max-width: 54ch;
}

.enquiry-card {
  width: 100%;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
}

.enquiry-card-head {
  margin-bottom: 1.25rem;
}

.enquiry-card-head .eyebrow {
  margin-bottom: 0.8rem;
}

.enquiry-card h2 {
  margin-bottom: 0.55rem;
}

.form-intro {
  margin-bottom: 0;
  max-width: 60ch;
}

.form-note {
  margin-top: 1rem;
}

.form-note a {
  color: #dff7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form button.btn {
  margin-top: 0.5rem;
  cursor: pointer;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9fb0d1;
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: clamp(2.5rem, 3.35vw, 3.9rem);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .two-col,
  .footer-grid,
  .logo-wall,
  .card-grid,
  .portfolio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(8, 16, 29, 0.96);
    border: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .contact-hero {
    padding-top: 2.8rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero,
  .section {
    padding: 4.2rem 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .enquiry-card {
    padding: 1rem;
  }
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #d9ffe7;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ffe1e1;
}

.contact-form .btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}


