:root {
  --blue-950: #031a4d;
  --blue-900: #062b78;
  --blue-800: #073f9f;
  --blue-700: #045bd8;
  --cyan-400: #20d3ff;
  --yellow-400: #ffc400;
  --yellow-500: #f3b400;
  --ink: #10213f;
  --muted: #62718d;
  --line: #dbe5f4;
  --soft: #f4f8ff;
  --white: #ffffff;
  --card-border: #d8e5f6;
  --card-shadow: 0 18px 42px rgba(3, 26, 77, 0.08);
  --card-shadow-soft: 0 8px 22px rgba(3, 26, 77, 0.05);
  --shadow: 0 20px 60px rgba(3, 26, 77, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: var(--cyan-400);
  color: var(--blue-950);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

strong,
b {
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  font-feature-settings: "kern" 1;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(3, 26, 77, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 138px;
}

.brand img,
.footer-brand img {
  width: 150px;
  height: auto;
}

.header-benefits {
  display: none;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.15;
}

.header-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(4, 91, 216, 0.24);
}

.btn-primary:hover {
  background: #034fc0;
}

.btn-yellow {
  background: var(--yellow-400);
  color: var(--blue-950);
  box-shadow: 0 16px 30px rgba(255, 196, 0, 0.24);
}

.btn-yellow:hover {
  background: var(--yellow-500);
}

.btn-light {
  background: var(--white);
  border-color: #b9cae3;
  color: var(--blue-800);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

.header-cta {
  min-width: 0;
  padding-inline: 16px;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.12) 58%, rgba(255, 255, 255, 0) 100%),
    url("../../bg_drober2.jpg") center center / cover no-repeat,
    linear-gradient(135deg, var(--blue-900), var(--blue-950));
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  min-height: 560px;
  padding: 64px 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1,
.process-copy h2,
.form-head h2,
.section-title h2,
.final-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

.hero h1 {
  display: grid;
  gap: 0;
  max-width: 640px;
  color: var(--blue-950);
  font-size: clamp(2.35rem, 4.15vw, 4.05rem);
  font-weight: 600;
  line-height: 0.96;
}

.hero h1 span {
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.hero h1 span:last-child {
  color: var(--blue-700);
}

.hero-subtitle {
  max-width: 540px;
  margin: 18px 0 0;
  color: #23385f;
  font-size: clamp(1.03rem, 2.8vw, 1.28rem);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(4, 91, 216, 0.16);
  border-radius: var(--radius);
  padding: 0 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: var(--blue-950);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--card-shadow-soft);
}

.badges svg {
  width: 20px;
  height: 20px;
  color: var(--blue-700);
}

.benefit-bar {
  background: var(--blue-950);
  color: var(--white);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.benefit-grid article {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.18;
}

.benefit-grid svg {
  color: var(--cyan-400);
  flex: 0 0 auto;
}

.benefit-grid span {
  max-width: 190px;
}

.process-section,
.cases-section {
  background: #fbfdff;
  padding: 48px 0;
}

.split-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.process-copy h2,
.section-title h2 {
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3rem);
}

.process-copy .eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 9px;
}

.process-copy .eyebrow::after,
.section-title .eyebrow::after {
  position: absolute;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-700);
  content: "";
}

.process-copy .eyebrow::after {
  left: 0;
}

.step-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(4, 91, 216, 0.06), rgba(255, 255, 255, 0) 34%),
    var(--white);
  box-shadow: var(--card-shadow-soft);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.step-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan-400), var(--blue-700));
  content: "";
}

.step-card:hover {
  border-color: rgba(4, 91, 216, 0.34);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

.step-card span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(4, 91, 216, 0.2);
  border-radius: var(--radius);
  background: #eef6ff;
  color: var(--blue-700);
  font-size: 1.1rem;
  font-weight: 600;
}

.step-card h3 {
  margin: 0 0 4px;
  color: var(--blue-950);
  font-size: 1.08rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.form-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0;
  background:
    linear-gradient(180deg, rgba(27, 183, 228, 0.18) 0%, rgba(236, 249, 255, 0.72) 108px, #ffffff 210px),
    var(--white);
  color: var(--ink);
  box-shadow: var(--card-shadow);
  scroll-margin-top: 96px;
}

.form-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-400), var(--cyan-400));
  content: "";
}

.form-head {
  padding: 26px 24px 18px;
  background: transparent;
}

.form-head h2 {
  color: var(--blue-950);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.form-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 20px 14px;
  background: transparent;
}

.tab {
  min-height: 48px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #f8fbff;
  color: var(--blue-950);
  font-weight: 600;
}

.tab.is-active {
  border-color: rgba(4, 91, 216, 0.28);
  background: var(--blue-700);
  color: var(--white);
}

.lead-form {
  display: none;
  grid-template-columns: 1fr;
  gap: 14px;
  border-top: 0;
  padding: 18px 24px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 34px);
  color: var(--ink);
}

