/* ==========================================================================
   MapleWorld — MapleStory service styles
   ========================================================================== */

:root {
  --outline-dark: #3b2d42;
  --text-main: #2d2235;
  --bg-cream: #fdf8f2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Nunito', sans-serif;
  color: var(--text-main);
  background-color: #e6d7ff;
}

body {
  background: linear-gradient(180deg, #e5d4ff 0%, #d8e8ff 50%, #e5d4ff 100%);
  min-height: 100vh;
  padding: 18px 12px;
  overflow-x: hidden;
}

.storybook-frame {
  max-width: 1240px;
  margin: 0 auto;
  background-color: var(--bg-cream);
  border: 3.5px solid var(--outline-dark);
  border-radius: 28px;
  box-shadow: 0 14px 0 rgba(59, 45, 66, 0.18), 0 24px 48px rgba(59, 45, 66, 0.15);
  overflow: hidden;
  position: relative;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Fredoka', cursive, sans-serif;
  letter-spacing: 0.02em;
}

.logo-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  background: linear-gradient(180deg, #ffffff 0%, #99ccff 45%, #6da9f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 var(--outline-dark))
          drop-shadow(2px 0 0 var(--outline-dark))
          drop-shadow(-2px 0 0 var(--outline-dark))
          drop-shadow(0 -2px 0 var(--outline-dark))
          drop-shadow(0 4px 0 var(--outline-dark));
  position: relative;
  display: inline-block;
}

header {
  position: relative;
  background:
    radial-gradient(ellipse at 6% 0%, rgba(220, 233, 255, 0.58), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #fdf8f2 100%) !important;
  border-bottom: 1px solid rgba(59, 45, 66, 0.1);
}

header > div:first-child {
  min-height: 68px;
}

header > div:first-child > a {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

header > div:first-child > a:hover {
  transform: translateY(-2px);
}

header > div:first-child > a img {
  filter: drop-shadow(0 2px 2px rgba(59, 45, 66, 0.12));
}

header .logo-text {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

header nav[aria-label="Main navigation"] {
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(59, 45, 66, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

header nav[aria-label="Main navigation"] .nav-pill {
  padding: 7px 12px;
  font-size: 0.8rem;
  border-color: transparent;
  box-shadow: none;
}

header nav[aria-label="Main navigation"] .nav-pill:hover,
header nav[aria-label="Main navigation"] .nav-pill.active {
  border-color: rgba(59, 45, 66, 0.7);
  box-shadow: 0 2px 0 rgba(59, 45, 66, 0.16);
}

header nav[aria-label="Main navigation"] .nav-pill.active {
  background: #ffd1dc;
}

.mobile-nav-menu {
  position: relative;
  z-index: 30;
  margin-left: auto;
}

.mobile-nav-menu summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 2px solid var(--outline-dark);
  border-radius: 999px;
  background: #e4d1ff;
  box-shadow: 0 3px 0 var(--outline-dark);
  color: var(--outline-dark);
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  list-style: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.mobile-nav-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-menu summary:hover,
.mobile-nav-menu[open] summary {
  transform: translateY(-1px);
  background: #d8c3ff;
  box-shadow: 0 4px 0 var(--outline-dark);
}

.mobile-nav-icon {
  display: grid;
  gap: 3px;
  width: 15px;
}

.mobile-nav-icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-nav-menu[open] .mobile-nav-icon i:first-child {
  transform: translateY(5px) rotate(45deg);
}

.mobile-nav-menu[open] .mobile-nav-icon i:nth-child(2) {
  opacity: 0;
}

.mobile-nav-menu[open] .mobile-nav-icon i:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav-links {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  display: grid;
  min-width: 196px;
  gap: 6px;
  padding: 10px;
  border: 2px solid var(--outline-dark);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 5px 0 var(--outline-dark), 0 14px 24px rgba(59, 45, 66, 0.16);
}

.mobile-nav-links a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(59, 45, 66, 0.12);
  border-radius: 12px;
  color: var(--outline-dark);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  transform: translateX(2px);
  border-color: rgba(59, 45, 66, 0.38);
  outline: none;
}

.hero-display-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.05;
  color: #8c7ae6;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow:
    -3px -3px 0 #ffffff,
     3px -3px 0 #ffffff,
    -3px  3px 0 #ffffff,
     3px  3px 0 #ffffff,
     0px  5px 0 #5f4b8b,
     0px  8px 15px rgba(59, 45, 66, 0.18);
}

#inicio .hero-cta.cartoon-border {
  padding: 9px 16px;
  border: 1px solid rgba(59, 45, 66, 0.22);
  box-shadow: 0 2px 7px rgba(59, 45, 66, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

#inicio .hero-cta.cartoon-border:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(59, 45, 66, 0.13);
}

#inicio .hero-cta.cartoon-border:focus-visible {
  outline: 2px solid var(--outline-dark);
  outline-offset: 3px;
}

.section-heading {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.cartoon-border {
  border: 2.5px solid var(--outline-dark);
  box-shadow: 0 4px 0 var(--outline-dark);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cartoon-border-sm {
  border: 2px solid var(--outline-dark);
  box-shadow: 0 3px 0 var(--outline-dark);
  transition: all 0.18s ease;
}

.calculator-layout {
  --outline-dark: #3b2d42;
  --calc-bg: #fff4f8;
  --calc-surface: rgba(255, 255, 255, 0.9);
  --calc-surface-soft: #fff8fb;
  --calc-border: #edcfdb;
  --calc-accent: #c23b6e;
  --calc-accent-soft: #ffe5f0;
  --calc-shadow: rgba(194, 59, 110, 0.1);
}

.calculator-layout[data-service="mesos"] {
  --calc-bg: #fff0f5;
  --calc-surface: rgba(255, 255, 255, 0.88);
  --calc-surface-soft: #fff8fb;
  --calc-border: #edcfdb;
  --calc-accent: #c23b6e;
  --calc-accent-soft: #ffe5f0;
  --calc-shadow: rgba(194, 59, 110, 0.1);
  --mesos-bg: var(--calc-bg);
  --mesos-surface: var(--calc-surface);
  --mesos-surface-strong: #ffe5f0;
  --mesos-border: var(--calc-border);
  --mesos-text: #3b2d42;
  --mesos-muted: #5a4b66;
  --mesos-accent: var(--calc-accent);
  --mesos-accent-soft: #ffd6e5;
}

.calculator-layout[data-service="leveling"] {
  --calc-bg: #eff9ef;
  --calc-surface: rgba(255, 255, 255, 0.9);
  --calc-surface-soft: #f6fcf5;
  --calc-border: #cde8cd;
  --calc-accent: #2f8540;
  --calc-accent-soft: #d8f4d6;
  --calc-shadow: rgba(47, 133, 64, 0.1);
}

.calculator-layout[data-service="bossing"] {
  --calc-bg: #f4efff;
  --calc-surface: rgba(255, 255, 255, 0.9);
  --calc-surface-soft: #faf8ff;
  --calc-border: #d9cef3;
  --calc-accent: #5f3dc4;
  --calc-accent-soft: #e6dcff;
  --calc-shadow: rgba(95, 61, 196, 0.1);
}

.calculator-options-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  isolation: isolate;
  border: 1.5px solid var(--calc-border);
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--calc-accent) 10%, transparent), transparent 34%),
    linear-gradient(145deg, #fffefa 0%, var(--calc-bg) 100%);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--calc-accent) 20%, #fff), 0 14px 30px var(--calc-shadow);
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.calculator-options-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16px;
  right: 15px;
  width: 118px;
  height: 88px;
  border-radius: 48% 52% 64% 36% / 43% 38% 62% 57%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--calc-accent) 24%, white) 1.5px, transparent 2px) 0 0 / 13px 13px,
    radial-gradient(ellipse at 72% 28%, color-mix(in srgb, var(--calc-accent) 9%, white), transparent 70%);
  opacity: 0.7;
  transform: rotate(12deg);
  pointer-events: none;
}

