:root {
  --bg: #eff2ef;
  --paper: rgba(255, 255, 255, 0.9);
  --paper-strong: #ffffff;
  --text: #171518;
  --muted: #66626c;
  --line: rgba(23, 21, 24, 0.12);
  --shadow: 0 28px 90px rgba(20, 18, 23, 0.15);
  --accent: #0b0b0b;
  --accent-soft: #efe7ef;
  --accent-deep: #2b182a;
  --gray-dark: #2d2b31;
  --gray-soft: #dad9de;
  --sage: #7f9171;
  --sage-soft: #e5ebdf;
  --moss: #a7b55f;
  --sky: #dfeaf3;
  --stone: #f6f3ef;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: #f5f6f2;
}

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

a {
  color: inherit;
}

.page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 239, 0.82);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: min(270px, 48vw);
  height: auto;
}

.brand-copy {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(107, 41, 102, 0.22);
  background: var(--accent-soft);
  text-decoration: none;
  color: var(--accent-deep);
  font-size: 0.96rem;
  font-weight: 600;
  white-space: nowrap;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.hero {
  padding: 36px 28px 30px;
  border-right: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.7rem, 4vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 58ch;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone);
  aspect-ratio: 16 / 10;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.08);
}

.slides {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.slide-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(43, 24, 42, 0.76);
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-controls {
  position: absolute;
  inset: auto 16px 16px auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gray-dark);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.carousel-btn:hover {
  background: #ffffff;
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.18);
  cursor: pointer;
}

.dot.is-active {
  background: var(--sage);
}

.sidebar {
  padding: 30px 24px;
  background: rgba(229, 235, 223, 0.65);
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
}

.card + .card {
  margin-top: 16px;
}

.status {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.status.is-visible {
  display: block;
}

.status.is-success {
  background: rgba(127, 145, 113, 0.14);
  border: 1px solid rgba(127, 145, 113, 0.24);
  color: #43503a;
}

.status.is-error {
  background: rgba(155, 41, 41, 0.1);
  border: 1px solid rgba(155, 41, 41, 0.18);
  color: #7a2020;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.34rem;
}

.copy {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.phone-large {
  display: inline-block;
  color: var(--accent-deep);
  text-decoration: none;
  font-size: 1.16rem;
  font-weight: 700;
}

.field {
  margin-bottom: 14px;
}

.twoquad-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(107, 41, 102, 0.18);
  border-color: rgba(127, 145, 113, 0.4);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.submit {
  flex: 1 1 180px;
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.submit:hover {
  filter: brightness(1.03);
}

.small-note,
.footer-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.small-note {
  flex: 1 1 180px;
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .content {
    grid-template-columns: 1fr;
  }

  .hero {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 1200px);
    padding: 10px 0 22px;
  }

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

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

  .hero,
  .sidebar {
    padding: 22px 18px;
  }

  .carousel-controls {
    inset: auto 12px 12px auto;
  }

  .slide-caption {
    left: 12px;
    bottom: 12px;
    font-size: 0.76rem;
  }
}
