:root {
  --bg: #f7f3ef;
  --paper: rgba(255,255,255,.78);
  --white: #ffffff;
  --text: #231f20;
  --muted: #655b57;
  --line: rgba(35,31,32,.12);
  --orange: #ed761b;
  --blue: #0094d9;
  --green: #4da391;
  --red: #e05252;
  --shadow: 0 24px 80px rgba(30, 18, 8, 0.14);
  --radius: 24px;
  --radius-sm: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-wrap {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 84px;
  height: 84px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: repeat(2,1fr);
  gap: 3px;
  transform: rotate(-8deg);
}
.brand-mark span {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.brand-mark .c1 { background: var(--green); }
.brand-mark .c2 { background: var(--blue); }
.brand-mark .c3 { background: var(--red); }
.brand-mark .c4 { background: var(--orange); }

.brand-copy {
  gap: 12px;
}
.brand-copy strong {
  font-family: Dosis, sans-serif;
  font-size: 1.25em;
  line-height: .9;
}
.brand-copy span {
  font-size: .4rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.site-nav a {
  font-weight: 600;
  color: #433f3f;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #d85c13, #f0b000);
  color: white;
  box-shadow: 0 18px 30px rgba(237, 118, 27, .22);
}
.btn-secondary {
  background: var(--blue);
  color: white;
  box-shadow: 0 18px 30px rgba(0, 148, 217, .18);
}
.btn-outline {
  border-color: rgba(255,255,255,.24);
  color: white;
}
.btn-ghost {
  border-color: rgba(35,31,32,.1);
  color: var(--text);
  background: rgba(255,255,255,.75);
}
.btn-large { padding: 17px 30px; }
.btn-full { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,243,239,.9) 0%, rgba(247,243,239,.78) 24%, rgba(247,243,239,.48) 50%, rgba(247,243,239,.15) 100%),
    url('assets/hero.jpg') center/cover no-repeat;
  transform: scale(1.02);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
  padding: 90px 0 72px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(35,31,32,.08);
  color: #5f5651;
  font-size: .88rem;
  font-weight: 700;
}

.hero h1 {
  font-family: Dosis, sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .88;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  max-width: 720px;
}
.hero-text {
  max-width: 670px;
  font-size: 1.14rem;
  line-height: 1.7;
  color: #443d3a;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-proof {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #4d4744;
  font-weight: 600;
}
.hero-proof li::before {
  content: "•";
  color: var(--orange);
  margin-right: 8px;
}

.floating-card {
  padding: 28px;
  border-radius: 30px;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.66);
  box-shadow: var(--shadow);
}
.mini-tag {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 148, 217, .12);
  color: var(--blue);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 14px;
}
.floating-card h2 {
  font-size: 1.9rem;
  line-height: 1.1;
  margin: 0 0 12px;
}
.floating-card p {
  color: #534b47;
  line-height: 1.7;
  margin: 0;
}
.metrics {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.metrics div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(35,31,32,.06);
}
.metrics strong { display: block; margin-bottom: 4px; }
.metrics span { color: var(--muted); font-size: .95rem; }

.clients-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}
.clients-bar p {
  margin: 0;
  padding: 18px 0;
  text-align: center;
  color: #5d5451;
  font-weight: 600;
}

.section {
  padding: 92px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 46px;
}
.section-head h2,
.problem-section h2,
.content-copy h2,
.contact-copy h2 {
  font-family: Dosis, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: .95;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.section-head p,
.problem-section p,
.content-copy p,
.contact-copy p {
  color: #5f5651;
  line-height: 1.8;
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.align-center { align-items: center; }

.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.problem-list article,
.service-card,
.case-card,
.testimonial,
.content-box,
.contact-form,
.method-card,
.price-card,
.faq-item {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(35,31,32,.08);
  box-shadow: var(--shadow);
}
.problem-list article {
  padding: 22px;
  border-radius: 20px;
}
.problem-list strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.problem-list span { color: var(--muted); }

.cards-grid,
.pricing-grid,
.method-grid,
.cases-grid,
.testimonial-grid { display: grid; gap: 20px; }
.services-grid,
.pricing-grid,
.cases-grid,
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.method-grid { grid-template-columns: repeat(5, 1fr); }

.service-card,
.case-card,
.testimonial,
.method-card,
.price-card { padding: 26px; border-radius: 24px; }
.service-card .icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(237,118,27,.12);
  color: var(--orange);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.service-card h3,
.case-card h3,
.price-card h3,
.method-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
.service-card p,
.case-card p,
.testimonial p,
.method-card p { margin: 0; line-height: 1.7; color: var(--muted); }

.methodology { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.method-card {
  text-align: center;
  padding-inline: 16px;
}
.method-card span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(237,118,27,.14), rgba(0,148,217,.12));
  margin-bottom: 14px;
}

.dark-section {
  background: linear-gradient(180deg, #302724, #211b18);
  color: white;
}
.dark-section .section-head p { color: rgba(255,255,255,.72); }
.price-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.09);
}
.price-card .plan {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-weight: 800;
  margin-bottom: 14px;
}
.price-card .price {
  font-family: Dosis, sans-serif;
  font-size: 2.3rem;
  line-height: 1;
  margin: 12px 0 18px;
}
.price-card ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: rgba(255,255,255,.76);
  display: grid;
  gap: 12px;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  transform: translateY(-8px);
}

