:root {
  --navy: #0d2b45;
  --ink: #142033;
  --muted: #5d6b7b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eaf3ff;
  --green: #16a34a;
  --green-dark: #0f7a38;
  --white: #ffffff;
  --soft: #f6f9fc;
  --line: #d9e3ee;
  --warning: #fff7ed;
  --warning-line: #fed7aa;
  --danger: #b42318;
  --shadow: 0 12px 30px rgba(13, 43, 69, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.narrow {
  width: min(100% - 32px, 820px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 185px;
  color: var(--navy);
}

.brand-name,
.footer-brand {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: 0;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.main-nav a {
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  text-align: center;
}

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

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

.btn-primary:hover {
  color: var(--white);
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.btn-secondary:hover {
  color: var(--navy);
  background: var(--blue-soft);
  border-color: #b8d4ff;
}

.btn-whatsapp {
  color: var(--white);
  background: var(--green);
}

.btn-whatsapp:hover {
  color: var(--white);
  background: var(--green-dark);
}

.hero-section {
  padding: 86px 0 66px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.hero-grid,
.two-column,
.form-layout,
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle,
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 26px;
}

.centered-buttons {
  justify-content: center;
}

.trust-line {
  margin-top: 22px;
  color: var(--navy);
  font-weight: 750;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.visual-header,
.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.visual-header {
  margin-bottom: 22px;
  color: var(--muted);
}

.visual-header strong,
.signal-row b {
  color: var(--green-dark);
}

.signal-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.placeholder-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 170px;
  margin: 24px 0;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.placeholder-chart span {
  display: block;
  border-radius: 6px 6px 0 0;
  background: var(--blue);
}

.placeholder-chart span:nth-child(1) { height: 45%; background: #8bbcff; }
.placeholder-chart span:nth-child(2) { height: 62%; background: #5a9dff; }
.placeholder-chart span:nth-child(3) { height: 78%; background: #2563eb; }
.placeholder-chart span:nth-child(4) { height: 92%; background: #16a34a; }

.disclaimer-strip {
  padding: 14px 0;
  color: #27445d;
  background: var(--blue-soft);
  border-block: 1px solid #cfe2ff;
  font-size: 0.95rem;
}

.section {
  padding: 76px 0;
}

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

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2,
.cta-panel h2,
.split-cta h2,
.alert-box h2,
.legal-content h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p,
.split-cta p,
.cta-panel p,
.alert-box p {
  color: var(--muted);
}

.with-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.centered {
  text-align: center;
}

.text-link {
  font-weight: 800;
  color: var(--blue);
}

.card-grid,
.pricing-grid,
.steps-grid,
.blog-grid,
.content-grid {
  display: grid;
  gap: 20px;
}

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

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

.five-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-card,
.service-card,
.tool-card,
.blog-card,
.step-card,
.pricing-card,
.content-grid article,
.service-detail,
.lead-form,
.contact-aside,
.tool-form,
.tool-output,
.alert-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-card,
.service-card,
.tool-card,
.blog-card,
.step-card,
.pricing-card,
.content-grid article,
.alert-box {
  padding: 24px;
}

.info-card h3,
.service-card h3,
.tool-card h2,
.blog-card h2,
.step-card h3,
.pricing-card h2,
.pricing-card h3,
.content-grid h2,
.service-detail h2,
.service-detail h3 {
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: 0;
}

.info-card p,
.service-card p,
.tool-card p,
.blog-card p,
.step-card p,
.pricing-card p,
.content-grid p,
.service-detail p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.service-card a,
.blog-card a,
.tool-card a {
  margin-top: 10px;
}

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

.benefit-list span,
.pill-grid span {
  display: block;
  padding: 14px 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

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

.step-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

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

.full-pricing {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card.featured {
  border-color: #8bbcff;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.15);
}

.plan-label {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  margin: 0;
  color: var(--navy) !important;
  font-size: 2rem;
  line-height: 1;
  font-weight: 850;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

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

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.split-cta,
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.split-cta {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cta-section {
  padding: 76px 0;
  background: var(--navy);
}

.cta-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

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

.cta-panel .eyebrow {
  color: #9ed0ff;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--navy);
  background: var(--white);
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
}

.page-hero {
  padding: 76px 0 58px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.page-hero .narrow {
  margin-inline: auto;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 28px;
  padding: 28px;
  scroll-margin-top: 100px;
}

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

.blog-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-content .container,
.legal-content.container {
  display: block;
}

.legal-content h2 {
  margin-top: 30px;
  font-size: 1.45rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.form-layout,
.tool-layout {
  align-items: start;
}

.lead-form,
.tool-form,
.tool-output,
.contact-aside {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.form-field,
.tool-output {
  display: grid;
  gap: 8px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cdd9e5;
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #98b6d7;
}

.form-note,
.mini-disclaimer {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-alert,
.field-error {
  color: var(--danger);
}

.form-alert {
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #fecdca;
  border-radius: var(--radius);
  background: #fff5f5;
  font-weight: 700;
}

.field-error {
  font-weight: 700;
}

.contact-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

.mini-disclaimer,
.alert-box {
  padding: 16px;
  background: var(--warning);
  border: 1px solid var(--warning-line);
  border-radius: var(--radius);
}

.tool-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.tool-output {
  gap: 12px;
}

.tool-output textarea {
  min-height: 130px;
  background: #fbfdff;
}

.score-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #b8d4ff;
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.score-box span {
  color: var(--navy);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.site-footer {
  padding: 58px 0 28px;
  color: #dce9f7;
  background: #0a243a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand,
.site-footer h2 {
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer p {
  color: #c7d8e9;
}

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

.site-footer a {
  color: #dce9f7;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.28);
  font-weight: 850;
}

.floating-whatsapp:hover {
  color: var(--white);
  background: var(--green-dark);
}

.thank-you-hero {
  min-height: 56vh;
  display: grid;
  place-items: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1020px) {
  .hero-grid,
  .two-column,
  .form-layout,
  .tool-layout,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .pricing-grid,
  .blog-grid,
  .three-grid,
  .two-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-aside {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav {
    max-height: 420px;
    visibility: visible;
  }

  .main-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero-section,
  .section,
  .cta-section {
    padding: 56px 0;
  }

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

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .with-link,
  .split-cta,
  .cta-panel,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle,
  .page-hero p {
    font-size: 1rem;
  }

  .button-row,
  .centered-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .steps-grid,
  .pricing-grid,
  .blog-grid,
  .three-grid,
  .two-grid,
  .content-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .info-card,
  .service-card,
  .tool-card,
  .blog-card,
  .step-card,
  .pricing-card,
  .content-grid article,
  .lead-form,
  .contact-aside,
  .tool-form,
  .tool-output,
  .service-detail,
  .split-cta,
  .cta-panel {
    padding: 20px;
  }

  .floating-whatsapp {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 8px;
  }

  .site-footer {
    padding-bottom: 86px;
  }

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