﻿/* =========================================================
   TechLaunch – Services8 Template
   Design: Bento-Grid, Split Light/Dark, Diagonal Dividers
   Fonts: Red Hat Display (headings) + Source Sans 3 (body)
   ========================================================= */


/* ── CSS Custom Properties ── */
:root {
  /* Brand Palette */
  --cyan:    #00fff2;
  --purple:  #7a00ff;
  --blue:    #00b0e6;

  /* Neutral Light */
  --white:   #ffffff;
  --off-white: #f7f9fc;
  --light-border: #e4e9f2;

  /* Neutral Dark */
  --navy:    #080e1e;
  --navy-2:  #0d1630;
  --navy-3:  #111d3a;
  --muted:   #8a9bc0;

  /* Text */
  --text-dark:  #0d1630;
  --text-light: #f0f4ff;
  --text-muted: #64748b;

  /* Glows */
  --glow-cyan:   0 0 20px rgba(0, 255, 242, 0.35);
  --glow-purple: 0 0 20px rgba(122, 0, 255, 0.35);
  --glow-blue:   0 0 20px rgba(0, 176, 230, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Layout */
  --container-width: 1200px;
  --container-padding: 5%;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--navy);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

input, textarea, select, button {
  font-family: inherit;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { font-size: 1.05rem; }

/* ── Layout ── */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section--light {
  background-color: var(--white);
  color: var(--text-dark);
}

.section--off {
  background-color: var(--off-white);
  color: var(--text-dark);
}

.section--dark {
  background-color: var(--navy);
  color: var(--text-light);
}

.section--navy2 {
  background-color: var(--navy-2);
  color: var(--text-light);
}

/* Diagonal divider bottom */
.clip--down {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  padding-bottom: 8rem;
}

.clip--up {
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  padding-top: 8rem;
}

/* ── Section Tags ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.section-tag--cyan {
  background: rgba(0, 255, 242, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 242, 0.3);
}

.section-tag--purple {
  background: rgba(122, 0, 255, 0.12);
  color: #b46fff;
  border: 1px solid rgba(122, 0, 255, 0.3);
}

.section-tag--blue {
  background: rgba(0, 176, 230, 0.12);
  color: var(--blue);
  border: 1px solid rgba(0, 176, 230, 0.3);
}

.section-tag--dark {
  background: rgba(0, 176, 230, 0.1);
  color: var(--blue);
  border: 1px solid rgba(0, 176, 230, 0.25);
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: var(--white);
}

.btn--primary:hover {
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn--outline:hover {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy-3);
}

.btn--dark:hover {
  background: var(--navy-2);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  background: var(--cyan);
  color: var(--navy);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 0;
  width: auto;
  height: auto;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(8, 14, 30, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 255, 242, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--white);
  flex-shrink: 0;
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.logo__name span { color: var(--cyan); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(240, 244, 255, 0.8);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--cyan);
  background: rgba(0, 255, 242, 0.08);
}

/* Header right */
.header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 0.2rem;
  gap: 0;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(240, 244, 255, 0.6);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--cyan);
  color: var(--navy);
}

.lang-btn:hover:not(.active) {
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: rgba(255, 255, 255, 0.08); }

.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 30, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .nav__link {
  font-size: 1.5rem;
  padding: 0.75rem 2rem;
}

.mobile-menu .lang-switcher {
  margin-top: 1rem;
}

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 74px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Radial glow orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: var(--purple);
  top: -150px;
  right: -100px;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: -50px;
  left: -80px;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  top: 40%;
  left: 40%;
}

/* Grid lines decoration */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 242, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 242, 0.08);
  border: 1px solid rgba(0, 255, 242, 0.25);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(240, 244, 255, 0.7);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(240, 244, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}

.hero__scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 255, 242, 0.6), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Bento Stats Row ── */
.stats {
  background: var(--navy-2);
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 255, 242, 0.08);
  border-bottom: 1px solid rgba(0, 255, 242, 0.08);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item__number {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item__label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── Services Section ── */
/* Bento grid layout for services */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--light-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-card--website:hover { box-shadow: 0 20px 50px rgba(0, 176, 230, 0.15); }
.service-card--email:hover   { box-shadow: 0 20px 50px rgba(122, 0, 255, 0.15); }
.service-card--ai:hover      { box-shadow: 0 20px 50px rgba(0, 255, 242, 0.15); }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card__icon--blue   { background: rgba(0, 176, 230, 0.1); color: var(--blue); }
.service-card__icon--purple { background: rgba(122, 0, 255, 0.1); color: var(--purple); }
.service-card__icon--cyan   { background: rgba(0, 255, 242, 0.1); color: #00c8c2; }

.service-card h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}

.learn-more:hover {
  gap: 0.7rem;
  color: var(--purple);
}

/* ── Why Us / Feature Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), background var(--transition);
}

.feature-card:hover {
  border-color: rgba(0, 255, 242, 0.2);
  background: rgba(0, 255, 242, 0.03);
}

.feature-card__icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── About ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  border: 1px dashed rgba(0, 255, 242, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

.about-placeholder__icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.about-text h2 { margin-bottom: 1.25rem; }

.about-text > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

.value-item strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-detail__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-detail__text {
  font-size: 0.97rem;
  color: var(--text-muted);
}

.contact-detail__label {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--light-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--navy);
  color: var(--cyan);
  border-color: rgba(0, 255, 242, 0.3);
  box-shadow: var(--glow-cyan);
}

/* ── Map Placeholder ── */
.map-placeholder {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px dashed var(--light-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.map-placeholder__icon { font-size: 2rem; opacity: 0.5; }

/* ── Contact Form ── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--light-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form-group label .required { color: #ef4444; margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--light-border);
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 0.97rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 176, 230, 0.15);
  background: var(--white);
}

.form-control.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

.form-error {
  font-size: 0.8rem;
  color: #ef4444;
  display: none;
}

.form-error.visible { display: block; }

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  color: #059669;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

.form-success.visible { display: block; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.8;
  max-width: 260px;
}

.footer-brand .social-row { margin-top: 1.5rem; }
.footer-brand .social-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.footer-col h4 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col ul a {
  color: rgba(240, 244, 255, 0.65);
  font-size: 0.93rem;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--cyan); }

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__tagline {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.footer__copy {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── 404 Page ── */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  padding: 2rem;
}

.error-page__code {
  font-family: 'Red Hat Display', sans-serif;
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.75rem;
}

.error-page h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }

.error-page p {
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 2.5rem;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header__right .btn { display: none; }
  .services-bento { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .contact-form { padding: 1.5rem; }
  .hero { padding-top: 80px; }
}