.case-type {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0,148,217,.12);
  color: var(--blue);
  font-weight: 800;
  font-size: .85rem;
}

.testimonial-section { background: rgba(255,255,255,.45); }
.testimonial { position: relative; }
.testimonial::before {
  content: "“";
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(237,118,27,.2);
}
.testimonial strong { display: block; margin-top: 18px; }

.content-box {
  padding: 28px;
  border-radius: 24px;
}
.content-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 14px;
  color: #4f4642;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  border-radius: 20px;
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 18px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.contact-points {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
.contact-points div {
  padding: 16px 18px;
  background: rgba(255,255,255,.78);
  border-radius: 18px;
  border: 1px solid rgba(35,31,32,.08);
}
.contact-points strong { display: block; margin-bottom: 6px; }
.contact-points span { color: var(--muted); }

.contact-form {
  padding: 24px;
  border-radius: 26px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35,31,32,.1);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.9);
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  background: #211b18;
  color: white;
  padding: 32px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 22px;
}
.footer-brand { margin-bottom: 14px; }
.footer-text,
.site-footer li a { color: rgba(255,255,255,.72); }
.site-footer h4 { margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 61;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--orange), #f0b000);
  color: white;
  box-shadow: 0 18px 30px rgba(237,118,27,.28);
  cursor: pointer;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: min(360px, calc(100vw - 28px));
  z-index: 60;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(30,18,8,.22);
  background: white;
  border: 1px solid rgba(35,31,32,.08);
  transform: translateY(18px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
}
.chat-widget.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f5ede8, #fff);
  border-bottom: 1px solid rgba(35,31,32,.08);
}
.chat-header strong { display: block; }
.chat-header span { color: var(--muted); font-size: .9rem; }
.chat-header button {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}
.chat-body {
  padding: 16px;
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow: auto;
  background: #fff;
}
.bot-message,
.user-message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.5;
}
.bot-message {
  background: #f2f2f2;
  color: #403734;
}
.user-message {
  background: rgba(0,148,217,.12);
  margin-left: auto;
}
.chat-options {
  padding: 14px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(35,31,32,.08);
}
.chat-options button {
  text-align: left;
  border: 1px solid rgba(35,31,32,.08);
  background: white;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
}
.chat-options button:hover { border-color: rgba(237,118,27,.4); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .hero-grid,
  .grid-2,
  .contact-grid,
  .footer-grid,
  .services-grid,
  .pricing-grid,
  .cases-grid,
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 860px) {
  .header-wrap {
    grid-template-columns: auto auto auto;
  }
  .menu-toggle { display: block; justify-self: end; }
  .site-nav,
  .header-actions .btn-ghost { display: none; }
  .site-nav.open {
    display: grid;
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    padding: 18px;
    gap: 14px;
    background: rgba(255,255,255,.96);
    border-radius: 20px;
    border: 1px solid rgba(35,31,32,.08);
    box-shadow: var(--shadow);
  }
  .hero-grid,
  .grid-2,
  .contact-grid,
  .footer-grid,
  .services-grid,
  .pricing-grid,
  .cases-grid,
  .testimonial-grid,
  .problem-list,
  .method-grid { grid-template-columns: 1fr; }
  .hero {
    min-height: auto;
  }
  .hero-bg {
    background-position: 68% center;
  }
  .hero-grid { padding: 56px 0 60px; }
  .hero h1 { max-width: 100%; }
}

@media (max-width: 560px) {
  .header-wrap { gap: 12px; }
  .brand-copy span { display: none; }
  .header-actions .btn-primary { padding: 12px 16px; font-size: .92rem; }
  .section { padding: 72px 0; }
  .hero-cta { flex-direction: column; }
  .hero-proof { display: grid; gap: 8px; }
  .contact-form,
  .floating-card { padding: 20px; }
}