.calculator-options-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--calc-accent), color-mix(in srgb, var(--calc-accent) 25%, white) 72%, transparent);
  pointer-events: none;
}

.calculator-options-panel > .calc-panel {
  position: relative;
  z-index: 1;
}

.calculator-options-panel .config-section-heading {
  position: relative;
  padding-bottom: 15px;
}

.calculator-options-panel .config-section-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: var(--calc-accent);
}

.calculator-options-panel .config-section-heading {
  border-bottom-color: var(--calc-border);
}

.calculator-options-panel .mesos-slider-card,
.calculator-options-panel .mesos-loot-card,
.calculator-options-panel .mesos-session-note {
  border-color: var(--calc-border);
  background: var(--calc-surface);
  box-shadow: 0 4px 14px var(--calc-shadow);
}

.calculator-options-panel[data-service="mesos"] [class~="text-[#3b2d42]"] {
  color: var(--mesos-text) !important;
}

.calculator-options-panel[data-service="mesos"] [class~="text-[#5a4b66]"] {
  color: var(--mesos-muted) !important;
}

.calculator-options-panel[data-service="mesos"] [class~="border-[#3b2d42]"] {
  border-color: var(--mesos-border) !important;
}

.calculator-options-panel[data-service="mesos"] .mesos-slider-card {
  background: linear-gradient(145deg, #ffffff 0%, #fff8fb 100%);
  border-color: var(--calc-border);
}

.calculator-options-panel[data-service="mesos"] .mesos-loot-card {
  background: #e8f5e9;
  border-color: #cfe5d1;
}

.calculator-options-panel[data-service="mesos"] .mesos-hours-pill {
  color: var(--mesos-text);
  background: var(--mesos-accent-soft);
  border-color: var(--calc-border);
  box-shadow: 0 1px 3px rgba(59, 45, 66, 0.12);
}

#panel-mesos :is(h3, p, span, label, small, strong, li, button) {
  color: var(--mesos-text) !important;
}

#panel-mesos .mesos-loot-card p:first-child {
  color: var(--calc-accent) !important;
  letter-spacing: 0.045em;
}

