:root {
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --page-bg: #1b1b1d;
  --page-bg-deep: #111214;
  --surface-color: rgba(35, 35, 38, 0.92);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text-color: #ffffff;
  --muted-color: #d4d6da;
  --accent-start: #d61f26;
  --accent-end: #8d1116;
  --accent-soft: rgba(214, 31, 38, 0.22);
  --ink-color: #26272b;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle at top, rgba(214, 31, 38, 0.26), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, var(--page-bg), var(--page-bg-deep));
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.under-construction {
  text-align: center;
  padding: 28px 20px;
  max-width: 720px;
}

.under-construction h1 {
  margin: 0 0 8px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-color);
}

.under-construction p {
  margin: 0;
  color: var(--muted-color);
}

.under-construction { opacity: 0; transform: translateY(6px); transition: opacity 360ms ease, transform 360ms ease; }
.under-construction.visible { opacity: 1; transform: translateY(0); }

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface-color);
  border: 1px solid var(--surface-border);
  padding: 28px 32px;
  border-radius: 18px;
  display: inline-block;
  min-width: 320px;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-start) 38%, var(--accent-end) 100%);
}

.card.large {
  padding: 40px 48px;
  min-width: 420px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 16px;
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 12px 28px var(--accent-soft);
}

.brand-copy strong {
  font-size: 1.05rem;
  color: var(--text-color);
  display: block;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

.loading-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-start);
  display: inline-block;
  transform: translateY(0);
  animation: bounce 1000ms infinite ease-in-out;
  box-shadow: 0 0 0 4px rgba(214, 31, 38, 0.12);
}

.loading-dots span:nth-child(2) { animation-delay: 140ms; }
.loading-dots span:nth-child(3) { animation-delay: 280ms; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.6; }
  40% { transform: translateY(-8px); opacity: 1; }
}

.phone {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink-color);
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.phone:hover,
.phone:focus-visible {
  transform: translateY(-2px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 16px 30px rgba(141, 17, 22, 0.35);
}

@media (max-width: 480px) {
  .card.large { min-width: 280px; padding: 22px; }
}

.service-card h3 {
  margin: 14px 0 12px;
  font-size: 1.8rem;
}

.service-card p,
.service-card li {
  line-height: 1.8;
}

.service-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 28px;
}

.timeline h3 {
  margin: 16px 0 12px;
  font-size: 1.28rem;
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.showcase-copy {
  position: sticky;
  top: 122px;
}

.showcase-copy h2 {
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.showcase-grid article {
  padding: 28px;
}

.showcase-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 32px;
}

@media (max-width: 1080px) {
  .site-header,
  .hero,
  .showcase,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .showcase {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .showcase-copy {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px;
    border-radius: 26px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .header-cta {
    width: 100%;
  }

  .hero,
  .services,
  .process,
  .showcase,
  .contact {
    padding-top: 68px;
  }

  .hero-copy,
  .hero-panel,
  .service-card,
  .timeline article,
  .showcase-grid article,
  .contact-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .hero-metrics,
  .panel-grid,
  .service-grid,
  .showcase-grid,
  .timeline,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .accent-card {
    grid-column: span 1;
  }

  .contact-card,
  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-secondary,
  .button-primary {
    width: 100%;
  }
}
