/* DLGNT Solutions — site styles */

:root {
  --bg: #050308;
  --surface: #0d0b12;
  --border: #27272f;
  --text: #ececf1;
  --muted: #a8a8b3;
  --blue: #2d43e6;
  --blue-hover: #4357f0;
  --rose: #fb7185;
  --radius: 12px;
  --content: 72rem;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--bg);
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--blue-hover);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.text-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 3, 8, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 4rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wordmark {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.925rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.primary-nav a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .primary-nav {
    order: 3;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .primary-nav ul {
    justify-content: space-between;
    gap: 0.25rem 1rem;
  }
}

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 2.25rem;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Hero */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero h1 {
  max-width: 48rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.hero .lead {
  max-width: 42rem;
  margin-top: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

/* Services */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding: 1.5rem;
  border-top: 2px solid var(--blue);
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
}

.step-number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--rose);
  font-size: 0.85rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .hero {
    padding: 3rem 0;
  }
}

/* FAQ */

.faq-list {
  max-width: 48rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem 1.25rem 0;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

/* Final booking */

.cta-panel {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-panel p {
  max-width: 34rem;
  margin: 0.75rem auto 1.75rem;
  color: var(--muted);
}

.cta-contact {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.footer-brand {
  color: #fff;
  font-weight: 600;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-inner a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-meta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

/* Legal pages */

.legal {
  padding: 3.5rem 0 4.5rem;
}

.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.legal-meta {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-body {
  max-width: 46rem;
  margin-top: 2.5rem;
}

.legal-body section {
  padding-top: 1.75rem;
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-body section:first-child {
  margin-top: 0;
}

.legal-body h2 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.legal-body p {
  color: var(--muted);
}

.legal-body p + p {
  margin-top: 0.5rem;
}

.legal-body a {
  color: var(--text);
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