#panel-mesos #mesos-est-display {
  color: #3b2d42 !important;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.calculator-service-tabs {
  width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.calculator-tab-list {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calculator-service-tabs .calc-tab-btn {
  --tab-bg: #fff;
  --tab-active-bg: #f6f3f8;
  --tab-accent: #6a4c9c;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(59, 45, 66, 0.12);
  border-radius: 999px;
  background: var(--tab-bg);
  box-shadow: 0 2px 6px rgba(59, 45, 66, 0.06);
  color: #3b2d42;
  font-size: 0.88rem;
  line-height: 1.15;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.calculator-service-tabs .calc-tab-btn[data-tab="mesos"] {
  --tab-bg: #fff4f8;
  --tab-active-bg: #ffe5f0;
  --tab-accent: #c23b6e;
}
.calculator-service-tabs .calc-tab-btn[data-tab="leveling"] {
  --tab-bg: #f3fbf2;
  --tab-active-bg: #e2fbe2;
  --tab-accent: #2f8540;
}
.calculator-service-tabs .calc-tab-btn[data-tab="bossing"] {
  --tab-bg: #f7f4ff;
  --tab-active-bg: #ede4ff;
  --tab-accent: #5f3dc4;
}
.calculator-service-tabs .calc-tab-btn.active-tab {
  border-color: var(--tab-accent);
  background: var(--tab-active-bg);
  color: #3b2d42;
  box-shadow: 0 3px 9px rgba(59, 45, 66, 0.1);
}

.config-section-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(59, 45, 66, 0.12);
}

.config-section-heading h3 {
  line-height: 1.2;
}

.config-section-heading p {
  margin-top: 4px;
  line-height: 1.45;
}

.calc-panel:not(#panel-mesos) > .config-section-heading {
  margin-bottom: 2px;
}

#panel-leveling .leveling-option-card {
  min-height: 96px;
  border-color: var(--calc-border) !important;
  border-radius: 16px !important;
  background: var(--calc-surface) !important;
  box-shadow: 0 3px 10px var(--calc-shadow);
}

.calculator-options-panel .maple-check-card.selected,
#panel-leveling .leveling-option-card.selected {
  border-color: var(--calc-accent) !important;
  background: var(--calc-accent-soft) !important;
  box-shadow: 0 4px 12px var(--calc-shadow);
  transform: translateY(-1px);
}

.boss-pilot-toggle {
  border: 1px solid #d8d2df;
  background: #f7f4fa;
  color: #655873;
}

.boss-pilot-toggle .boss-pilot-switch {
  background: #b8b1c0;
}

.boss-pilot-toggle.is-enabled {
  border-color: #79b982;
  background: #def3df;
  color: #285b30;
  box-shadow: 0 2px 6px rgba(69, 139, 78, 0.16);
}

.boss-pilot-toggle.is-enabled .boss-pilot-switch {
  background: #58a963;
}

#panel-leveling .leveling-option-card > div:first-child {
  gap: 10px;
}

#panel-leveling .leveling-option-card > div:first-child > span:first-child {
  line-height: 1.3;
}

.package-price-pill {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid var(--calc-border);
  border-radius: 999px;
  background: var(--calc-accent-soft);
  color: var(--calc-accent);
  white-space: nowrap;
}

.mesos-config-heading {
  gap: 14px;
}

.mesos-config-heading p {
  margin-top: 3px;
  line-height: 1.45;
  color: var(--mesos-muted);
}

.mesos-hours-pill {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--calc-border);
  border-radius: 999px;
  background: #ffd43b;
  color: var(--mesos-text);
  box-shadow: 0 2px 6px var(--calc-shadow);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.mesos-slider-card {
  border: 1px solid var(--calc-border);
  box-shadow: 0 4px 14px var(--calc-shadow);
}

.mesos-slider-card label {
  display: block;
  margin-bottom: 16px;
  color: var(--mesos-text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.mesos-slider-markers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
  color: var(--mesos-muted);
}

.mesos-slider-markers span {
  padding: 7px 8px;
  border: 1px solid var(--calc-border);
  border-radius: 10px;
  background: var(--calc-surface);
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: center;
}

.mesos-slider-card input[type="range"].maple-slider {
  height: 8px;
  border: 0;
  background: #d8f3dc;
  box-shadow: inset 0 1px 2px rgba(59, 45, 66, 0.12);
}

.mesos-slider-card input[type="range"].maple-slider::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #ffffff;
  background: #b8e6bd;
  box-shadow: 0 1px 5px var(--calc-shadow);
}

.mesos-slider-card input[type="range"].maple-slider::-webkit-slider-thumb:hover {
  background: #a8d9ae;
}

.mesos-slider-card input[type="range"].maple-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #b8e6bd;
  box-shadow: 0 1px 5px var(--calc-shadow);
}

.mesos-loot-card {
  gap: 14px;
  border: 1px solid var(--calc-border);
  background: var(--calc-accent-soft);
  box-shadow: 0 4px 14px var(--calc-shadow);
}

.mesos-session-note {
  border: 1px solid var(--calc-border);
  background: var(--calc-surface);
  line-height: 1.5;
}

.mesos-session-note p:first-child {
  color: var(--mesos-text);
}

.mesos-session-note p + p {
  color: var(--mesos-muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.calculator-layout .order-summary-panel {
  border-color: var(--calc-border);
  background: linear-gradient(145deg, var(--calc-surface), var(--calc-bg));
  box-shadow: 0 10px 28px var(--calc-shadow);
}

.order-summary-badge {
  border: 1px solid var(--calc-border);
  background: var(--calc-accent-soft);
}

.order-summary-details > li:first-child {
  padding: 9px 11px;
  border: 1px solid var(--calc-border);
  border-radius: 12px;
  background: var(--calc-surface);
  color: #655873;
  font-size: 12px;
}

.order-summary-total {
  padding: 15px;
  border: 1px solid var(--calc-border);
  border-radius: 18px;
  background: var(--calc-surface);
  box-shadow: 0 4px 14px var(--calc-shadow);
}

.order-summary-price {
  color: var(--calc-accent);
  font-variant-numeric: tabular-nums;
}

.calculator-layout .order-summary-header {
  border-color: var(--calc-border);
}

#cotizador .order-submit-button {
  border: 1px solid rgba(88, 101, 242, 0.32);
  background-color: #6875df;
  box-shadow: 0 3px 9px rgba(88, 101, 242, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

#cotizador .order-submit-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background-color: #5d69d2;
  box-shadow: 0 5px 12px rgba(88, 101, 242, 0.2);
}

#cotizador .order-submit-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(88, 101, 242, 0.16);
}

#cotizador .order-submit-button:focus-visible {
  outline: 2px solid #5865f2;
  outline-offset: 3px;
}

