/* =========================================================
   LERNI OPTIS
   STYLESHEET PRINCIPAL
   ========================================================= */

:root {
  --bg: #05070a;
  --bg-soft: #090c11;
  --surface: #0f131a;
  --surface-2: #121821;

  --text: #f4f7fb;
  --muted: #9aa5b4;
  --muted-2: #697585;

  --blue: #1687ff;
  --blue-bright: #2b9bff;
  --blue-dark: #0c5fb8;

  --line: rgba(255, 255, 255, 0.09);
  --line-blue: rgba(43, 155, 255, 0.25);

  --success: #6ee7a0;

  --radius: 18px;
  --radius-small: 10px;

  --container: 1180px;
  --header-height: 76px;

  --shadow:
    0 20px 70px rgba(0, 0, 0, 0.38);

  --transition:
    0.25s ease;
}


/* =========================================================
   RESET / OVERFLOW
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  width: 100%;
  max-width: 100%;

  overflow-x: hidden;

  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}


body {
  width: 100%;
  max-width: 100%;
  min-width: 320px;

  margin: 0;

  overflow-x: hidden;

  background:
    radial-gradient(
      circle at 70% 0%,
      rgba(22, 135, 255, 0.08),
      transparent 30%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


body.menu-open {
  overflow: hidden;
}


button,
input,
select,
textarea {
  font: inherit;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  border: 0;
}


img,
svg {
  display: block;
  max-width: 100%;
}


::selection {
  background: rgba(43, 155, 255, 0.3);
  color: #fff;
}


/* =========================================================
   GENERAL
   ========================================================= */

.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  max-width: 100%;
  min-width: 0;

  margin-inline: auto;
}


.narrow {
  max-width: 850px;
}


.section {
  position: relative;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  padding: 110px 0;
}


.section-dark {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.015),
      rgba(255,255,255,0.025)
    );
}


.eyebrow {
  margin: 0 0 14px;

  color: var(--blue-bright);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}


h1,
h2,
h3,
p {
  margin-top: 0;
}


h1,
h2,
h3 {
  color: var(--text);
}


h2 {
  margin-bottom: 18px;

  font-size:
    clamp(
      2rem,
      5vw,
      3.2rem
    );

  line-height: 1.05;

  letter-spacing: -0.045em;
}


.section-heading {
  max-width: 700px;

  margin-bottom: 55px;
}


.section-heading > p:last-child {
  max-width: 620px;

  margin-bottom: 0;

  color: var(--muted);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  max-width: 100%;

  height: var(--header-height);

  border-bottom: 1px solid var(--line);

  background:
    rgba(5, 7, 10, 0.84);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


.nav-container {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-width: 0;
}


.brand {
  display: inline-flex;

  min-width: 0;

  align-items: center;

  gap: 10px;

  color: var(--text);

  font-size: 1.05rem;
  font-weight: 700;

  letter-spacing: -0.02em;
}


.brand strong {
  color: var(--blue-bright);
}


.brand-mark {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  border: 1px solid var(--line-blue);
  border-radius: 9px;

  background:
    linear-gradient(
      135deg,
      rgba(43, 155, 255, 0.18),
      rgba(43, 155, 255, 0.04)
    );

  color: var(--blue-bright);

  font-weight: 900;
}


.main-nav {
  display: flex;

  align-items: center;

  gap: 28px;

  min-width: 0;
}


.main-nav a {
  position: relative;

  color: var(--muted);

  font-size: 0.88rem;
  font-weight: 600;

  transition:
    color var(--transition);
}


.main-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 100%;
  height: 1px;

  background: var(--blue-bright);

  transform: scaleX(0);
  transform-origin: right;

  transition:
    transform var(--transition);
}


.main-nav a:hover {
  color: var(--text);
}


.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 9px;

  border: 1px solid var(--line);
  border-radius: 10px;

  background: rgba(255,255,255,0.03);

  cursor: pointer;
}


.menu-toggle span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  border-radius: 10px;

  background: var(--text);

  transition:
    transform var(--transition),
    opacity var(--transition);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  max-width: 100%;

  padding: 0 20px;

  border: 1px solid transparent;
  border-radius: 10px;

  font-size: 0.88rem;
  font-weight: 750;

  cursor: pointer;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}


