@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f5f7fa;
  --bg-alt: #eceef3;
  --surface: #ffffff;
  --ink: #10182a;
  --ink-soft: #4c5666;
  --line: #d7dce4;
  --line-soft: #e6e9ef;
  --accent: #005589;
  --accent-ink: #003d63;
  --accent-warm: #ff7400;
  --accent-warm-ink: #c85f00;
  --dark: #0a1626;
  --dark-text: rgba(246, 247, 249, 0.82);
  --dark-text-dim: rgba(246, 247, 249, 0.55);
  --radius: 2px;
  --font-sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-sans);
  --container: 72rem;
  --prose: 38rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

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

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: var(--prose);
}

.eyebrow {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-ink);
  margin: 0 0 0.75rem;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: var(--prose);
  margin-bottom: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-ink);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: #fff;
}

.btn--large {
  padding: 1.05rem 1.9rem;
  font-size: 1rem;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.header__logo img {
  height: 2.1rem;
  width: auto;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__menu a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.header__menu a:not(.btn):hover,
.header__menu a:not(.btn)[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.header__menu .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.header__menu-toggle {
  display: none;
}

.header__toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: none;
}

@media (max-width: 860px) {
  .header__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1.25rem;
  }

  .header__menu-toggle:checked ~ .header__menu {
    display: flex;
  }

  .header__menu li {
    padding-inline: clamp(1.25rem, 5vw, 3rem);
  }

  .header__menu a:not(.btn) {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }

  .header__menu .btn {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.95rem 1.1rem;
    font-size: 0.95rem;
  }
}

.breadcrumb-container {
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumb {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0.7rem 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-ink);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--line);
}

.hero {
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 7vw, 5.5rem);
}

.hero h1 {
  max-width: 21ch;
  margin-bottom: 1.5rem;
}

.hero .lead {
  margin-bottom: 2.25rem;
}

.hero .lead strong {
  color: var(--ink);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.hero__note {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.form-select,
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
}

.form-textarea {
  resize: vertical;
  line-height: 1.5;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.calc__viabilidad {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--line);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.calc__viabilidad[data-nivel="alta"] {
  border-left-color: #2e7d43;
  background: #eef5ee;
}

.calc__viabilidad[data-nivel="media"] {
  border-left-color: #b58900;
  background: #f9f4e4;
}

.calc__viabilidad[data-nivel="baja"] {
  border-left-color: #c97b00;
  background: #f9efe0;
}

.calc__viabilidad[data-nivel="no"] {
  border-left-color: #b3402f;
  background: #f8ecea;
}

.calc__viabilidad-titulo {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}

.calc__viabilidad-detalle {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
}

.num-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.qa-list {
  margin: 0;
}

.qa-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 0.5rem 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.qa-item:first-child {
  border-top-color: var(--ink);
}

.qa-item dt {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.qa-item dd {
  margin: 0;
  color: var(--ink-soft);
  max-width: var(--prose);
}

@media (max-width: 720px) {
  .qa-item {
    grid-template-columns: 1fr;
  }
}

.num-item {
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
}

.num-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.num-item p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}

.num-item ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.num-item ul li {
  padding: 0.25rem 0;
}

@media (max-width: 860px) {
  .num-grid {
    grid-template-columns: 1fr;
  }
}

.guide-list {
  max-width: 44rem;
}

.guide-list article {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.guide-list article:first-child {
  border-top: 1px solid var(--ink);
}

.guide-list h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.guide-list p {
  color: var(--ink-soft);
  margin: 0;
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline__item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline__date {
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
  padding-top: 0.3rem;
}

.timeline__item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.timeline__item p {
  color: var(--ink-soft);
  margin: 0;
  max-width: var(--prose);
}

@media (max-width: 640px) {
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.case:first-of-type {
  border-top: 1px solid var(--ink);
}

.case__tag {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.5rem;
}

.case__meta h3 {
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
}

.case__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.5rem;
}

.case__metric {
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.case__metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.case__metric-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.2rem 0 0;
}

.case__quote blockquote {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

.case__author {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.case__role {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.15rem 0 0;
}

.case__problem {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: var(--prose);
  margin: 0;
}

.case__points {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: var(--prose);
}

.case__points li {
  padding: 0.3rem 0;
}

.case__points strong {
  color: var(--ink);
}

@media (max-width: 860px) {
  .case {
    grid-template-columns: 1fr;
  }
}

.statement {
  max-width: 52rem;
}

.statement p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.statement em {
  font-style: normal;
  color: var(--accent-ink);
}

.statement .statement__note {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: var(--prose);
  line-height: 1.6;
}

.cta {
  background: var(--dark);
  color: var(--dark-text);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.cta h2 {
  color: #fff;
  max-width: 22ch;
}

.cta > .container > p {
  max-width: var(--prose);
  color: var(--dark-text);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
}

.cta .hero__cta {
  margin-top: 0;
}

.cta .btn--primary {
  background: var(--accent-warm);
  color: var(--ink);
}

.cta .btn--primary:hover {
  background: #fff;
  color: var(--ink);
}

.cta .btn--secondary {
  color: #fff;
  border-color: rgba(246, 247, 249, 0.45);
}

.cta .btn--secondary:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.cta__contact {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.9rem;
  color: var(--dark-text-dim);
}

.cta__contact a {
  color: var(--dark-text);
}

.cta__contact a:hover {
  color: #fff;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.service:first-of-type {
  border-top: 1px solid var(--ink);
}

.service h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 0.75rem;
}

.service__pitch {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0;
  max-width: 30rem;
}

.service__body p {
  color: var(--ink-soft);
  max-width: var(--prose);
}

.service__body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: var(--prose);
}

.service__body ul li {
  padding: 0.3rem 0;
}

.service__pricing {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 860px) {
  .service {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.field {
  margin-bottom: 1.35rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.field--details details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field--details summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}

.field--details summary:hover {
  color: var(--accent-ink);
}

.field--details .details-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--line-soft);
}

.field--details .details-body p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0.9rem 0 0;
}

.contact-form .btn {
  width: 100%;
}

.contact-aside h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-aside__item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.contact-aside__item:first-child {
  border-top: 1px solid var(--ink);
}

.contact-aside__item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-aside__item a {
  font-weight: 500;
}

.contact-aside__meta {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: var(--dark);
  color: var(--dark-text);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.92rem;
}

.footer a {
  color: var(--dark-text);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246, 247, 249, 0.14);
}

.footer__logo img {
  height: 2rem;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer__section > p {
  color: var(--dark-text-dim);
  max-width: 22rem;
}

.footer__section h3 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 0.9rem;
}

.footer__section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__section ul li {
  margin-bottom: 0.6rem;
}

.footer__section .footer__muted {
  color: var(--dark-text-dim);
}

.footer__cta {
  margin-top: 0.5rem;
}

.footer__cta a {
  color: var(--accent-warm);
  font-weight: 600;
}

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.82rem;
  color: var(--dark-text-dim);
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom a {
  color: var(--dark-text-dim);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

@media (max-width: 860px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
  }

  .footer__content .footer__section:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer__content {
    grid-template-columns: 1fr;
  }
}

.whatsapp-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 38, 0.55);
  z-index: 300;
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal.show {
  display: flex;
}

.whatsapp-modal__content {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  max-width: 30rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.whatsapp-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
}

.whatsapp-modal__close:hover {
  color: var(--ink);
}

.whatsapp-modal__icon {
  display: none;
}

.whatsapp-modal__title {
  font-size: 1.3rem;
  margin: 0 0 1rem;
  padding-right: 2rem;
}

.whatsapp-modal__text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.whatsapp-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn--whatsapp,
.cta .btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #1a7f45;
  border-color: #1a7f45;
  color: #fff;
}

.btn--whatsapp:hover,
.cta .btn--whatsapp:hover {
  background: #14663a;
  border-color: #14663a;
  color: #fff;
}

.btn--whatsapp svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #1a7f45;
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 22, 38, 0.3);
  transition: background-color 0.15s ease, bottom 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}

