:root {
  --ink: #101114;
  --muted: #5d626b;
  --paper: #f6f7f3;
  --surface: #ffffff;
  --line: #d9ddd7;
  --accent: #175cff;
  --accent-dark: #0d46d1;
  --radius: 1.25rem;
  --page: min(1160px, calc(100% - 2rem));
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.55;
}

body,
button {
  font: inherit;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgb(16 17 20 / 12%);
  border-radius: 0.7rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher a {
  min-width: 2.1rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.language-switcher a[aria-current="page"] {
  color: #fff;
  background: var(--ink);
}

.button {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button:disabled:hover {
  background: var(--ink);
  border-color: var(--ink);
}

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

.button--secondary:hover {
  color: #fff;
}

.button--light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.hero {
  padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(19rem, 0.6fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.3rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.5rem;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.8rem;
  font-size: clamp(3.8rem, 8.7vw, 7.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.88;
}

.hero-copy {
  max-width: 39rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-proof {
  overflow: hidden;
  color: #f8f9fb;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 4rem rgb(17 19 25 / 10%);
}

.page-proof header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #2d3037;
  color: #9398a2;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #b9ffcc;
}

.status::before {
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  background: #4fe278;
  border-radius: 50%;
}

.proof-list {
  margin: 0;
  padding: 0.45rem 1.1rem 0.7rem;
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #2d3037;
}

.proof-list li:last-child {
  border: 0;
}

.proof-list li > span {
  min-width: 0;
  color: #aeb2bb;
  font-size: 0.82rem;
}

.proof-list b {
  flex: 0 0 auto;
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.proof-list strong {
  color: #77a1ff;
  font-size: 1.15rem;
}

.principles {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  padding: 1.6rem clamp(1rem, 3vw, 2.2rem);
  border-right: 1px solid var(--line);
}

.principle:first-child {
  padding-left: 0;
}

.principle:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle strong,
.principle span {
  display: block;
}

.principle strong {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.principle span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.section-intro {
  max-width: 37rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-grid,
.service-grid,
.metric-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.problem-card,
.service-card,
.metric-card,
.price-card {
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 38%);
}

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

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

.problem-card h3,
.service-card h3,
.price-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.problem-card p,
.service-card p,
.price-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-card {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
}

.card-number {
  margin-bottom: 3.5rem;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card p {
  margin-bottom: 1.25rem;
}

.service-card a {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
}

.service-card a:hover {
  color: var(--accent-dark);
}

.method-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: method;
}

.method-list li {
  display: grid;
  grid-template-columns: 5rem minmax(10rem, 0.75fr) minmax(0, 1.25fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: method;
}

.method-list li::before {
  color: var(--accent-dark);
  content: "0" counter(method);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.method-list strong {
  font-size: 1.05rem;
}

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

.section--dark {
  color: #f7f8fa;
  background: var(--ink);
  border-bottom-color: #2c2f36;
}

.section--dark .eyebrow {
  color: #77a1ff;
}

.section--dark .section-intro {
  color: #aeb2bb;
}

.metric-grid {
  border-color: #34373e;
}

.metric-card {
  min-height: 9.5rem;
  background: transparent;
  border-color: #34373e;
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 1rem;
}

.metric-card span {
  color: #9ea3ad;
  font-size: 0.82rem;
}

.result-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #34373e;
}

.result-note p {
  max-width: 38rem;
  margin: 0;
  color: #aeb2bb;
}

.result-note strong {
  color: #fff;
}

.price-card {
  min-height: 20rem;
  display: grid;
  grid-template-rows: 3.5rem minmax(7rem, 1fr) auto 2rem;
}

.price-card h3 {
  margin: 0;
  line-height: 1.25;
}

.price-card p {
  align-self: start;
  line-height: 1.5;
}

.price {
  align-self: end;
  margin: 0;
  padding-top: 1.25rem;
  line-height: 1;
}

.price-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.price strong {
  display: block;
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.price small {
  display: block;
  min-height: 2.4em;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.price-action {
  align-self: end;
  margin-top: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.price-action:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.pricing-disclaimer {
  max-width: 46rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.price-card--featured {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.price-card--featured p,
.price-card--featured .price-label,
.price-card--featured .price small {
  color: #dce6ff;
}

.price-card--featured .price strong,
.price-card--featured .price-action {
  color: #fff;
}

.price-card--featured .price-action:focus-visible {
  outline-color: #fff;
}

.faq-list {
  max-width: 52rem;
  margin-left: auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

summary::after {
  position: absolute;
  right: 0.3rem;
  content: "+";
  color: var(--accent-dark);
  font-size: 1.35rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 43rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.contact {
  padding: clamp(5rem, 10vw, 9rem) 0;
  color: #fff;
  background: var(--accent);
}

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

.contact-copy {
  min-width: 0;
}

.contact h2 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.contact-copy > p {
  max-width: 39rem;
  margin: 0;
  color: #dce6ff;
  font-size: 1.05rem;
}

.request-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 4rem rgb(6 42 128 / 20%);
}

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

.request-form label {
  display: block;
  margin-bottom: 1rem;
}

.request-form label > span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: #f8f9f6;
  border: 1px solid #cfd4cd;
  border-radius: 0.6rem;
  font: inherit;
  font-size: 0.9rem;
}

.request-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgb(23 92 255 / 18%);
  outline-offset: 1px;
}

.request-form .button {
  width: 100%;
  border-color: var(--ink);
}

.request-form .form-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.request-form .form-note[data-state="success"] {
  color: #126c35;
  font-weight: 700;
}

.request-form .form-note[data-state="error"] {
  color: #a32b2b;
  font-weight: 700;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid rgb(16 17 20 / 12%);
  border-radius: 50%;
  box-shadow: 0 0.8rem 2rem rgb(16 17 20 / 24%);
  transition: transform 160ms ease, background-color 160ms ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
}

.whatsapp-float:hover {
  background: #f3fff7;
  transform: translateY(-2px);
}

.site-footer {
  padding: 1.5rem 0;
  color: #aeb2bb;
  background: var(--ink);
  font-size: 0.78rem;
}

.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
}

.footer-inner {
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  gap: 1.2rem;
}

@media (max-width: 1100px) {
  .service-grid,
  .price-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-card,
  .price-card {
    grid-column: span 2;
  }

  .service-card:nth-last-child(-n + 2),
  .price-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }

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

  .contact-copy {
    max-width: 44rem;
  }

  .contact h2 {
    max-width: 12ch;
  }

  .request-form {
    width: min(100%, 56rem);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .page-proof {
    max-width: 31rem;
  }

  .problem-grid,
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-card,
  .price-card,
  .service-card:nth-last-child(-n + 2),
  .price-card:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .service-card:last-child,
  .price-card:last-child {
    grid-column: 1 / -1;
  }

  .section-intro {
    max-width: 42rem;
  }

}

@media (max-width: 680px) {
  :root {
    --page: min(100% - 1.25rem, 1160px);
  }

  .nav {
    min-height: 4.2rem;
    gap: 0.65rem;
  }

  .nav-links {
    display: none;
  }

  .language-switcher {
    margin-left: auto;
  }

  .nav > .button {
    min-height: 2.45rem;
    padding-inline: 0.8rem;
    font-size: 0.75rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  h1 {
    font-size: clamp(3.55rem, 18vw, 5.8rem);
  }

  .principle-grid,
  .problem-grid,
  .service-grid,
  .metric-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    padding: 1.15rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .service-card,
  .price-card {
    min-height: 14rem;
  }

  .price-card {
    grid-template-rows: auto auto auto auto;
  }

  .price-card h3 {
    margin-bottom: 0.75rem;
  }

  .price-card p {
    margin-bottom: 0.5rem;
  }

  .price-card:last-child,
  .service-card:last-child {
    grid-column: auto;
  }

  .method-list li {
    grid-template-columns: 3.2rem 1fr;
    gap: 0.85rem;
  }

  .method-list span {
    grid-column: 2;
  }

  .result-note,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-note {
    display: flex;
  }

  .contact h2 {
    max-width: 100%;
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .whatsapp-float {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    width: 3.3rem;
    height: 3.3rem;
  }
}

@media (max-width: 430px) {
  .brand > span {
    display: none;
  }
}

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

  .button,
  .whatsapp-float {
    transition: none;
  }
}