.btn:hover {
  transform: translateY(-2px);
}


.btn:active {
  transform: translateY(0);
}


.btn-primary {
  background:
    linear-gradient(
      135deg,
      var(--blue-bright),
      var(--blue)
    );

  color: #fff;

  box-shadow:
    0 10px 30px rgba(22, 135, 255, 0.2);
}


.btn-primary:hover {
  box-shadow:
    0 14px 36px rgba(22, 135, 255, 0.3);
}


.btn-secondary {
  border-color: var(--line);

  background: rgba(255,255,255,0.025);

  color: var(--text);
}


.btn-secondary:hover {
  border-color: var(--line-blue);

  background:
    rgba(43, 155, 255, 0.06);
}


.btn-card {
  width: 100%;

  margin-top: auto;

  border-color: var(--line-blue);

  background:
    rgba(22, 135, 255, 0.08);

  color: var(--blue-bright);
}


.btn-card:hover {
  background:
    rgba(22, 135, 255, 0.15);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height:
    calc(100vh - var(--header-height));

  display: flex;
  align-items: center;

  overflow: hidden;

  padding-top: 80px;
  padding-bottom: 90px;
}


.hero::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  top: -180px;
  right: -160px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(22, 135, 255, 0.14),
      transparent 68%
    );

  pointer-events: none;
}


.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(380px, 0.95fr);

  align-items: center;

  gap: 80px;

  min-width: 0;
}


.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}


.hero-content {
  max-width: 680px;
  min-width: 0;
}


/* Título principal */
.hero h1 {
  margin-bottom: 18px;

  color: var(--text);

  font-size:
    clamp(
      3rem,
      7vw,
      5.8rem
    );

  line-height: 0.98;

  letter-spacing: -0.065em;

  overflow-wrap: break-word;
}


/* Eslogan secundario */
.hero-slogan {
  margin: 0 0 28px;

  color: var(--muted-2);

  font-size:
    clamp(
      0.95rem,
      1.6vw,
      1.15rem
    );

  font-weight: 500;

  line-height: 1.5;

  letter-spacing: 0.01em;
}


.hero h1 span {
  color: var(--blue-bright);
}


.hero-text {
  max-width: 600px;

  margin-bottom: 32px;

  color: var(--muted);

  font-size:
    clamp(
      1rem,
      2vw,
      1.12rem
    );

  line-height: 1.7;
}


.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 8px;
  margin-bottom: 30px;
}


.hero-note {
  display: flex;

  align-items: center;

  gap: 9px;

  color: var(--muted-2);

  font-size: 0.78rem;
}


.status-dot {
  width: 8px;
  height: 8px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--success);

  box-shadow:
    0 0 0 5px rgba(110, 231, 160, 0.07);
}


/* =========================================================
   TERMINAL
   ========================================================= */

.hero-card {
  position: relative;

  min-width: 0;
  max-width: 100%;

  overflow: hidden;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background:
    linear-gradient(
      145deg,
      rgba(20, 26, 35, 0.95),
      rgba(9, 12, 17, 0.95)
    );

  box-shadow: var(--shadow);
}


.hero-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(43, 155, 255, 0.07),
      transparent 80%
    );

  pointer-events: none;
}


.terminal-top {
  display: flex;
  align-items: center;

  gap: 7px;

  padding: 15px 17px;

  border-bottom: 1px solid var(--line);

  background: rgba(255,255,255,0.025);
}


.terminal-top > span {
  width: 9px;
  height: 9px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #303844;
}


.terminal-top small {
  margin-left: auto;

  color: var(--muted-2);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;

  font-size: 0.68rem;
}


.terminal-body {
  padding: 30px;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;

  font-size: 0.82rem;

  overflow-wrap: anywhere;
}


.terminal-body p {
  margin-bottom: 15px;

  color: #d8e0e9;
}


.code-muted {
  color: var(--muted-2);
}


.success {
  color: var(--success) !important;
}


.progress {
  height: 7px;

  overflow: hidden;

  margin: 25px 0;

  border-radius: 20px;

  background: rgba(255,255,255,0.07);
}


