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

:root {
  --bg: #f4efe7;
  --bg-soft: #efe7dc;
  --panel: #f8f3ea;
  --panel-strong: #fffdf9;
  --text: #2f2a27;
  --body: #5e6678;
  --brand: #b5654d;
  --brand-dark: #944836;
  --accent: #e6a93d;
  --line: #d9cdbf;
  --line-strong: #cbb9a8;
  --shadow: 0 16px 40px rgba(90, 46, 31, 0.08);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #f7f3ed 0%, #f4efe7 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 231, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 183, 166, 0.55);
}

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

.brand img {
  width: 340px;
  max-width: min(62vw, 340px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: #5e6678;
  font-weight: 600;
  font-size: 0.98rem;
}

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

.nav-button {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #5a2e1f;
  margin: 6px 0;
}

.hero {
  padding-top: 54px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.1;
  color: #3a2e28;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.18rem;
}

.hero-support {
  font-size: 1.24rem;
  color: #4c433e;
  margin: 0 0 14px;
  max-width: 46rem;
}

.hero-text,
.section-heading p,
.intro-band p,
.service-card p,
.step p,
.fit-card p,
.contact-copy p,
.legal-wrap p,
.image-caption,
.trust-line,
.contact-details p {
  color: var(--body);
}

.hero-text {
  font-size: 1.04rem;
  max-width: 45rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  border-color: #3f2f2a;
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  background: transparent;
  color: #4c433e;
  border-color: var(--line-strong);
}

.button-secondary:hover {
  background: rgba(181, 101, 77, 0.08);
}

.hero-panel,
.form-shell,
.service-card,
.fit-card,
.stack-card,
.quote-block,
.legal-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 28px;
  padding: 22px;
}

.hero-card {
  background: linear-gradient(180deg, var(--panel-strong), #f6f0e5 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.hero-card h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.hero-list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: #4c433e;
}

.hero-list li {
  margin-bottom: 10px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-stat {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.hero-stat strong {
  display: block;
  margin-bottom: 8px;
  color: #5a2e1f;
}

.intro-band {
  background: linear-gradient(180deg, #efe7dc 0%, #f5efe6 100%);
  border-top: 1px solid rgba(201, 183, 166, 0.55);
  border-bottom: 1px solid rgba(201, 183, 166, 0.55);
}

.narrow {
  max-width: 900px;
  text-align: center;
}

.section-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.section-heading.left {
  text-align: left;
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  border-radius: 24px;
  padding: 26px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(181, 101, 77, 0.12);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card ul {
  margin: 0;
  padding-left: 20px;
  color: #4c433e;
}

.service-card li {
  margin-bottom: 10px;
}

.soft-section {
  background: linear-gradient(180deg, #f8f3ea 0%, #f2eadf 100%);
  border-top: 1px solid rgba(201, 183, 166, 0.55);
  border-bottom: 1px solid rgba(201, 183, 166, 0.55);
}

.two-col,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: #fff9f1;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.step span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
}

.image-stack {
  display: grid;
  gap: 14px;
}

.stack-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stack-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  margin: 4px 2px 0;
  font-size: 0.95rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.fit-card {
  border-radius: 20px;
  padding: 24px;
}

.quote-block {
  border-radius: 22px;
  padding: 30px;
  background: linear-gradient(180deg, #fffaf3 0%, #f5ebdf 100%);
}

blockquote {
  margin: 0;
  font-size: 1.15rem;
  color: #4c433e;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-details span {
  display: block;
  color: #5a2e1f;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-details a {
  color: #4c433e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-shell {
  border-radius: 30px;
  padding: 24px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #5a2e1f;
  font-size: 0.98rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  background: #fbf8f3;
  color: #433833;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 180px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(181, 101, 77, 0.12);
}

.form-button {
  width: 100%;
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(201, 183, 166, 0.55);
  padding-top: 22px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.legal-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.legal-wrap {
  max-width: 760px;
  padding: 32px;
  border-radius: 24px;
}

.legal-back {
  margin-bottom: 22px;
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fit-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }
}

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

  .site-nav {
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: #fbf8f2;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

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

  .hero-stat-grid,
  .stack-row,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
