@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg: #f5efe6;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --text: #1b1a17;
  --muted: #6f6458;
  --border: #e6d8c6;
  --accent: #c4562f;
  --accent-strong: #8f3a1d;
  --accent-soft: #fde6d7;
  --accent-cool: #2b6f6b;
  --accent-cool-soft: #e2f0ee;
  --warning: #b3531a;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 48px rgba(27, 18, 11, 0.16);
  --shadow-soft: 0 12px 30px rgba(27, 18, 11, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% 0 -10%;
  background: radial-gradient(circle at 15% 15%, rgba(196, 86, 47, 0.18), transparent 45%),
    radial-gradient(circle at 85% 5%, rgba(43, 111, 107, 0.18), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(196, 86, 47, 0.12), transparent 50%);
  z-index: -2;
  animation: drift 18s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(27, 18, 11, 0.05) 1px, transparent 1px),
    linear-gradient(300deg, rgba(27, 18, 11, 0.04) 1px, transparent 1px);
  background-size: 120px 120px, 180px 180px;
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

small {
  color: var(--muted);
}

.container {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: rgba(245, 239, 230, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  flex-direction: column;
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.logo span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
  font-family: "Space Grotesk", "IBM Plex Sans", "Noto Sans", sans-serif;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  font-size: 0.95rem;
}

.nav a {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav a.active,
.nav a:hover {
  background: var(--accent-soft);
  border-color: rgba(196, 86, 47, 0.4);
  color: var(--accent-strong);
}

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

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-primary {
  background: linear-gradient(140deg, #fff2e8 0%, #fffdf8 62%);
  border-color: rgba(196, 86, 47, 0.25);
}

.hero-primary::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(196, 86, 47, 0.15);
  top: -80px;
  right: -70px;
  z-index: 0;
  pointer-events: none;
}

.hero-secondary {
  background: linear-gradient(160deg, rgba(226, 240, 238, 0.75), #ffffff 65%);
  border-color: rgba(43, 111, 107, 0.25);
}

.hero-secondary::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(43, 111, 107, 0.16);
  bottom: -70px;
  left: -60px;
  z-index: 0;
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 .hero-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
}

.hero-title {
  display: block;
}

.hero-stats {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-stat {
  background: rgba(196, 86, 47, 0.08);
  border: 1px solid rgba(196, 86, 47, 0.16);
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
}

.hero-stat strong {
  display: block;
  font-weight: 600;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent) 0%, #dd6a3e 100%);
  color: white;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(196, 86, 47, 0.25);
}

.btn.secondary {
  background: transparent;
  color: var(--accent-strong);
  border-color: rgba(196, 86, 47, 0.45);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(196, 86, 47, 0.32);
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 1.6rem;
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(196, 86, 47, 0.85), rgba(43, 111, 107, 0.85));
  opacity: 0.45;
}

.card h3 {
  margin-top: 0;
}

.service-grid .card {
  border-color: rgba(196, 86, 47, 0.2);
}

.steps {
  counter-reset: step;
}

.steps .card {
  padding-top: 2.7rem;
}

.steps .card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.4rem;
  color: rgba(196, 86, 47, 0.35);
}

.cta-card {
  background: linear-gradient(135deg, rgba(196, 86, 47, 0.1), rgba(43, 111, 107, 0.1));
  border-color: rgba(196, 86, 47, 0.3);
}

.cta-card::before {
  opacity: 0.6;
}

.list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent-cool);
  background: var(--accent-cool-soft);
  border: 1px solid rgba(43, 111, 107, 0.2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.icon-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-cool);
  display: inline-block;
}

.notice {
  background: #fff4ea;
  border: 1px solid #f1c7ad;
  color: #8a3a1d;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

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

.form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  background: #fffdf8;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form fieldset {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.form legend {
  font-weight: 600;
  padding: 0 0.4rem;
}

.option-grid {
  display: grid;
  gap: 0.6rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.inline-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.helper {
  color: var(--muted);
  font-size: 0.95rem;
}

.success {
  background: #e6f4ef;
  border: 1px solid #b7ded3;
  color: #1f5c53;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.site-footer {
  padding: 2.8rem 0 2.2rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 250, 242, 0.92);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: rise 0.7s ease forwards;
}

.reveal[data-delay="0.05"] {
  animation-delay: 0.05s;
}

.reveal[data-delay="0.1"] {
  animation-delay: 0.1s;
}

.reveal[data-delay="0.12"] {
  animation-delay: 0.12s;
}

.reveal[data-delay="0.15"] {
  animation-delay: 0.15s;
}

.reveal[data-delay="0.2"] {
  animation-delay: 0.2s;
}

.reveal[data-delay="0.25"] {
  animation-delay: 0.25s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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

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

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-card {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .btn {
    transition: none;
  }
}
