:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --text: #14213d;
  --muted: #4a5d79;
  --primary: #1d4ed8;
  --accent: #fbbf24;
  --border: #dbe6f5;
  --shadow: 0 18px 60px rgba(20, 33, 77, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

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

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

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

.site-header,
.site-footer {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner,
.hero-grid,
.service-grid,
.before-after-grid,
.review-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.header-inner {
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.site-header .container {
  padding: 1rem 0;
}

.brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.logo-mark {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(180deg, #1d4ed8 0%, #3b82f6 100%);
  color: white;
  font-size: 1.4rem;
}

.logo-image {
  width: 15rem;
  height: auto;
  object-fit: contain;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.site-header h1,
.hero h2,
.services h2,
.before-after h2,
.reviews h2,
.contact h2 {
  margin: 0;
}

.site-header h1 {
  font-size: 1rem;
}

.desktop-call {
  justify-self: end;
  align-self: center;
  display: inline-flex;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
}

.hero-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.hero-copy p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.button-primary {
  background: var(--primary);
  color: white;
}

.button-secondary {
  background: rgba(29, 78, 216, 0.08);
  color: var(--text);
}

.button-whatsapp {
  background: #25d366;
  color: white;
}

.hero-image .carousel {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f8fbff;
  width: min(680px, 100%);
  aspect-ratio: 680 / 480;
}

.hero-image .carousel-track {
  display: flex;
  animation: slide 25s ease-in-out infinite;
  height: 100%;
}

.hero-image .carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fbff;
}

.hero-image .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes slide {
  0%, 16.66% {
    transform: translateX(0);
  }
  20%, 36.66% {
    transform: translateX(-100%);
  }
  40%, 56.66% {
    transform: translateX(-200%);
  }
  60%, 76.66% {
    transform: translateX(-300%);
  }
  80%, 100% {
    transform: translateX(-400%);
  }
}

.services,
.before-after,
.reviews,
.contact,
.problems {
  padding: 3rem 0;
}

.services h2,
.before-after h2,
.reviews h2,
.contact h2,
.problems h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.services h2,
.before-after h2,
.reviews h2,
.problems h2 {
  margin-bottom: 1.5rem;
}

.service-grid,
.review-grid,
.problems-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card,
.review-card,
.panel,
.contact-form,
.problem-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.problem-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.problem-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.15);
  transform: translateY(-4px);
}

.problem-item input[type="checkbox"] {
  display: none;
}

.problem-item input[type="checkbox"]:checked {
  display: none;
}

.problem-item input[type="checkbox"]:checked + .problem-content {
  color: white;
}

.problem-item:has(input[type="checkbox"]:checked) {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.problem-item:has(input[type="checkbox"]:checked) h4,
.problem-item:has(input[type="checkbox"]:checked) p {
  color: white;
}

.problem-item:has(input[type="checkbox"]:checked) .problem-risk {
  color: rgba(255, 255, 255, 0.8);
}

.problem-icon {
  font-size: 2.5rem;
  line-height: 1;
  min-width: 2.5rem;
  text-align: center;
}

.problem-content {
  flex: 1;
}

.problem-item h4,
.problem-item p {
  margin: 0 0 0.5rem 0;
}

.problem-risk {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.problems-form {
  width: 100%;
}

.problems-action {
  margin-top: 2rem;
  text-align: center;
}

.problems-action .button {
  max-width: 500px;
}

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

.panel-before {
  background: #eef2ff;
}

.panel-after {
  background: #eff6ff;
}

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

.review-card span {
  display: block;
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  font: inherit;
  color: var(--text);
  background: #f8fbff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(29, 78, 216, 0.25);
  border-color: var(--primary);
}

.contact-details p {
  margin: 0.5rem 0;
  color: var(--muted);
}

.site-footer {
  padding: 1.5rem 0;
}

.footer-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.sticky-call {
  display: none;
  position: sticky;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: min(92%, 360px);
  padding: 1rem 1.2rem;
  border-radius: 999px;
  text-align: center;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.16);
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .service-grid,
  .before-after-grid,
  .review-grid,
  .problems-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .desktop-call {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 720px) {
  .hero,
  .services,
  .before-after,
  .reviews,
  .contact,
  .problems {
    padding: 2rem 0;
  }

  .site-header .container,
  .footer-inner {
    display: block;
  }

  .hero-copy h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }

  .button-secondary {
    width: auto;
  }

  .sticky-call {
    display: inline-flex;
  }
}
