/* === Fonts (matching flowautomate.ai: Inter body + Poppins headings) === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #262626;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* === Layout (matching flowautomate.ai: max-width 80rem = 1280px, px-4 = 1rem) === */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; }
.section--dark {
  background: linear-gradient(to bottom right, #171717, #262626);
  color: #fff;
}
.section--light { background: #f9fafb; }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}
.header__logo { height: 2rem; width: auto; }
.header__right { display: flex; align-items: center; gap: 1.5rem; }
.header__phone {
  color: #262626;
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s;
}
.header__phone:hover { color: #FF1F1F; }
.header__phone svg { fill: #FF1F1F; }

/* === Buttons (matching flowautomate.ai: primary-600 bg, rounded-md, px-6 py-3, font-medium) === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FF1F1F;
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  text-align: center;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn:hover { background: #E60000; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,31,31,0.3); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--outline {
  background: transparent;
  border: 2px solid #FF1F1F;
  color: #FF1F1F;
}
.btn--outline:hover { background: #FF1F1F; color: #fff; }
.btn--dark {
  background: #262626;
  color: #fff;
}
.btn--dark:hover { background: #434343; box-shadow: 0 4px 12px rgba(38,38,38,0.3); }
.btn--block { display: block; width: 100%; }

/* === Hero (matching flowautomate.ai: dark gradient bg, py-20 md:py-32) === */
.hero {
  background: linear-gradient(to bottom right, rgba(13,13,13,0.88), rgba(23,23,23,0.92)),
              url('/images/hero-house.jpg') center/cover no-repeat;
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.hero__content h1 span {
  background: linear-gradient(to right, #FF1F1F, #FF3E3E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__content p {
  font-size: 1.125rem;
  color: #9e9e9e;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.hero__badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #9e9e9e;
}
.hero__badge svg { width: 1rem; height: 1rem; fill: #FF1F1F; flex-shrink: 0; }

/* === Lead Form === */
.lead-form {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.lead-form h2 {
  color: #262626;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.form-group { margin-bottom: 0.875rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #262626;
  margin-bottom: 0.25rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #262626;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #FF1F1F;
  box-shadow: 0 0 0 2px rgba(255,31,31,0.15);
}
.form-group input.error,
.form-group select.error {
  border-color: #dc2626;
}
.form-group input::placeholder { color: #9ca3af; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.75rem;
  color: #7b7b7b;
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: #FF1F1F;
}
.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: #7b7b7b;
  margin-top: 0.75rem;
}
.form-note svg { width: 0.875rem; height: 0.875rem; fill: #22c55e; vertical-align: -2px; margin-right: 0.25rem; }
.form-success {
  text-align: center;
  padding: 1.5rem 0;
  display: none;
}
.form-success svg { width: 3rem; height: 3rem; fill: #22c55e; margin: 0 auto; }
.form-success h3 { color: #262626; margin: 0.75rem 0 0.5rem; font-size: 1.25rem; }
.form-success p { color: #7b7b7b; font-size: 0.875rem; }
.form-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.625rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
  display: none;
}
.hp-field { position: absolute; left: -9999px; }

/* === Trust Bar === */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
}
.trust-item svg { width: 1.25rem; height: 1.25rem; fill: #FF1F1F; flex-shrink: 0; }

/* === Steps === */
.steps { text-align: center; }
.steps h2 {
  font-size: 1.875rem;
  color: #262626;
  margin-bottom: 3rem;
  letter-spacing: -0.025em;
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step { padding: 0 0.75rem; }
.step__number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF1F1F, #FF3E3E);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Poppins', sans-serif;
}
.step h3 { font-size: 1.125rem; color: #262626; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: #7b7b7b; line-height: 1.6; }

/* === Benefits Cards (matching flowautomate.ai: rounded-lg, shadow-md, p-6, hover:shadow-lg) === */
.benefits h2 { font-size: 1.875rem; color: #262626; text-align: center; margin-bottom: 3rem; letter-spacing: -0.025em; }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  border-color: transparent;
}
.benefit-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #FFE1E1;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.benefit-card__icon svg { width: 1.25rem; height: 1.25rem; fill: #FF1F1F; }
.benefit-card h3 { font-size: 1rem; color: #262626; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: #7b7b7b; line-height: 1.6; }

/* === Situations === */
.situations {
  background: linear-gradient(to bottom right, rgba(13,13,13,0.92), rgba(23,23,23,0.94)),
              url('/images/house-yard.jpg') center/cover no-repeat;
}
.situations h2 { font-size: 1.875rem; margin-bottom: 0.75rem; text-align: center; letter-spacing: -0.025em; }
.situations > .container > p { color: #9e9e9e; font-size: 1rem; margin-bottom: 2rem; text-align: center; }
.situations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 44rem;
  margin: 0 auto;
}
.situation-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: 0.5rem;
  border-left: 3px solid #FF1F1F;
  transition: background 0.2s;
}
.situation-item:hover { background: rgba(255,255,255,0.1); }
.situation-item svg { width: 1.125rem; height: 1.125rem; fill: #FF1F1F; flex-shrink: 0; }

/* === Testimonials === */
.testimonials h2 { font-size: 1.875rem; color: #262626; text-align: center; margin-bottom: 3rem; letter-spacing: -0.025em; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.testimonial-card__stars { color: #FF1F1F; font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.875rem; color: #555; line-height: 1.75; margin-bottom: 1rem; font-style: italic; }
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.testimonial-card__initials {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #FF1F1F, #FF3E3E);
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
}
.testimonial-card__name { font-size: 0.875rem; font-weight: 600; color: #262626; }
.testimonial-card__loc { font-size: 0.75rem; color: #9e9e9e; }

/* === FAQ === */
.faq h2 { font-size: 1.875rem; color: #262626; text-align: center; margin-bottom: 3rem; letter-spacing: -0.025em; }
.faq__list { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-item:first-child { border-top: 1px solid #e5e7eb; }
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.125rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #262626;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.faq-item__q:hover { color: #FF1F1F; }
.faq-item__q svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #FF1F1F;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.faq-item.active .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-item__a { max-height: 300px; }
.faq-item__a p {
  padding: 0 0 1.125rem;
  font-size: 0.875rem;
  color: #7b7b7b;
  line-height: 1.75;
}

/* === Image Break (full-width photo with text overlay) === */
.image-break {
  position: relative;
  overflow: hidden;
}
.image-break__img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}
.image-break--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #f9fafb;
}
.image-break--split .image-break__img {
  height: 100%;
  min-height: 20rem;
}
.image-break--split .image-break__text {
  padding: 3rem;
}
.image-break--split .image-break__text h2 {
  font-size: 1.875rem;
  color: #262626;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.image-break--split .image-break__text p {
  font-size: 1rem;
  color: #7b7b7b;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.image-break--split .image-break__text .btn { margin-top: 0.5rem; }

/* === CTA Banner === */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(to bottom right, rgba(13,13,13,0.9), rgba(23,23,23,0.92)),
              url('/images/handshake.jpg') center/cover no-repeat;
}
.cta-banner h2 { font-size: 2.25rem; margin-bottom: 1rem; letter-spacing: -0.025em; }
.cta-banner p { color: #9e9e9e; font-size: 1.125rem; margin-bottom: 2rem; }
.cta-banner .btn { margin: 0 0.5rem; }

/* === Footer (matching flowautomate.ai: secondary-900/800 bg, gray-400 text) === */
.footer {
  background: linear-gradient(to bottom, #171717, #0d0d0d);
  color: #9e9e9e;
  padding: 3rem 0 1.5rem;
  font-size: 0.875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 { color: #fff; font-size: 0.9375rem; margin-bottom: 1rem; }
.footer__brand p { line-height: 1.75; margin-top: 0.75rem; font-size: 0.875rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: #9e9e9e; font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: #FF1F1F; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #7b7b7b;
}
.footer__disclaimer {
  font-size: 0.6875rem;
  color: #555;
  max-width: 38rem;
  line-height: 1.6;
}

/* === Responsive === */
@media (min-width: 768px) {
  .section { padding: 6rem 0; }
  .hero { padding: 8rem 0; }
  .hero__content h1 { font-size: 3.75rem; }
  .steps h2, .benefits h2, .testimonials h2, .faq h2, .situations h2 { font-size: 2.25rem; }
  .cta-banner h2 { font-size: 2.75rem; }
}
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__content { text-align: center; }
  .hero__badges { justify-content: center; }
  .lead-form { max-width: 32rem; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header__phone { display: none; }
  .hero__content h1 { font-size: 2.25rem; }
  .hero__content p { font-size: 1rem; }
  .hero__badges { flex-direction: column; gap: 0.5rem; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .benefits__grid { grid-template-columns: 1fr; }
  .situations__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .cta-banner .btn { display: block; margin: 0.5rem 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .trust-bar .container { gap: 1.25rem; }
  .image-break--split { grid-template-columns: 1fr; }
  .image-break--split .image-break__img { min-height: 14rem; }
  .image-break--split .image-break__text { padding: 2rem 1rem; }
  .image-break__img { height: 14rem; }
}

/* === Utility === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
