:root {
  --bg: #f9fcff;
  --surface: #2b2340;
  --surface-strong: #ffffff;
  --text: #183042;
  --muted: #56707f;
  --line: rgba(67, 53, 102, 0.28);
  --primary: #1b84b3;
  --primary-dark: #125c7c;
  --accent: #ffb44d;
  --shadow: 0 22px 50px rgba(38, 27, 64, 0.18);
  --radius: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #f7f4ff;
  line-height: 1.6;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 820px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(43, 35, 64, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #4cb8e8 100%);
  color: white;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-weight: 600;
}

.site-nav a:not(.button) {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, #46afe1 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(27, 132, 179, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(24, 48, 66, 0.08);
}

.button-sm {
  padding: 0.72rem 1.15rem;
  font-size: 0.95rem;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(230, 221, 255, 0.62), rgba(247, 244, 255, 0));
}

.page-hero {
  padding: 4.75rem 0 2.25rem;
  background: linear-gradient(180deg, rgba(236, 229, 255, 0.66), rgba(247, 244, 255, 0));
}

.hero-grid,
.split-layout,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.split-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.align-start {
  align-items: start;
}

.hero-copy h1,
.page-hero h1,
.section h2,
.cta-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  max-width: 12ch;
}

.page-hero h1,
.section h2,
.cta-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.eyebrow,
.service-tag,
.spotlight-label {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

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

.hero-stats li {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 48, 66, 0.07);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.hero-stats span,
.card p,
.service-card p,
.timeline p,
.site-footer p,
.contact-info p {
  color: rgba(255, 255, 255, 0.78);
}

.card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: white;
}

.card {
  padding: 1.75rem;
}

.image-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.spotlight-card {
  padding: 2rem;
  background: linear-gradient(160deg, rgba(43, 35, 64, 0.98), rgba(58, 43, 92, 0.98));
}

.check-list,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list span,
.detail-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check-list span + span,
.detail-list li + li {
  margin-top: 0.95rem;
}

.check-list span::before,
.detail-list li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #d79a61 100%);
}

.section {
  padding: 4.25rem 0;
}

.section-accent {
  background: #f0ebff;
}

.section-heading {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.card-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card h3,
.pricing-card h3,
.site-footer h3,
.timeline h3,
.contact-card h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: white;
}

.card h2,
.card a,
.quote-card footer {
  color: white;
}

.feature-list,
.timeline,
.stack-grid,
.contact-info {
  display: grid;
  gap: 1rem;
}

.feature-list article,
.timeline article {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 800;
}

.service-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.service-card h2 {
  margin-bottom: 0.7rem;
}

.quote-card footer {
  margin-top: 1rem;
  font-weight: 700;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(27, 132, 179, 0.96), rgba(82, 191, 241, 0.92));
  color: white;
}

.cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.cta-card .button {
  background: white;
  color: var(--primary-dark);
  box-shadow: none;
}

.emphasis-card,
.featured-price {
  background: linear-gradient(160deg, rgba(27, 132, 179, 0.95), rgba(18, 92, 124, 0.94));
  color: white;
}

.emphasis-card .service-tag,
.featured-price .service-tag,
.emphasis-card p,
.featured-price p {
  color: rgba(255, 255, 255, 0.82);
}

.emphasis-card .detail-list li::before {
  background: linear-gradient(135deg, #f3d2a8 0%, #ffd09a 100%);
}

.price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
}

.featured-price .price {
  color: white;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.form-status {
  color: white;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 48, 66, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(27, 132, 179, 0.18);
  border-color: rgba(27, 132, 179, 0.28);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(24, 48, 66, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, minmax(0, 0.7fr));
  gap: 1.5rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0.3rem 0;
  color: var(--muted);
}

.brand-footer {
  margin-bottom: 0.8rem;
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: white;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .service-card,
  .card-grid,
  .testimonial-grid,
  .pricing-grid,
  .footer-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(43, 35, 64, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .button {
    width: 100%;
  }

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

  .page-hero,
  .section,
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
