:root {
  --purple-900: #4b1e78;
  --purple-700: #6f2dbd;
  --purple-100: #e9d8fd;
  --text: #374151;
  --muted: #6b7280;
  --white: #ffffff;
  --soft: #fbf8ff;
  --line: #eadff5;
  --whatsapp: #25d366;
  --shadow: 0 18px 50px rgba(75, 30, 120, 0.14);
  --radius: 8px;
  font-family: Inter, "Nunito Sans", Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--purple-900);
  color: var(--white);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(233, 216, 253, 0.7);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--purple-900);
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.btn):hover {
  color: var(--purple-700);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--purple-900);
  border-radius: var(--radius);
  padding: 9px 12px;
  font: inherit;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-whatsapp {
  color: #083d1c;
  background: var(--whatsapp);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
}

.btn-secondary {
  color: var(--purple-900);
  background: var(--white);
  border-color: var(--purple-100);
}

.btn-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #f7f0ff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 41%, rgba(255, 255, 255, 0.35) 66%, rgba(255, 255, 255, 0.05) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple-700);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--purple-900);
  font-size: clamp(2.35rem, 7vw, 4.65rem);
  line-height: 1.02;
}

h2 {
  margin: 0 0 16px;
  color: var(--purple-900);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0;
  color: var(--purple-900);
  font-size: 1.05rem;
  line-height: 1.3;
}

.hero-text {
  max-width: 600px;
  margin: 20px 0;
  color: #2f3745;
  font-size: 1.14rem;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: #2f3745;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.7);
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 86px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-image,
.solution-image,
.cta-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(75, 30, 120, 0.13);
}

.section-image img,
.solution-image img,
.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-image {
  aspect-ratio: 16 / 9;
}

.pain-stack {
  display: grid;
  gap: 16px;
}

.pain-cards,
.card-grid,
.testimonial-grid,
.steps {
  display: grid;
  gap: 16px;
}

.pain-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soft-card,
.service-card,
.steps article,
.testimonial-grid blockquote,
.contact-highlight {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(75, 30, 120, 0.08);
}

.soft-card {
  padding: 18px;
  font-weight: 750;
  color: var(--purple-900);
}

.solution-section {
  padding-top: 0;
}

.solution-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  box-shadow: var(--shadow);
}

.solution-image {
  aspect-ratio: 4 / 3;
}

.solution-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.solution-card h2,
.solution-card p,
.solution-card .eyebrow {
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.service-showcase h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.service-card {
  padding: 22px;
  min-height: 145px;
}

.icon,
.steps span {
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--purple-900);
  background: var(--purple-100);
  font-weight: 900;
  font-size: 0.8rem;
}

.tinted,
.faq-section {
  background: var(--soft);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--purple-900);
  border: 1px solid var(--line);
  font-weight: 750;
}

.feature-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.feature-media-grid figcaption {
  position: relative;
  margin-top: -52px;
  padding: 16px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(180deg, rgba(75, 30, 120, 0), rgba(75, 30, 120, 0.86));
}

.steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps article {
  padding: 22px;
}

.center-action {
  justify-content: center;
  margin-top: 30px;
}

.local-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
}

.neighborhoods {
  margin-top: 18px !important;
  color: var(--purple-900) !important;
  font-weight: 750;
}

.contact-highlight {
  display: grid;
  gap: 14px;
  padding: 30px;
  background: var(--purple-900);
  color: var(--white);
}

.contact-highlight strong {
  font-size: 1.45rem;
  line-height: 1.2;
}

.contact-highlight a {
  color: var(--white);
  font-weight: 800;
}

.testimonial-grid {
  grid-template-columns: 1fr;
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 24px;
  color: var(--text);
  font-size: 1.05rem;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--purple-900);
  font-weight: 850;
}

.faq-list details p {
  padding-bottom: 18px;
}

.final-cta {
  padding: 82px 0;
  text-align: left;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
}

.final-cta .container {
  max-width: 1120px;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
  color: var(--white);
}

.final-cta p {
  margin: 0 0 24px;
  max-width: 660px;
}

.cta-image {
  aspect-ratio: 16 / 10;
}

.site-footer {
  padding: 60px 0 54px;
  color: #cfd3df;
  background: #141519;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.footer-brand,
.site-footer .brand small,
.site-footer a {
  color: #cfd3df;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-logo {
  width: 62px;
  height: 62px;
  box-shadow: 0 0 20px rgba(111, 45, 189, 0.25);
}

.footer-brand strong {
  color: var(--white);
}

.footer-about p {
  max-width: 300px;
  margin: 0 0 24px;
  color: #cfd3df;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #cfd3df;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--white);
  background: rgba(111, 45, 189, 0.55);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-column h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a,
.footer-contact span {
  color: #cfd3df;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-contact address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.footer-contact a,
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-address svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  fill: currentColor;
}

.site-footer p {
  margin: 0;
}

.footer-bottom {
  padding: 16px 0;
  color: #d8c6e8;
  background: #1b0c27;
  border-top: 1px solid rgba(233, 216, 253, 0.14);
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 4px;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 500;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #083d1c;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: currentColor;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset: 74px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .section-grid,
  .solution-card,
  .service-showcase,
  .testimonial-layout,
  .final-cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 34px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .testimonial-grid,
  .feature-media-grid {
    grid-template-columns: 1fr;
  }

  .solution-card .btn {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 57%, rgba(255, 255, 255, 0.6) 100%);
  }

  .hero-media {
    opacity: 0.38;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-content {
    padding: 44px 0 58px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-actions .btn,
  .center-action .btn,
  .final-cta .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .pain-cards,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 24px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 56px;
    min-height: 48px;
    padding: 0;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}
