:root {
  --bg: #f1ecdf;
  --bg-deep: #e6dcc7;
  --panel: rgba(255, 250, 241, 0.95);
  --panel-strong: rgba(255, 246, 230, 0.98);
  --line: #d3c3a8;
  --text: #1f2427;
  --muted: #6a6e6f;
  --brand: #1a3749;
  --brand-deep: #102431;
  --accent: #a5592a;
  --accent-soft: #ead4b6;
  --shadow: 0 26px 70px rgba(28, 27, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(165, 89, 42, 0.17), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(26, 55, 73, 0.18), transparent 22%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 45%, var(--bg-deep) 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: var(--brand);
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(251, 247, 239, 0.88);
  border-bottom: 1px solid rgba(16, 36, 49, 0.08);
}

.topbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand-deep);
}

.brand strong,
.hero-copy h1,
.section h2,
.family-card h3,
.card p:first-child,
.hero-panel h2,
.faq-item h3,
.site-footer h2,
.site-footer h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #2a5874);
  box-shadow: 0 12px 28px rgba(26, 55, 73, 0.25);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.nav a {
  font-weight: 700;
}

.call-button,
.submit-button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #be7640);
  box-shadow: 0 14px 28px rgba(165, 89, 42, 0.22);
}

.button,
.nav .button,
.nav .ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.ghost {
  border: 1px solid rgba(16, 36, 49, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  padding: 34px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.78fr;
  gap: 20px;
}

.hero-copy,
.hero-panel,
.section .wrap,
.site-footer {
  position: relative;
}

.hero-copy,
.hero-panel,
.section .wrap {
  border-radius: 28px;
}

.hero-copy {
  padding: 38px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.96) 0%, rgba(245, 234, 214, 0.97) 100%);
  border: 1px solid rgba(16, 36, 49, 0.1);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(16, 36, 49, 0.94) 0%, rgba(20, 42, 56, 0.94) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  color: #f7fbff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.eyebrow,
.panel-label,
.count {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  color: var(--accent);
}

.hero-copy h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.lede {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.rating-strip {
  margin-top: 22px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(165, 89, 42, 0.14);
}

.stars {
  color: #d38a21;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-pills span,
.mini-link,
.panel-callout {
  border-radius: 999px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 36, 49, 0.08);
}

.hero-panel h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 0.98;
}

.hero-panel p {
  color: rgba(247, 251, 255, 0.82);
  line-height: 1.7;
}

.panel-callout {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.7;
}

.hero-phone-row {
  margin-top: 16px;
}

.hero-phone-link,
.footer-phone-link,
.request-phone-link,
.inline-phone-link {
  color: inherit;
  font-weight: 800;
}

.hero-phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
  padding: 14px 0;
}

.section .wrap {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.92) 0%, rgba(248, 239, 222, 0.96) 100%);
  border: 1px solid rgba(16, 36, 49, 0.08);
  box-shadow: var(--shadow);
}

.section.muted .wrap {
  background: linear-gradient(180deg, rgba(243, 238, 229, 0.92) 0%, rgba(236, 228, 210, 0.95) 100%);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section p {
  margin: 0 0 14px;
  line-height: 1.8;
  color: var(--muted);
}

.family-grid,
.card-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

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

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

.family-card,
.card,
.faq-item {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(16, 36, 49, 0.08);
}

.family-card p,
.faq-item p,
.card p {
  margin: 0;
}

.family-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  line-height: 1.08;
}

.count {
  margin-top: 14px;
  color: var(--accent);
}

.mini-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 36, 49, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.request-section .wrap {
  background:
    linear-gradient(180deg, rgba(22, 44, 58, 0.96) 0%, rgba(31, 61, 80, 0.97) 100%),
    radial-gradient(circle at top right, rgba(226, 180, 120, 0.18), transparent 24%);
  color: #f7fbff;
}

.request-shell {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
}

.request-copy p,
.request-copy li,
.request-form p {
  color: rgba(247, 251, 255, 0.82);
}

.request-callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.request-points {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.request-form {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-form-panel {
  padding: 24px;
}

.hero-form-panel h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.04;
}

.hero-form-panel > p {
  margin-bottom: 16px;
}

.hero-form-panel .request-form {
  padding: 0;
  background: none;
  border: 0;
}

.compact-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-form-panel .request-form label {
  margin-bottom: 12px;
}

.hero-form-panel .request-form textarea {
  min-height: 118px;
}

.hero-form-panel .request-actions {
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-form-panel .request-actions p {
  font-size: 0.98rem;
}

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

.request-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.request-form span {
  font-weight: 700;
  color: #f7fbff;
}

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

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

.full-width {
  margin-bottom: 0;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-top: 18px;
}

.request-actions p {
  margin: 0;
}

.site-footer {
  padding: 14px 0 32px;
}

.footer-grid {
  padding: 28px;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  background: linear-gradient(180deg, rgba(16, 36, 49, 0.96) 0%, rgba(20, 42, 56, 0.96) 100%);
  color: #f7fbff;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.site-footer p,
.site-footer a {
  color: rgba(247, 251, 255, 0.82);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .hero-grid,
  .request-shell,
  .family-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .nav {
    justify-content: center;
  }

  .hero-copy,
  .hero-panel,
  .section .wrap,
  .request-form,
  .footer-grid {
    padding: 22px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .field-grid,
  .request-actions {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: min(100% - 20px, 1180px);
  }
}