.lead-form.is-active {
  display: grid;
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form label > span {
  color: #53617a;
  font-size: 0.86rem;
  font-weight: 600;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.lead-form input:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(4, 91, 216, 0.12);
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-field label {
  display: grid;
  min-height: 126px;
  place-items: center;
  border: 1px dashed #8fb1dd;
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(32, 211, 255, 0.06), rgba(255, 255, 255, 0)),
    #f8fbff;
  text-align: center;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.file-field label:hover {
  border-color: var(--blue-700);
  box-shadow: 0 10px 24px rgba(4, 91, 216, 0.1);
}

.file-field svg {
  width: 34px;
  height: 34px;
  color: var(--blue-700);
}

.file-field strong {
  margin-top: 8px;
  color: var(--blue-950);
}

.file-field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.check-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-700);
}

.check-field a,
.privacy-summary a {
  color: var(--blue-700);
  font-weight: 500;
  text-underline-offset: 2px;
}

.check-field em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  white-space: nowrap;
}

.privacy-summary {
  overflow: hidden;
  border: 1px solid #d8e5f5;
  border-radius: var(--radius);
  background: #f7faff;
}

.privacy-summary summary {
  position: relative;
  padding: 13px 40px 13px 14px;
  color: var(--blue-950);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 500;
  list-style: none;
}

.privacy-summary summary::-webkit-details-marker {
  display: none;
}

.privacy-summary summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--blue-700);
  border-bottom: 1.5px solid var(--blue-700);
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}

.privacy-summary[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.privacy-summary__content {
  padding: 13px 14px 14px;
  border-top: 1px solid #d8e5f5;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.48;
}

.privacy-summary__content p {
  margin: 0;
}

.privacy-summary__content p + p {
  margin-top: 7px;
}

.privacy-summary__content strong {
  color: var(--blue-950);
  font-weight: 600;
}

.privacy-checks {
  display: grid;
  gap: 10px;
}

.check-field--optional {
  padding-top: 10px;
  border-top: 1px solid #e5edf8;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--blue-800);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-message.is-error {
  color: #b42318;
}

.metrics-section {
  padding: 54px 0;
  background: #f4f7fb;
}

.metrics-grid {
  display: grid;
  gap: 16px;
}

.metrics-grid article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cfdef2;
  border-radius: var(--radius);
  padding: 20px 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(3, 26, 77, 0.08);
}

.metrics-grid article::before {
  display: none;
}

.metric-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(4, 91, 216, 0.16);
  border-radius: var(--radius);
  background: #f1f7ff;
  color: var(--blue-700);
}

.metric-icon svg {
  width: 27px;
  height: 27px;
}

.metrics-grid article > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.metrics-grid strong {
  color: var(--blue-950);
  font-size: clamp(1.45rem, 1.65vw, 1.82rem);
  line-height: 1.05;
}

.metrics-grid span {
  color: var(--muted);
  font-size: clamp(0.88rem, 0.92vw, 0.98rem);
  font-weight: 500;
  line-height: 1.28;
}

.metrics-grid article:nth-child(4) strong {
  font-size: clamp(1.35rem, 1.55vw, 1.72rem);
}

.metrics-grid article:nth-child(3) {
  border-color: #f3cf74;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.14), rgba(255, 255, 255, 0.94) 58%),
    #ffffff;
  box-shadow: 0 22px 52px rgba(190, 135, 0, 0.14);
}

.metrics-grid article:nth-child(3) .metric-icon {
  border-color: #f3cf74;
  background: #fff7da;
  color: #bf8700;
}

.section-title {
  margin-bottom: 24px;
  text-align: center;
}

.section-title .eyebrow {
  position: relative;
  display: inline-block;
  padding-bottom: 9px;
}

.section-title .eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
}

.case-grid {
  display: grid;
  gap: 18px;
}

.case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff),
    var(--white);
  box-shadow: var(--card-shadow-soft);
}

.case-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-700), var(--cyan-400));
  content: "";
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.case-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(4, 91, 216, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(32, 211, 255, 0.14), rgba(4, 91, 216, 0.05)),
    #f4f9ff;
  color: var(--blue-700);
}

.case-icon svg {
  width: 25px;
  height: 25px;
}

.case-tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid #e2ebf8;
  border-radius: var(--radius);
  padding: 0 10px;
  background: #ffffff;
  color: var(--blue-950);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.case-saving {
  display: grid;
  gap: 6px;
  border: 1px solid #f3cf74;
  border-radius: var(--radius);
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.16), rgba(255, 255, 255, 0.9) 68%),
    #fffdf5;
  box-shadow: 0 18px 40px rgba(190, 135, 0, 0.11);
}

.case-saving small,
.case-comparison small {
  color: #5f6f8b;
  font-size: 0.78rem;
  font-weight: 600;
}

.case-saving strong {
  color: var(--blue-950);
  font-size: clamp(1.8rem, 3.4vw, 2.25rem);
  line-height: 0.98;
  white-space: nowrap;
}

.case-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.case-comparison span {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #e8f0fb;
  border-radius: var(--radius);
  padding: 12px;
  background: #ffffff;
}