.wa-float--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wa-float:hover {
  background: #14663a;
  color: #fff;
}

.wa-float svg {
  width: 1.9rem;
  height: 1.9rem;
}

.hero__byline {
  max-width: 36rem;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero__proof {
  max-width: 36rem;
  margin: 2rem 0 0;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.hero__proof span {
  font-style: normal;
}

.hero__proof span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-banner__text {
  flex: 1;
  min-width: 16rem;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 38, 0.55);
  z-index: 301;
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal__content {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  max-width: 30rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.cookie-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
}

.cookie-modal__close:hover {
  color: var(--ink);
}

.cookie-modal__title {
  font-size: 1.3rem;
  margin: 0 0 1rem;
  padding-right: 2rem;
}

.cookie-modal__text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 30rem) {
  .cookie-banner {
    justify-content: center;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}

.notification {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 400;
  max-width: 22rem;
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
}

.notification--success {
  border-left-color: #4caf6d;
}

.notification--error {
  border-left-color: #e05744;
}

.notification__title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.notification__small {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  opacity: 0.7;
}

.legal {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.legal .container {
  max-width: 46rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.legal h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.legal strong {
  color: var(--ink);
}

.legal__updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: -0.5rem;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--surface);
}

.table-wrapper th,
.table-wrapper td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.table-wrapper th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-alt);
}

.table-cards {
  display: none;
}

.table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.card-row {
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.card-row:last-child {
  border-bottom: none;
}

.card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.card-value {
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .table-wrapper {
    display: none;
  }

  .table-cards {
    display: block;
  }
}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.error-page {
  padding-block: clamp(5rem, 12vw, 9rem);
  text-align: center;
}

.error-page__code {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}

.error-page h1 {
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--ink-soft);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.btn {
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.service[id] {
  scroll-margin-top: 4.5rem;
}

.service__title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 0.75rem;
}

.service__price {
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin: 1rem 0 0;
}

.service .case-brief__title {
  font-size: 1.3rem;
  margin: 3rem 0 0.4rem;
}

.service .case-brief__title:first-child {
  margin-top: 0;
}

.service__body .case__metrics {
  margin: 1.25rem 0 0.5rem;
  max-width: 34rem;
}

@media (min-width: 861px) {
  .service:has(.case-brief__title) > div:first-child {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.case-brief__time {
  font-size: 0.9rem;
  color: var(--ink);
}

.casos__note {
  color: var(--ink-soft);
  max-width: var(--prose);
  margin-top: 2rem;
}