.progress span {
  display: block;

  width: 100%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--blue-dark),
      var(--blue-bright)
    );

  animation:
    terminalProgress 2.2s ease both;
}


.terminal-result {
  margin-bottom: 0 !important;

  color: var(--blue-bright) !important;
}


.cursor {
  animation:
    blink 1s steps(1) infinite;
}


@keyframes terminalProgress {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}


@keyframes blink {
  50% {
    opacity: 0;
  }
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.cards-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;

  min-width: 0;
}


.service-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  max-width: 100%;

  padding: 30px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background:
    linear-gradient(
      160deg,
      rgba(255,255,255,0.035),
      rgba(255,255,255,0.015)
    );

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


.service-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(43, 155, 255, 0.24);

  box-shadow:
    0 20px 55px rgba(0,0,0,0.25);
}


.service-card.featured {
  border-color:
    rgba(43, 155, 255, 0.4);

  background:
    linear-gradient(
      160deg,
      rgba(22,135,255,0.08),
      rgba(255,255,255,0.02)
    );
}


.featured-label {
  position: absolute;

  top: 18px;
  right: 18px;

  max-width: calc(100% - 36px);

  padding: 5px 9px;

  border: 1px solid var(--line-blue);
  border-radius: 20px;

  background:
    rgba(22,135,255,0.08);

  color: var(--blue-bright);

  font-size: 0.62rem;
  font-weight: 800;

  letter-spacing: 0.08em;
}


.card-number {
  margin-bottom: 28px;

  color: var(--blue-bright);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;

  font-size: 0.75rem;
  font-weight: 700;
}


.card-title-row {
  margin-bottom: 22px;

  min-width: 0;
}


.card-title-row h3 {
  margin-bottom: 7px;

  font-size: 1.45rem;

  letter-spacing: -0.035em;

  overflow-wrap: break-word;
}


.card-title-row p {
  margin-bottom: 0;

  color: var(--muted);

  font-size: 0.86rem;
}


.included {
  margin-bottom: 13px;

  color: var(--blue-bright);

  font-size: 0.78rem;
  font-weight: 700;
}


.service-card ul {
  margin: 0;
  padding: 0;

  list-style: none;
}


.service-card li {
  position: relative;

  margin-bottom: 10px;

  padding-left: 18px;

  color: var(--muted);

  font-size: 0.83rem;
}


.service-card li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--blue-bright);

  font-weight: 800;
}


.card-extra {
  margin-top: 5px;
  margin-bottom: 28px;

  color: var(--muted-2);

  font-size: 0.77rem;
}


.price-box {
  margin-top: auto;
  margin-bottom: 18px;

  padding-top: 22px;

  border-top: 1px solid var(--line);
}


.price-box > span {
  display: block;

  margin-bottom: 6px;

  color: var(--blue-bright);

  font-size: 0.68rem;
  font-weight: 800;

  text-transform: uppercase;
}


.price-box strong {
  display: block;

  margin-bottom: 2px;

  font-size: 1.55rem;

  letter-spacing: -0.035em;
}


.price-box strong small {
  color: var(--muted);

  font-size: 0.8rem;
  font-weight: 600;
}


.price-box del {
  color: var(--muted-2);

  font-size: 0.73rem;
}


/* =========================================================
   SERVICE NOTE
   ========================================================= */

.service-note {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px 24px;

  margin-top: 25px;

  color: var(--muted-2);

  font-size: 0.76rem;
}


.rustdesk-link {
  color: var(--blue-bright);

  font-weight: 750;

  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 1px;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius);

  background: var(--line);
}


.process-step {
  min-width: 0;
  min-height: 260px;

  padding: 28px;

  background: var(--bg);

  transition:
    background var(--transition);
}


.process-step:hover {
  background: var(--surface);
}


.step-number {
  display: inline-block;

  margin-bottom: 40px;

  color: var(--blue-bright);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;

  font-size: 0.72rem;
  font-weight: 800;
}


.process-step h3 {
  margin-bottom: 10px;

  font-size: 1.1rem;
}


.process-step p {
  margin-bottom: 0;

  color: var(--muted);

  font-size: 0.82rem;
}


