:root {
  --cream: #f4efe7;
  --cream-deep: #ebe4d8;
  --ink: #171513;
  --muted: #6d675f;
  --line: rgba(23, 21, 19, 0.12);
  --terracotta: #c94a32;
  --terracotta-deep: #b03d28;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

body {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
}

.visual {
  margin: 0;
  position: relative;
  min-width: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: #1c242c;
}
.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 48%;
}
.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, rgba(244, 239, 231, 0.22) 100%);
  pointer-events: none;
}

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100dvh;
  background: var(--cream);
  border-left: 1px solid var(--line);
}

header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 40px 0;
}
.brand b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.brand span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.btn-contact:hover,
.btn-contact:focus-visible {
  border-color: rgba(23, 21, 19, 0.28);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 40px 40px;
  width: 100%;
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
}
h1 span {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
}
h1 .accent { color: var(--terracotta); margin-top: 4px; }
.lead {
  margin: 0 0 22px;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}
.stat {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--cream-deep);
}
.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.cta-line {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--terracotta);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.btn:hover,
.btn:focus-visible { background: var(--terracotta-deep); }
.hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 980px) {
  body {
    grid-template-columns: minmax(0, 1fr);
  }
  .visual {
    min-height: 42vh;
    max-height: 48vh;
  }
  .visual img { object-position: 46% 42%; }
  .visual::after { display: none; }
  .panel {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  header { padding: 16px 16px 0; }
  main {
    justify-content: flex-start;
    padding: 18px 16px 32px;
  }
  .lead { font-size: 15px; }
  h1 { font-size: 28px; }
  .lead, .hint, .cta-line, .eyebrow, .stat { max-width: 100%; }
}

@media (max-width: 520px) {
  header {
    align-items: center;
    gap: 10px;
  }
  .brand b { font-size: 13px; letter-spacing: 0.1em; }
  .brand span {
    max-width: 168px;
    letter-spacing: 0.08em;
    font-size: 9px;
  }
  .header-actions { gap: 8px; }
  .btn-contact {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .lead { font-size: 16px; }
  .cta-line { font-size: 16px; }
  .btn { min-height: 52px; letter-spacing: 0.08em; font-size: 12px; }
}