.cartoon-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cartoon-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.26), rgba(255,255,255,0));
  z-index: -1;
}

.cartoon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--outline-dark);
}

.cartoon-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--outline-dark);
}

.hero-cta.cartoon-border {
  border-width: 1.5px;
  box-shadow: 0 2px 0 rgba(59, 45, 66, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.hero-cta.cartoon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(59, 45, 66, 0.65);
}

.hero-cta.cartoon-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(59, 45, 66, 0.65);
}

.nav-pill {
  padding: 7px 16px;
  border-radius: 9999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--outline-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-pill:hover, .nav-pill.active {
  border-color: var(--outline-dark);
  transform: translateY(-2px);
  box-shadow: 0 3px 0 var(--outline-dark);
}

.pill-pink { background-color: #ffd1dc; }
.pill-lavender { background-color: #e4d1ff; }
.pill-peach { background-color: #ffe2b8; }
.pill-cyan { background-color: #c6eff7; }
.pill-mint { background-color: #c8f4d0; }

.cloud-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.service-card {
  --service-border: rgba(59, 45, 66, 0.12);
  --service-shadow: rgba(59, 45, 66, 0.08);
  --service-accent: #6a4c9c;
  --service-badge: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--service-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 24px var(--service-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--service-shadow);
}

.service-card-link {
  cursor: pointer;
}

.service-card-link:focus-visible {
  outline: 2px solid var(--service-accent);
  outline-offset: 4px;
}

.service-card > div:first-child {
  background: transparent;
  border-color: transparent !important;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0), 0 4px 0 rgba(59, 45, 66, 0);
}

.service-card-link h3 + span {
  border: 1px solid var(--service-border);
  background: var(--service-badge);
  color: var(--service-accent);
}

.service-card-link .border-t {
  border-color: var(--service-border);
}

.service-card > div:first-child img {
  filter: drop-shadow(0 6px 8px rgba(59, 45, 66, 0.12));
}

.service-card-green {
  --service-border: #d8ead6;
  --service-shadow: rgba(47, 133, 64, 0.1);
  --service-accent: #2f8540;
  --service-badge: #f5fcf3;
  background: linear-gradient(135deg, #f7fcf5 0%, #eaf7e8 100%);
}

.service-card-orange {
  --service-border: #f0dfc9;
  --service-shadow: rgba(217, 95, 24, 0.1);
  --service-accent: #d95f18;
  --service-badge: #fffaf2;
  background: linear-gradient(135deg, #fffaf3 0%, #fff0dc 100%);
}

.service-card-pink {
  --service-border: #f0d8e1;
  --service-shadow: rgba(194, 59, 110, 0.1);
  --service-accent: #c23b6e;
  --service-badge: #fff8fb;
  background: linear-gradient(135deg, #fff8fb 0%, #ffedf3 100%);
}

.service-card-purple {
  --service-border: #e0d8f0;
  --service-shadow: rgba(95, 61, 196, 0.1);
  --service-accent: #5f3dc4;
  --service-badge: #faf8ff;
  background: linear-gradient(135deg, #faf8ff 0%, #f0ebfc 100%);
}

#como-funciona {
  border-bottom-width: 1px;
  border-bottom-color: rgba(82, 130, 184, 0.18);
  background: linear-gradient(145deg, #f7fbff 0%, #edf6ff 100%);
}

#como-funciona .section-heading {
  color: #5282b8;
  text-shadow: none;
}

#como-funciona .service-card {
  border-width: 1px;
  border-radius: 22px;
  box-shadow: 0 8px 24px var(--service-shadow);
}

#como-funciona .service-card > div > div:first-child {
  border: 1px solid var(--service-border) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 3px 10px var(--service-shadow);
}

#como-funciona .service-card > div > div:first-child img {
  filter: drop-shadow(0 3px 5px rgba(59, 45, 66, 0.08));
}

#como-funciona .how-step-number {
  border: 1px solid rgba(59, 45, 66, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--service-accent);
}

#como-funciona .service-card-green .how-step-number {
  color: #2f8540;
}

#como-funciona .service-card-pink .how-step-number {
  color: #c23b6e;
}

#como-funciona .service-card-green h3 {
  color: var(--service-accent);
}

#como-funciona .service-card-pink h3 {
  color: var(--service-accent);
}

#como-funciona .how-step-connect {
  border: 1px solid #f0dfc9;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffaf3, #fff0dc);
  box-shadow: 0 8px 24px rgba(217, 95, 24, 0.1);
}

#como-funciona .how-step-connect h3 {
  color: #d95f18;
}

#como-funciona .how-step-connect .how-step-number {
  border: 1px solid rgba(217, 95, 24, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: #d95f18;
}

#como-funciona .how-step-connect > div.flex > span {
  color: #d95f18;
}

#como-funciona > .max-w-6xl > .grid > div.flex > div {
  opacity: 0.72;
}

#resenas {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 14%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(ellipse at 92% 88%, rgba(214, 237, 255, 0.82), transparent 35%),
    #f2e2fc;
}

#resenas > .max-w-6xl {
  position: relative;
  z-index: 1;
}