/* =========================================================
   TABLE
   ========================================================= */

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  overflow-x: auto;
  overflow-y: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius);

  background: var(--surface);

  scrollbar-width: thin;

  -webkit-overflow-scrolling: touch;
}


table {
  width: 100%;

  min-width: 650px;

  border-collapse: collapse;
}


th,
td {
  padding: 19px 22px;

  border-bottom: 1px solid var(--line);

  text-align: left;

  font-size: 0.83rem;
}


thead th {
  color: var(--muted-2);

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}


tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}


tbody th {
  color: var(--text);

  font-weight: 700;
}


tbody td {
  color: var(--muted);
}


tbody td:last-child {
  color: var(--blue-bright);

  font-weight: 750;
}


.price-notes {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 8px 30px;

  margin-top: 24px;
}


.price-notes p {
  margin: 0;

  color: var(--muted-2);

  font-size: 0.74rem;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  border-top: 1px solid var(--line);
}


.faq-item {
  border-bottom: 1px solid var(--line);
}


.faq-item summary {
  position: relative;

  padding: 23px 45px 23px 0;

  color: var(--text);

  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;

  list-style: none;
}


.faq-item summary::-webkit-details-marker {
  display: none;
}


.faq-item summary::after {
  content: "+";

  position: absolute;

  right: 4px;
  top: 50%;

  color: var(--blue-bright);

  font-size: 1.3rem;
  font-weight: 400;

  transform:
    translateY(-50%);

  transition:
    transform var(--transition);
}


.faq-item[open] summary::after {
  transform:
    translateY(-50%)
    rotate(45deg);
}


.faq-item p {
  max-width: 760px;

  margin: -3px 0 24px;

  color: var(--muted);

  font-size: 0.86rem;
}


/* =========================================================
   BOOKING
   ========================================================= */

.booking-section {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(5, 7, 10, 0.96),
      rgba(9, 12, 17, 0.98)
    );
}


.booking-section::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  left: -260px;
  top: 50%;

  transform: translateY(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(22, 135, 255, 0.045),
      transparent 68%
    );

  pointer-events: none;
}


.booking-grid {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: 70px;

  align-items: start;

  min-width: 0;
}


.booking-grid > * {
  min-width: 0;
  max-width: 100%;
}


.booking-info {
  min-width: 0;

  background: transparent;
}


.booking-info h2 {
  margin-bottom: 15px;
}


.booking-info > p:not(.eyebrow) {
  color: var(--muted);

  background: transparent;
}


.remote-box {
  display: flex;
  flex-direction: column;

  gap: 9px;

  margin-top: 30px;
  padding: 22px;

  border: 1px solid var(--line-blue);
  border-radius: var(--radius-small);

  background:
    rgba(22, 135, 255, 0.055);
}


.remote-box strong {
  font-size: 0.9rem;
}


.remote-box span {
  color: var(--muted);

  font-size: 0.79rem;
}


.remote-box .btn {
  align-self: flex-start;

  margin-top: 8px;
}


.contact-links {
  display: flex;

  flex-wrap: wrap;

  gap: 15px 22px;

  margin-top: 24px;
}


.contact-links a {
  color: var(--muted);

  font-size: 0.8rem;
  font-weight: 650;

  transition:
    color var(--transition);
}


.contact-links a:hover {
  color: var(--blue-bright);
}


/* =========================================================
   FORM
   ========================================================= */

.form-card {
  min-width: 0;
  max-width: 100%;

  padding: 30px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background:
    linear-gradient(
      150deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.018)
    );

  box-shadow: var(--shadow);
}


.form-card form {
  min-width: 0;
  max-width: 100%;
}


.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;

  min-width: 0;
}


.form-grid label {
  display: flex;
  flex-direction: column;

  min-width: 0;

  gap: 8px;
}


.form-grid label > span {
  color: #d8dee7;

  font-size: 0.76rem;
  font-weight: 700;
}


input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  border: 1px solid var(--line);

  border-radius: 9px;

  outline: none;

  background:
    rgba(0,0,0,0.22);

  color: var(--text);

  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}


input,
select {
  height: 46px;

  padding: 0 13px;
}


/* =========================================================
   SELECTS
   ========================================================= */