.case-comparison strong {
  color: var(--blue-950);
  font-size: 1.02rem;
  line-height: 1.15;
  white-space: nowrap;
}

.case-comparison span:last-child strong {
  color: #0f9f55;
}

.case-comparison i {
  width: 26px;
  height: 1px;
  background: #b9cae3;
}

.case-comparison i::after {
  display: block;
  width: 7px;
  height: 7px;
  margin: -3px 0 0 auto;
  border-top: 1px solid #b9cae3;
  border-right: 1px solid #b9cae3;
  transform: rotate(45deg);
  content: "";
}

.case-card blockquote {
  position: relative;
  margin: 18px 0 10px;
  border-top: 1px solid #e8f0fb;
  padding-top: 16px;
  color: var(--blue-950);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #64728c;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2;
}

.verified svg {
  width: 16px;
  height: 16px;
  color: #0f9f55;
  stroke-width: 2.1;
}

.final-cta {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
  color: var(--white);
  padding: 36px 0;
}

.final-cta-inner {
  display: grid;
  gap: 22px;
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.final-cta p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.final-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.site-footer {
  background: #021338;
  color: rgba(255, 255, 255, 0.86);
  padding: 28px 0;
}

.footer-inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer-links svg {
  width: 15px;
  height: 15px;
  color: var(--cyan-400);
  stroke-width: 1.8;
}

.footer-inner a:hover,
.footer-links a:hover {
  color: var(--white);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  background: #22c55e;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.35);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (min-width: 560px) {
  .hero-actions,
  .final-actions,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid article {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    padding-inline: 18px;
  }

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

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

  .footer-links {
    justify-content: end;
  }
}

@media (min-width: 940px) {
  .header-benefits {
    display: flex;
  }

  .hero-grid {
    min-height: 590px;
    padding: 72px 0 72px;
  }

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

  .benefit-grid article {
    justify-content: center;
    min-height: 76px;
  }

  .split-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 56px;
  }

  .process-section,
  .cases-section {
    padding: 68px 0;
  }

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

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

  .final-cta-inner {
    grid-template-columns: 1fr auto;
  }

  .final-actions {
    grid-template-columns: repeat(2, 220px);
  }
}

@media (min-width: 1180px) {
  .metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) and (min-width: 721px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.54) 62%, rgba(255, 255, 255, 0) 100%),
      url("../../bg_drober2.jpg") 38% center / cover no-repeat,
      linear-gradient(135deg, var(--blue-900), var(--blue-950));
  }

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

  .hero h1 {
    max-width: 500px;
    font-size: clamp(2.45rem, 5.1vw, 3.05rem);
    line-height: 0.96;
  }

  .hero-subtitle {
    max-width: 480px;
  }
}

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

  .brand img {
    width: 128px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 48%, rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 0.2) 100%),
      url("../../bg_drober2.jpg") 60% center / cover no-repeat,
      linear-gradient(135deg, var(--blue-900), var(--blue-950));
  }

  .hero-grid {
    min-height: 600px;
    align-items: start;
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
    line-height: 0.98;
  }

  .hero h1 span {
    letter-spacing: -0.01em;
    white-space: normal;
  }

  .metrics-grid article {
    padding: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* Acceso al comparador desde el hero. No es un tercer boton (romperia la
   rejilla de dos columnas de .hero-actions y competiria con las dos llamadas
   principales) sino una entrada propia, con su promesa en una linea. */
.hero-tool {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid rgba(4, 91, 216, 0.22);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff, #f6faff);
  box-shadow: var(--card-shadow-soft);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-tool:hover {
  border-color: var(--blue-700);
  box-shadow: 0 12px 26px rgba(4, 91, 216, 0.14);
  transform: translateY(-2px);
}

.hero-tool__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-700);
  color: var(--white);
}

.hero-tool__icon svg {
  width: 21px;
  height: 21px;
}

.hero-tool__text {
  min-width: 0;
}

.hero-tool__text strong {
  display: block;
  color: var(--blue-950);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.hero-tool__text span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.hero-tool__arrow {
  color: var(--blue-700);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-tool:hover .hero-tool__arrow {
  transform: translateX(4px);
}

@media (max-width: 460px) {
  .hero-tool__text span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tool,
  .hero-tool__arrow {
    transition: none;
  }

  .hero-tool:hover {
    transform: none;
  }
}

/* Tres acciones en el cierre (factura / comparador / WhatsApp). Sustituye a la
   rejilla fija de dos columnas de 220px, que dejaba la tercera descolgada. */
@media (min-width: 940px) {
  .final-actions {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

/* Dos acciones en la cabecera. En movil solo sobrevive la segunda: dos botones
   amarillos en 66px de alto compiten entre si y no cabe el logo. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 860px) {
  .header-actions .header-cta:first-child {
    display: none;
  }
}

/* Acceso al comparador que aparece tras enviar el formulario de la portada. */
.form-followup {
  margin-top: 4px;
  text-decoration: none;
}