#resenas .section-heading {
  color: #6a4c9c;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.8);
}

#resenas .text-center.mb-8 > p {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 7px 13px;
  border: 1px solid rgba(106, 76, 156, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #5a4b66;
  font-size: 0.76rem;
}

#resenas .text-center.mb-8 > p::before {
  content: "✦";
  color: #8c7ae6;
}

.reviews-carousel {
  margin: 0 -6px;
}

.reviews-viewport {
  overflow: hidden;
  padding: 10px 6px 18px;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.reviews-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: reviews-marquee var(--review-scroll-duration, 60s) linear infinite;
}

.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

.review-slide {
  flex: 0 0 clamp(290px, 31vw, 360px);
}

.rv-card {
  position: relative;
  min-height: 224px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    #fff;
  border: 1.5px solid rgba(59, 45, 66, 0.18);
  border-radius: 24px;
  box-shadow: 0 5px 0 #d2c2ea, 0 16px 28px rgba(59, 45, 66, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rv-card::after {
  content: "“";
  position: absolute;
  top: 50px;
  right: 18px;
  color: rgba(140, 122, 230, 0.12);
  font-family: Georgia, serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.rv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 #c6b2e4, 0 20px 32px rgba(59, 45, 66, 0.13);
}

.rv-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(59, 45, 66, 0.09);
}

.rv-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 16px;
  background: #d8f8d8;
  box-shadow: 0 0 0 1.5px rgba(106, 76, 156, 0.32), 0 3px 8px rgba(59, 45, 66, 0.1);
}

.rv-avatar img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  max-width: none;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.rv-user {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  color: var(--outline-dark);
  line-height: 1.25;
}

.rv-user b {
  font-size: 0.92rem;
}

.rv-user small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #685d6d;
  font-size: 0.7rem;
  white-space: nowrap;
}

.rv-flag {
  width: 18px;
  height: 14px;
  flex: 0 0 18px;
  object-fit: cover;
  border: 1px solid rgba(59, 45, 66, 0.16);
  border-radius: 3px;
}

.rv-stars {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(231, 165, 26, 0.18);
  border-radius: 999px;
  background: #fff7df;
  color: #d9950b;
  font-size: 0.76rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.rv-quote {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-bottom: 18px;
  color: #44364f;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.65;
}

.rv-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(59, 45, 66, 0.09);
  color: #6548a3;
  font-size: 0.74rem;
  font-weight: 800;
}

.rv-foot span {
  padding: 5px 10px;
  border: 1px solid rgba(126, 96, 191, 0.14);
  border-radius: 999px;
  background: #f5efff;
}

.hero-trust-stat {
  border-radius: 18px;
  box-shadow: 0 3px 0 rgba(59, 45, 66, 0.12);
}

.hero-trust-stat > p:first-child {
  white-space: nowrap;
}

@media (max-width: 640px) {
  #resenas .text-center.mb-8 > p {
    max-width: 100%;
    border-radius: 14px;
    line-height: 1.45;
    text-align: left;
  }

  .reviews-viewport {
    mask-image: none;
  }

  .review-slide {
    flex-basis: min(84vw, 340px);
  }

  .rv-card {
    min-height: 235px;
    padding: 19px;
  }
}

@keyframes reviews-marquee {
  to { transform: translateX(calc(-1 * var(--review-scroll-distance, 50%))); }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
    transform: none;
  }
}