.form-group select,
.form-grid select,
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 46px;

  padding: 0 42px 0 13px;

  border: 1px solid var(--line);
  border-radius: 9px;

  background-color: var(--surface);
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--muted) 50%
    ),
    linear-gradient(
      135deg,
      var(--muted) 50%,
      transparent 50%
    );

  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;

  background-size:
    6px 6px,
    6px 6px;

  background-repeat: no-repeat;

  color: var(--text);

  font: inherit;
  font-size: 0.95rem;
  line-height: 1.2;

  cursor: pointer;

  color-scheme: dark;

  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}


.form-group select:hover,
.form-grid select:hover,
select:hover {
  border-color:
    rgba(43, 155, 255, 0.45);
}


.form-group select:focus,
.form-grid select:focus,
select:focus {
  border-color: var(--blue);

  background-color: var(--surface);

  color: var(--text);

  box-shadow:
    0 0 0 3px rgba(43, 155, 255, 0.12);
}


/*
   El navegador puede aplicar su propio estilo al menú desplegable.
   Estas reglas mantienen las opciones oscuras cuando el navegador
   permite personalizar el menú nativo.
*/

.form-group select option,
.form-grid select option,
select option {
  background-color: var(--surface);
  color: var(--text);
}


.form-group select option:checked,
.form-grid select option:checked,
select option:checked {
  background-color: var(--blue);
  color: #fff;
}


.form-group select option:hover,
.form-grid select option:hover,
select option:hover {
  background-color: var(--surface-2);
  color: #fff;
}


textarea {
  min-height: 130px;

  padding: 12px 13px;

  resize: vertical;
}


input::placeholder,
textarea::placeholder {
  color: #566171;
}


input:focus,
textarea:focus {
  border-color:
    rgba(43, 155, 255, 0.65);

  background:
    rgba(43, 155, 255, 0.035);

  box-shadow:
    0 0 0 3px rgba(43, 155, 255, 0.08);
}


.full-width {
  grid-column: 1 / -1;
}


.checkbox-label {
  display: grid !important;

  grid-template-columns:
    auto minmax(0, 1fr);

  align-items: start;

  gap: 10px !important;

  margin-top: 3px;
}


.checkbox-label input {
  width: 17px;
  height: 17px;

  margin-top: 2px;

  accent-color: var(--blue-bright);

  cursor: pointer;
}


.checkbox-label > span {
  color: var(--muted) !important;

  font-size: 0.75rem !important;
  font-weight: 500 !important;

  line-height: 1.5;
}


.inline-legal-button,
.footer-legal-button {
  border: 0;

  background: transparent;

  color: var(--blue-bright);

  cursor: pointer;

  font: inherit;

  font-weight: 700;

  text-decoration: underline;
}


.inline-legal-button {
  display: inline;

  padding: 0;

  font-size: inherit;
}


.footer-legal-button {
  padding: 0;

  color: #8b96a5;

  font-size: 0.8rem;

  text-decoration: none;
}


.footer-legal-button:hover,
.inline-legal-button:hover {
  color: var(--blue-bright);
}


.submit-button {
  margin-top: 2px;
}


.submit-button:disabled {
  opacity: 0.65;

  cursor: wait;

  transform: none;
}


.form-help {
  margin: 18px 0 0;

  color: var(--muted-2);

  font-size: 0.72rem;

  line-height: 1.5;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  padding-top: 80px;
}


.cta-box {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  min-width: 0;

  padding: 45px;

  border: 1px solid var(--line-blue);

  border-radius: var(--radius);

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(22, 135, 255, 0.11),
      transparent 45%
    ),
    var(--surface);
}


.cta-box h2 {
  max-width: 650px;

  margin-bottom: 10px;

  font-size:
    clamp(
      1.8rem,
      4vw,
      2.7rem
    );
}


.cta-box p:last-child {
  margin-bottom: 0;

  color: var(--muted);
}


.cta-box > * {
  min-width: 0;
  max-width: 100%;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  width: 100%;
  max-width: 100%;

  padding: 55px 0 30px;

  border-top: 1px solid var(--line);

  background: #030507;
}


.footer-inner {
  display: grid;

  grid-template-columns:
    1.2fr 1fr auto;

  gap: 35px;

  align-items: end;

  min-width: 0;
}


