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

:root {
  --color-ink: #0f172a;
  --color-subtle: #475569;
  --color-muted: #64748b;
  --color-highlight: #fb923c;
  --color-accent: #38bdf8;
  --color-surface: rgba(255, 255, 255, 0.78);
  --color-line: rgba(148, 163, 184, 0.26);
  --shadow-soft: 0 24px 48px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 18px 38px rgba(15, 23, 42, 0.15);
  --max-width: 1160px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 55%, #fee2b6 110%);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.masthead {
  width: min(100% - 3rem, var(--max-width));
  margin: 0 auto;
  padding: 3rem 3rem 5rem;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.masthead::before {
  content: '';
  position: absolute;
  inset: -120px -160px auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
  z-index: -1;
}

.masthead::after {
  content: '';
  position: absolute;
  inset: auto auto -160px -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.2) 0%, rgba(251, 146, 60, 0) 72%);
  z-index: -1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.8rem;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 1.5rem;
  z-index: 10;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--color-ink);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 1.05rem;
  color: var(--color-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--color-ink);
  transform: translateY(-1px);
}

.cta-link {
  color: var(--color-highlight);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  transition: transform 0.2s ease;
}

.hero {
  margin-top: 3rem;
  position: relative;
  padding: 3.5rem 3.2rem;
  border-radius: 32px;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.55)), url("../img/header-hero.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -60px -80px 0 -80px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 65%);
  opacity: 0.45;
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-text p {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.5);
}


.section {
  width: min(100% - 3rem, var(--max-width));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-header {
  display: grid;
  gap: 0.75rem;
  max-width: 620px;
}

.section-header p {
  margin: 0;
  color: var(--color-subtle);
}

.section-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #0369a1;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.step-grid,
.card-grid,
.testimonial-grid,
.resource-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.9rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step-grid article,
.card-grid article,
.resource-grid article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.step-grid h3,
.card-grid h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.step-grid p,
.card-grid p,
.resource-grid p {
  margin: 0;
  color: var(--color-subtle);
}

.step-grid ul {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.step-grid li::before {
  content: '▴';
  color: var(--color-highlight);
  margin-right: 0.45rem;
  font-size: 0.75rem;
}

.card-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  color: var(--color-highlight);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.spotlight {
  padding-top: 0;
}

.spotlight-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(249, 115, 22, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 32px;
  padding: 3rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  box-shadow: var(--shadow-soft);
}

.spotlight-text h2 {
  margin-bottom: 1rem;
}

.spotlight-text p {
  color: var(--color-subtle);
}

.spotlight-metrics {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

.spotlight-metrics div {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
}

.spotlight-metrics dt {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.spotlight-metrics dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.testimonials {
  padding-top: 0;
}

.testimonial-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.testimonial-grid blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-ink);
}

.client-name {
  margin-top: 1.3rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
}

.resource-grid article {
  position: relative;
}

.resource-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  color: #0369a1;
  margin-bottom: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-top: 1.4rem;
}

.text-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.contact {
  padding-bottom: 6rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 36px;
  border: 1px solid var(--color-line);
  padding: 3.2rem;
  box-shadow: var(--shadow-soft);
}

.contact-text p {
  color: var(--color-subtle);
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: grid;
  gap: 1.8rem;
  margin-bottom: 0;
}

.contact-details h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: var(--color-muted);
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

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

.form-row {
  display: grid;
  gap: 0.5rem;
}

label {
  font-size: 0.82rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--color-muted);
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.8);
  color: var(--color-ink);
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.site-footer {
  width: 100%;
  padding: 4rem 0 5rem;
}

.footer-inner {
  width: min(100% - 3rem, var(--max-width));
  margin: 0 auto;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 2.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer-brand span {
  font-weight: 700;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.footer-brand p {
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-ink);
}

.footer-copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .masthead {
    padding: 2.75rem 2.4rem 4.5rem;
  }

  .hero {
    margin-top: 2.6rem;
    padding: 3.5rem 3rem;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 65%, #fee2b6 120%);
  }

  .masthead,
  .section,
  .footer-inner {
    width: min(100% - 2rem, var(--max-width));
  }

  .masthead {
    padding: 2.4rem 1.8rem 3.5rem;
    border-radius: 28px;
  }

  .hero {
    padding: 3rem 2rem;
    border-radius: 24px;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
    padding: 2.4rem;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .step-grid article,
  .card-grid article,
  .resource-grid article,
  .testimonial-grid article {
    padding: 1.9rem;
  }

  .contact-wrapper {
    padding: 2.4rem;
  }

  .footer-inner {
    width: min(100% - 1.5rem, var(--max-width));
  }
}