/* Floating Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

input[type="range"].maple-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  background: #ffffff;
  border: 2.5px solid var(--outline-dark);
  border-radius: 999px;
  outline: none;
}

input[type="range"].maple-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8ce96a;
  border: 3px solid var(--outline-dark);
  box-shadow: 0 2px 0 var(--outline-dark);
  cursor: pointer;
  transition: transform 0.15s ease;
}

input[type="range"].maple-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  background: #74d952;
}

.maple-check-card {
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
}

.maple-check-card.selected {
  background-color: #fff3d6 !important;
  border-color: var(--outline-dark) !important;
  box-shadow: 0 4px 0 var(--outline-dark);
  transform: translateY(-2px);
}

#boss-cards-container .boss-choice-card {
  border-color: var(--calc-border);
  background: var(--calc-surface);
  box-shadow: 0 3px 10px var(--calc-shadow);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

#boss-cards-container .boss-choice-card.is-selected {
  border-color: var(--calc-accent);
  background: var(--calc-accent-soft);
  box-shadow: 0 4px 12px var(--calc-shadow);
}

#boss-cards-container .boss-icon-frame {
  border: 1px solid var(--calc-border);
  background-color: var(--calc-surface-soft);
}

@media (hover: hover) {
  .calculator-service-tabs .calc-tab-btn:not(.active-tab):hover {
    transform: translateY(-1px);
    border-color: var(--tab-accent);
    box-shadow: 0 4px 10px rgba(59, 45, 66, 0.09);
  }

  #boss-cards-container .boss-choice-card:hover {
    transform: translateY(-2px);
    border-color: var(--calc-accent);
    box-shadow: 0 5px 12px var(--calc-shadow);
  }
}

@media (max-width: 480px) {
  #inicio .hero-trust-stats {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 12px;
  }

  #inicio .hero-trust-stat {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    text-align: left;
  }

  .hero-trust-stat > p:first-child {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1.2;
  }

  .hero-trust-stat > p:last-child {
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  #inicio .hero-trust-stat {
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 6px 10px;
    text-align: center;
  }

  #inicio .hero-trust-stat > p:first-child {
    font-size: 0.95rem;
  }

  #inicio .hero-trust-stat > p:last-child {
    text-align: center;
  }
}

.boss-service-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.boss-service-guide-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(59, 45, 66, 0.13);
  border-radius: 16px;
  box-shadow: 0 3px 0 rgba(59, 45, 66, 0.1);
  width: 100%;
  text-align: left;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.boss-service-guide-card:hover { transform: translateY(-2px); }
.boss-service-guide-card:focus-visible { outline: 3px solid #8e78d8; outline-offset: 2px; }
.boss-service-guide-card.is-active { border-color: #9d8be0; box-shadow: 0 0 0 2px #9d8be044, 0 5px 14px #271a3a18; }

.boss-service-guide-carry {
  background: linear-gradient(145deg, #fff4e8 0%, #fffaf3 100%);
  border-color: #f0c99d;
}

.boss-service-guide-solo {
  background: linear-gradient(145deg, #f1edff 0%, #fbf9ff 100%);
  border-color: #d3c7f1;
}

.boss-service-guide-heading {
  display: flex;
  align-items: center;
  gap: 7px;
}

.boss-service-guide-heading h4 {
  color: var(--outline-dark);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.boss-service-guide-icon {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 45, 66, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.boss-service-guide-card > p {
  color: #5a4b66;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
}

.boss-service-guide-price {
  margin-top: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--outline-dark);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.35;
}

.boss-pilot-note {
  position: relative;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  overflow: hidden;
  border: 1.5px solid #c9b9ee;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.88), transparent 48%),
    linear-gradient(130deg, #f0eaff 0%, #fff8e9 100%);
  box-shadow: 0 4px 0 #ddd1f2, 0 9px 18px rgba(89, 64, 130, 0.09);
}

.boss-pilot-note:not(.hidden) {
  display: flex;
}

.boss-pilot-note.hidden {
  display: none;
}

.boss-pilot-note-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(126, 96, 191, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 2px 0 rgba(126, 96, 191, 0.12);
  font-size: 1.15rem;
}

.boss-pilot-note-content {
  min-width: 0;
}

.boss-pilot-note-label {
  display: block;
  margin-bottom: 4px;
  color: #6949a5;
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.boss-pilot-note-content p {
  color: #51445d;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
}

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

  .boss-pilot-note {
    gap: 10px;
    padding: 12px;
  }
}

.mesos-session-note {
  display: grid;
  gap: 9px;
  border: 1px solid #b8dfc2;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.9), transparent 46%),
    linear-gradient(125deg, #e8f7e9 0%, #f5fbef 100%);
  box-shadow: 0 4px 0 #d2e8d5, 0 10px 20px rgba(47, 133, 64, 0.08);
}

.mesos-session-note-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mesos-session-note-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(47, 133, 64, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.mesos-session-note-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
}

.mesos-session-note-title > p {
  color: #285d35 !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.mesos-session-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(47, 133, 64, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #2f8540 !important;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

.mesos-session-live > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45b85a;
  box-shadow: 0 0 0 3px rgba(69, 184, 90, 0.14);
}

.mesos-session-note-copy {
  padding-left: 48px;
  color: #455748 !important;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
}

.mesos-session-note-copy strong {
  color: #285d35 !important;
  font-weight: 900;
}

#summary-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#summary-details-list > .summary-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(59, 45, 66, 0.09);
  border-radius: 12px;
  background: linear-gradient(110deg, #fffdf9, #fff);
  color: #51445d;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 2px 0 rgba(59, 45, 66, 0.035);
}

.summary-detail-check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 6px;
  background: #e8f7e9;
  color: #2f8540;
  font-size: 0.7rem;
  font-weight: 900;
}

@media (max-width: 480px) {
  .mesos-session-note-copy {
    padding-left: 0;
  }

  #summary-details-list > .summary-detail-item {
    padding: 8px 9px;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .calculator-service-tabs {
    padding: 10px;
  }
  .calculator-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .calculator-service-tabs .calc-tab-btn {
    width: 100%;
    min-height: 44px;
    padding: 9px 8px;
    font-size: 0.78rem;
    white-space: normal;
  }
  body {
    padding: 6px;
  }
  .storybook-frame {
    border-radius: 20px;
    border-width: 2.5px;
  }
  .logo-text {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  header > div:first-child {
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 54px;
  }

  header > div:first-child > a {
    min-width: 0;
    gap: 4px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  header > div:first-child > a img {
    width: 2.75rem;
    height: 2.6rem;
  }

  header .logo-text {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    filter: drop-shadow(0 1.5px 0 var(--outline-dark))
            drop-shadow(1.5px 0 0 var(--outline-dark))
            drop-shadow(-1.5px 0 0 var(--outline-dark))
            drop-shadow(0 -1.5px 0 var(--outline-dark))
            drop-shadow(0 3px 0 var(--outline-dark));
  }

  header > div:first-child > a .absolute {
    top: 0;
    right: 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  header > div:first-child > a {
    flex: 1 1 0;
  }

  header .logo-text {
    font-size: 1.2rem;
  }

  header > div:first-child > a img {
    width: 2.4rem;
    height: 2.4rem;
  }

  .mobile-nav-menu summary {
    gap: 6px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.7rem;
  }
}

.hero-carousel-image {
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
}

.hero-carousel-image.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-image {
    transition: none;
  }
}

#panel-mesos .mesos-promo-copy {
  color: #455748 !important;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
}

/* Hero artwork palette: midnight indigo, violet, electric blue, and soft gold. */
:root {
  --outline-dark: #211b36;
  --text-main: #24203a;
  --bg-cream: #faf8ff;
  --hero-indigo: #211b36;
  --hero-violet: #7550a8;
  --hero-blue: #347edb;
  --hero-cyan: #3ba8df;
  --hero-gold: #b88a35;
}

