/* Lavanda Business: static rebuild. Mobile-first, no build step. */
@font-face {
  font-family: "Mazzard H";
  src: url("../assets/fonts/mazzard-h-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #7f44df;
  --purple-dark: #6a33c6;
  --beige: #faf5f0;
  --blue: #dce8ff;
  --ink: #000;
  --ink-soft: #212121;
  --error: #c62828;
  --success: #1b7f3b;
  --radius-card: 18px;
  --container: 1200px;
  --font: "Mazzard H", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--beige); line-height: 1.5; font-size: 16px; }
img, video { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
u { text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
a { color: inherit; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: inherit; cursor: pointer; text-decoration: none; border: 0; }
.btn-pill { background: var(--purple); color: #fff; border-radius: 999px; padding: 10px 30px; font-size: 15px; min-height: 40px; transition: background .2s; }
.btn-pill:hover, .btn-pill:focus-visible { background: var(--purple-dark); }
.btn-pill:focus-visible { outline: 3px solid #b99af0; outline-offset: 2px; }
.btn-sm { padding: 6px 16px; font-size: 13px; min-height: 34px; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header { background: var(--beige); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo img { width: 110px; height: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-media, .hero-media picture, .hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .35); }
.hero-video { opacity: 0; transition: opacity .6s; }
.hero-video.is-playing { opacity: 1; }
.hero-inner { padding-top: 36px; padding-bottom: 40px; display: grid; gap: 40px; }
.hero h1 { font-size: 30px; line-height: 1.2; }
.hero-sub { margin-top: 14px; font-size: 16px; max-width: 32ch; }
.form-title { font-size: 20px; margin-bottom: 12px; }

/* Form */
.lead-form { display: grid; gap: 4px; }
.field label { display: block; font-size: 12px; margin-bottom: 2px; }
.field input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink-soft); padding: 8px 2px; border-radius: 0; min-height: 40px; }
.field input:focus { outline: none; border-bottom: 2px solid var(--purple); }
.field input[aria-invalid="true"] { border-bottom-color: var(--error); }
.field-error { min-height: 1.1em; font-size: 12px; color: var(--error); }
.lead-form .btn { justify-self: start; margin-top: 10px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 10px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.form-status.is-success { background: #e6f4ea; color: var(--success); }
.form-status.is-error { background: #fdecea; color: var(--error); }

/* Sections */
.section { padding: 56px 0; }
.section-blue { background: var(--blue); }
.section-beige { background: var(--beige); }
.section-purple { background: var(--purple); color: #fff; }
.section-title { font-size: 22px; line-height: 1.3; text-align: center; margin-bottom: 36px; }

.cards-plain { display: grid; gap: 40px; text-align: center; }
.cards-plain img { margin: 0 auto 14px; }
.cards-plain h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.cards-plain p { font-size: 13px; max-width: 34ch; margin: 0 auto; }
.industries img { width: 115px; }
.why-list img { width: 127px; }
.why-list p { font-size: 13px; max-width: 18ch; }

/* Banner */
.banner { position: relative; overflow: hidden; background: #fff; display: grid; }
.banner picture, .banner img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; min-height: 306px; }
.banner picture { display: block; }
.banner-inner { grid-area: 1 / 1; align-self: end; position: relative; padding-bottom: 28px; }
.banner-title { font-size: 20px; line-height: 1.25; max-width: 11em; }

/* Benefits */
.eyebrow { text-align: center; font-size: 14px; letter-spacing: .02em; margin-bottom: 10px; }
.benefits .section-title { margin-bottom: 40px; }
.benefit-list { display: grid; gap: 36px; text-align: center; }
.benefit-list .icon { width: 40px; height: 40px; margin: 0 auto 12px; }
.benefit-list h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.benefit-list p { font-size: 13px; max-width: 32ch; margin: 0 auto; }

/* Testimonials */
.testimonials { position: relative; padding: 40px 0; isolation: isolate; }
.testimonials .bg, .testimonials .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.testimonial-list { display: grid; gap: 16px; }
.testimonial-list blockquote { margin: 0; background: var(--beige); border-radius: var(--radius-card); padding: 22px 20px 28px; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; }
.quote-mark { width: 24px; margin-bottom: 14px; }
.testimonial-list p { font-size: 13px; line-height: 1.6; }
.testimonial-list footer { margin-top: 18px; font-size: 14px; }

/* Clients */
.client-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; align-items: center; justify-items: center; }
.client-logos img { width: 128px; height: auto; mix-blend-mode: multiply; }

/* CTA */
.cta { padding: 22px 0 28px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cta-title { font-size: 20px; max-width: 12em; }

/* Footer */
.site-footer { background: var(--beige); padding: 30px 0 24px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.footer-logo { width: 90px; justify-self: center; grid-column: 1; }
.footer-issa { width: 51px; grid-column: 2; }
.footer-social { grid-column: 1; display: grid; gap: 2px; font-size: 15px; }
.footer-social a { text-decoration: underline; }
.footer-social a:hover { color: var(--purple); }
.footer-cards { grid-column: 2; width: 70px; }
.footer-address { grid-column: 1 / -1; font-style: normal; font-size: 15px; max-width: 28ch; }
.copyright { max-width: var(--container); margin: 24px auto 0; padding: 0 20px; font-size: 12px; }

/* Mobile order matches live site: testimonials before benefits */
.page { display: flex; flex-direction: column; }
.hero { order: 1; } .industries { order: 2; } .banner { order: 3; } .testimonials { order: 4; } .benefits { order: 5; } .why { order: 6; } .clients { order: 7; } .cta { order: 8; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .client-logos { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  .page { display: block; }
  .logo img { width: 175px; }
  .header-inner { min-height: 104px; max-width: 1440px; padding: 0 60px 0 95px; }
  .btn-sm { padding: 8px 24px; font-size: 15px; min-height: 40px; }

  .hero-inner { max-width: 1440px; grid-template-columns: 1fr 365px; align-items: center; min-height: 553px; padding: 40px 195px 40px 95px; gap: 60px; }
  .hero-copy { padding-top: 20px; }
  .hero h1 { font-size: 50px; line-height: 1.18; max-width: 10.5em; }
  .hero-sub { font-size: 18px; margin-top: 18px; }
  .form-title { font-size: 28px; white-space: nowrap; }

  .section { padding: 80px 0; }
  .section-title { font-size: 36px; margin-bottom: 56px; }
  .grid-5 { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .industries img { width: 163px; }
  .why-list img { width: 144px; }
  .cards-plain h3 { font-size: 18px; }
  .cards-plain p, .why-list p { font-size: 14px; }

  .banner img { min-height: 553px; max-height: 553px; object-position: right center; }
  .banner-inner { align-self: center; padding-bottom: 0; }
  .banner-title { font-size: 36px; max-width: 11.5em; padding-left: 50px; }

  .eyebrow { font-size: 20px; }
  .benefit-list { gap: 56px 40px; }
  .benefit-list .icon { width: 48px; height: 48px; }
  .benefit-list h3 { font-size: 18px; }
  .benefit-list p { font-size: 14px; }

  .testimonials { padding: 70px 0; }
  .testimonial-list { gap: 24px; max-width: 1060px; margin: 0 auto; }
  .testimonial-list blockquote { padding: 26px 28px 40px; }
  .testimonial-list p { font-size: 15px; }
  .testimonial-list footer { font-size: 18px; margin-top: 24px; }

  .client-logos { grid-template-columns: repeat(6, 1fr); }
  .client-logos img { width: 131px; }

  .cta-inner { flex-direction: row; justify-content: center; gap: 28px; }
  .cta-title { font-size: 36px; max-width: none; }
  .cta .btn-pill { padding: 10px 46px; }

  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1.6fr auto auto 1.4fr auto; gap: 30px; align-items: center; max-width: 1400px; }
  .footer-logo, .footer-issa, .footer-social, .footer-address, .footer-cards { grid-column: auto; }
  .footer-logo { width: 150px; justify-self: start; }
  .footer-issa { width: 103px; }
  .footer-social { font-size: 14px; }
  .footer-address { font-size: 14px; max-width: 30ch; }
  .footer-cards { width: 100px; }
  .copyright { text-align: center; margin-top: 30px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
}
