/* =========
   Design tokens
   ========= */
:root {
  --clr-bg: #f3f4f6;
  --clr-surface: #ffffff;
  --clr-surface-soft: #f9fafb;
  --clr-border: #e5e7eb;
  --clr-primary: #e03c31;
  --clr-primary-soft: rgba(224, 60, 49, 0.08);
  --clr-primary-dark: #b12c24;
  --clr-text: #0f172a;
  --clr-text-soft: #6b7280;
  --clr-accent: #2563eb;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.14);
  --shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.08);
  --space-section: 4.5rem;
}

/* =========
   Global
   ========= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

/* Links */

a {
  color: var(--clr-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

main {
  padding-top: 5.5rem; /* space for header */
}

/* =========
   Header / Navigation
   ========= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 102px;
  height: 102px;
  border-radius: 7px;
  object-fit: contain;
  background: var(--clr-surface-soft);
  padding: 3px;
  box-shadow: var(--shadow-subtle);
}

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

.brand-title {
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--clr-text);
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--clr-text-soft);
}

/* Navigation */

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

.nav-link {
  position: relative;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--clr-text-soft);
  text-decoration: none;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.nav-link:hover {
  background-color: var(--clr-primary-soft);
  color: var(--clr-primary);
  box-shadow: 0 0 0 1px rgba(224, 60, 49, 0.06);
}

.nav-link.is-active {
  background-color: var(--clr-primary);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(224, 60, 49, 0.45);
}

/* =========
   Hero
   ========= */

.hero {
  background: radial-gradient(circle at top left, #fee2e2 0, #f3f4f6 30%, #e5e7eb 75%);
  padding-block: 4.5rem 3.75rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
}

.hero-copy {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.96));
  color: #ffffff;
  padding: 2.5rem 2.4rem;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(224, 60, 49, 0.22), transparent 52%);
  opacity: 0.85;
  pointer-events: none;
}

.hero-inner > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248, 250, 252, 0.8);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.9rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1rem;
  max-width: 32rem;
  color: rgba(241, 245, 249, 0.88);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
}

/* =========
   Buttons
   ========= */

.btn {
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.94rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.btn-primary {
  background-color: var(--clr-primary);
  color: #ffffff;
  border-color: var(--clr-primary);
  box-shadow: 0 14px 40px rgba(224, 60, 49, 0.5);
}

.btn-primary:hover {
  background-color: var(--clr-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(224, 60, 49, 0.65);
  text-decoration: none;
}

.btn-outline {
  background-color: rgba(15, 23, 42, 0.04);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.55);
}

.btn-outline:hover {
  background-color: rgba(15, 23, 42, 0.16);
  border-color: rgba(148, 163, 184, 0.85);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--clr-primary);
  border-color: rgba(224, 60, 49, 0.35);
}

.btn-ghost:hover {
  background: var(--clr-primary-soft);
  border-color: rgba(224, 60, 49, 0.7);
  text-decoration: none;
}

/* =========
   Sections / Content
   ========= */

.section {
  padding-block: var(--space-section);
}

.section-alt {
  background-color: var(--clr-surface-soft);
}

.section h2 {
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.section-intro {
  margin: 0.25rem 0 2rem;
  max-width: 36rem;
  color: var(--clr-text-soft);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.18);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--clr-text-soft);
}

/* Two-column layout */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Lists */

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.list-check li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.97rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.18rem;
  font-size: 0.9rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background-color: var(--clr-primary-soft);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Highlight box */

.highlight-box {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.8);
  background: #f9fafb;
  font-size: 0.93rem;
  color: var(--clr-text-soft);
}

/* CTA section */

.section-cta {
  background: radial-gradient(circle at top, #fee2e2 0, #fef2f2 28%, #ffffff 78%);
}

.section-cta-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.section-cta-inner p {
  max-width: 30rem;
  margin: 0.3rem 0 0;
  color: var(--clr-text-soft);
}

.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* =========
   Forms (contact / newsletter)
   ========= */

.form-card {
  background-color: var(--clr-surface);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--clr-text-soft);
  display: block;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--clr-border);
  font: inherit;
  background-color: #f9fafb;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(224, 60, 49, 0.25);
}

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

/* =========
   Footer
   ========= */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background-color: #ffffff;
  padding-block: 1.4rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-soft);
}

.footer-meta {
  opacity: 0.9;
}

/* =========
   Coming soon banner (optional)
   ========= */

.coming-soon-banner {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #000000, #ffd200, #d50000);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 9999;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
  100% {
    opacity: 1;
  }
}

/* =========
   Responsive tweaks
   ========= */

@media (max-width: 800px) {
  .header-inner {
    align-items: flex-start;
  }

  .hero {
    padding-block: 3.8rem 3rem;
  }

  .hero-copy {
    padding: 2.1rem 1.7rem;
  }

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

  .section-cta-inner {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  main {
    padding-top: 6.2rem;
  }

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

  .section {
    padding-block: 3.4rem;
  }
}