.footer-inner > * {
  min-width: 0;
  max-width: 100%;
}


.footer-brand {
  min-width: 0;
}


.footer-brand > p {
  max-width: 320px;

  margin: 15px 0 0;

  color: var(--muted-2);

  font-size: 0.76rem;
}


.footer-links {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 18px;

  min-width: 0;
}


.footer-links a {
  color: #8b96a5;

  font-size: 0.8rem;

  transition:
    color var(--transition);
}


.footer-links a:hover {
  color: var(--blue-bright);
}


.copyright {
  margin: 0;

  color: #697585;

  font-size: 0.86rem;
  font-weight: 600;

  line-height: 1.5;

  text-align: right;
}


/* =========================================================
   LEGAL DIALOGS
   ========================================================= */

.legal-dialog {
  width: min(
    calc(100vw - 30px),
    820px
  );

  max-width: calc(100vw - 30px);
  max-height: min(
    85dvh,
    calc(100dvh - 30px)
  );

  margin: auto;
  padding: 0;

  overflow: hidden;

  border: 1px solid
    rgba(43, 155, 255, 0.25);

  border-radius: 18px;

  background: var(--surface);

  color: var(--text);

  box-shadow:
    0 30px 100px
    rgba(0, 0, 0, 0.65);
}


.legal-dialog::backdrop {
  background:
    rgba(0, 0, 0, 0.78);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}


.legal-dialog-content {
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 100%;

  height: min(
    85dvh,
    calc(100dvh - 30px)
  );

  max-height: min(
    85dvh,
    calc(100dvh - 30px)
  );

  min-height: 0;

  overflow: hidden;
}


.legal-dialog-header {
  display: flex;

  flex: 0 0 auto;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  padding: 28px;

  border-bottom: 1px solid var(--line);

  background:
    rgba(15, 19, 26, 0.96);
}


.legal-dialog-header h2 {
  min-width: 0;

  margin-bottom: 0;

  font-size:
    clamp(
      1.6rem,
      4vw,
      2.2rem
    );

  line-height: 1.05;

  letter-spacing: -0.04em;

  overflow-wrap: break-word;
}


.dialog-close {
  width: 38px;
  height: 38px;

  flex: 0 0 auto;

  border: 1px solid var(--line);

  border-radius: 9px;

  background: rgba(255, 255, 255, 0.03);

  color: var(--text);

  font-size: 1.5rem;

  line-height: 1;

  cursor: pointer;

  transition:
    background var(--transition),
    border-color var(--transition);
}


.dialog-close:hover {
  border-color:
    rgba(43, 155, 255, 0.35);

  background:
    rgba(22, 135, 255, 0.1);
}


.legal-content {
  flex: 1 1 auto;

  min-width: 0;
  min-height: 0;

  overflow-y: auto;
  overflow-x: hidden;

  padding: 30px;

  scrollbar-width: thin;

  scrollbar-color:
    rgba(43, 155, 255, 0.35)
    transparent;

  -webkit-overflow-scrolling: touch;
}


.legal-content::-webkit-scrollbar {
  width: 7px;
}


.legal-content::-webkit-scrollbar-track {
  background: transparent;
}


.legal-content::-webkit-scrollbar-thumb {
  border-radius: 20px;

  background:
    rgba(43, 155, 255, 0.35);
}


.legal-content::-webkit-scrollbar-thumb:hover {
  background:
    rgba(43, 155, 255, 0.55);
}


.legal-content p {
  margin-bottom: 20px;

  color: var(--muted);

  font-size: 0.9rem;
}


.legal-content h3 {
  margin: 28px 0 8px;

  color: var(--text);

  font-size: 1rem;
}


.legal-content h3:first-of-type {
  margin-top: 8px;
}


.legal-content .legal-update {
  margin-top: 35px;
  margin-bottom: 0;

  color: #657181;

  font-size: 0.75rem;
}


/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */

.whatsapp-float {
  position: fixed;

  right: 20px;
  bottom: 20px;

  z-index: 900;

  display: grid;
  place-items: center;

  width: 56px;
  height: 56px;

  border: 1px solid rgba(255,255,255,0.14);

  border-radius: 50%;

  background: #168a55;

  color: #fff;

  box-shadow:
    0 12px 35px rgba(0,0,0,0.4);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}


