:root {
  --white: #ffffff;
  --black: #111111;
  --red: #E63946;
  --red-dark: #c92f3b;
  --gray: #f7f7f7;
  --gray-2: #ececec;
  --text-muted: #5f6368;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --container: 1180px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.light-section {
  background: var(--gray);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.inner-header {
  position: sticky;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-weight: 600;
  color: var(--black);
  position: relative;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 12px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--red-dark);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-2);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  margin: 5px auto;
}

.hero {
  padding-top: 120px;
}

.hero-grid,
.lead-tool,
.contact-grid,
.footer-grid,
.cta-flex {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.panel-card h2,
.cta-flex h2 {
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.section-heading.narrow {
  max-width: 760px;
  margin-bottom: 36px;
}

.hero-text,
.section-heading p,
.panel-card p,
.feature-card p,
.service-card p,
.portfolio-card p,
.blog-card p,
.testimonial-card p,
.contact-card p,
.faq-answer p {
  color: var(--text-muted);
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.hero-actions,
.inline-link-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--gray-2);
  background: var(--white);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.text-link {
  color: var(--red);
  font-weight: 700;
}

.panel-card,
.feature-card,
.service-card,
.lead-card,
.portfolio-card,
.blog-card,
.contact-card,
.testimonial-card,
.stat-card,
.faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card,
.lead-card,
.contact-card {
  padding: 32px;
}

.feature-card,
.service-card,
.portfolio-card,
.blog-card,
.testimonial-card,
.stat-card {
  padding: 26px;
}

.services-grid,
.feature-grid,
.portfolio-grid,
.blog-grid,
.stats-row {
  display: grid;
  gap: 22px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.services-grid,
.portfolio-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stats-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.icon-box,
.tag,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.icon-box,
.badge {
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
  padding: 8px 12px;
}

.tag {
  color: var(--red);
  background: rgba(230, 57, 70, 0.08);
  padding: 7px 12px;
}

.service-card h3,
.feature-card h3,
.portfolio-card h3,
.blog-card h3,
.contact-card h3,
.testimonial-card h3,
.lead-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.section-heading {
  margin-bottom: 38px;
}

.lead-tool,
.contact-grid,
.footer-grid {
  grid-template-columns: repeat(2, 1fr);
}

.dashboard {
  margin-top: 24px;
  padding: 20px;
  background: var(--gray);
  border-radius: 16px;
}

.hidden {
  display: none !important;
}

.check-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 9px;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid var(--gray-2);
  background: var(--white);
  color: var(--black);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 18px;
}

.testimonial-track {
  flex: 1;
}

.testimonial-card {
  display: none;
}

.testimonial-card.active {
  display: block;
}

.slider-control {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-2);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1.3rem;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: var(--white);
  text-align: left;
  padding: 22px 24px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-strip {
  background: var(--black);
  color: var(--white);
}

.cta-flex {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--red);
}

.error {
  color: var(--red);
  font-size: 0.85rem;
  display: block;
  margin-top: 6px;
  min-height: 16px;
}

.form-success {
  color: #0a7a34;
  font-weight: 700;
  margin-top: 16px;
}

.full-width {
  width: 100%;
}

.site-footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.85);
  padding: 44px 0;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer li {
  margin-bottom: 8px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  z-index: 999;
}

.whatsapp-popup {
  position: fixed;
  bottom: 92px;
  left: 24px;
  width: min(320px, calc(100vw - 32px));
  background: var(--white);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 1000;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.muted {
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.inner-page {
  min-height: 70vh;
  padding-top: 30px;
}

.single-column-tool {
  grid-template-columns: 1fr;
}

@media (max-width: 992px) {
  .hero-grid,
  .three-col,
  .four-col,
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .stats-row,
  .lead-tool,
  .contact-grid,
  .footer-grid,
  .cta-flex {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1,
  .section-heading h1,
  .section-heading h2,
  .panel-card h2,
  .cta-flex h2 {
    font-size: clamp(2rem, 5vw, 3.4rem);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .static-nav {
    display: none;
  }

  .hero-grid,
  .three-col,
  .four-col,
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .stats-row,
  .lead-tool,
  .contact-grid,
  .footer-grid,
  .cta-flex {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .whatsapp-float {
    left: 16px;
    bottom: 16px;
  }

  .whatsapp-popup {
    left: 16px;
    bottom: 84px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}