/* Public website of Karplus (karplus.mx). Brand: navy #123345, teal #006876, accent #00B2CA, Manrope (ADR-0006).
   Every url() is an absolute path: the build fingerprints the files and rewrites the references. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/manrope-latin-400-normal.849290ef12a2.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/manrope-latin-600-normal.f7ac6258da20.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/manrope-latin-700-normal.d2a12c85a831.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/manrope-latin-800-normal.74c161dbcbce.woff2') format('woff2');
}

:root {
  --navy: #123345;
  --navy-deep: #0b2230;
  --teal: #006876;
  --accent: #00b2ca;
  --ink: #1b2a33;
  --muted: #4d5f69;
  --line: #d5e1e5;
  --surface: #ffffff;
  --tint: #eef5f6;
  --radius: 14px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 72rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--teal);
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.narrow {
  max-width: 52rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow-light {
  color: #7fe3f0;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button-primary {
  background: var(--teal);
  color: #fff;
}

.button-primary:hover {
  background: var(--navy);
}

.button-ghost {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.button-light:hover {
  background: var(--tint);
}

/* Navigation */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

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

.brand {
  display: inline-flex;
}

.brand img {
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  content: '';
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -7px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 7px;
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem max(1.25rem, env(safe-area-inset-left, 0px)) 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding-block: 0.75rem;
  }
}

/* Hero */

.hero {
  color: #fff;
  background-color: var(--navy);
  background-image: linear-gradient(100deg, rgba(11, 34, 48, 0.92) 10%, rgba(11, 34, 48, 0.55) 70%),
    url('/assets/hero-2200.ee029ecb4dab.jpg');
  background-image: linear-gradient(100deg, rgba(11, 34, 48, 0.92) 10%, rgba(11, 34, 48, 0.55) 70%),
    image-set(url('/assets/hero-2200.8a776e7f20af.webp') type('image/webp'), url('/assets/hero-2200.ee029ecb4dab.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
}

@media (max-width: 52rem) {
  .hero {
    background-image: linear-gradient(rgba(11, 34, 48, 0.85), rgba(11, 34, 48, 0.85)), url('/assets/hero-1280.411a0cd48ae9.jpg');
    background-image: linear-gradient(rgba(11, 34, 48, 0.85), rgba(11, 34, 48, 0.85)),
      image-set(url('/assets/hero-1280.10139f11fcdd.webp') type('image/webp'), url('/assets/hero-1280.411a0cd48ae9.jpg') type('image/jpeg'));
  }
}

.hero-inner {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.hero h1 {
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  font-weight: 800;
}

.lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  font-size: 1.2rem;
  color: #e3eef1;
}

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

/* Sections */

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

.section-tinted {
  background: var(--tint);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split > div > p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
}

@media (max-width: 52rem) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Steps: the order is the process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-number {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

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

@media (max-width: 60rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
}

.services li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.services p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (max-width: 30rem) {
  .services {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reasons */

.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 3px solid var(--teal);
}

.reasons p {
  color: var(--muted);
}

@media (max-width: 60rem) {
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .reasons {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Plans */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-featured {
  border: 2px solid var(--teal);
  box-shadow: 0 18px 40px -24px rgba(0, 104, 118, 0.55);
}

.plan-summary {
  color: var(--muted);
}

.price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}

.price-amount {
  color: var(--navy);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.price-amount small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.price-note {
  color: var(--muted);
  font-size: 0.925rem;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checks li::before {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background: url('/assets/check.80d9cfe737b4.svg') center / contain no-repeat;
  content: '';
}

.checks li.excluded {
  color: var(--muted);
}

.checks li.excluded::before {
  background: none;
  border: 2px solid var(--line);
  border-radius: 50%;
}

.enterprise {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--tint);
  border-radius: var(--radius);
}

.enterprise p {
  margin-top: 0.35rem;
  color: var(--muted);
}

@media (max-width: 44rem) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* App banner */

.banner {
  background: var(--teal);
  color: #fff;
}

.banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 3rem;
}

.banner h2 {
  max-width: 28ch;
  color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
}

.banner p:not(.eyebrow) {
  max-width: 40rem;
  margin-top: 0.75rem;
  color: #e0f4f6;
}

.banner .eyebrow-light {
  color: #c9f4fa;
}

/* About */

.statement {
  max-width: 34ch;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  font-weight: 700;
}

.owner {
  max-width: 44rem;
  margin-top: 1.25rem;
  color: var(--muted);
}

.owner strong {
  color: var(--navy);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value {
  padding-top: 1.25rem;
  border-top: 3px solid var(--accent);
}

.value p {
  margin-top: 0.5rem;
  color: var(--muted);
}

@media (max-width: 44rem) {
  .values {
    grid-template-columns: minmax(0, 1fr);
  }
}

.map {
  justify-self: center;
  width: min(100%, 26rem);
  mix-blend-mode: multiply;
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding-block: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  flex: none;
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;
  content: '+';
}

.faq details[open] summary::after {
  content: '−';
}

.faq details > :not(summary) {
  margin: 0 0 1rem;
  color: var(--muted);
}

.faq ol {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 1.25rem;
}

/* Footer */

.footer {
  padding-top: 3.5rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--navy-deep);
  color: #c8d7dd;
}

.footer a {
  color: #fff;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand strong {
  color: #fff;
}

.footer-logo {
  width: 140px;
}

address {
  font-style: normal;
}

.footer-title {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
}

.social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
}

@media (max-width: 52rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 26rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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

/* Not found page */

.not-found-title {
  margin-top: 2.5rem;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}

.not-found-actions {
  margin-top: 2rem;
}
