:root {
  --bg: #fff8f1;
  --bg-soft: #ffe8d4;
  --surface: #ffffff;
  --ink: #1d2a32;
  --muted: #5a6b75;
  --accent: #ff7a45;
  --accent-deep: #e85a28;
  --teal: #1f9b8a;
  --teal-soft: #d8f3ee;
  --coral: #ffb4a2;
  --line: rgba(29, 42, 50, 0.12);
  --shadow: 0 18px 40px rgba(29, 42, 50, 0.08);
  --radius: 1.5rem;
  --radius-sm: 0.9rem;
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 122, 69, 0.18), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(31, 155, 138, 0.16), transparent 32%),
    linear-gradient(180deg, #fff8f1 0%, #fff3e8 45%, #f7fffc 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 241, 0.86);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, #fff6e8 0 28%, transparent 29%),
    linear-gradient(135deg, var(--teal), #4ec4b0 55%, var(--accent));
  box-shadow: 0 8px 18px rgba(31, 155, 138, 0.28);
  animation: bob 4.5s ease-in-out infinite;
}

.brand-text {
  letter-spacing: -0.02em;
}

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

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(255, 122, 69, 0.28);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 122, 69, 0.3);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid rgba(31, 155, 138, 0.25);
}

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

.hero-home {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  animation: fade-up 0.7s ease both;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 12ch;
  animation: fade-up 0.8s ease 0.08s both;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  animation: fade-up 0.8s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  animation: fade-up 0.8s ease 0.24s both;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  min-height: 22rem;
  box-shadow: var(--shadow);
  animation: fade-up 0.9s ease 0.18s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.08rem;
}

.section {
  padding: 3.25rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.offer-strip {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.offer-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.offer-item h3 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
}

.offer-item p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  background: linear-gradient(135deg, var(--teal-soft), #fff 55%, var(--bg-soft));
  border-radius: calc(var(--radius) + 0.5rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.feature-band img {
  border-radius: var(--radius);
  width: 100%;
  min-height: 16rem;
  object-fit: cover;
}

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

.service-card,
.blog-card,
.review-card,
.price-block,
.report-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card img,
.blog-card img,
.report-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card .body,
.blog-card .body,
.review-card,
.price-block,
.report-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-card h2,
.service-card h3,
.blog-card h2,
.blog-card h3,
.report-card h3,
.price-block h2,
.price-block h3 {
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
  line-height: 1.2;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.prose {
  max-width: 46rem;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.detail-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: start;
}

.detail-aside {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: sticky;
  top: 5.5rem;
}

.detail-aside dl {
  margin: 0;
}

.detail-aside dt {
  font-weight: 700;
  margin-top: 0.9rem;
}

.detail-aside dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.story-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
  margin-top: 1.5rem;
}

.quote {
  font-size: 1.08rem;
  margin: 0 0 1rem;
}

.quote-meta {
  color: var(--muted);
  margin: 0;
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid rgba(31, 155, 138, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 122, 69, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: #b42318;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--teal-soft);
  color: #0f5f54;
}

.form-status.is-error {
  display: block;
  background: #ffe2e0;
  color: #8a1f16;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  background: linear-gradient(160deg, #fff, var(--teal-soft));
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.legal {
  padding-bottom: 4rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  background: rgba(29, 42, 50, 0.94);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.18);
}

.cookie-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner a {
  color: #ffd7c4;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.site-footer {
  margin-top: 3rem;
  background: #173038;
  color: #e8f2f0;
  padding: 3rem 0 1.5rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

.footer-tag,
.site-footer p {
  color: #c5d7d3;
}

.footer-label {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.site-footer a {
  color: #9fe3d6;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  list-style: none;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.2rem 3.4rem;
  position: relative;
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--teal-soft);
  font-family: var(--font-display);
}

.cta-band {
  margin: 2rem 0 4rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.3rem);
  background:
    linear-gradient(120deg, rgba(255, 122, 69, 0.92), rgba(232, 90, 40, 0.88)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
}

.cta-band p {
  margin: 0 0 1.2rem;
  max-width: 36rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent-deep);
}

.not-found {
  text-align: center;
  padding: 6rem 0;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 0.5rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 900px) {
  .feature-band,
  .detail-layout,
  .contact-grid,
  .hero-home {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.2rem;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

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

  .nav-cta {
    text-align: center;
  }

  .detail-aside {
    position: static;
  }
}
