:root {
  --bg: #f5f1e8;
  --bg-soft: #fffaf1;
  --surface: rgba(255, 250, 241, 0.74);
  --line: rgba(36, 50, 66, 0.12);
  --text: #1f2a38;
  --muted: #536173;
  --accent: #e76f51;
  --accent-strong: #d1492e;
  --teal: #2a9d8f;
  --shadow: 0 24px 70px rgba(40, 54, 72, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(42, 157, 143, 0.14), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(231, 111, 81, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #f2ede4 100%);
}

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

img {
  max-width: 100%;
  height: auto;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 20px auto 40px;
}

.hero,
.services,
.highlights,
.contact,
.references,
.pricing,
.legal,
.site-footer {
  position: relative;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.brand,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.95;
  max-width: 10ch;
}

.lead,
.section-heading p,
.contact-panel p,
.service-card p,
.highlight-card p,
.contact-box p {
  color: var(--muted);
}

.lead {
  max-width: 54ch;
  margin: 22px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-card {
  position: relative;
  min-height: 360px;
  padding: 26px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(42, 157, 143, 0.2), rgba(255, 255, 255, 0.9)),
    var(--bg-soft);
  border: 1px solid rgba(42, 157, 143, 0.16);
}

.logo-badge {
  display: inline-grid;
  grid-template-columns: repeat(2, 58px);
  gap: 10px;
  margin-bottom: 20px;
}

.logo-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.logo-badge span:first-child {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
}

.logo-badge span:last-child {
  background: linear-gradient(145deg, var(--teal), #1b7268);
}

.pulse {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  animation: float 6s ease-in-out infinite;
}

.pulse-a {
  width: 180px;
  height: 180px;
  right: -26px;
  top: -30px;
  background: rgba(42, 157, 143, 0.24);
}

.pulse-b {
  width: 140px;
  height: 140px;
  left: -20px;
  bottom: 22px;
  background: rgba(231, 111, 81, 0.18);
  animation-delay: -2.2s;
}

.stat-card,
.mini-panel,
.service-card,
.highlight-card,
.contact-box,
.reference-card,
.legal-card,
.contact-form {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.stat-card {
  padding: 20px;
}

.stat-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
  font-weight: 600;
}

.mini-panel {
  margin-top: 18px;
  padding: 16px 18px;
}

.mini-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.service-grid,
.highlight-grid,
.reference-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.highlight-card,
.reference-card {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.highlight-card:hover,
.reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 157, 143, 0.35);
}

.service-card h3,
.highlight-card h3,
.reference-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

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

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.testimonial-card,
.pricing-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.testimonial-text {
  margin-top: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonial-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.pricing-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 157, 143, 0.35);
}

.pricing-card-featured {
  background:
    linear-gradient(180deg, rgba(42, 157, 143, 0.12), rgba(255, 255, 255, 0.85)),
    rgba(255, 255, 255, 0.8);
}

.pricing-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(231, 111, 81, 0.12);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.price {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.price span {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
}

.reference-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 700;
}

.highlight-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(231, 111, 81, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.contact-box {
  padding: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 22px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(42, 157, 143, 0.22);
  border-color: rgba(42, 157, 143, 0.45);
}

.form-wide {
  grid-column: 1 / -1;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.footer-brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.status-page {
  max-width: 760px;
}

.legal-card {
  padding: 24px;
}

.legal-card h2 {
  margin-top: 0;
}

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

.contact-box a {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-box p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-panel,
  .service-grid,
  .highlight-grid,
  .reference-grid,
  .testimonial-grid,
  .pricing-grid,
  .legal-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    align-items: start;
  }

  .page-shell {
    width: min(100% - 20px, 1160px);
  }

  .hero,
  .services,
  .highlights,
  .contact,
  .references,
  .pricing,
  .legal,
  .site-footer {
    padding: 22px;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    width: calc(100% - 14px);
    margin: 10px auto 24px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    gap: 10px;
    font-size: 0.95rem;
  }

  .hero,
  .services,
  .highlights,
  .contact,
  .references,
  .pricing,
  .legal,
  .site-footer {
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 16px;
  }

  .hero-grid,
  .contact-panel {
    gap: 18px;
  }

  .hero-card {
    min-height: auto;
    padding: 20px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1;
  }

  .lead {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.6;
  }

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

  .button {
    width: 100%;
  }

  .service-card,
  .highlight-card,
  .reference-card,
  .testimonial-card,
  .pricing-card,
  .legal-card,
  .contact-box,
  .contact-form {
    padding: 18px;
    border-radius: 18px;
  }

  .logo-badge {
    grid-template-columns: repeat(2, 50px);
  }

  .logo-badge span {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 1rem;
  }

  .price {
    font-size: 1.7rem;
  }

  .contact-form {
    gap: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 13px 14px;
    font-size: 16px;
  }

  .site-footer {
    gap: 10px;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: 1.55rem;
  }

  .highlight-number {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }
}
