:root {
  --red: #C0392B;
  --red-hover: #A93226;
  --red-soft: #FCE8E6;
  --charcoal: #2D2420;
  --ink: #1C1917;
  --stone: #44403C;
  --muted: #78716C;
  --sand: #E7E5E4;
  --cream: #FAFAF9;
  --white: #FFFFFF;
  --line: rgba(68, 64, 60, .14);
  --shadow: 0 22px 60px rgba(45, 36, 32, .10);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red);
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); max-width: 820px; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); max-width: 760px; }
h3 { font-size: 1.2rem; }
p { margin: 0; color: var(--stone); }
.lead { font-size: 1.14rem; max-width: 760px; color: var(--stone); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-mark {
  width: 42px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .92rem;
  color: var(--stone);
}

.nav-links a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, border .22s ease, color .22s ease, box-shadow .22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 14px 30px rgba(192, 57, 43, .20); }
.btn-primary:hover { background: var(--red-hover); }
.btn-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: rgba(192,57,43,.34); color: var(--red); }
.btn-ghost { color: var(--red); background: var(--red-soft); }

section { padding: 96px 0; }
.hero { padding: 76px 0 104px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .78fr);
  gap: 58px;
  align-items: center;
}

.hero-copy { display: grid; gap: 26px; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions, .badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--stone);
  font-size: .86rem;
  font-weight: 700;
}

.hero-card {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.hero-card img { border-radius: 12px; }
.metric-strip {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.35rem;
  color: var(--red);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(45,36,32,.045);
  transition: transform .22s ease, border .22s ease, box-shadow .22s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(192,57,43,.28);
  box-shadow: var(--shadow);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 22px;
}

.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.card h3 { margin-bottom: 12px; }
.services { background: var(--white); }
.services .card { background: var(--cream); }

.plans { background: linear-gradient(180deg, var(--cream), #fff); }
.plan {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: start;
}

.plan.featured {
  border-color: rgba(192,57,43,.36);
  box-shadow: 0 26px 70px rgba(192,57,43,.13);
  transform: translateY(-10px);
}

.label {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
}

.plan-price {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--stone);
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}

.check-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 900;
}

.about-wrap {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 44px;
  align-items: start;
}

.profile {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
}

.avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
}

.profile small { color: var(--muted); font-weight: 800; }
.profile-links { display: flex; gap: 10px; margin-top: 12px; }
.text-link { color: var(--red); font-weight: 850; }
.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.logo-placeholder {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-weight: 850;
  text-align: center;
  filter: grayscale(1);
}

.quote {
  display: grid;
  gap: 18px;
  font-size: 1.02rem;
}

.quote strong { color: var(--ink); }
.ai-band {
  background: var(--charcoal);
  color: var(--white);
}
.ai-band h2, .ai-band h3 { color: var(--white); }
.ai-band p { color: rgba(255,255,255,.76); }
.ai-band .card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.13);
}

.blog-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

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

.form label { display: grid; gap: 8px; color: var(--stone); font-weight: 800; font-size: .9rem; }
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
}

.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: rgba(192,57,43,.58); box-shadow: 0 0 0 4px var(--red-soft); }
.span-2 { grid-column: span 2; }

.site-footer {
  padding: 44px 0;
  background: var(--ink);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
}

.chat-window {
  width: min(360px, calc(100vw - 32px));
  display: none;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chatbot.open .chat-window { display: block; }
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 900;
}
.chat-close {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}
.chat-body { padding: 18px; display: grid; gap: 12px; }
.quick-options { display: grid; gap: 8px; }
.quick-options button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--cream);
  cursor: pointer;
}
.quick-options button:hover { border-color: rgba(192,57,43,.36); color: var(--red); }
.chat-toggle {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(192,57,43,.25);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .nav-links {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .hero-grid, .about-wrap, .contact-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1160px); }
  section { padding: 68px 0; }
  .hero { padding-top: 46px; }
  .header-actions .btn { display: none; }
  .hero-actions .btn { width: 100%; }
  .grid-4, .grid-3, .grid-2, .logos, .form, .footer-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .metric-strip { position: static; margin-top: 12px; grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .chatbot { right: 14px; bottom: 14px; }
}
