/* =========================================================
   Lex Petições — estilos
   Cores e fontes extraídas do site original (Elementor/Hub)
   ========================================================= */

:root {
  --navy: #182D4A;
  --navy-deep: #15263D;
  --navy-btn: #1C304B;
  --navy-heading: #172A48;
  --tile: #2B4465;
  --gold: #C89E4A;
  --gold-light: #F3D79D;
  --green-text: #19402D;
  --gray-text: #5D6371;
  --bg: #FCFCFB;
  --light: #EDEFED;
  --soft: #F4F5F0;
  --yes: #7AD19E;
  --no: #ED6161;

  --grad-btn: linear-gradient(132deg, var(--navy-btn) 0%, var(--gold) 100%);
  --grad-section: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-accent: "Lora", Georgia, serif;
  --f-serif: "Newsreader", Georgia, serif;

  --container: 1280px;
  --gutter: 24px;
  --header-h: 82px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--green-text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.i { width: 1em; height: 1em; flex: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: calc(1150px + var(--gutter) * 2); }
.center { text-align: center; }

/* ---------- Tipografia de títulos ---------- */
.title {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.12;
  color: var(--navy-btn);
  letter-spacing: -0.01em;
}
.title em {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0;
  background: linear-gradient(132deg, var(--navy) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em; /* evita corte do itálico */
}
.title-light { color: var(--light); }
.title-light em { background-image: linear-gradient(132deg, #FFFFFF 0%, var(--gold) 100%); }

.title-hero {
  font-size: clamp(38px, 4.4vw, 52px);
  line-height: 1.04;
  font-weight: 300;
}
.title-hero em { font-size: 1.06em; background-image: linear-gradient(132deg, var(--navy-btn) 0%, var(--gold) 100%); }

/* ---------- Badge "Lex Petições" ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 10px;
  border: 1px solid var(--gold);
  border-radius: 300px;
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--navy-heading);
  line-height: 1.5;
}
.badge .i { color: var(--gold); width: 15px; height: 15px; }
.badge-dark { color: #fff; }

.section-head { margin-bottom: 48px; }
.section-head .badge { margin-bottom: 20px; }

/* ---------- Botões ---------- */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 66px;
  padding: 0 34px 0 28px;
  border-radius: 4px;
  background: var(--grad-btn);
  background-size: 140% 100%;
  background-position: 0 0;
  color: var(--soft);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .01em;
  transition: background-position .5s ease, transform .2s ease, box-shadow .3s ease;
}
.btn-gradient .i { width: 18px; height: 18px; }
.btn-gradient:hover { background-position: 100% 0; box-shadow: 0 10px 25px -10px rgba(28, 48, 75, .55); }
.btn-gradient:active { transform: translateY(1px); }
.btn-wide { padding-inline: 34px 38px; }
.btn-block { width: 100%; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 100px;
  background: var(--navy-btn);
  color: var(--bg);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
  transition: background-color .25s ease, transform .2s ease;
}
.btn-pill .i { width: 15px; height: 15px; }
.btn-pill:hover { background: var(--tile); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--navy-heading);
  transition: color .2s ease;
}
.btn-link .i { width: 22px; height: 22px; }
.btn-link:hover { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  transition: top .3s ease;
}
.header-card {
  position: relative;
  max-width: 1364px;
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-top: 3px solid var(--gold);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .12);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-stuck { top: 12px; }
.site-header.is-stuck .header-card { background: rgba(255, 255, 255, .96); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .25); }

.logo img { height: 46px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-inline: auto;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-heading);
  transition: color .2s ease;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--gold); }
.dot {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.nav-cta-mobile { display: none !important; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-btn);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 735px;
  background: linear-gradient(180deg, var(--light) 0%, #FFFFFF 44%);
}
.hero-text {
  align-self: center;
  padding: 170px 40px 110px max(5vw, calc((100vw - 1654px) / 2));
  max-width: 100%;
}
.hero-text .badge { margin-bottom: 24px; }
.hero-text .title-hero { max-width: 640px; }
.hero-sub {
  margin-top: 30px;
  max-width: 430px;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.32;
  color: var(--green-text);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-media .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease;
}
.hero-media .slide.is-active {
  opacity: 1;
  animation: kenburns 8s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .slide.is-active { animation: none; }
}

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { padding: 96px 0; }
.section-navy { background: var(--grad-section); color: #fff; }

/* ---------- Por que terceirizar ---------- */
#terceirizar { padding-bottom: 72px; }
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 256px;
  padding: 22px 24px 28px;
  background: #fff;
  border-radius: 5px;
  color: var(--green-text);
  transition: transform .35s ease, box-shadow .35s ease;
}
.benefit-icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin-bottom: auto;
}
.benefit-card h3 {
  margin: 34px 0 14px;
  font-family: var(--f-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--navy-heading);
  line-height: 1.2;
}
.benefit-card p {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.22;
  min-height: 3.66em;
}
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--f-sans);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--navy-heading);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease, color .2s ease;
  align-self: flex-start;
}
.card-link:hover { color: var(--gold); }
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); }
.benefit-card:hover .card-link,
.benefit-card:focus-within .card-link { opacity: 1; transform: none; }
@media (hover: none) { .card-link { opacity: 1; transform: none; } }