html {
  background-color: #17162c;
}

body {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(108, 78, 159, 0.44), transparent 32rem),
    radial-gradient(ellipse at 88% 40%, rgba(45, 114, 192, 0.28), transparent 34rem),
    linear-gradient(160deg, #17162c 0%, #27203f 52%, #171a35 100%);
}

.storybook-frame {
  border-color: #211b36;
  background-color: #faf8ff;
  box-shadow: 0 14px 0 rgba(13, 12, 27, 0.3), 0 24px 48px rgba(13, 12, 27, 0.28);
}

header {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(211, 205, 244, 0.58), transparent 36%),
    linear-gradient(180deg, #fff 0%, #f7f5ff 100%) !important;
  border-bottom-color: rgba(33, 27, 54, 0.12);
}

header nav[aria-label="Main navigation"] {
  border-color: rgba(79, 63, 117, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

header nav[aria-label="Main navigation"] .nav-pill:hover,
header nav[aria-label="Main navigation"] .nav-pill.active {
  border-color: rgba(76, 57, 118, 0.55);
  box-shadow: 0 2px 0 rgba(76, 57, 118, 0.16);
}

header nav[aria-label="Main navigation"] .nav-pill.active,
.pill-pink {
  background-color: #eadcf8;
}

.pill-lavender {
  background-color: #dedbfa;
}

.pill-peach {
  background-color: #f5e8c9;
}

.pill-cyan {
  background-color: #d7edff;
}

.pill-mint {
  background-color: #e4e6f8;
}

.mobile-nav-menu summary {
  background: #e1dcf7;
  color: #34284e;
}

.mobile-nav-menu summary:hover,
.mobile-nav-menu[open] summary {
  background: #d4c9f0;
}

.mobile-nav-links {
  background: #fbfaff;
  box-shadow: 0 5px 0 #211b36, 0 14px 24px rgba(33, 27, 54, 0.18);
}

.hero-display-title {
  color: #7455b1;
  text-shadow:
    -3px -3px 0 #fbfaff,
     3px -3px 0 #fbfaff,
    -3px  3px 0 #fbfaff,
     3px  3px 0 #fbfaff,
     0px  5px 0 #382958,
     0px  8px 15px rgba(33, 27, 54, 0.2);
}

#inicio > section:first-child {
  background: linear-gradient(145deg, #e9e9ff 0%, #e5edff 52%, #eee4fb 100%);
}

#inicio > section:first-child .hero-trust-stat {
  border-color: rgba(49, 42, 78, 0.76);
  box-shadow: 0 3px 0 rgba(49, 42, 78, 0.12);
}

#inicio > section:first-child .hero-trust-stat:nth-child(1) > p:first-child {
  color: #347edb;
}

#inicio > section:first-child .hero-trust-stat:nth-child(2) > p:first-child {
  color: #7450a8;
}

#inicio > section:first-child .hero-trust-stat:nth-child(3) > p:first-child {
  color: #b88a35;
}

#inicio .hero-cta:first-child {
  background-color: #4c76d7 !important;
}

#inicio .hero-cta:first-child:hover {
  background-color: #3e65c0 !important;
}

#inicio .hero-cta:last-child {
  background-color: #e6e1f7 !important;
}

#inicio .hero-cta:last-child:hover {
  background-color: #d8d0f0 !important;
}

#servicios {
  border-color: #211b36;
  background: linear-gradient(155deg, #f1edfc 0%, #e8edff 100%);
}

#servicios .section-heading {
  color: #594082;
}

#servicios .service-card {
  --service-border: rgba(75, 61, 115, 0.18);
  --service-shadow: rgba(43, 36, 78, 0.1);
}

#servicios .service-card-pink {
  --service-accent: #6951a4;
  --service-badge: #f4efff;
  background: linear-gradient(135deg, #fffaff 0%, #f0eaff 100%);
}

#servicios .service-card-green {
  --service-accent: #347edb;
  --service-badge: #eff6ff;
  background: linear-gradient(135deg, #fbfdff 0%, #e5f0ff 100%);
}

#servicios .service-card-purple {
  --service-accent: #7450a8;
  --service-badge: #f5efff;
  background: linear-gradient(135deg, #fffaff 0%, #eee7fb 100%);
}

#servicios .service-card-orange {
  --service-accent: #a77a2d;
  --service-badge: #fff9e9;
  background: linear-gradient(135deg, #fffdf7 0%, #f8efd9 100%);
}

#servicios .service-card-pink h3,
#servicios .service-card-green h3,
#servicios .service-card-purple h3,
#servicios .service-card-orange h3 {
  color: var(--service-accent) !important;
}

#cotizador {
  background-color: #fbf9ff;
}

.calculator-layout {
  --outline-dark: #211b36;
}

.calculator-layout[data-service="mesos"] {
  --calc-bg: #f0ecfb;
  --calc-surface: rgba(255, 255, 255, 0.94);
  --calc-surface-soft: #f8f6ff;
  --calc-border: #d9d0ed;
  --calc-accent: #4c76d7;
  --calc-accent-soft: #e2eaff;
  --calc-shadow: rgba(76, 64, 130, 0.12);
  --mesos-bg: var(--calc-bg);
  --mesos-surface: var(--calc-surface);
  --mesos-surface-strong: #e7e0f6;
  --mesos-border: var(--calc-border);
  --mesos-text: #29233d;
  --mesos-muted: #5a5270;
  --mesos-accent: var(--calc-accent);
  --mesos-accent-soft: #dce7ff;
}