.whatsapp-float:hover {
  transform: translateY(-3px);

  box-shadow:
    0 16px 42px rgba(0,0,0,0.48);
}


.whatsapp-float svg {
  width: 27px;
  height: 27px;

  fill: currentColor;
}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(22px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}


.reveal.is-visible {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-bright);

  outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }


  .hero-content {
    max-width: 760px;
  }


  .hero-card {
    max-width: 760px;
  }


  .cards-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .service-card:last-child {
    grid-column: 1 / -1;

    max-width: calc(50% - 10px);

    justify-self: center;

    width: 100%;
  }


  .process-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .booking-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .booking-info {
    max-width: 720px;
  }


  .footer-inner {
    grid-template-columns:
      1fr 1fr;

    align-items: start;
  }


  .copyright {
    text-align: left;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  :root {
    --header-height: 68px;
  }


  .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );
  }


  .section {
    padding: 80px 0;
  }


  .menu-toggle {
    display: block;
  }


  .main-nav {
    position: fixed;

    top: var(--header-height);
    left: 0;
    right: 0;

    width: 100%;
    max-width: 100vw;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 10px 14px 18px;

    border-bottom: 1px solid var(--line);

    background:
      rgba(5, 7, 10, 0.97);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transform:
      translateY(-15px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }


  .main-nav.is-open {
    transform:
      translateY(0);

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
  }


  .main-nav a {
    padding: 14px 8px;

    border-bottom: 1px solid var(--line);
  }


  .main-nav a:last-child {
    border-bottom: 0;
  }


  .main-nav a::after {
    display: none;
  }


  .hero {
    min-height: auto;

    padding-top: 70px;
  }


  .hero h1 {
    font-size:
      clamp(
        2.8rem,
        14vw,
        4.2rem
      );
  }


  .hero-slogan {
    margin-bottom: 22px;

    font-size: 0.9rem;
  }


  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }


  .hero-actions .btn {
    width: 100%;
  }


  .hero-note {
    align-items: flex-start;
  }


  .terminal-body {
    padding: 22px;

    font-size: 0.75rem;
  }


  .cards-grid {
    grid-template-columns: 1fr;
  }


  .service-card:last-child {
    grid-column: auto;

    max-width: none;
  }


  .service-card {
    padding: 24px;
  }


  .featured-label {
    position: static;

    display: inline-block;

    align-self: flex-start;

    margin-bottom: 18px;
  }


  .process-grid {
    grid-template-columns: 1fr;
  }


  .process-step {
    min-height: auto;

    padding: 25px;
  }


  .step-number {
    margin-bottom: 25px;
  }


  .price-notes {
    grid-template-columns: 1fr;
  }


  .form-card {
    padding: 20px;
  }


  .form-grid {
    grid-template-columns: 1fr;
  }


  .full-width {
    grid-column: auto;
  }


  .checkbox-label.full-width {
    grid-column: auto;
  }


  .cta-box {
    flex-direction: column;

    align-items: flex-start;

    padding: 30px 24px;
  }


  .cta-box .btn {
    width: 100%;
  }


  .footer-inner {
    grid-template-columns: 1fr;

    gap: 28px;
  }


  .footer-links {
    justify-content: flex-start;
  }


  .copyright {
    text-align: left;

    font-size: 0.9rem;
  }


  .service-note {
    flex-direction: column;

    align-items: flex-start;
  }


  .legal-dialog {
    width: calc(100vw - 20px);

    max-width: calc(100vw - 20px);

    max-height: calc(100dvh - 20px);

    border-radius: 14px;
  }


  .legal-dialog-content {
    height: calc(100dvh - 20px);

    max-height: calc(100dvh - 20px);
  }


  .legal-dialog-header {
    padding: 22px;
  }


  .legal-content {
    padding: 22px;
  }


  .legal-content p {
    font-size: 0.86rem;
  }


  .footer-links {
    gap: 14px;
  }


  .whatsapp-float {
    right: 16px;
    bottom: 16px;

    width: 52px;
    height: 52px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }


  .reveal {
    opacity: 1;

    transform: none;
  }

}