.docs-title {
  margin: 120px 0 56px;
  text-align: center;
  font-family: var(--f-sans);
  font-size: 16px;
  color: #fff;
}
.docs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.doc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 156px;
  padding: 25px 15px 30px;
  border-radius: 11px;
  background: var(--tile);
  text-align: center;
  transition: background-color .3s ease, transform .3s ease;
}
.doc-tile svg { width: 56px; height: 45px; color: var(--gold); }
.doc-tile span {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: .07em;
  color: #fff;
}
.doc-tile:hover { background: #34507a; transform: translateY(-4px); }

/* ---------- Como funciona ---------- */
.section-how {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-top: 72px;
}
.section-how::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 720px;
  max-width: 70%;
  aspect-ratio: 592 / 424;
  background: url("../img/globo.jpg") no-repeat right top / contain;
  opacity: .35;
  pointer-events: none;
}
.section-how > .container { position: relative; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.steps { position: relative; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 27px;
  padding-bottom: 34px;
}
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: #E5E2DE;
}
.step-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-btn);
  color: #fff;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.steps h3 {
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--green-text);
  margin-top: 1px;
}
.steps p {
  margin-top: 12px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--gray-text);
}

.how-media {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  margin-top: 120px;
}
.how-backdrop {
  position: absolute;
  top: 0;
  left: 4%;
  width: 74%;
  height: 80%;
  border-radius: 16px;
  background: linear-gradient(297deg, var(--gold) 0%, var(--navy-btn) 100%);
}
.how-media img {
  position: relative;
  width: 100%;
  border-radius: 16px;
  transform: translate(2%, 5%) rotate(8deg);
  box-shadow: 0 55px 55px rgba(0, 0, 0, .25);
}

/* ---------- Compare ---------- */
.title-compare { max-width: 760px; margin-inline: auto; }
.compare-wrap { max-width: 1254px; margin: 64px auto 0; overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-body);
}
.compare th,
.compare td { padding: 26px 0; }
.compare thead th {
  font-weight: 400;
  font-size: 17px;
  color: #fff;
  padding: 22px 0 8px;
  vertical-align: bottom;
}
.compare thead th:first-child { text-align: left; }
.compare tbody th {
  text-align: left;
  font-family: var(--f-sans);
  font-weight: 300;
  font-style: italic;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--gold-light);
  padding-right: 24px;
}
.compare tbody tr:first-child th,
.compare tbody tr:first-child td { padding-top: 14px; }
.compare tbody tr:not(:last-child) th,
.compare tbody tr:not(:last-child) td { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.compare th:not(:first-child),
.compare td {
  width: 20%;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.compare svg { width: 26px; height: 26px; vertical-align: middle; }
.compare .yes { color: var(--yes); }
.compare .no { color: var(--no); }

/* ---------- FAQ ---------- */
.section-faq { background: var(--bg); padding-top: 72px; }
.faq { display: grid; gap: 26px; margin-bottom: 44px; }
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .05);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 34px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-sans);
  font-size: 19px;
  font-weight: 600;
  color: var(--green-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FBFBFB;
  transition: background-color .25s ease, transform .3s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  margin: -1px 0 0 -10px;
  background: #000;
  border-radius: 2px;
  transition: transform .3s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--soft); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item summary:hover .faq-icon { background: var(--light); }
.faq-body {
  padding: 0 34px 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-text);
  max-width: 980px;
}