.calculator-layout[data-service="leveling"] {
  --calc-bg: #eee9fa;
  --calc-surface: rgba(255, 255, 255, 0.94);
  --calc-surface-soft: #f8f6ff;
  --calc-border: #d8cdec;
  --calc-accent: #7450a8;
  --calc-accent-soft: #e9def8;
  --calc-shadow: rgba(88, 62, 139, 0.12);
}

.calculator-layout[data-service="bossing"] {
  --calc-bg: #e9edff;
  --calc-surface: rgba(255, 255, 255, 0.94);
  --calc-surface-soft: #f6f7ff;
  --calc-border: #d0d8f2;
  --calc-accent: #4f62b6;
  --calc-accent-soft: #dfe6ff;
  --calc-shadow: rgba(61, 74, 145, 0.12);
}

.calculator-service-tabs .calc-tab-btn[data-tab="mesos"] {
  --tab-bg: #f2effb;
  --tab-active-bg: #e2eaff;
  --tab-accent: #4c76d7;
}

.calculator-service-tabs .calc-tab-btn[data-tab="leveling"] {
  --tab-bg: #f5f1fc;
  --tab-active-bg: #e9def8;
  --tab-accent: #7450a8;
}

.calculator-service-tabs .calc-tab-btn[data-tab="bossing"] {
  --tab-bg: #f1f3ff;
  --tab-active-bg: #dfe6ff;
  --tab-accent: #4f62b6;
}

.calculator-service-tabs .calc-tab-btn.active-tab {
  color: #29233d;
}

.calculator-options-panel[data-service="mesos"] .mesos-slider-card {
  background: linear-gradient(145deg, #fff 0%, #f5f3ff 100%);
}

.mesos-slider-card input[type="range"].maple-slider {
  background: #dce7ff;
}

.mesos-slider-card input[type="range"].maple-slider::-webkit-slider-thumb {
  background: #8ca9f0;
}

.mesos-slider-card input[type="range"].maple-slider::-moz-range-thumb {
  background: #8ca9f0;
}

#panel-mesos .mesos-promo-copy {
  color: #565170 !important;
}

.mesos-slider-card input[type="range"].maple-slider::-webkit-slider-thumb:hover {
  background: #6f91e5;
}

#cotizador .order-submit-button {
  border-color: rgba(76, 99, 190, 0.36);
  background-color: #4f62b6;
  box-shadow: 0 3px 9px rgba(61, 74, 145, 0.2);
}

#cotizador .order-submit-button:hover:not(:disabled) {
  background-color: #40539f;
  box-shadow: 0 5px 12px rgba(61, 74, 145, 0.24);
}

#cotizador .order-submit-button:focus-visible {
  outline-color: #4f62b6;
}

#como-funciona {
  border-color: #211b36;
  background: linear-gradient(145deg, #e8edff 0%, #eee7fb 100%);
}

#como-funciona .section-heading {
  color: #526aa9;
}

#como-funciona .service-card-green {
  --service-accent: #4c76d7;
  --service-border: #d0d8f2;
  --service-shadow: rgba(61, 74, 145, 0.12);
  background: linear-gradient(135deg, #f8faff 0%, #e5edff 100%);
}

#como-funciona .service-card-pink {
  --service-accent: #7450a8;
  --service-border: #d8cdec;
  --service-shadow: rgba(88, 62, 139, 0.12);
  background: linear-gradient(135deg, #fffaff 0%, #eee7fb 100%);
}

#como-funciona .how-step-connect {
  border-color: #d8c9a5;
  background: linear-gradient(145deg, #fffaf0 0%, #f7efd9 100%);
}

#como-funciona .how-step-connect h3 {
  color: #9c722a;
}

#resenas {
  border-color: #211b36;
  background: linear-gradient(155deg, #f0ecfb 0%, #e6ebff 100%);
}

#resenas .section-heading {
  color: #594082;
}

#resenas .text-center.mb-8 > p {
  border-color: rgba(91, 73, 143, 0.2);
  background: rgba(255, 255, 255, 0.84);
  color: #514968;
}

#resenas .text-center.mb-8 > p::before {
  color: #7450a8;
}

.rv-card {
  border-color: rgba(56, 48, 91, 0.16);
  box-shadow: 0 5px 0 #d5cdec, 0 16px 28px rgba(33, 27, 54, 0.1);
}

.rv-card::after {
  color: rgba(87, 67, 144, 0.12);
}

.rv-card:hover {
  box-shadow: 0 8px 0 #c9bee6, 0 20px 32px rgba(33, 27, 54, 0.14);
}

.rv-avatar {
  background: #e4e8fb;
  box-shadow: 0 0 0 1.5px rgba(78, 96, 173, 0.32), 0 3px 8px rgba(33, 27, 54, 0.12);
}

.rv-stars {
  border-color: rgba(184, 138, 53, 0.24);
  background: #fff7df;
  color: #a77a2d;
}

.rv-foot {
  color: #594082;
}

.rv-foot span {
  border-color: rgba(116, 80, 168, 0.18);
  background: #f2edfc;
}

footer#contacto {
  background-color: #f6f3fc;
}

footer#contacto h4 {
  color: #594082;
}

.storybook-frame > div:last-child {
  border-color: #211b36;
  background-color: #514082;
}
