:root {
  --bg: #eaf0f6;
  --card: #fff;
  --ink: #0f172a;
  --muted: #526075;
  --navy: #0f172a;
  --gold: #d4af37;
  --goldtxt: #8a6d12;
  --blue: #1d4ed8;
  --soft: #fffbf0;
  --line: #cbd5e1;
  --head: rgba(255, 255, 255, 0.96);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --card: #131c2e;
    --ink: #f1f5f9;
    --muted: #9fb0c6;
    --goldtxt: #e5c55a;
    --blue: #7aa2ff;
    --soft: #1a2236;
    --line: #26334d;
    --head: rgba(11, 18, 32, 0.96);
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220;
  --card: #131c2e;
  --ink: #f1f5f9;
  --muted: #9fb0c6;
  --goldtxt: #e5c55a;
  --blue: #7aa2ff;
  --soft: #1a2236;
  --line: #26334d;
  --head: rgba(11, 18, 32, 0.96);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 16px/1.6 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
}
h1,
h2,
h3 {
  font-family: Outfit, "Trebuchet MS", sans-serif;
  line-height: 1.15;
  margin: 0;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--head);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo b {
  display: block;
  font:
    800 19px/1 Outfit,
    sans-serif;
  letter-spacing: 0.14em;
}
.logo small {
  display: block;
  font:
    500 10px/1.4 Outfit,
    sans-serif;
  letter-spacing: 0.32em;
  color: var(--goldtxt);
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
nav a:hover {
  color: var(--goldtxt);
}
.btn {
  display: inline-block;
  font:
    700 15px Outfit,
    sans-serif;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold);
}
.gold {
  background: var(--navy);
  color: var(--gold);
}
.gold:hover {
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}
.solid {
  background: linear-gradient(135deg, #b8901f, #d4af37);
  color: #0f172a;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
@media (max-width: 820px) {
  nav a:not(.btn) {
    display: none;
  }
}
.hero {
  background: var(--navy);
  color: #fff;
  padding: 52px 0 60px;
}
.hero .g {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: #fff;
}
.hero p {
  color: #cbd5e1;
  font-size: 18px;
  max-width: 46ch;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.badges span {
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #f3dfa0;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 14px;
}
.calc {
  background: var(--card);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px;
  border: 2px solid var(--gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.calc h2 {
  font-size: 23px;
}
.sub {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 14px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chips button {
  font:
    600 14px "Plus Jakarta Sans",
    sans-serif;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.chips button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--gold);
}
.chips button.n[aria-pressed="true"] {
  background: #1f2937;
}
label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  margin: 8px 0 4px;
}
input[type="range"] {
  width: 100%;
  accent-color: #b8901f;
}
.res {
  background: var(--soft);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 12px;
}
.r {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.r.big {
  font-weight: 700;
  border-top: 1px dashed var(--gold);
  margin-top: 6px;
  padding-top: 8px;
}
.r.big b {
  font:
    800 28px Outfit,
    sans-serif;
  color: var(--goldtxt);
}
.calc .btn {
  width: 100%;
  text-align: center;
  margin-top: 12px;
}
section {
  padding: 54px 0;
}
h2.t {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 8px;
}
.lead {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 26px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  position: relative;
}
.tile h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.tile p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}
.tile .p {
  font-weight: 700;
  color: var(--goldtxt);
  font-size: 15px;
}
.tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 700;
  background: var(--navy);
  color: var(--gold);
  border-radius: 999px;
  padding: 2px 10px;
}
.why {
  background: var(--navy);
  color: #fff;
}
.why h2 {
  color: #fff;
}
.why .lead {
  color: #cbd5e1;
}
.why .tile {
  background: #16213a;
  border-color: rgba(212, 175, 55, 0.35);
}
.why .tile p {
  color: #b7c3d6;
}
.why .tile h3 {
  color: #f3dfa0;
}
.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 860px) {
  .hero .g,
  .book {
    grid-template-columns: 1fr;
  }
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.panel h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.cal-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cal-h button {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal .d {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.cal button {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  font:
    500 15px "Plus Jakarta Sans",
    sans-serif;
  cursor: pointer;
}
.cal button:hover:not(:disabled) {
  border-color: var(--gold);
}
.cal button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.cal button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}
.sel {
  min-height: 28px;
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.f label {
  display: block;
  margin: 10px 0 4px;
}
.f input,
.f select,
.f textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.f .btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
}
.info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  color: var(--muted);
}
.info b {
  color: var(--ink);
}
.info a {
  color: var(--goldtxt);
}
footer {
  background: var(--navy);
  color: #b7c3d6;
  text-align: center;
  padding: 26px 20px;
  font-size: 14px;
}
footer a {
  color: var(--gold);
}

:root {
  --bg: #f7fcfc;
  --card: #fff;
  --ink: #0e2a3f;
  --muted: #4c6577;
  --navy: #0e2a3f;
  --gold: #c9a54e;
  --goldtxt: #8a6d1e;
  --soft: #effbf9;
  --line: #dce7ea;
  --head: rgba(255, 255, 255, 0.95);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1a28;
    --card: #10263a;
    --ink: #eaf4f6;
    --muted: #9db6c4;
    --navy: #081522;
    --goldtxt: #e6cb80;
    --soft: #0f2c38;
    --line: #24404f;
    --head: rgba(10, 26, 40, 0.95);
  }
}
:root[data-theme="dark"] {
  --bg: #0a1a28;
  --card: #10263a;
  --ink: #eaf4f6;
  --muted: #9db6c4;
  --navy: #081522;
  --goldtxt: #e6cb80;
  --soft: #0f2c38;
  --line: #24404f;
  --head: rgba(10, 26, 40, 0.95);
}
header {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #a88835, #ebd48c, #a88835) 1;
}
.logo {
  gap: 8px;
}
.lg {
  display: block;
}
.sc {
  font:
    400 32px/1 "Great Vibes",
    "Brush Script MT",
    cursive;
  background: linear-gradient(135deg, #2a9fc9, #5debd7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  padding-right: 4px;
}
.lg small {
  margin-top: 2px;
}
.solid {
  background: linear-gradient(135deg, #2a9fc9, #5debd7);
  color: #0e2a3f;
  border: 0;
}
.solid:hover {
  box-shadow: 0 6px 22px rgba(42, 159, 201, 0.45);
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  padding: 48px 0 130px;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(28px, 4.2vw, 46px);
}
.hero p {
  color: var(--muted);
}
.badges span {
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--card);
}
.biglogo {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.biglogo .sc {
  font-size: 66px;
  margin-top: 2px;
}
.biglogo small {
  font:
    500 13px Outfit,
    sans-serif;
  letter-spacing: 0.42em;
  color: var(--goldtxt);
  margin-top: 6px;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 110px;
}
.curve {
  position: absolute;
  top: 0;
  right: 0;
  width: min(640px, 70%);
  height: 50px;
}
.bub {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #fff 0 10%,
    #8cf5e4 32%,
    #2aa5c9 100%
  );
  box-shadow: 0 4px 12px rgba(42, 159, 201, 0.35);
}
.calc {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, #a88835, #f0dc9c, #a88835) border-box;
  box-shadow: 0 20px 50px rgba(14, 42, 63, 0.14);
}
.res {
  border: 1px solid var(--gold);
}
.chips button[aria-pressed="true"] {
  background: var(--navy);
  color: #e6cb80;
  border-color: var(--gold);
}
h2.t::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #a88835, #f0dc9c);
}
.tile {
  border: 1px solid rgba(201, 165, 78, 0.45);
  box-shadow: 0 12px 30px rgba(14, 42, 63, 0.06);
}
.tag {
  background: linear-gradient(135deg, #2a9fc9, #5debd7);
  color: #0e2a3f;
}
.why {
  background: var(--navy);
}
.why h2.t {
  color: #e6cb80;
}
.why .tile {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(230, 203, 128, 0.4);
  box-shadow: none;
}
.why .tile h3 {
  color: #e6cb80;
}
footer {
  background: var(--navy);
  color: #e6cb80;
}
@media (max-width: 860px) {
  .hero {
    padding-bottom: 110px;
  }
  .curve {
    display: none;
  }
  .biglogo .sc {
    font-size: 54px;
  }
}

.fx {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bub2 {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #fff 0 10%,
    #8cf5e4 32%,
    #2aa5c9 100%
  );
  opacity: 0.75;
}
.spark {
  position: absolute;
  background: linear-gradient(135deg, #d8b85a, #f6e7ae);
  clip-path: polygon(
    50% 0,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0 50%,
    40% 40%
  );
}
.solid {
  position: relative;
  overflow: hidden;
}
.solid::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-20deg);
}
.calc select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.fine {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 0;
}
.mq {
  background: var(--navy);
  color: #e6cb80;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  font:
    500 15px Outfit,
    sans-serif;
  letter-spacing: 0.12em;
}
.mq div {
  display: inline-block;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding-top: 34px;
  padding-bottom: 6px;
  text-align: center;
}
.st b {
  display: block;
  font:
    800 clamp(34px, 5vw, 50px)/1 Outfit,
    sans-serif;
  background: linear-gradient(135deg, #8f7128, #d9bc66, #8f7128);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.st span {
  color: var(--muted);
  font-size: 14px;
}
.ic {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  transition: transform 0.35s;
}
.tile {
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.tile:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(14, 42, 63, 0.14);
}
.tile:hover .ic {
  transform: rotate(-8deg) scale(1.12);
}
.p b {
  font:
    800 22px Outfit,
    sans-serif;
  color: var(--ink);
}
.p small {
  color: var(--muted);
  font-weight: 500;
}
.rvw {
  background: linear-gradient(180deg, var(--soft), var(--bg));
}
.rev {
  position: relative;
  min-height: 230px;
  max-width: 760px;
}
.q {
  margin: 0 0 14px;
}
.q p {
  font:
    500 clamp(18px, 2.6vw, 23px)/1.5 Outfit,
    sans-serif;
  margin: 8px 0;
}
.q .stars {
  color: #c9a54e;
  letter-spacing: 3px;
}
.q cite {
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
}
.js .q {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s,
    transform 0.6s;
  pointer-events: none;
  margin: 0;
}
.js .q.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.dots {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.dots button[aria-current="true"] {
  background: var(--gold);
}
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.4s;
  box-shadow: 0 8px 24px rgba(14, 42, 63, 0.3);
}
.fab.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.js .rv {
  opacity: 0;
  transform: translateY(26px);
}
.js .rv.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .tile.rv.in {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    border-color 0.3s,
    box-shadow 0.3s;
}
@media (prefers-reduced-motion: no-preference) {
  .bub2 {
    animation: rise linear infinite;
  }
  @keyframes rise {
    0% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 0.75;
    }
    90% {
      opacity: 0.6;
    }
    100% {
      transform: translateY(-780px) translateX(30px);
      opacity: 0;
    }
  }
  .spark {
    animation: tw 3.2s ease-in-out infinite;
  }
  @keyframes tw {
    0%,
    100% {
      transform: scale(0.2) rotate(0);
      opacity: 0;
    }
    50% {
      transform: scale(1) rotate(90deg);
      opacity: 1;
    }
  }
  .biglogo svg {
    animation: floaty 5s ease-in-out infinite;
  }
  @keyframes floaty {
    50% {
      transform: translateY(-8px);
    }
  }
  .wave path {
    animation: sway 9s ease-in-out infinite alternate;
  }
  @keyframes sway {
    to {
      transform: translateX(-70px);
    }
  }
  .curve path {
    stroke-dasharray: 720;
    stroke-dashoffset: 720;
    animation: draw 2.6s 0.3s ease forwards;
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  .solid::after {
    animation: shine 4.5s ease-in-out infinite;
  }
  @keyframes shine {
    0%,
    55% {
      left: -60%;
    }
    100% {
      left: 140%;
    }
  }
  .mq div {
    animation: mq 34s linear infinite;
  }
  @keyframes mq {
    to {
      transform: translateX(-20%);
    }
  }
  .fab.show {
    animation: pulse 2.4s infinite;
  }
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(42, 159, 201, 0.6);
    }
    70%,
    100% {
      box-shadow: 0 0 0 18px rgba(42, 159, 201, 0);
    }
  }
}

.sc {
  line-height: 1.5;
  padding: 0.14em 0.1em 0.06em 0;
  margin: -0.3em 0 -0.22em;
}
.biglogo .sc {
  margin-top: -0.1em;
}
.kcard {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 26px;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, #a88835, #f0dc9c, #a88835) border-box;
  box-shadow: 0 20px 50px rgba(14, 42, 63, 0.12);
}
.kg {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.kl {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.k2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.k2 button {
  border-radius: 12px;
  padding: 12px 8px;
}
.krow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.krow label {
  margin: 0;
}
.badge {
  background: var(--navy);
  color: #e6cb80;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 14px;
  font-weight: 800;
}
.kres {
  background: var(--soft);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}
.kt {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.old {
  font-size: 20px;
  color: var(--muted);
  margin: 2px 0 14px;
}
.old.s {
  text-decoration: line-through;
}
.rbox {
  background: var(--card);
  border: 1px dashed var(--gold);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.kt2 {
  font-size: 13px;
  font-weight: 800;
  color: var(--goldtxt);
}
.kbig {
  font:
    800 clamp(34px, 5vw, 44px)/1.1 Outfit,
    sans-serif;
  color: var(--ink);
  margin: 4px 0;
}
.sv {
  font-size: 14px;
  color: var(--muted);
}
.sv strong {
  color: var(--goldtxt);
}
.kres .btn {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}
@media (max-width: 820px) {
  .kg {
    grid-template-columns: 1fr;
  }
}

:root {
  --busy: #b4443f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --busy: #ff9c94;
  }
}
:root[data-theme="dark"] {
  --busy: #ff9c94;
}
.cal button.closed:disabled {
  opacity: 0.4;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 5px,
    rgba(120, 130, 140, 0.18) 5px 10px
  );
}
.cal-h button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.lgd {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.lgd span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.k {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid var(--line);
  display: inline-block;
}
.k.pk {
  background: var(--navy);
  border-color: var(--gold);
}
.k.off {
  background: repeating-linear-gradient(
    45deg,
    transparent 0 3px,
    rgba(120, 130, 140, 0.4) 3px 6px
  );
}
.sel.warn {
  color: var(--busy);
  font-weight: 700;
}

header {
  background: linear-gradient(100deg, #0e2a3f 0%, #14587f 52%, #2a9fc9 100%);
  backdrop-filter: none;
}
header nav a:not(.btn) {
  color: #fff;
}
header nav a:not(.btn):hover {
  color: #f3dfa0;
}
header .btn.gold {
  background: linear-gradient(135deg, #b8901f, #ebd48c);
  color: #0e2a3f;
  border-color: #ebd48c;
}
header .sc {
  background: linear-gradient(135deg, #fff, #8cf5e4);
  -webkit-background-clip: text;
  background-clip: text;
}
header .lg small {
  color: #ebd48c;
}

.cal button.today {
  border-color: var(--gold);
  font-weight: 800;
}
footer a {
  text-decoration: underline;
}

/* táctil y responsivo */
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.cal {
  touch-action: pan-y;
}
.cal button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input[type="range"] {
  padding: 12px 0;
  touch-action: pan-y;
  cursor: pointer;
}
nav {
  margin-left: auto;
  margin-right: 18px;
}
.act {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ebd48c;
  background: transparent;
  color: #ebd48c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.hero.paused *,
.mq.paused div {
  animation-play-state: paused !important;
}
.fab.away {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    0% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 0.75;
    }
    90% {
      opacity: 0.6;
    }
    100% {
      transform: translateY(calc(var(--h, 780px) * -1)) translateX(30px);
      opacity: 0;
    }
  }
}
@media (hover: none) {
  .tile:hover {
    transform: none;
    border-color: rgba(201, 165, 78, 0.45);
    box-shadow: 0 12px 30px rgba(14, 42, 63, 0.06);
  }
  .tile:hover .ic {
    transform: none;
  }
  .cal button:hover:not(:disabled) {
    border-color: transparent;
  }
  .btn:hover,
  .solid:hover,
  .gold:hover {
    box-shadow: none;
    filter: none;
  }
  header nav a:not(.btn):hover {
    color: #fff;
  }
}
@media (pointer: coarse) {
  .cal button {
    aspect-ratio: auto;
    min-height: 44px;
  }
  .cal-h button {
    width: 44px;
    height: 44px;
  }
  .chips button {
    min-height: 44px;
  }
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
  }
  summary {
    padding: 6px 0;
  }
  .dots {
    gap: 14px;
  }
  .dots button {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 1024px) {
  .hero .g {
    gap: 24px;
  }
}
@media (max-width: 820px) {
  header nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0e2a3f;
    padding: 4px 20px 12px;
    display: none;
    border-bottom: 1px solid #ebd48c;
  }
  header nav.open {
    display: flex;
  }
  header nav a:not(.btn) {
    display: block;
    padding: 14px 4px;
    font-size: 18px;
    border-bottom: 1px solid rgba(235, 212, 140, 0.22);
  }
  .mn {
    display: grid;
    place-items: center;
  }
  .act {
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 14px;
  }
  .bar {
    padding: 8px 14px;
  }
  .hero {
    padding: 28px 0 100px;
  }
  .panel {
    padding: 16px;
  }
  .calc,
  .kcard {
    padding: 18px;
  }
  .bub2:nth-child(n + 7) {
    display: none;
  }
  .spark:nth-child(n + 16) {
    display: none;
  }
  .wave {
    height: 80px;
  }
  .biglogo svg {
    width: 150px;
    height: 78px;
  }
  .btn.gold {
    padding: 9px 14px;
    font-size: 14px;
  }
  .cal {
    gap: 3px;
  }
  .cal button {
    font-size: 15px;
  }
  .fab {
    right: 12px;
    padding: 10px 18px;
  }
  .grid {
    gap: 12px;
  }
  .tile {
    padding: 18px;
  }
  .info {
    gap: 16px;
  }
}
.btn.gold {
  white-space: nowrap;
}
@media (max-width: 430px) {
  .hs {
    display: none;
  }
}
@media (max-width: 380px) {
  .lg small {
    letter-spacing: 0.2em;
  }
  .logo svg {
    display: none;
  }
  .sc {
    font-size: 28px;
  }
  .btn.gold {
    padding: 8px 11px;
    font-size: 13px;
  }
  .cal {
    gap: 2px;
  }
}
@media (max-width: 860px) {
  .cal,
  .cal-h,
  .lgd {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 20px 0 80px;
  }
  .fab {
    display: none;
  }
}

.stp {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stp input {
  flex: 1;
  min-width: 0;
}
.sb {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--card);
  color: var(--ink);
  font:
    700 24px/1 Outfit,
    sans-serif;
  cursor: pointer;
  padding: 0;
}
.sb:active {
  background: var(--navy);
  color: #e6cb80;
}
@media (prefers-reduced-motion: reduce) {
  @keyframes rise {
    0% {
      transform: translateY(0);
      opacity: 0;
    }
    15% {
      opacity: 0.5;
    }
    85% {
      opacity: 0.5;
    }
    100% {
      transform: translateY(calc(var(--h, 780px) * -1));
      opacity: 0;
    }
  }
  .bub2 {
    animation: rise linear infinite;
    animation-duration: 40s !important;
    opacity: 0.5;
  }
}
#debug {
  display: none;
}
#debug:target {
  display: block;
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 50;
  background: #fff;
  color: #111;
  border: 2px solid #c9a54e;
  border-radius: 12px;
  padding: 12px;
  max-height: 60vh;
  overflow: auto;
}
#dbg {
  margin: 0;
  font: 12px/1.5 monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

.notice {
  background: var(--soft);
  border: 1px solid var(--gold);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 22px;
  max-width: 780px;
}
.tl {
  display: block;
  margin: 14px 0 4px;
  font-weight: 700;
  font-size: 14px;
}
.panel select,
.f select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.panel select:disabled {
  opacity: 0.55;
}
.kind {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 4px;
}
.f .rd {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}
.f .rd small {
  font-weight: 400;
  color: var(--muted);
}
.f .rd input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0 8px 0 0;
  vertical-align: -3px;
  accent-color: #b8901f;
}
.rd:has(input:checked) {
  border-color: var(--gold);
  background: var(--soft);
}
#mlk {
  display: block;
  margin-top: 8px;
  color: var(--goldtxt);
  text-decoration: underline;
}
#mlk[hidden] {
  display: none;
}
.cth {
  font-size: 22px;
  margin: 34px 0 4px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.cc {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
}
.cc .cl {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--goldtxt);
  margin-bottom: 2px;
}
.cc b {
  font:
    700 18px/1.35 Outfit,
    sans-serif;
  word-break: break-word;
}
.cc.ph {
  border: 2px solid var(--gold);
  background: var(--soft);
}
.cc.ph b {
  font-size: 23px;
}
@media (max-width: 420px) {
  .kind {
    grid-template-columns: 1fr;
  }
}

.lang {
  flex: none;
  width: 56px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #ebd48c;
  background: rgba(14, 42, 63, 0.55);
  color: #ebd48c;
  font:
    700 14px Outfit,
    sans-serif;
  text-align: center;
  text-align-last: center;
  padding: 0 6px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.lang option {
  color: #0e2a3f;
  background: #fff;
}
@media (max-width: 380px) {
  .lang {
    width: 50px;
    font-size: 13px;
  }
}
html[lang="es"] header .btn.gold {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.3em;
}
html[lang="es"] .hs {
  text-transform: capitalize;
}