/* ---------- Depoimentos (carrossel) ---------- */
#depoimentos { padding-bottom: 80px; }
.carousel {
  position: relative;
  max-width: 1258px;
  margin-inline: auto;
}
.carousel-viewport { overflow: hidden; }
.carousel-track {
  --per-view: 4;
  --gap: 22px;
  display: flex;
  gap: var(--gap);
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.carousel-track li {
  flex: 0 0 calc((100% - var(--gap) * (var(--per-view) - 1)) / var(--per-view));
}
.carousel-track img {
  width: 100%;
  aspect-ratio: 739 / 1304;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background-color .2s ease;
}
.carousel-btn svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn:hover { background: rgba(255, 255, 255, .8); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.carousel-dots button::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  transition: background-color .2s ease, transform .2s ease;
}
.carousel-dots button[aria-selected="true"]::after { background: var(--gold); transform: scale(1.15); }

/* ---------- Quem somos ---------- */
.section-about { background: #fff; padding: 84px 0 80px; }
.about-grid {
  display: grid;
  grid-template-columns: 575px 1fr;
  gap: 128px;
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .18);
}
.about-media img { width: 100%; aspect-ratio: 575 / 595; object-fit: cover; }
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(67, 62, 57, .8) 100%);
  pointer-events: none;
}
.about-counter {
  position: absolute;
  right: 46px;
  bottom: 44px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #fff;
}
.counter-num {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 112px;
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.counter-label {
  margin-top: 18px;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
}
.about-text { max-width: 575px; }
.about-desc { font-size: 15px; line-height: 1.45; color: var(--green-text); margin-top: -8px; }
.about-divider { border: 0; border-top: 1px solid #E5E2DE; margin: 46px 0; }
.person { display: flex; align-items: center; gap: 17px; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.person strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--green-text);
  line-height: 1.2;
}
.person span { font-size: 15px; color: var(--green-text); }

/* ---------- Fale conosco ---------- */
.section-contact {
  padding: 106px 0;
  background: var(--navy) url("../img/fale-conosco.jpg") center / cover no-repeat;
}
.contact-card {
  width: min(100%, 514px);
  padding: 66px 44px 50px;
  background: #fff;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4);
}
.contact-card .title { font-size: clamp(32px, 4vw, 42px); }
.contact-card p {
  margin: 10px auto 30px;
  max-width: 430px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-heading);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 30px var(--gutter) 34px;
  background: #fff;
  text-align: center;
  font-size: 15px;
  color: var(--navy-heading);
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whats-float svg { width: 30px; height: 30px; }
.whats-float:hover { transform: scale(1.07); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .5); }

/* ---------- Animação de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .how-media.reveal { transform: translateY(60px); }
.js .how-media.reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1240px) {
  .main-nav { gap: 28px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

@media (max-width: 1080px) {
  .header-card { padding: 0 24px; }
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 14px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .docs { grid-template-columns: repeat(3, 1fr); }
  .carousel-track { --per-view: 3; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  html { scroll-padding-top: 100px; }
  .site-header { top: 14px; padding-inline: 14px; }
  .site-header.is-stuck { top: 8px; }
  .header-card { padding: 0 10px 0 20px; flex-wrap: wrap; row-gap: 0; }
  .logo img { height: 38px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .main-nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
  }
  .main-nav.is-open { max-height: 420px; padding-bottom: 18px; }
  .main-nav a { font-size: 16px; padding: 14px 4px; border-top: 1px solid #EEE; }
  .nav-cta-mobile { display: inline-flex !important; justify-content: center; margin-top: 12px; border-top: 0 !important; padding: 14px 26px !important; color: var(--bg) !important; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 130px var(--gutter) 56px; }
  .hero-media { min-height: 380px; }

  .section { padding: 72px 0; }
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
  .how-media { margin: 10px auto 40px; width: min(86%, 440px); }
  .section-how { background-size: 70% auto; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 575px; }

  .compare thead th { font-size: 15px; }
  .compare tbody th { font-size: 16px; }
  .compare th:not(:first-child),
  .compare td { width: 17%; }

  .carousel-track { --per-view: 2; }
  .docs-title { margin-top: 80px; }
  .section-contact { padding: 72px 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  .benefits { grid-template-columns: 1fr; gap: 16px; }
  .benefit-card { min-height: 0; }
  .benefit-card h3 { margin-top: 22px; }
  .benefit-icon { width: 46px; height: 46px; }

  .docs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .doc-tile { min-height: 132px; }
  .doc-tile span { font-size: 15px; }

  .hero-actions .btn-gradient { width: 100%; }
  .hero-media { min-height: 300px; }

  .steps li { gap: 18px; padding-bottom: 28px; }
  .steps h3 { font-size: 17px; }
  .steps p { font-size: 14px; margin-top: 6px; }

  .compare thead th { font-size: 13px; padding-bottom: 4px; }
  .compare thead th:first-child { font-size: 14px; }
  .compare tbody th { font-size: 14.5px; letter-spacing: .01em; padding-right: 12px; }
  .compare th, .compare td { padding: 18px 0; }
  .compare th:not(:first-child),
  .compare td { width: 64px; }
  .compare svg { width: 22px; height: 22px; }

  .faq { gap: 14px; }
  .faq-item summary { padding: 16px 16px 16px 20px; font-size: 16.5px; }
  .faq-icon { width: 42px; height: 42px; }
  .faq-icon::before, .faq-icon::after { width: 16px; margin-left: -8px; }
  .faq-body { padding: 0 20px 20px; font-size: 15px; }
  .btn-wide { width: 100%; }

  .carousel-track { --per-view: 1.25; --gap: 14px; }
  .carousel-btn { display: none; }

  .about-counter { right: 24px; bottom: 24px; }
  .counter-num { font-size: 84px; }

  .contact-card { padding: 44px 22px 30px; }
  .contact-card p { font-size: 16px; }
  .section-contact { padding: 56px 0; }

  .whats-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
