:root {
  --bg: #f4efe4;
  --bg-soft: #fdf8ee;
  --surface: #fff9ef;
  --ink: #1f272b;
  --muted: #5c666e;
  --line: #dccfb9;
  --brand: #0f766e;
  --brand-deep: #0c5752;
  --accent: #d97706;
  --accent-soft: #f7e2bb;
  --radius: 20px;
  --shadow: 0 20px 40px rgba(31, 39, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: linear-gradient(160deg, #f6f1e7 0%, #f4efe4 35%, #f9f4ea 100%);
  font-family: 'Manrope', sans-serif;
  scroll-behavior: smooth;
}

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

.page-glow {
  position: fixed;
  inset: -15% auto auto -10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(15, 118, 110, 0.19), rgba(15, 118, 110, 0));
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1180px, calc(100% - 2.2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 207, 185, 0.65);
  backdrop-filter: blur(10px);
  background: rgba(249, 245, 236, 0.92);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: conic-gradient(from 10deg, #0f766e, #1f9491, #d97706, #0f766e);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: #344149;
}

.main-nav a {
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.main-nav a:hover {
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.68rem 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #15a09c);
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 14px 24px rgba(15, 118, 110, 0.32);
}

.btn-ghost {
  color: var(--brand-deep);
  border-color: #bfc6bf;
  background: rgba(255, 255, 255, 0.7);
}

.section-pad {
  padding: 4.2rem 0;
}

.hero {
  padding-top: 3.3rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: 4%;
  top: 2%;
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.16), rgba(217, 119, 6, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.case-card,
.timeline-item,
.contact-box,
.stat-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e9 100%);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
  animation: riseIn 0.75s ease;
}

.kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  background: var(--accent-soft);
  color: #8a4f06;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.1;
}

h1 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.48rem, 3.1vw, 2.28rem);
  max-width: 20ch;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0.95rem 0 0;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-panel {
  padding: 1.4rem;
  animation: riseIn 0.9s ease;
}

.signal-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.signal-list li {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #e5d7bc;
  background: rgba(255, 255, 255, 0.8);
  color: #3c474f;
  font-size: 0.95rem;
}

.panel-note {
  margin-top: 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #11312f;
  color: #ecfaf9;
  font-weight: 700;
}

.panel-note span {
  color: #9ddfd9;
}

.stat-band {
  margin-top: 1.1rem;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #e4d8c1;
  border-radius: 14px;
  padding: 0.9rem;
}

.stat-item small {
  color: #566068;
  display: block;
  min-height: 2.3rem;
  font-weight: 700;
}

.stat-item strong {
  margin-top: 0.3rem;
  display: block;
  font-size: 2rem;
  color: var(--brand-deep);
  font-family: 'Bricolage Grotesque', sans-serif;
}

.stat-item span {
  color: #6a747a;
  font-size: 0.85rem;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin-top: 0.72rem;
}

.service-grid,
.case-grid,
.timeline {
  display: grid;
  gap: 0.9rem;
}

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

.card {
  padding: 1.1rem;
}

.card h3 {
  color: #173132;
}

.card p {
  margin-top: 0.6rem;
}

.cases-disclaimer {
  max-width: 70ch;
  margin-top: -0.3rem;
}

.case-grid {
  margin-top: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  padding: 1rem;
}

.case-top {
  display: grid;
  gap: 0.5rem;
}

.case-tag {
  display: inline-flex;
  align-self: start;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #8a4f06;
  background: #f7e3bc;
  padding: 0.27rem 0.57rem;
  border-radius: 999px;
}

.case-card ul {
  margin: 0.9rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.54rem;
  color: #49545d;
}

.case-period {
  margin-top: 0.85rem;
  font-weight: 700;
  color: #0e5b56;
}

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

.timeline-item {
  padding: 1rem;
}

.timeline-item span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #d97706, #ec9b35);
}

.timeline-item h3 {
  margin-top: 0.8rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: var(--bg-soft);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: #203038;
}

details p {
  margin-top: 0.6rem;
}

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

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid #d8ccb8;
  background: #f1e8d7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.5rem;
}

.footer-inner p {
  margin: 0;
  color: #586166;
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .faq-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .case-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: grid;
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff9ef;
    box-shadow: var(--shadow);
    gap: 0.2rem;
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    transition: 0.18s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .service-grid,
  .case-grid,
  .timeline,
  .stat-band {
    grid-template-columns: 1fr;
  }

  .stat-item small {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 1.1rem));
  }

  .section-pad {
    padding: 3rem 0;
  }

  .hero-copy,
  .hero-panel,
  .contact-box {
    padding: 1.1rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 0.4rem;
  }
}
