:root {
  --bg: #f7f2ea;
  --panel: #fffaf4;
  --white: #ffffff;
  --ink: #2f261f;
  --muted: #6d5746;
  --line: #e1d0bd;
  --soft: #eadbc9;
  --mid: #cdb89f;
  --dark: #2f261f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 234, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav,
.socials,
.footer-links,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.nav a,
.socials a,
.footer-links a,
.contact-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover,
.socials a:hover,
.footer-links a:hover,
.contact-links a:hover {
  color: var(--ink);
}

.hero,
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 56px;
}

.eyebrow {
  color: #8a715d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button,
.contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary,
.contact-form button {
  background: var(--ink);
  color: white;
}

.secondary {
  background: rgba(255,255,255,0.65);
  border-color: var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 740px;
}

.trust-grid div,
.service-grid article,
.cat-card,
.portfolio-grid article,
.video-grid article,
.process-grid div,
.contact-form,
.card-panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(47, 38, 31, 0.06);
}

.trust-grid div {
  padding: 18px;
}

.trust-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
}

.image-placeholder,
.cat-image,
.video-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(135deg, #fff7ee, var(--soft), var(--mid));
}

.image-placeholder {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 42px;
  box-shadow: 0 22px 60px rgba(47, 38, 31, 0.16);
  font-weight: 800;
}

.floating-card {
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: min(280px, 75%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 50px rgba(47, 38, 31, 0.14);
}

.floating-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: 72px 0;
}

.card-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: clamp(28px, 5vw, 56px);
}

.copy p,
.section-intro,
.portfolio-copy p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.service-grid,
.cat-grid,
.portfolio-grid,
.video-grid,
.process-grid {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

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

.service-grid article,
.portfolio-grid article,
.process-grid div {
  padding: 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--soft);
  font-size: 24px;
}

.service-grid p,
.cat-card p,
.portfolio-grid p {
  color: var(--muted);
  line-height: 1.6;
}

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

.cat-card {
  overflow: hidden;
}

.cat-card h3,
.cat-card p {
  padding-left: 20px;
  padding-right: 20px;
}

.cat-card h3 {
  padding-top: 20px;
}

.cat-card p:last-child {
  padding-bottom: 22px;
}

.cat-image {
  min-height: 250px;
  font-weight: 800;
}

.portfolio,
.contact-grid,
.dark-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}

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

.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 24px 24px 0 0;
  background: var(--dark);
  color: white;
  font-weight: 800;
}

.video-placeholder small {
  color: rgba(255,255,255,0.72);
}

.dark-panel {
  width: min(1180px, calc(100% - 40px));
  padding: clamp(28px, 5vw, 56px);
  border-radius: 40px;
  background: var(--dark);
  color: white;
}

.dark-panel .eyebrow,
.dark-panel p,
.dark-panel li {
  color: #eadbc9;
}

.insurance-line {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.09);
  color: white !important;
  font-size: 19px;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 14px;
  padding-left: 20px;
  line-height: 1.7;
}

.process-grid {
  grid-template-columns: repeat(5, 1fr);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.contact-links {
  margin-top: 26px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
}

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

.contact-form .full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--ink);
  font-size: 18px;
}

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

  .hero,
  .card-panel,
  .portfolio,
  .contact-grid,
  .dark-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .cat-grid,
  .video-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 48px;
  }

  .image-placeholder {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .nav,
  .socials {
    width: 100%;
  }

  .trust-grid,
  .service-grid,
  .cat-grid,
  .portfolio-grid,
  .video-grid,
  .process-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }

  .footer {
    flex-direction: column;
  }

  .floating-card {
    position: static;
    width: auto;
    margin-top: 16px;
  }
}
