:root {
  --ink: #241b20;
  --ink-soft: #62535c;
  --plum: #5d3f50;
  --plum-dark: #392832;
  --plum-deep: #271c22;
  --rose: #caa3ad;
  --rose-soft: #f2e7e9;
  --cream: #fbf8f4;
  --sand: #e7d9ca;
  --sage: #85968c;
  --white: #ffffff;
  --line: rgba(51, 33, 43, 0.12);
  --shadow-sm: 0 10px 30px rgba(52, 34, 44, 0.08);
  --shadow-md: 0 24px 70px rgba(48, 30, 40, 0.14);
  --shadow-lg: 0 36px 100px rgba(35, 20, 29, 0.22);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: 1200px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section-pad { padding: 120px 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 9999; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 14px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  padding: 8px 0;
  background: rgba(251, 248, 244, .9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(46, 29, 39, .08);
}
.header-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px 6px 16px 6px;
  color: #fff;
  background: linear-gradient(145deg, #76586a, #4b3341);
  box-shadow: 0 10px 26px rgba(85, 53, 70, .2);
  transform: rotate(-4deg);
}
.brand-mark::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px 4px 12px 4px; }
.brand-mark span { font-family: var(--serif); font-size: 26px; font-style: italic; transform: rotate(4deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.4px; }
.brand-copy small { margin-top: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: 1.35px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a { position: relative; color: #4b3d45; font-size: 14px; font-weight: 650; }
.main-nav > a:not(.button):not(.nav-login)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px; background: var(--plum); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-login { padding-left: 24px; border-left: 1px solid var(--line); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg { width: 19px; height: 19px; }
.button-small { min-height: 42px; padding: 0 18px; border-radius: 13px; color: #fff !important; background: var(--plum); box-shadow: 0 10px 28px rgba(91, 61, 78, .18); }
.button-primary { color: #fff; background: linear-gradient(135deg, #68495a, #4b3240); box-shadow: 0 16px 38px rgba(86, 53, 70, .24); }
.button-primary:hover { box-shadow: 0 20px 46px rgba(86, 53, 70, .3); }
.button-ghost { border-color: rgba(63, 42, 53, .16); background: rgba(255,255,255,.66); backdrop-filter: blur(10px); }
.button-full { width: 100%; }
.button-outline-light { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.06); }

.hero {
  position: relative;
  min-height: 840px;
  padding-top: 154px;
  padding-bottom: 86px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(248,243,238,.96), rgba(251,248,244,.78) 62%, #fbf8f4),
    radial-gradient(circle at 16% 15%, rgba(207,170,178,.28), transparent 38%);
  isolation: isolate;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .24; background-image: radial-gradient(rgba(88,57,73,.18) .7px, transparent .7px); background-size: 20px 20px; mask-image: linear-gradient(to right, #000, transparent 55%); }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 58px; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); opacity: .55; }
.hero-glow-one { width: 320px; height: 320px; left: -150px; top: 190px; background: rgba(222,193,182,.58); }
.hero-glow-two { width: 380px; height: 380px; right: -170px; bottom: 30px; background: rgba(194,158,173,.34); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--plum); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: #eadde2; }
.hero h1, .section-heading h2, .showcase-copy h2, .experience-copy h2, .control-copy h2, .faq-intro h2, .demo-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2.2px;
}
.hero h1 { max-width: 670px; font-size: clamp(50px, 5.1vw, 78px); }
.hero h1 em, .split-heading h2 em { color: var(--plum); font-weight: 500; }
.hero-lead { max-width: 620px; margin: 26px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: #4f4148; font-size: 12.5px; font-weight: 650; }
.hero-checks span { display: inline-flex; align-items: center; gap: 7px; }
.hero-checks i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--sage); font-size: 11px; font-style: normal; }
.hero-visual { position: relative; min-height: 610px; }
.hero-photo-wrap { position: absolute; inset: 0 0 38px 72px; overflow: hidden; border-radius: 48px 20px 48px 20px; box-shadow: var(--shadow-lg); }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.hero-photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,20,28,.02), rgba(35,20,28,.2)); }
.app-window { position: absolute; z-index: 4; left: -30px; right: 52px; bottom: -6px; overflow: hidden; border: 1px solid rgba(255,255,255,.64); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 28px 80px rgba(41,25,34,.28); backdrop-filter: blur(16px); transform: perspective(1500px) rotateY(-3deg) rotateX(1.5deg); transform-origin: bottom center; }
.app-topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 43px; padding: 0 14px; border-bottom: 1px solid #ece6e9; background: #fbfafb; font-size: 9px; }
.app-topbar > strong { font-size: 9.5px; }
.app-dots { display: flex; gap: 5px; }
.app-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d9c8cf; }
.live-pill { justify-self: end; display: inline-flex; align-items: center; gap: 5px; color: #587162; font-size: 8px; font-weight: 700; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #6d957d; box-shadow: 0 0 0 3px rgba(109,149,125,.13); }
.app-layout { display: grid; grid-template-columns: 48px 1fr; min-height: 285px; }
.mini-sidebar { padding: 10px 9px; background: #3c2934; }
.mini-logo { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 17px; border-radius: 9px; color: #fff; background: #745364; font-family: var(--serif); font-size: 11px; }
.mini-sidebar > span { display: block; width: 26px; height: 26px; margin: 7px 0; border-radius: 8px; background: rgba(255,255,255,.07); }
.mini-sidebar > span.active { background: rgba(255,255,255,.18); }
.app-content { padding: 16px 16px 15px; background: #f8f6f7; }
.mini-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.mini-heading div { display: flex; flex-direction: column; }
.mini-heading small { color: #8b7e85; font-size: 7px; }
.mini-heading strong { margin-top: 2px; font-size: 12px; }
.mini-heading button { padding: 7px 10px; border: 0; border-radius: 8px; color: #fff; background: #644557; font-size: 7px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stats article { padding: 10px; border: 1px solid #ede6ea; border-radius: 11px; background: #fff; }
.mini-stats span, .mini-stats small { display: block; color: #8a7d84; font-size: 6px; }
.mini-stats strong { display: block; margin: 4px 0 2px; font-size: 16px; line-height: 1; }
.mini-panels { display: grid; grid-template-columns: 1.5fr .8fr; gap: 8px; margin-top: 8px; }
.mini-panels article { min-width: 0; padding: 10px; border: 1px solid #ede6ea; border-radius: 11px; background: #fff; }
.mini-panel-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; font-size: 7px; }
.mini-panel-title span { color: #93878d; }
.appointment-row { display: grid; grid-template-columns: 29px 5px 1fr auto; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid #f1ecee; font-size: 6px; }
.appointment-row time { color: #776a71; }
.appointment-row i { width: 5px; height: 24px; border-radius: 4px; background: #a78696; }
.appointment-row div { display: flex; flex-direction: column; min-width: 0; }
.appointment-row strong { overflow: hidden; font-size: 6.7px; text-overflow: ellipsis; white-space: nowrap; }
.appointment-row small { color: #958990; font-size: 5.6px; }
.appointment-row b { padding: 3px 4px; border-radius: 4px; color: #557563; background: #e8f1eb; font-size: 5px; }
.appointment-row b.pending { color: #966f3b; background: #f7eddd; }
.chart-bars { display: flex; align-items: end; gap: 5px; height: 86px; padding-top: 8px; }
.chart-bars span { flex: 1; height: var(--h); min-height: 8px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #b18c9e, #614255); }
.floating-card { position: absolute; z-index: 7; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.78); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 18px 42px rgba(45,28,38,.18); backdrop-filter: blur(14px); animation: float 4.5s ease-in-out infinite; }
.floating-card-left { left: -52px; top: 104px; }
.floating-card-right { right: -30px; top: 218px; animation-delay: -1.5s; }
.floating-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: #789181; font-weight: 900; }
.floating-icon-warm { background: #b18b5e; }
.floating-card div { display: flex; flex-direction: column; line-height: 1.3; }
.floating-card strong { font-size: 10px; }
.floating-card small { color: #82747c; font-size: 8px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 13px; min-height: 105px; padding: 0 24px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid svg { width: 28px; height: 28px; color: var(--plum); }
.trust-grid span { display: flex; flex-direction: column; }
.trust-grid strong { font-size: 13px; }
.trust-grid small { color: var(--ink-soft); font-size: 10px; }

.section-heading { max-width: 760px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .showcase-copy h2, .experience-copy h2, .control-copy h2, .faq-intro h2, .demo-copy h2 { font-size: clamp(42px, 4.5vw, 64px); }
.section-heading p { max-width: 690px; margin: 24px auto 0; color: var(--ink-soft); font-size: 17px; }
.problem-section { background: #fff; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 58px; }
.problem-card { position: relative; min-height: 310px; padding: 32px 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(160deg, #fff, #fcf9fa); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.problem-card:hover { transform: translateY(-8px); border-color: rgba(93,63,80,.22); box-shadow: var(--shadow-md); }
.problem-number { position: absolute; top: 20px; right: 22px; color: rgba(79,51,65,.16); font-family: var(--serif); font-size: 48px; line-height: 1; }
.problem-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px 8px 18px 8px; color: var(--plum); background: var(--rose-soft); }
.problem-icon svg { width: 25px; height: 25px; }
.problem-card h3 { margin: 52px 0 12px; font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.1; }
.problem-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.showcase-section { position: relative; color: #fff; background: var(--plum-deep); overflow: hidden; }
.showcase-section::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -220px; border-radius: 50%; background: rgba(182,137,158,.14); filter: blur(8px); }
.showcase-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 72px; }
.showcase-visual { position: relative; padding: 20px 0 34px; }
.interface-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: #fff; box-shadow: 0 35px 90px rgba(0,0,0,.36); transform: perspective(1400px) rotateY(4deg); }
.interface-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid #ece6e9; color: #7e7178; background: #faf8f9; font-size: 8px; }
.interface-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #d8c6ce; }
.interface-bar strong { margin-left: auto; margin-right: auto; color: #41343b; font-size: 8px; }
.interface-body { display: grid; grid-template-columns: 100px 1fr; min-height: 410px; color: var(--ink); }
.interface-nav { padding: 15px 10px; background: #382832; }
.interface-brand { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 18px; border-radius: 13px; color: #fff; background: #725263; font-family: var(--serif); }
.interface-nav-item { display: flex; align-items: center; gap: 8px; margin: 6px 0; padding: 9px 8px; border-radius: 8px; color: rgba(255,255,255,.6); font-size: 7px; }
.interface-nav-item i { width: 12px; height: 12px; border-radius: 4px; background: currentColor; opacity: .35; }
.interface-nav-item.active { color: #fff; background: rgba(255,255,255,.12); }
.calendar-screen { padding: 20px 18px; background: #f8f6f7; }
.calendar-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.calendar-head div:first-child { display: flex; flex-direction: column; }
.calendar-head small { color: #8a7c84; font-size: 7px; }
.calendar-head strong { font-size: 15px; }
.calendar-actions { display: flex; align-items: center; gap: 7px; }
.calendar-actions span, .calendar-actions b { padding: 7px 10px; border-radius: 8px; font-size: 6px; }
.calendar-actions span { color: #665860; background: #fff; }
.calendar-actions b { color: #fff; background: #644557; }
.calendar-weekdays { display: grid; grid-template-columns: repeat(5, 1fr); margin-left: 38px; border: 1px solid #ece7e9; border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; }
.calendar-weekdays span { padding: 9px 4px; border-right: 1px solid #ece7e9; color: #74666e; text-align: center; font-size: 6px; }
.calendar-weekdays span:last-child { border-right: 0; }
.calendar-weekdays .today { color: #fff; background: #735365; }
.calendar-grid { display: grid; grid-template-columns: 38px repeat(5, 1fr); height: 270px; border: 1px solid #ece7e9; border-radius: 0 0 10px 10px; background: #fff; overflow: hidden; }
.time-column { display: grid; grid-template-rows: repeat(7, 1fr); border-right: 1px solid #ece7e9; }
.time-column span { padding-top: 4px; color: #9a8d94; text-align: center; font-size: 5px; border-bottom: 1px solid #f1edef; }
.day-column { position: relative; border-right: 1px solid #ece7e9; background-image: linear-gradient(to bottom, transparent calc(100% / 7 - 1px), #f1edef calc(100% / 7)); background-size: 100% calc(100% / 7); }
.day-column:last-child { border-right: 0; }
.day-column.current { background-color: rgba(114,82,99,.025); }
.current-time { position: absolute; left: 0; right: 0; top: 38%; height: 1px; background: #b36681; }
.current-time::before { content: ""; position: absolute; left: -3px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #b36681; }
.calendar-event { position: absolute; top: var(--top); left: 6px; right: 6px; height: var(--height); padding: 6px; border-left: 3px solid; border-radius: 6px; overflow: hidden; font-size: 5px; }
.calendar-event strong, .calendar-event small, .calendar-event em { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar-event strong { font-size: 5.5px; }
.calendar-event small { opacity: .72; }
.calendar-event em { margin-top: 4px; font-size: 4.7px; font-style: normal; opacity: .72; }
.event-one { color: #665044; border-color: #b78f72; background: #f4eae2; }
.event-two { color: #47625b; border-color: #75988c; background: #e7f0ed; }
.event-three { color: #5e4d69; border-color: #9a7ca7; background: #eee7f1; }
.event-four { color: #674759; border-color: #ae778f; background: #f2e5eb; }
.event-five { color: #665f45; border-color: #a89a63; background: #f2efdf; }
.showcase-badge { position: absolute; left: -28px; bottom: 0; display: flex; align-items: center; gap: 12px; max-width: 250px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(84,59,72,.88); box-shadow: 0 20px 45px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.showcase-badge span { font-family: var(--serif); font-size: 32px; }
.showcase-badge small { color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.4; }
.showcase-copy > p { margin: 25px 0 0; color: rgba(255,255,255,.68); font-size: 16px; }
.feature-list { display: grid; gap: 20px; margin-top: 34px; }
.feature-list article { display: grid; grid-template-columns: 34px 1fr; gap: 13px; }
.feature-list article > span { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 3px; border-radius: 50%; color: #30222a; background: #d9bec9; }
.feature-list svg { width: 15px; height: 15px; stroke-width: 2.5; }
.feature-list h3 { margin: 0 0 4px; font-size: 15px; }
.feature-list p { margin: 0; color: rgba(255,255,255,.57); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; color: var(--plum); font-size: 14px; font-weight: 800; }
.showcase-copy .text-link { color: #eadbe2; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.modules-section { background: #f6f0ed; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; max-width: none; }
.split-heading p { margin: 0 0 8px; }
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 58px; }
.module-card { position: relative; min-height: 240px; padding: 27px; overflow: hidden; border: 1px solid rgba(85,58,72,.1); border-radius: 22px; background: rgba(255,255,255,.8); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.module-card:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-md); }
.module-card.module-featured { grid-column: span 2; min-height: 330px; background: #fff; }
.module-card.module-dark { color: #fff; background: var(--plum-dark); }
.module-top { display: flex; align-items: center; justify-content: space-between; }
.module-top small { color: #8a7d84; font-size: 10px; font-weight: 750; letter-spacing: 1px; text-transform: uppercase; }
.module-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 15px; color: var(--plum); background: var(--rose-soft); }
.module-icon svg { width: 23px; height: 23px; }
.module-dark .module-icon { color: #fff; background: rgba(255,255,255,.1); }
.module-card h3 { margin: 34px 0 10px; font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.1; }
.module-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.module-dark p { color: rgba(255,255,255,.62); }
.module-featured h3 { margin-top: 26px; font-size: 32px; }
.module-featured p { max-width: 48%; }
.agenda-preview { position: absolute; right: 24px; bottom: 0; width: 44%; height: 190px; border: 1px solid #e9e1e5; border-radius: 18px 18px 0 0; background: #faf8f9; box-shadow: 0 20px 45px rgba(65,42,54,.12); }
.agenda-preview::before { content: ""; position: absolute; inset: 35px 12px 12px; background: repeating-linear-gradient(to bottom, transparent 0 23px, #eee8eb 23px 24px), repeating-linear-gradient(to right, transparent 0 48px, #eee8eb 48px 49px); }
.agenda-preview > span { position: relative; z-index: 1; display: inline-block; width: 29px; height: 6px; margin: 15px 2px 0; border-radius: 3px; background: #ded3d8; }
.agenda-preview > span:first-child { margin-left: 13px; width: 48px; background: #755466; }
.agenda-preview i, .agenda-preview b { position: absolute; z-index: 2; border-left: 3px solid; border-radius: 6px; }
.agenda-preview i { left: 65px; top: 70px; width: 75px; height: 48px; border-color: #9b7c8b; background: #eadfe4; }
.agenda-preview b { right: 28px; top: 103px; width: 88px; height: 56px; border-color: #7d9588; background: #e3ece7; }
.cash-pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 29px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.05); font-size: 10px; }
.cash-pill i { width: 7px; height: 7px; border-radius: 50%; background: #87a08f; box-shadow: 0 0 0 4px rgba(135,160,143,.12); }

.experience-section { color: #fff; background: #4b3441; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 690px; }
.experience-image { position: relative; min-height: 690px; overflow: hidden; }
.experience-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(75,52,65,.45)); }
.experience-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.experience-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(40px, 7vw, 110px); }
.experience-copy > p { margin: 25px 0 0; color: rgba(255,255,255,.68); font-size: 16px; }
.experience-points { display: grid; gap: 16px; margin-top: 36px; }
.experience-points article { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.13); }
.experience-points article > span { color: #d7bac6; font-family: var(--serif); font-size: 22px; }
.experience-points h3 { margin: 0 0 3px; font-size: 14px; }
.experience-points p { margin: 0; color: rgba(255,255,255,.57); font-size: 12px; }

.workflow-section { position: relative; background: #fff; }
.workflow-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 70px; }
.workflow-line { position: absolute; left: 15%; right: 15%; margin-top: 111px; border-top: 1px dashed rgba(91,61,78,.22); }
.workflow-card { position: relative; text-align: center; }
.workflow-card > span { position: absolute; top: -7px; right: calc(50% - 43px); display: grid; place-items: center; width: 22px; height: 22px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--plum); font-size: 9px; font-weight: 800; }
.workflow-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border: 1px solid rgba(91,61,78,.12); border-radius: 24px 9px 24px 9px; color: var(--plum); background: var(--rose-soft); box-shadow: 0 14px 34px rgba(88,57,73,.1); }
.workflow-icon svg { width: 30px; height: 30px; }
.workflow-card h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 25px; }
.workflow-card p { max-width: 210px; margin: 0 auto; color: var(--ink-soft); font-size: 13px; }

.gallery-section { padding: 16px; background: var(--plum-deep); }
.gallery-grid { display: grid; grid-template-columns: .82fr 1.2fr .75fr; grid-template-rows: 330px 330px; gap: 16px; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 26px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-small { grid-column: span 2; }
.gallery-tall::after, .gallery-small::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(36,24,31,.78)); }
.gallery-tall figcaption { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 34px; color: #fff; }
.gallery-tall figcaption span { display: block; margin-bottom: 8px; color: #ead7df; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.gallery-tall figcaption strong { display: block; max-width: 310px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.15; }
.gallery-small img { object-position: center 42%; }
.gallery-quote { position: absolute; z-index: 2; right: 34px; bottom: 27px; display: flex; align-items: start; gap: 12px; max-width: 360px; color: #fff; }
.gallery-quote span { color: #e8ccd8; font-family: var(--serif); font-size: 54px; line-height: .8; }
.gallery-quote p { margin: 0; font-family: var(--serif); font-size: 25px; line-height: 1.2; }

.control-section { background: #f7f1ee; }
.control-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 90px; }
.control-copy > p { max-width: 560px; margin: 24px 0 0; color: var(--ink-soft); font-size: 16px; }
.control-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 34px; }
.control-list > div { display: flex; align-items: center; gap: 10px; }
.control-list span { color: var(--sage); }
.control-list svg { width: 22px; height: 22px; }
.control-list strong { font-size: 12.5px; }
.control-visual { position: relative; padding: 30px 0 35px 45px; }
.control-visual::before { content: ""; position: absolute; inset: 0 28px 0 0; border-radius: 40px 18px 40px 18px; background: #ddc9cf; transform: rotate(3deg); }
.team-panel { position: relative; z-index: 2; padding: 26px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-lg); }
.team-panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 19px; border-bottom: 1px solid #eee7ea; }
.team-panel-head div { display: flex; flex-direction: column; }
.team-panel-head small { color: #8b7e85; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.team-panel-head strong { margin-top: 3px; font-family: var(--serif); font-size: 23px; }
.team-panel-head button { padding: 9px 12px; border: 0; border-radius: 10px; color: #fff; background: var(--plum); font-size: 10px; }
.team-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid #f0eaed; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; font-size: 11px; font-weight: 800; }
.avatar-one { background: #745365; }.avatar-two { background: #85978d; }.avatar-three { background: #b08d73; }
.team-row div { display: flex; flex-direction: column; }
.team-row strong { font-size: 12px; }
.team-row small { color: #93868d; font-size: 9px; }
.team-row b { padding: 5px 8px; border-radius: 8px; color: #5f7c6b; background: #edf4ef; font-size: 8px; }
.team-summary { display: flex; justify-content: space-between; align-items: center; padding-top: 17px; color: #80737a; font-size: 9px; }
.team-summary span { display: inline-flex; align-items: center; gap: 7px; }
.team-summary i { width: 7px; height: 7px; border-radius: 50%; background: #71907e; box-shadow: 0 0 0 4px rgba(113,144,126,.12); }
.security-card { position: absolute; z-index: 4; right: -23px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-md); }
.security-card svg { width: 28px; height: 28px; color: var(--plum); }
.security-card div { display: flex; flex-direction: column; }
.security-card strong { font-size: 11px; }
.security-card small { color: #8d8087; font-size: 8px; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 130px; }
.faq-intro > p { margin: 22px 0 0; color: var(--ink-soft); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0; list-style: none; cursor: pointer; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 1px; background: var(--plum); transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 670px; margin: -7px 50px 24px 0; color: var(--ink-soft); font-size: 14px; }

.demo-section { position: relative; padding: 110px 0; overflow: hidden; color: #fff; background: #3c2934; }
.demo-background { position: absolute; inset: 0; opacity: .16; background: linear-gradient(90deg, #3c2934 0 44%, rgba(60,41,52,.76)), url("images/spa-stones.webp") center/cover no-repeat; }
.demo-section::before { content: ""; position: absolute; width: 550px; height: 550px; left: -230px; bottom: -330px; border-radius: 50%; background: rgba(204,160,178,.16); }
.demo-grid { position: relative; display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 100px; }
.demo-copy > p { max-width: 520px; margin: 25px 0 0; color: rgba(255,255,255,.65); font-size: 16px; }
.demo-benefits { display: grid; gap: 12px; margin-top: 30px; }
.demo-benefits span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); font-size: 13px; }
.demo-benefits i { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #392631; background: #dec5cf; font-size: 11px; font-style: normal; font-weight: 900; }
.demo-form { padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; color: var(--ink); background: rgba(255,255,255,.96); box-shadow: 0 30px 90px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.form-heading { margin-bottom: 23px; }
.form-heading small { color: var(--plum); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.form-heading h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 600; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.demo-form label { display: block; margin-bottom: 13px; }
.demo-form label > span { display: block; margin-bottom: 6px; color: #594b53; font-size: 10px; font-weight: 750; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; border: 1px solid #e4dadd; border-radius: 12px; outline: none; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.demo-form input, .demo-form select { height: 47px; padding: 0 13px; }
.demo-form textarea { padding: 12px 13px; resize: vertical; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { border-color: #9d7488; box-shadow: 0 0 0 4px rgba(157,116,136,.11); }
.demo-form ::placeholder { color: #aaa0a5; }
.form-note { margin: 12px 0 0; color: #8d8087; font-size: 9px; text-align: center; }
.form-status { min-height: 1px; margin-top: 8px; color: var(--plum); font-size: 10px; text-align: center; }

.site-footer { padding: 70px 0 24px; color: rgba(255,255,255,.73); background: #241a20; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .7fr .95fr; gap: 55px; padding-bottom: 54px; }
.brand-light .brand-copy strong { color: #fff; }
.brand-light .brand-copy small { color: rgba(255,255,255,.45); }
.footer-brand p { max-width: 360px; margin: 20px 0 0; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong, .footer-cta strong { margin-bottom: 8px; color: #fff; font-size: 12px; }
.footer-links a { color: rgba(255,255,255,.48); font-size: 11px; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; }
.footer-cta strong { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.25; }
.footer-cta .button { margin-top: 17px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.35); font-size: 9px; }
.footer-bottom a:hover { color: #fff; }
.floating-demo { position: fixed; z-index: 900; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 16px; color: #fff; background: rgba(76,51,64,.92); box-shadow: 0 16px 40px rgba(49,30,40,.28); backdrop-filter: blur(14px); font-size: 11px; font-weight: 800; transition: transform .2s ease, opacity .2s ease; }
.floating-demo:hover { transform: translateY(-3px); }
.floating-demo svg { width: 21px; height: 21px; }
.floating-demo.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }.reveal-delay-2 { transition-delay: .2s; }.reveal-delay-3 { transition-delay: .3s; }

@media (max-width: 1120px) {
  .main-nav { gap: 18px; }
  .main-nav > a { font-size: 12px; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; gap: 30px; }
  .hero-visual { min-height: 560px; }
  .floating-card-right { right: -5px; }
  .floating-card-left { left: -15px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { gap: 45px; }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .module-featured { grid-column: span 2; }
  .gallery-grid { grid-template-columns: .9fr 1.1fr .75fr; }
  .control-grid { gap: 55px; }
  .faq-grid { gap: 60px; }
  .demo-grid { gap: 55px; }
}

@media (max-width: 920px) {
  .section-pad { padding: 90px 0; }
  .site-header { padding: 10px 0; }
  .nav-toggle { display: block; position: relative; z-index: 1002; }
  .main-nav { position: fixed; inset: 0; z-index: 1001; display: flex; flex-direction: column; justify-content: center; gap: 23px; padding: 100px 30px 40px; background: rgba(248,243,239,.98); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(-15px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease; }
  .main-nav > a { font-family: var(--serif); font-size: 26px; }
  .main-nav .button { font-family: var(--sans); font-size: 14px; }
  .nav-login { padding-left: 0; border-left: 0; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 760px; }
  .hero-visual { min-height: 650px; margin-top: 15px; }
  .hero-photo-wrap { left: 15%; }
  .app-window { left: 2%; right: 12%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-grid > div:first-child, .trust-grid > div { padding: 0 20px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-copy { max-width: 720px; }
  .interface-shell { transform: none; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-image { min-height: 540px; }
  .experience-image::after { background: linear-gradient(180deg, transparent 70%, rgba(75,52,65,.45)); }
  .workflow-line { display: none; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 520px 300px 380px; }
  .gallery-tall { grid-column: span 1; grid-row: span 2; }
  .gallery-wide { grid-column: span 1; }
  .gallery-small { grid-column: 1 / -1; }
  .control-grid { grid-template-columns: 1fr; }
  .control-copy { max-width: 760px; }
  .control-visual { max-width: 690px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; max-width: 650px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-copy { max-width: 700px; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .7fr; }
  .footer-cta { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section-pad { padding: 72px 0; }
  .brand-copy small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { padding-top: 112px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(43px, 13vw, 58px); letter-spacing: -1.6px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-checks { display: grid; }
  .hero-visual { min-height: 515px; }
  .hero-photo-wrap { inset: 0 0 85px 7%; border-radius: 34px 14px 34px 14px; }
  .app-window { left: 0; right: 2%; bottom: 0; transform: none; }
  .app-layout { grid-template-columns: 36px 1fr; min-height: 245px; }
  .mini-sidebar { padding: 8px 5px; }
  .mini-logo { width: 25px; height: 25px; }
  .mini-sidebar > span { width: 24px; height: 23px; }
  .app-content { padding: 12px 10px; }
  .mini-stats { gap: 5px; }
  .mini-stats article { padding: 7px; }
  .mini-stats article:nth-child(3) { display: none; }
  .mini-stats { grid-template-columns: repeat(2,1fr); }
  .mini-panels { grid-template-columns: 1fr; }
  .mini-chart { display: none; }
  .floating-card { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div, .trust-grid > div:nth-child(2) { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section-heading h2, .showcase-copy h2, .experience-copy h2, .control-copy h2, .faq-intro h2, .demo-copy h2 { font-size: 41px; letter-spacing: -1.3px; }
  .section-heading p { font-size: 15px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: auto; }
  .showcase-grid { gap: 55px; }
  .showcase-visual { margin-inline: -9px; }
  .interface-body { grid-template-columns: 58px 1fr; min-height: 330px; }
  .interface-nav { padding: 12px 6px; }
  .interface-brand { width: 34px; height: 34px; }
  .interface-nav-item { justify-content: center; padding: 8px 5px; }
  .interface-nav-item span { display: none; }
  .calendar-screen { padding: 14px 10px; }
  .calendar-actions span { display: none; }
  .calendar-weekdays { margin-left: 31px; }
  .calendar-grid { grid-template-columns: 31px repeat(5,1fr); height: 220px; }
  .calendar-event { left: 3px; right: 3px; padding: 4px; }
  .calendar-event small, .calendar-event em { display: none; }
  .showcase-badge { left: 8px; }
  .modules-grid { grid-template-columns: 1fr; }
  .module-card.module-featured { grid-column: span 1; min-height: 390px; }
  .module-featured p { max-width: 100%; }
  .agenda-preview { right: 17px; left: 17px; width: auto; height: 165px; }
  .experience-image { min-height: 430px; }
  .experience-copy { padding: 65px 22px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .gallery-section { padding: 9px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: 520px 270px 430px; gap: 9px; }
  .gallery-tall, .gallery-wide, .gallery-small { grid-column: span 1; grid-row: span 1; }
  .gallery-tall figcaption { left: 22px; right: 22px; bottom: 24px; }
  .gallery-tall figcaption strong { font-size: 26px; }
  .gallery-quote { left: 22px; right: 22px; bottom: 23px; }
  .control-grid { gap: 40px; }
  .control-list { grid-template-columns: 1fr; }
  .control-visual { padding-left: 0; }
  .team-panel { padding: 20px 16px; }
  .security-card { right: -4px; }
  .faq-list summary { font-size: 18px; }
  .demo-section { padding: 75px 0; }
  .demo-form { padding: 25px 18px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand, .footer-cta { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; gap: 15px; flex-direction: column; }
  .floating-demo { right: 14px; bottom: 14px; width: 50px; padding: 0; justify-content: center; border-radius: 16px; }
  .floating-demo span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   V2 · PANEL INTERACTIVO / ANIMACIÓN DE PRESENTACIÓN
   ========================================================= */
.panel-stage {
  --panel-rotate-x: 8deg;
  --panel-rotate-y: 6deg;
  --panel-translate-y: 92px;
  --panel-scale: .88;
  --panel-opacity: .35;
  isolation: isolate;
  perspective: 1500px;
}
.panel-stage::before,
.panel-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}
.panel-stage::before {
  width: 280px;
  height: 280px;
  left: -65px;
  top: -50px;
  background: radial-gradient(circle, rgba(202,163,173,.20), transparent 69%);
}
.panel-stage::after {
  width: 220px;
  height: 220px;
  right: -45px;
  bottom: -55px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
}
.panel-stage .interface-shell {
  position: relative;
  will-change: transform, opacity;
  opacity: var(--panel-opacity);
  transform:
    perspective(1500px)
    translate3d(0, var(--panel-translate-y), 0)
    rotateX(var(--panel-rotate-x))
    rotateY(var(--panel-rotate-y))
    scale(var(--panel-scale));
  transform-origin: 50% 72%;
  transition: box-shadow .35s ease, border-color .35s ease;
  outline: none;
}
.panel-stage .interface-shell:hover,
.panel-stage .interface-shell:focus-visible {
  border-color: rgba(235,211,221,.54);
  box-shadow: 0 44px 120px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.08);
}
.panel-stage .interface-shell::before {
  content: "";
  position: absolute;
  z-index: 20;
  inset: -45% auto -45% -36%;
  width: 28%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform: skewX(-16deg) translateX(-220%);
}
.panel-stage.panel-active .interface-shell::before {
  animation: panelShine 1.45s .42s cubic-bezier(.2,.7,.2,1) both;
}
.panel-stage.panel-active .interface-bar > span {
  animation: windowDot 2.2s ease-in-out infinite;
}
.panel-stage.panel-active .interface-bar > span:nth-child(2) { animation-delay: .14s; }
.panel-stage.panel-active .interface-bar > span:nth-child(3) { animation-delay: .28s; }
.panel-stage.panel-active .calendar-event:not(.event-new) {
  animation: eventArrival .72s var(--event-delay, 0s) cubic-bezier(.16,.82,.28,1.08) both;
}
.calendar-create {
  appearance: none;
  border: 0;
  color: #fff;
  background: #644557;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.calendar-create:hover,
.calendar-create:focus-visible {
  transform: translateY(-1px);
  background: #745365;
  box-shadow: 0 7px 16px rgba(73,43,59,.22);
  outline: none;
}
.calendar-create.is-created { background: #718c7b; }
.calendar-event {
  cursor: pointer;
  transform-origin: left center;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, opacity .28s ease;
  outline: none;
}
.calendar-event:hover,
.calendar-event:focus-visible,
.calendar-event.is-selected {
  z-index: 8;
  transform: translate3d(3px,-2px,18px) scale(1.075);
  box-shadow: 0 10px 22px rgba(47,29,39,.20);
  filter: saturate(1.08);
}
.calendar-event.is-selected::after {
  content: "Seleccionada";
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 4px;
  border-radius: 4px;
  color: #fff;
  background: rgba(55,37,47,.72);
  font-size: 4px;
  font-style: normal;
  letter-spacing: .2px;
}
.event-new {
  color: #475e55;
  border-color: #719080;
  background: #e4eee9;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.9);
}
.event-new.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: newEvent .7s cubic-bezier(.16,.82,.28,1.08) both;
}
.current-time { animation: currentLine 3.6s ease-in-out infinite; }
.showcase-badge {
  will-change: transform;
  transition: transform .18s ease-out, box-shadow .25s ease;
}
.panel-stage:hover .showcase-badge { box-shadow: 0 25px 58px rgba(0,0,0,.30); }
.panel-hint {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: .2px;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.panel-hint i {
  width: 10px;
  height: 15px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 6px;
}
.panel-hint i::after {
  content: "";
  display: block;
  width: 2px;
  height: 3px;
  margin: 3px auto 0;
  border-radius: 2px;
  background: rgba(255,255,255,.65);
  animation: hintScroll 1.55s ease-in-out infinite;
}
.panel-stage.has-interacted .panel-hint { opacity: 0; transform: translateY(6px); }
.panel-ripple {
  position: absolute;
  z-index: 30;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 1px solid rgba(101,69,87,.26);
  border-radius: 50%;
  background: rgba(202,163,173,.12);
  pointer-events: none;
  animation: panelRipple .75s ease-out forwards;
}
@keyframes panelShine {
  0% { opacity: 0; transform: skewX(-16deg) translateX(-220%); }
  24% { opacity: .75; }
  100% { opacity: 0; transform: skewX(-16deg) translateX(690%); }
}
@keyframes eventArrival {
  0% { opacity: 0; transform: translateY(18px) scale(.84); }
  72% { opacity: 1; transform: translateY(-2px) scale(1.025); }
  100% { opacity: 1; transform: none; }
}
@keyframes newEvent {
  0% { opacity: 0; transform: translateY(16px) scale(.8); }
  68% { opacity: 1; transform: translateY(-2px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes windowDot { 0%,100% { opacity: .62; transform: scale(1); } 50% { opacity: 1; transform: scale(1.28); } }
@keyframes currentLine { 0%,100% { opacity: .72; } 50% { opacity: 1; box-shadow: 0 0 8px rgba(179,102,129,.42); } }
@keyframes hintScroll { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(4px); } }
@keyframes panelRipple { from { opacity: .75; transform: scale(.2); } to { opacity: 0; transform: scale(12); } }

@media (max-width: 920px) {
  .panel-stage .interface-shell {
    transform: translate3d(0, var(--panel-translate-y), 0) scale(var(--panel-scale));
  }
  .panel-hint { display: none; }
}
@media (max-width: 640px) {
  .panel-stage { --panel-translate-y: 48px; }
  .calendar-event:hover,
  .calendar-event:focus-visible,
  .calendar-event.is-selected { transform: translateY(-1px) scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .panel-stage .interface-shell { opacity: 1 !important; transform: none !important; }
  .panel-stage .interface-shell::before,
  .panel-stage.panel-active .calendar-event,
  .current-time,
  .panel-hint i::after,
  .interface-bar > span { animation: none !important; }
}


/* =========================================================
   Manager Spa Landing v3 · Paleta fiel al software + diseño recto
   ========================================================= */
:root {
  --ink: #241b20;
  --ink-soft: #74656d;
  --plum: #67495a;
  --plum-dark: #3b2934;
  --plum-deep: #2a1e25;
  --rose: #ad8799;
  --rose-soft: #f0e7eb;
  --cream: #f8f4f6;
  --sand: #e8dfe3;
  --sage: #789080;
  --white: #ffffff;
  --line: #e4dce0;
  --software-bg: #f7f2f4;
  --software-panel: #ffffff;
  --software-sidebar: #3b2934;
  --software-primary: #67495a;
  --software-primary-soft: #ad8799;
  --software-text: #241b20;
  --software-muted: #8a7b83;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
}

body {
  background: var(--software-bg);
}

/* Componentes rectos: el lenguaje visual del software. */
.button,
.button-small,
.nav-toggle,
.hero-photo-wrap,
.app-window,
.floating-card,
.problem-card,
.problem-icon,
.interface-shell,
.interface-brand,
.interface-nav-item,
.calendar-actions span,
.calendar-actions button,
.calendar-weekdays,
.calendar-grid,
.calendar-event,
.showcase-badge,
.module-card,
.module-icon,
.agenda-preview,
.cash-pill,
.workflow-icon,
.gallery-grid figure,
.team-panel,
.team-panel-head button,
.avatar,
.team-row b,
.security-card,
.demo-form,
.demo-form input,
.demo-form select,
.demo-form textarea,
.floating-demo,
.faq-list summary span,
.brand-mark,
.brand-mark::after {
  border-radius: 2px !important;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  letter-spacing: .15px;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  transform: translateX(-105%);
  transition: transform .32s ease;
}
.button:hover::before { transform: translateX(0); }
.button-primary,
.button-small {
  background: var(--software-primary);
  box-shadow: 8px 8px 0 rgba(59,41,52,.12);
}
.button-primary:hover,
.button-small:hover { box-shadow: 4px 4px 0 rgba(59,41,52,.18); }

.site-header.scrolled {
  background: rgba(248,244,246,.94);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.brand-mark {
  background: var(--software-primary);
  transform: none;
  box-shadow: 6px 6px 0 rgba(59,41,52,.13);
}
.brand-mark span { transform: none; }

.hero {
  background:
    linear-gradient(90deg, rgba(59,41,52,.055) 1px, transparent 1px),
    linear-gradient(180deg, #fbf8fa 0%, var(--software-bg) 100%);
  background-size: 36px 36px, auto;
}
.hero::before { display: none; }
.hero h1 em { color: var(--software-primary); }
.hero-copy { position: relative; }
.hero-copy::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 4px;
  height: 118px;
  background: var(--software-primary);
}
.eyebrow > span { width: 44px; height: 3px; }
.hero-checks i,
.feature-list article > span,
.demo-benefits i { border-radius: 2px; }
.hero-photo-wrap {
  inset: 8px -18px 66px 132px;
  border: 1px solid rgba(59,41,52,.18);
  box-shadow: 20px 20px 0 rgba(59,41,52,.08);
}
.hero-photo-overlay { background: linear-gradient(90deg, rgba(59,41,52,.18), rgba(59,41,52,.02)); }

/* Panel principal interactivo. */
.app-window-interactive {
  left: -58px;
  right: 0;
  bottom: 4px;
  border: 1px solid #dcd2d7;
  background: var(--software-panel);
  box-shadow: 20px 26px 60px rgba(43,29,37,.25);
  transform: perspective(1500px) rotateY(-2deg) rotateX(1deg);
}
.app-window-interactive::after {
  content: "INTERACTIVO";
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 5px 9px;
  color: #fff;
  background: var(--software-primary);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.app-topbar {
  min-height: 46px;
  border-bottom-color: var(--line);
  background: #fbf9fa;
}
.app-dots span { background: #d8c7cf; }
.app-layout { grid-template-columns: 114px 1fr; min-height: 342px; }
.mini-sidebar-interactive {
  padding: 12px 9px;
  background: var(--software-sidebar);
}
.mini-sidebar-interactive .mini-logo {
  width: 38px;
  height: 38px;
  margin: 0 0 13px 4px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 2px;
  background: #765669;
  font-size: 12px;
}
.mini-nav-button {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin: 3px 0;
  padding: 0 8px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  color: rgba(255,255,255,.58);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.mini-nav-button svg { width: 15px; height: 15px; }
.mini-nav-button span { font-size: 7.5px; font-weight: 720; }
.mini-nav-button > i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #c5a3b2;
}
.mini-nav-button:hover,
.mini-nav-button:focus-visible {
  color: #fff;
  outline: none;
  background: rgba(255,255,255,.08);
}
.mini-nav-button.active {
  color: #fff;
  border-left-color: #c5a3b2;
  background: rgba(255,255,255,.12);
}
.mini-nav-button.active > i { animation: dashboardNavProgress 5.2s linear both; }
.app-content { position: relative; padding: 18px 18px 24px; background: var(--software-bg); }
.dashboard-screen {
  transition: opacity .16s ease, transform .16s ease;
}
.dashboard-screen.is-changing { opacity: .18; transform: translateY(5px); }
.mini-heading { margin-bottom: 15px; }
.mini-heading small { color: var(--software-muted); font-size: 7px; letter-spacing: .35px; text-transform: uppercase; }
.mini-heading strong { color: var(--software-text); font-size: 14px; }
.mini-primary-action {
  min-width: 88px;
  padding: 9px 11px !important;
  border-radius: 0 !important;
  background: var(--software-primary) !important;
  cursor: pointer;
}
.mini-stats { gap: 9px; }
.mini-stats article,
.mini-panels article,
.dashboard-card,
.dashboard-table,
.dashboard-alert,
.dashboard-patient,
.dashboard-timeline {
  border: 1px solid var(--line);
  border-radius: 0 !important;
  background: #fff;
}
.mini-stats article { position: relative; min-height: 70px; padding: 11px 12px; }
.mini-stats article::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 4px;
  height: calc(100% + 2px);
  background: #b18b9d;
}
.mini-stats strong { color: var(--software-text); font-size: 17px; }
.mini-panels { grid-template-columns: 1.62fr .9fr; gap: 9px; }
.mini-panels article { min-height: 148px; padding: 11px; }
.app-window .appointment-row { grid-template-columns: 27px 5px 1fr auto; min-height: 34px; }
.app-window .appointment-row i { border-radius: 0; background: #ad8799; }
.app-window .appointment-row b { border-radius: 0; }
.chart-bars span { border-radius: 0; background: linear-gradient(180deg, #b58fa1, #67495a); }
.dashboard-guide {
  position: absolute;
  left: 18px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8b7c84;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: .2px;
}
.dashboard-guide span { width: 18px; height: 2px; background: #ad8799; animation: dashboardGuide 1.8s ease-in-out infinite; }

.dashboard-body { min-height: 148px; }
.dashboard-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 9px; }
.dashboard-card { padding: 11px; min-width: 0; }
.dashboard-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dashboard-card-head strong { font-size: 7.5px; }
.dashboard-card-head span { color: var(--software-muted); font-size: 6px; }
.dashboard-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  margin-bottom: 8px;
  padding: 0 8px;
  border: 1px solid var(--line);
  color: #9a8c93;
  background: #faf8f9;
  font-size: 6px;
}
.dashboard-search svg { width: 10px; height: 10px; }
.dashboard-list { display: grid; gap: 5px; }
.dashboard-list-row,
.dashboard-transaction,
.dashboard-stock-row,
.dashboard-history-row {
  display: grid;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 0;
  border-bottom: 1px solid #eee8eb;
}
.dashboard-list-row:last-child,
.dashboard-transaction:last-child,
.dashboard-stock-row:last-child,
.dashboard-history-row:last-child { border-bottom: 0; }
.dashboard-list-row { grid-template-columns: 24px 1fr auto; }
.dashboard-avatar {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #fff;
  background: #816274;
  font-size: 6px;
  font-weight: 800;
}
.dashboard-list-row strong,
.dashboard-transaction strong,
.dashboard-stock-row strong,
.dashboard-history-row strong { display: block; font-size: 6.5px; }
.dashboard-list-row small,
.dashboard-transaction small,
.dashboard-stock-row small,
.dashboard-history-row small { display: block; color: var(--software-muted); font-size: 5.5px; }
.dashboard-status {
  padding: 3px 5px;
  color: #577363;
  background: #e9f0eb;
  font-size: 5px;
  font-weight: 800;
}
.dashboard-status.warning { color: #8d681e; background: #f6eedc; }
.dashboard-status.danger { color: #9b4d56; background: #f5e5e8; }
.dashboard-patient { padding: 11px; }
.dashboard-patient .patient-monogram {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--software-primary);
  font: 700 12px Georgia, serif;
}
.dashboard-patient h4 { margin: 0; font-size: 8px; }
.dashboard-patient p { margin: 2px 0 8px; color: var(--software-muted); font-size: 5.5px; }
.patient-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.patient-meta span { padding: 5px; background: #f6f1f3; font-size: 5.5px; }
.dashboard-progress { margin-top: 9px; }
.dashboard-progress span { display: flex; justify-content: space-between; color: var(--software-muted); font-size: 5.5px; }
.dashboard-progress i { display: block; height: 5px; margin-top: 4px; background: #ece4e8; }
.dashboard-progress i::after { content: ""; display: block; width: var(--progress,70%); height: 100%; background: #ad8799; }
.dashboard-history-row { grid-template-columns: 28px 1fr auto; }
.dashboard-date { color: #67495a; font-size: 5.5px; font-weight: 850; }
.dashboard-history-row em { color: #789080; font-size: 5px; font-style: normal; font-weight: 800; }
.dashboard-money-chart { display: flex; align-items: end; gap: 5px; height: 80px; padding-top: 10px; }
.dashboard-money-chart span { flex: 1; height: var(--h); background: #ad8799; }
.dashboard-money-chart span:nth-child(even) { background: #67495a; }
.dashboard-transaction { grid-template-columns: 1fr auto; }
.dashboard-transaction b { color: #577363; font-size: 6px; }
.dashboard-transaction b.out { color: #9b4d56; }
.dashboard-stock-row { grid-template-columns: 1fr 72px auto; }
.stock-meter { height: 5px; background: #eee8eb; }
.stock-meter i { display: block; width: var(--stock); height: 100%; background: #789080; }
.stock-meter.warning i { background: #b48b3b; }
.stock-meter.danger i { background: #a85a64; }
.dashboard-alert { display: grid; grid-template-columns: 26px 1fr; gap: 7px; padding: 8px; margin-bottom: 6px; }
.dashboard-alert > span { display: grid; place-items: center; width: 25px; height: 25px; color: #fff; background: #b48b3b; font-size: 8px; font-weight: 900; }
.dashboard-alert.danger > span { background: #a85a64; }
.dashboard-alert strong { display: block; font-size: 6.5px; }
.dashboard-alert small { display: block; color: var(--software-muted); font-size: 5.5px; }

@keyframes dashboardNavProgress { from { width: 0; } to { width: 100%; } }
@keyframes dashboardGuide { 0%,100% { transform: scaleX(.45); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } }

/* Secciones con más carácter y menos tarjetas blandas. */
.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.problem-card,
.module-card,
.team-panel,
.demo-form {
  box-shadow: 10px 10px 0 rgba(59,41,52,.055);
}
.problem-card::after,
.module-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--software-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.problem-card:hover::after,
.module-card:hover::after { transform: scaleX(1); }
.problem-card:hover,
.module-card:hover { transform: translate(-3px,-3px); box-shadow: 13px 13px 0 rgba(59,41,52,.1); }
.showcase-section { background: var(--software-sidebar); }
.interface-shell { border-color: #604b57; }
.interface-nav { background: var(--software-sidebar); }
.interface-nav-item {
  width: 100%;
  border: 0;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
}
.interface-nav-item:hover,
.interface-nav-item.active { border-left-color: #c5a3b2; background: rgba(255,255,255,.12); color: #fff; }
.calendar-actions button { border-radius: 0 !important; }
.modules-section { background: linear-gradient(180deg, #fbf8fa, #f3ecef); }
.module-dark { background: var(--software-sidebar); }
.gallery-section { background: var(--software-sidebar); }
.control-section { background: #fbf8fa; }
.demo-section { background: var(--software-sidebar); }
.demo-background { background: linear-gradient(90deg, rgba(59,41,52,.96) 0 44%, rgba(59,41,52,.82)), url("images/spa-stones.webp") center/cover no-repeat; }
.site-footer { background: #241b20; }

@media (max-width: 1080px) {
  .app-window-interactive { left: -20px; right: 0; }
  .app-layout { grid-template-columns: 100px 1fr; }
  .mini-nav-button { grid-template-columns: 16px 1fr; gap: 6px; padding-inline: 6px; }
}

@media (max-width: 760px) {
  .hero-copy::before { left: -10px; height: 76px; }
  .hero-photo-wrap { inset: 0 0 190px 18%; }
  .app-window-interactive { left: 0; right: 0; bottom: 20px; transform: none; }
  .app-layout { display: block; min-height: 388px; }
  .mini-sidebar-interactive {
    display: grid;
    grid-template-columns: 38px repeat(5,1fr);
    align-items: center;
    gap: 2px;
    padding: 8px;
  }
  .mini-sidebar-interactive .mini-logo { margin: 0; width: 34px; height: 34px; }
  .mini-nav-button {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 2px;
    min-height: 36px;
    margin: 0;
    padding: 4px 2px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    text-align: center;
  }
  .mini-nav-button.active { border-left: 0; border-bottom-color: #c5a3b2; }
  .mini-nav-button span { font-size: 5.3px; }
  .mini-nav-button > i { left: 0; right: 0; bottom: -3px; }
  .app-content { padding: 12px 10px 21px; }
  .mini-stats article { padding: 8px; min-height: 62px; }
  .mini-stats strong { font-size: 14px; }
  .mini-panels,
  .dashboard-grid { grid-template-columns: 1.4fr .9fr; }
  .dashboard-guide { left: 10px; }
}

@media (max-width: 520px) {
  .mini-nav-button span { display: block; font-size: 4.7px; line-height: 1; }
  .mini-sidebar-interactive { grid-template-columns: 36px repeat(5,1fr); }
  .mini-nav-button svg { width: 14px; height: 14px; }
  .mini-panels,
  .dashboard-grid { grid-template-columns: 1fr; }
  .mini-chart,
  .dashboard-card.secondary { display: none; }
  .dashboard-stock-row { grid-template-columns: 1fr 60px auto; }
}

/* =========================================================
   Manager Spa Landing v4 · Paleta real del software (turquesa)
   ========================================================= */
:root {
  --ink: #104f54;
  --ink-soft: #5d7374;
  --plum: #1a6b6f;
  --plum-dark: #145d61;
  --plum-deep: #074f53;
  --rose: #79b9bc;
  --rose-soft: #e2f4f4;
  --cream: #f5fbfb;
  --sand: #d9ecec;
  --sage: #4d9d86;
  --white: #ffffff;
  --line: #d7e7e7;
  --software-bg: #eef8f8;
  --software-panel: #ffffff;
  --software-sidebar: #f8fcfc;
  --software-primary: #1a6b6f;
  --software-primary-dark: #0f5c60;
  --software-primary-soft: #83c2c5;
  --software-accent: #d9f1f2;
  --software-text: #0c565b;
  --software-muted: #668184;
  --shadow-sm: 0 10px 26px rgba(16, 79, 84, .08);
  --shadow-md: 0 22px 58px rgba(16, 79, 84, .13);
  --shadow-lg: 0 34px 90px rgba(7, 79, 83, .2);
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
}

body { color: var(--software-text); background: #f5fbfb; }
::selection { color: #fff; background: var(--software-primary); }

/* Bordes rectos, como el sistema real. */
.button,
.button-small,
.nav-toggle,
.brand-mark,
.brand-mark::after,
.hero-photo-wrap,
.app-window,
.floating-card,
.problem-card,
.problem-icon,
.interface-shell,
.interface-brand,
.interface-nav-item,
.calendar-actions span,
.calendar-actions button,
.calendar-weekdays,
.calendar-grid,
.calendar-event,
.showcase-badge,
.module-card,
.module-icon,
.agenda-preview,
.cash-pill,
.workflow-icon,
.gallery-grid figure,
.team-panel,
.team-panel-head button,
.avatar,
.team-row b,
.security-card,
.demo-form,
.demo-form input,
.demo-form select,
.demo-form textarea,
.floating-demo,
.faq-list details,
.faq-list summary span,
.trust-grid > div,
.dashboard-status,
.dashboard-alert,
.dashboard-alert > span,
.dashboard-search,
.patient-meta span,
.stock-meter,
.dashboard-progress i {
  border-radius: 4px !important;
}

.site-header.scrolled {
  background: rgba(245, 251, 251, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(15, 92, 96, .06);
}
.brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #2c8589, #145f63);
  box-shadow: 6px 6px 0 rgba(26, 107, 111, .13);
}
.brand-copy strong { color: var(--software-text); }
.brand-copy small,
.main-nav > a { color: #4f6d70; }
.main-nav > a:not(.button):not(.nav-login)::after { background: var(--software-primary); }

.button-primary,
.button-small {
  color: #fff !important;
  background: linear-gradient(135deg, #1f7b7f, #125e62);
  box-shadow: 7px 7px 0 rgba(15, 92, 96, .13);
}
.button-primary:hover,
.button-small:hover { box-shadow: 3px 3px 0 rgba(15, 92, 96, .18); }
.button-ghost { color: var(--software-primary-dark); border-color: #bfd9da; background: rgba(255,255,255,.8); }

.hero {
  background:
    linear-gradient(90deg, rgba(26,107,111,.055) 1px, transparent 1px),
    linear-gradient(180deg, #f8fdfd 0%, #edf8f8 100%);
  background-size: 36px 36px, auto;
}
.hero-glow-one { background: rgba(151, 217, 218, .45); }
.hero-glow-two { background: rgba(95, 177, 181, .27); }
.hero-copy::before { background: var(--software-primary); }
.eyebrow { color: var(--software-primary); }
.hero h1 { color: #123f43; }
.hero h1 em,
.split-heading h2 em { color: var(--software-primary); }
.hero-lead,
.hero-checks { color: #587174; }
.hero-checks i,
.feature-list article > span,
.demo-benefits i { background: #4b9e86; }
.hero-photo-wrap {
  border: 1px solid #bcd9da;
  box-shadow: 20px 20px 0 rgba(26, 107, 111, .08);
}
.hero-photo-overlay { background: linear-gradient(90deg, rgba(7,79,83,.2), rgba(7,79,83,.02)); }

/* Demostración principal fiel al panel actual. */
.app-window-interactive {
  border-color: #c9dddd;
  background: #fff;
  box-shadow: 20px 26px 60px rgba(7, 79, 83, .22);
}
.app-window-interactive::after { background: var(--software-primary); }
.app-topbar {
  color: #315e61;
  border-bottom-color: var(--line);
  background: #fbfefe;
}
.app-dots span { background: #c8dddd; }
.live-pill { color: #3f866f; }
.live-pill i { background: #42a77e; box-shadow: 0 0 0 3px rgba(66,167,126,.13); }
.app-layout { grid-template-columns: 128px 1fr; min-height: 350px; }
.mini-sidebar-interactive {
  padding: 12px 9px;
  border-right: 1px solid #d8e9e9;
  background: #f9fdfd;
}
.mini-sidebar-interactive .mini-logo {
  color: #fff;
  border-color: rgba(26,107,111,.12);
  background: var(--software-primary);
}
.mini-nav-button {
  min-height: 42px;
  border: 0;
  border-left: 0;
  color: #5c787a;
  background: transparent;
}
.mini-nav-button svg { color: #659397; }
.mini-nav-button > i { background: rgba(255,255,255,.82); }
.mini-nav-button:hover,
.mini-nav-button:focus-visible {
  color: var(--software-primary-dark);
  background: #e4f3f3;
}
.mini-nav-button.active {
  color: #fff;
  border-left-color: transparent;
  background: linear-gradient(135deg, #237d81, #17686c);
  box-shadow: 0 8px 18px rgba(26,107,111,.16);
}
.mini-nav-button.active svg { color: #fff; }
.app-content { background: #eff9f9; }
.mini-heading strong { color: var(--software-text); }
.mini-primary-action {
  color: #fff;
  background: var(--software-primary) !important;
  box-shadow: 4px 4px 0 rgba(26,107,111,.12);
}
.mini-primary-action.is-created { background: #3d987d !important; }
.mini-stats { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
.mini-stats article,
.mini-panels article,
.dashboard-card,
.dashboard-table,
.dashboard-alert,
.dashboard-patient,
.dashboard-timeline {
  border-color: #d7e7e7;
  background: #fff;
  box-shadow: 0 7px 18px rgba(26,107,111,.045);
}
.mini-stats article::before { background: #82b9a4; }
.mini-stats span,
.mini-stats small,
.mini-panel-title span,
.dashboard-card-head span { color: #789092; }
.mini-stats strong { color: var(--software-text); }
.app-window .appointment-row { border-top-color: #e7f0f0; }
.app-window .appointment-row i { background: #55a0a3; }
.app-window .appointment-row b { color: #2f7d62; background: #e4f3eb; }
.app-window .appointment-row b.pending { color: #996821; background: #fff0d9; }
.chart-bars span { background: linear-gradient(180deg, #7dbfc2, #1a6b6f); }
.dashboard-guide { color: #58797c; }
.dashboard-guide span { background: var(--software-primary); }
.dashboard-search { color: #769092; border-color: #d8e8e8; background: #f5fbfb; }
.dashboard-list-row,
.dashboard-transaction,
.dashboard-stock-row,
.dashboard-history-row { border-bottom-color: #e4eeee; }
.dashboard-avatar,
.dashboard-patient .patient-monogram { background: var(--software-primary); }
.patient-meta span { color: #486d70; background: #eaf6f6; }
.dashboard-progress i,
.stock-meter { background: #e1eeee; }
.dashboard-progress i::after { background: #65aeb1; }
.dashboard-date { color: var(--software-primary); }
.dashboard-history-row em { color: #438b73; }
.dashboard-money-chart span { background: #7dbfc2; }
.dashboard-money-chart span:nth-child(even) { background: #1a6b6f; }
.stock-meter i { background: #4d9d86; }

.dashboard-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  margin-top: 8px;
}
.dashboard-area-grid article {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid #d8e8e8;
  background: #fff;
  box-shadow: 0 7px 18px rgba(26,107,111,.045);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.dashboard-area-grid article:hover {
  transform: translateY(-2px);
  border-color: #82bfc1;
  background: #f7fcfc;
}
.dashboard-area-grid article > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--software-primary);
  border: 1px solid #b8dcdc;
  background: #dcf1f2;
  font-size: 6px;
  font-weight: 900;
}
.dashboard-area-grid strong,
.dashboard-area-grid small { display: block; }
.dashboard-area-grid strong { color: #175e62; font-size: 7px; }
.dashboard-area-grid small { margin-top: 2px; color: #738d8f; font-size: 5.5px; }

.floating-card {
  border-color: #cfe2e2;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(7,79,83,.16);
}
.floating-icon { background: #4c9d84; }
.floating-icon-warm { background: #df9a32; }
.floating-card strong { color: #174f53; }
.floating-card small { color: #6c8587; }

.trust-strip { border-color: var(--line); background: #fff; }
.trust-grid > div { border-right-color: var(--line); }
.trust-grid svg { color: var(--software-primary); }
.trust-grid strong { color: #174f53; }

.problem-section { background: #f8fcfc; }
.problem-card,
.module-card,
.team-panel,
.demo-form { box-shadow: 10px 10px 0 rgba(26,107,111,.055); }
.problem-card,
.module-card { border-color: #d8e8e8; background: #fff; }
.problem-card::after,
.module-card::after { background: var(--software-primary); }
.problem-card:hover,
.module-card:hover {
  border-color: #8fc4c6;
  box-shadow: 13px 13px 0 rgba(26,107,111,.10);
}
.problem-number { color: rgba(26,107,111,.13); }
.problem-icon,
.module-icon { color: var(--software-primary); background: #dcf1f2; }
.problem-card h3,
.module-card h3 { color: #12585c; }

.showcase-section,
.gallery-section,
.demo-section { background: linear-gradient(145deg, #0d5c60, #07484c); }
.showcase-section::before { background: rgba(128, 211, 214, .16); }
.interface-shell { border-color: #9bcacc; box-shadow: 0 35px 90px rgba(3,48,51,.35); }
.interface-bar { color: #668285; border-bottom-color: #dce9e9; background: #fbfefe; }
.interface-bar > span { background: #c8dddd; }
.interface-bar strong { color: #315e61; }
.interface-nav {
  border-right: 1px solid #d8e9e9;
  background: #f8fcfc;
}
.interface-brand { color: #fff; background: var(--software-primary); }
.interface-nav-item { color: #648184; }
.interface-nav-item i { background: #68a5a8; }
.interface-nav-item:hover,
.interface-nav-item.active {
  color: #fff;
  border-left-color: transparent;
  background: var(--software-primary);
}
.calendar-screen { background: #eff8f8; }
.calendar-head small { color: #6e8a8c; }
.calendar-head strong { color: #155c60; }
.calendar-actions span { color: #3e6a6d; background: #fff; }
.calendar-actions button { color: #fff; background: var(--software-primary); }
.calendar-weekdays,
.calendar-grid { border-color: #d8e7e7; }
.calendar-weekdays span { color: #5d7b7d; border-right-color: #e1eded; }
.calendar-weekdays .today { color: #fff; background: var(--software-primary); }
.calendar-grid { background: #fff; }
.time-column,
.day-column { border-color: #e2eded; }
.time-column span { color: #819799; border-bottom-color: #eaf1f1; }
.day-column { background-image: linear-gradient(to bottom, transparent calc(100% / 7 - 1px), #eaf1f1 calc(100% / 7)); }
.day-column.current { background-color: rgba(26,107,111,.035); }
.current-time,
.current-time::before { background: #2aa3a7; }
.event-one { color: #77552d; border-color: #d0964a; background: #fff2df; }
.event-two { color: #2f7461; border-color: #67a98e; background: #e7f5ed; }
.event-three { color: #476780; border-color: #72a2bc; background: #eaf3f7; }
.event-four { color: #7c4c66; border-color: #b57998; background: #f6e9f0; }
.event-five { color: #716527; border-color: #b8a64a; background: #f8f5dd; }
.showcase-badge { background: rgba(10,84,88,.92); }
.panel-ripple { border-color: rgba(26,107,111,.35); background: rgba(121,185,188,.15); }

.modules-section,
.control-section { background: linear-gradient(180deg, #f8fcfc, #edf8f8); }
.module-dark { background: #0f5d61; }
.demo-background { background: linear-gradient(90deg, rgba(7,72,76,.96) 0 44%, rgba(7,72,76,.80)), url("images/spa-stones.webp") center/cover no-repeat; }
.demo-form input,
.demo-form select,
.demo-form textarea { border-color: #cfe1e1; }
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus { border-color: #67aaad; box-shadow: 0 0 0 3px rgba(103,170,173,.13); }
.faq-list details { border-color: #d7e7e7; background: #fff; }
.faq-list summary span { color: var(--software-primary); background: #e1f2f2; }
.site-footer { background: #063d41; }
.floating-demo { background: var(--software-primary); box-shadow: 0 18px 40px rgba(7,79,83,.28); }

@keyframes currentLine { 0%,100% { opacity: .72; } 50% { opacity: 1; box-shadow: 0 0 8px rgba(42,163,167,.42); } }

@media (max-width: 1080px) {
  .app-layout { grid-template-columns: 116px 1fr; }
}
@media (max-width: 760px) {
  .mini-sidebar-interactive {
    grid-template-columns: 38px repeat(6,1fr);
    border-right: 0;
    border-bottom: 1px solid #d8e9e9;
  }
  .mini-nav-button.active { border-bottom-color: #7fc1c4; }
  .dashboard-area-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .mini-sidebar-interactive { grid-template-columns: 34px repeat(6,1fr); }
  .mini-nav-button span { font-size: 4.25px; }
  .dashboard-area-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-area-grid article { grid-template-columns: 24px 1fr; min-height: 52px; padding: 7px; }
  .dashboard-area-grid article > span { width: 22px; height: 22px; }
}

/* =========================================================
   Manager Spa Landing v5 — full width, responsive y editorial
   ========================================================= */
:root {
  --shell: 1480px;
  --software-primary: #1a777b;
  --software-primary-dark: #0a555a;
  --software-deep: #083f44;
  --software-mint: #dff3f3;
  --software-mint-soft: #f3fbfb;
  --software-line: #cfe4e4;
  --software-ink: #123f43;
  --software-muted: #587579;
}

.shell {
  width: min(calc(100% - clamp(32px, 5vw, 96px)), var(--shell));
}
.shell-wide { --shell: 1600px; }
.section-pad { padding-block: clamp(78px, 8vw, 128px); }

/* Bordes más profesionales y menos redondeados. */
.button,
.button-small,
.nav-toggle,
.problem-card,
.module-card,
.team-panel,
.demo-form,
.faq-list details,
.app-window,
.interface-shell,
.hero-photo-wrap,
.gallery-grid figure {
  border-radius: 4px;
}
.brand-mark { border-radius: 3px; }
.brand-mark::after { border-radius: 1px; }

/* Hero: mejor uso del ancho y de la fotografía. */
.hero {
  min-height: clamp(760px, 92svh, 980px);
  padding-top: clamp(118px, 11vh, 166px);
  padding-bottom: clamp(64px, 8vh, 100px);
  background:
    linear-gradient(90deg, rgba(244,252,252,.98) 0 47%, rgba(244,252,252,.86) 60%, rgba(230,247,247,.66) 100%),
    linear-gradient(180deg, #f7fcfc, #eef9f9);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(26,119,123,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(26,119,123,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, #000 0 48%, transparent 82%);
}
.hero-grid {
  grid-template-columns: minmax(420px, .82fr) minmax(650px, 1.18fr);
  gap: clamp(48px, 5vw, 96px);
}
.hero-copy { align-self: center; max-width: 700px; }
.hero-copy::before { height: 116px; top: -10px; }
.hero h1 { max-width: 720px; font-size: clamp(54px, 5vw, 84px); line-height: .99; }
.hero-lead { max-width: 650px; font-size: clamp(16px, 1.25vw, 19px); }
.hero-visual { min-height: clamp(560px, 61vw, 700px); }
.hero-photo-wrap {
  inset: 0 0 72px 9%;
  border: 1px solid #a9ced0;
  background: #dfeeee;
  box-shadow: 22px 22px 0 rgba(26,119,123,.10), 0 34px 90px rgba(6,65,69,.16);
}
.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
  filter: saturate(.92) contrast(1.02) brightness(.98);
}
.hero-photo-overlay {
  background: linear-gradient(90deg, rgba(6,64,68,.22) 0, rgba(6,64,68,.03) 43%, rgba(255,255,255,.02));
}
.app-window {
  left: -4%;
  right: 4%;
  bottom: 0;
  max-height: 430px;
  transform: none;
  border: 1px solid #bedadb;
  box-shadow: 0 32px 80px rgba(7,79,83,.24);
}
.floating-card-left { left: -3%; top: 21%; }
.floating-card-right { right: 0; top: 44%; }

/* Sección experiencia: reemplaza el ciruela por una gama coherente con el software. */
.experience-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0b5b60 0%, #0a4b50 55%, #073b40 100%);
}
.experience-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 12%, rgba(119,207,209,.22), transparent 34%);
}
.experience-grid {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(520px, .92fr);
  min-height: clamp(650px, 48vw, 780px);
}
.experience-image { min-height: inherit; }
.experience-image::after {
  background: linear-gradient(90deg, transparent 55%, rgba(8,63,68,.68) 100%);
}
.experience-image img {
  object-position: 52% 47%;
  filter: saturate(.88) contrast(1.03) brightness(.92);
}
.experience-copy {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 7vw, 124px) clamp(48px, 7vw, 120px);
  background: linear-gradient(135deg, rgba(16,104,109,.20), rgba(4,47,52,.38));
}
.experience-copy h2 { max-width: 760px; font-size: clamp(43px, 4.2vw, 70px); }
.experience-copy > p { max-width: 680px; color: rgba(238,252,252,.78); font-size: clamp(15px, 1.15vw, 18px); }
.experience-points { gap: 0; margin-top: 42px; }
.experience-points article {
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(201,236,237,.22);
}
.experience-points article > span {
  color: #8ed3d5;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .08em;
}
.experience-points h3 { color: #fff; font-size: 16px; }
.experience-points p { color: rgba(235,250,250,.68); font-size: 13px; }

/* Flujo: tarjetas claras, conectadas y sin espacios muertos. */
.workflow-section {
  overflow: hidden;
  background: linear-gradient(180deg, #f8fdfd 0%, #ecf8f8 100%);
}
.workflow-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: end;
  gap: clamp(36px, 6vw, 110px);
  margin-bottom: clamp(44px, 5vw, 72px);
}
.workflow-heading h2 {
  max-width: 940px;
  margin: 0;
  color: var(--software-ink);
  font-family: var(--serif);
  font-size: clamp(44px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -2px;
}
.workflow-heading > p {
  max-width: 520px;
  margin: 0 0 7px;
  color: var(--software-muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}
.workflow-line { display: none; }
.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 0;
}
.workflow-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 41px;
  height: 2px;
  background: linear-gradient(90deg, #72babc, #1a777b);
  opacity: .45;
}
.workflow-card {
  position: relative;
  z-index: 1;
  min-height: 290px;
  padding: 28px 25px 26px;
  text-align: left;
  border: 1px solid var(--software-line);
  border-top: 4px solid var(--software-primary);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(13,91,96,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.workflow-card:hover {
  transform: translateY(-7px);
  border-color: #8bc4c6;
  box-shadow: 0 26px 60px rgba(13,91,96,.14);
}
.workflow-card > span {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 24px;
  margin-bottom: 22px;
  padding: 0 9px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: var(--software-primary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}
.workflow-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 23px;
  border: 1px solid #b9dddd;
  border-radius: 2px;
  color: var(--software-primary);
  background: #e1f3f3;
  box-shadow: none;
}
.workflow-icon svg { width: 25px; height: 25px; }
.workflow-copy small {
  display: block;
  margin-bottom: 5px;
  color: #5e9194;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.workflow-card h3 {
  margin: 0 0 9px;
  color: var(--software-ink);
  font-size: 28px;
}
.workflow-card p {
  max-width: none;
  margin: 0;
  color: var(--software-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Galería: fotografías más grandes, limpias y legibles. */
.gallery-section {
  padding: clamp(72px, 7vw, 112px) 0;
  background: #073f44;
}
.gallery-shell { display: grid; gap: clamp(34px, 4vw, 56px); }
.gallery-heading {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 40px;
  align-items: end;
}
.gallery-heading .eyebrow { align-self: start; margin: 0; color: #9ed9db; }
.gallery-heading h2 {
  max-width: 1050px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 66px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -1.8px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  grid-template-rows: minmax(290px, 27vw) minmax(290px, 27vw);
  gap: 14px;
}
.gallery-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(191,229,230,.26);
  background: #0b5459;
}
.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4,39,42,.02) 42%, rgba(4,39,42,.76) 100%);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}
.gallery-tall { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.gallery-wide { grid-column: 6 / -1; grid-row: 1; }
.gallery-treatment { grid-column: 6 / span 3; grid-row: 2; }
.gallery-detail { grid-column: 9 / -1; grid-row: 2; }
.gallery-tall img { object-position: center 55%; }
.gallery-wide img { object-position: center 54%; }
.gallery-treatment img { object-position: 52% 48%; }
.gallery-detail img { object-position: 55% 48%; }
.gallery-tall figcaption,
.gallery-caption-small {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 3vw, 46px);
  right: clamp(24px, 3vw, 46px);
  bottom: clamp(25px, 3vw, 44px);
  color: #fff;
}
.gallery-tall figcaption span,
.gallery-caption-small span {
  display: block;
  margin-bottom: 8px;
  color: #a9dfe0;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.gallery-tall figcaption strong {
  max-width: 390px;
  font-size: clamp(28px, 2.5vw, 42px);
}
.gallery-caption-small strong {
  display: block;
  max-width: 470px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 500;
  line-height: 1.1;
}
.gallery-quote {
  z-index: 2;
  left: clamp(22px, 2.4vw, 36px);
  right: clamp(22px, 2.4vw, 36px);
  bottom: clamp(22px, 2.4vw, 34px);
  max-width: none;
}
.gallery-quote span { color: #9ed9db; }
.gallery-quote p { font-size: clamp(20px, 1.8vw, 30px); }

/* Responsive amplio. */
@media (max-width: 1280px) {
  .hero-grid { grid-template-columns: .78fr 1.22fr; gap: 44px; }
  .hero h1 { font-size: clamp(50px, 5.2vw, 72px); }
  .hero-visual { min-height: 600px; }
  .app-window { left: -8%; right: 0; }
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .experience-copy { padding-inline: 58px; }
}

@media (max-width: 1024px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .hero {
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 82px;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 790px; }
  .hero h1 { max-width: 850px; font-size: clamp(54px, 8vw, 78px); }
  .hero-visual { width: min(100%, 900px); min-height: 650px; margin-inline: auto; }
  .hero-photo-wrap { inset: 0 4% 82px 8%; }
  .app-window { left: 0; right: 0; }
  .floating-card-left { left: 1%; }
  .floating-card-right { right: 1%; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-image { min-height: min(68vw, 620px); }
  .experience-image::after { background: linear-gradient(180deg, transparent 55%, rgba(8,63,68,.78)); }
  .experience-copy { padding: 70px clamp(36px, 7vw, 76px) 82px; }
  .workflow-heading { grid-template-columns: 1fr; gap: 24px; }
  .workflow-heading > p { max-width: 700px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workflow-grid::before { display: none; }
  .gallery-heading { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: 560px 330px 330px;
  }
  .gallery-tall { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-wide { grid-column: 2; grid-row: 1; }
  .gallery-treatment { grid-column: 2; grid-row: 2; }
  .gallery-detail { grid-column: 1 / -1; grid-row: 3; }
  .gallery-detail img { object-position: center 42%; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section-pad { padding-block: 76px; }
  .hero { padding-top: 104px; padding-bottom: 64px; }
  .hero::after { background-size: 28px 28px; mask-image: linear-gradient(180deg, #000 0 36%, transparent 72%); }
  .hero-copy::before { display: none; }
  .hero h1 { font-size: clamp(45px, 13vw, 64px); letter-spacing: -1.7px; }
  .hero-lead { margin-top: 21px; font-size: 16px; line-height: 1.65; }
  .hero-checks { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 570px; }
  .hero-photo-wrap { inset: 0 0 155px; }
  .hero-photo-wrap img { object-position: 55% 44%; }
  .app-window { left: -4px; right: -4px; bottom: 0; max-height: none; }
  .floating-card { display: none; }
  .experience-image { min-height: 420px; }
  .experience-image img { object-position: 55% center; }
  .experience-copy { padding: 58px 24px 68px; }
  .experience-copy h2 { font-size: 43px; letter-spacing: -1.3px; }
  .experience-points article { grid-template-columns: 48px 1fr; }
  .workflow-heading h2 { font-size: 43px; letter-spacing: -1.2px; }
  .workflow-grid { grid-template-columns: 1fr; gap: 12px; }
  .workflow-card { min-height: 0; display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; padding: 22px; }
  .workflow-card > span { grid-column: 1 / -1; justify-self: start; margin-bottom: 17px; }
  .workflow-icon { grid-column: 1; grid-row: 2; margin: 0; }
  .workflow-copy { grid-column: 2; grid-row: 2; }
  .gallery-section { padding-block: 68px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }
  .gallery-tall,
  .gallery-wide,
  .gallery-treatment,
  .gallery-detail {
    grid-column: 1;
    grid-row: auto;
  }
  .gallery-tall { aspect-ratio: 4 / 5; }
  .gallery-wide { aspect-ratio: 16 / 10; }
  .gallery-treatment { aspect-ratio: 4 / 5; }
  .gallery-detail { aspect-ratio: 4 / 5; }
  .gallery-wide img { object-position: 54% center; }
  .gallery-detail img { object-position: 58% center; }
}

@media (max-width: 520px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .hero h1 { font-size: clamp(40px, 13.5vw, 54px); }
  .hero-visual { min-height: 520px; }
  .hero-photo-wrap { bottom: 190px; }
  .app-window { transform: scale(.96); transform-origin: bottom center; width: 104.2%; }
  .experience-image { min-height: 350px; }
  .experience-copy h2,
  .workflow-heading h2,
  .gallery-heading h2 { font-size: 38px; }
  .workflow-card { grid-template-columns: 50px 1fr; padding: 20px 17px; }
  .workflow-icon { width: 50px; height: 50px; }
  .gallery-tall { aspect-ratio: 3 / 4; }
  .gallery-wide { aspect-ratio: 5 / 4; }
  .gallery-treatment,
  .gallery-detail { aspect-ratio: 3 / 4; }
}

/* Ajustes finales de navegación y legibilidad responsive. */
section[id] { scroll-margin-top: 78px; }
.workflow-copy,
.gallery-heading,
.experience-copy { min-width: 0; }
@media (max-width: 760px) {
  .floating-demo { display: none !important; }
  section[id] { scroll-margin-top: 62px; }
}

/* =========================================================
   Manager Spa Landing v6 — módulos compactos, relato editorial
   y flujo visual conectado
   ========================================================= */

/* MÓDULOS: menos altura, mejor jerarquía y contraste real. */
.modules-section {
  padding-block: clamp(72px, 7vw, 108px);
  background:
    linear-gradient(rgba(26,119,123,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,119,123,.045) 1px, transparent 1px),
    linear-gradient(180deg, #f7fcfc 0%, #edf8f8 100%);
  background-size: 42px 42px, 42px 42px, auto;
}
.modules-section .split-heading {
  align-items: end;
  gap: clamp(34px, 6vw, 92px);
}
.modules-section .split-heading h2 {
  max-width: 850px;
  font-size: clamp(40px, 4.15vw, 64px);
  line-height: 1.02;
}
.modules-section .split-heading > p {
  max-width: 470px;
  margin-bottom: 6px;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.7;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row dense;
  grid-auto-rows: minmax(164px, auto);
  gap: 14px;
  margin-top: clamp(38px, 4vw, 58px);
  counter-reset: module-counter;
}
.module-card,
.module-card.module-featured,
.module-card.module-wide {
  position: relative;
  min-height: 164px;
  padding: 22px;
  border: 1px solid #cfe4e4;
  border-radius: 3px;
  background: rgba(255,255,255,.94);
  box-shadow: 9px 9px 0 rgba(26,119,123,.075);
  overflow: hidden;
  counter-increment: module-counter;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.module-card::before {
  content: counter(module-counter, decimal-leading-zero);
  position: absolute;
  top: 17px;
  right: 18px;
  z-index: 2;
  color: #7e9b9d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}
.module-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: auto;
  height: 3px;
  background: var(--software-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.module-card:hover,
.module-card:focus-within {
  transform: translate(-3px, -3px);
  border-color: #94c7c9;
  background: #fff;
  box-shadow: 13px 13px 0 rgba(26,119,123,.12);
}
.module-card:hover::after,
.module-card:focus-within::after { transform: scaleX(1); }
.module-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #b9dcdc;
  border-radius: 2px;
  color: var(--software-primary);
  background: #ddf2f2;
}
.module-icon svg { width: 20px; height: 20px; }
.module-card h3,
.module-card.module-featured h3 {
  margin: 22px 0 8px;
  color: #0e555a;
  font-size: clamp(23px, 1.65vw, 29px);
  line-height: 1.06;
}
.module-card p,
.module-card.module-featured p {
  max-width: 100%;
  margin: 0;
  color: #5c7477;
  font-size: 13px;
  line-height: 1.55;
}
.module-card.module-featured {
  grid-column: span 2;
  min-height: 242px;
  padding: 24px 25px;
}
.module-featured .module-top { align-items: center; }
.module-featured .module-top small {
  padding-right: 34px;
  color: #6f8789;
  font-size: 9px;
  letter-spacing: .13em;
}
.module-featured h3 {
  max-width: 46%;
  margin-top: 25px;
  font-size: clamp(28px, 2vw, 34px);
}
.module-featured p { max-width: 45%; }
.agenda-preview {
  top: 66px;
  right: 18px;
  bottom: 18px;
  width: 47%;
  height: auto;
  border: 1px solid #d6e7e7;
  border-radius: 2px;
  background: #f9fdfd;
  box-shadow: none;
}
.agenda-preview::before {
  inset: 31px 10px 10px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 26px, #e5efef 26px 27px),
    repeating-linear-gradient(to right, transparent 0 50px, #e5efef 50px 51px);
}
.agenda-preview > span { background: #d6e4e4; }
.agenda-preview > span:first-child { background: var(--software-primary); }
.agenda-preview i {
  left: 20%;
  top: 38%;
  width: 28%;
  height: 30%;
  border-color: #58a1a4;
  background: #dff1f1;
}
.agenda-preview b {
  right: 9%;
  top: 55%;
  width: 31%;
  height: 30%;
  border-color: #70a98e;
  background: #e7f3eb;
}
.module-card.module-dark.module-cash {
  color: #fff;
  border-color: #176e72;
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), transparent 54%),
    linear-gradient(145deg, #176f73 0%, #0c555a 100%);
  box-shadow: 9px 9px 0 rgba(8,63,68,.14);
}
.module-card.module-dark.module-cash::before { color: rgba(255,255,255,.55); }
.module-card.module-dark.module-cash::after { background: #8fd5d7; }
.module-card.module-dark.module-cash .module-icon {
  color: #fff;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.11);
}
.module-card.module-dark.module-cash h3 { color: #fff; }
.module-card.module-dark.module-cash p { color: rgba(239,255,255,.82); }
.cash-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 2px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 9px;
  font-weight: 750;
}
.cash-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9de2c2;
  box-shadow: 0 0 0 4px rgba(157,226,194,.13);
}
.module-card.module-wide {
  grid-column: span 2;
  min-height: 142px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  padding-block: 20px;
}
.module-wide .module-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}
.module-wide h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0 38px 5px 0;
  font-size: 24px;
}
.module-wide p {
  grid-column: 2;
  grid-row: 2;
  max-width: 520px;
}

/* FRASE EDITORIAL: ocupa el ancho sin dejar media pantalla vacía. */
.gallery-section {
  padding-block: clamp(68px, 6.2vw, 102px);
  background:
    radial-gradient(circle at 86% 4%, rgba(123,207,209,.18), transparent 27%),
    linear-gradient(145deg, #0a555a 0%, #073f44 64%, #06373b 100%);
}
.gallery-shell { gap: clamp(34px, 4vw, 54px); }
.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .4fr);
  align-items: end;
  gap: clamp(44px, 7vw, 120px);
  padding: 0 clamp(0px, 1vw, 16px);
}
.gallery-heading-main { min-width: 0; }
.gallery-heading-main .eyebrow { margin-bottom: 20px; }
.gallery-heading h2 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(42px, 4.15vw, 70px);
  line-height: .99;
  letter-spacing: -2px;
}
.gallery-heading h2 em {
  display: block;
  color: #a9e0e1;
  font-style: italic;
  font-weight: 500;
}
.gallery-heading-aside {
  max-width: 370px;
  padding: 7px 0 7px 24px;
  border-left: 2px solid #6fbfc2;
}
.gallery-heading-aside span {
  display: block;
  margin-bottom: 10px;
  color: #8ed3d5;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gallery-heading-aside strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 500;
  line-height: 1.12;
}
.gallery-heading-aside p {
  margin: 13px 0 0;
  color: rgba(233,251,251,.68);
  font-size: 13px;
  line-height: 1.6;
}

/* FLUJO: un único panel conectado, más compacto e interactivo. */
.workflow-section.section-pad {
  padding-block: clamp(72px, 7vw, 108px);
  background:
    radial-gradient(circle at 9% 8%, rgba(101,184,187,.10), transparent 24%),
    linear-gradient(180deg, #f9fdfd 0%, #eef8f8 100%);
}
.workflow-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: end;
  gap: clamp(42px, 7vw, 118px);
  margin-bottom: clamp(34px, 4vw, 54px);
}
.workflow-heading h2 {
  max-width: 900px;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.01;
  letter-spacing: -1.8px;
}
.workflow-heading-aside {
  max-width: 520px;
  padding-bottom: 4px;
}
.workflow-heading-aside > p {
  margin: 0;
  color: var(--software-muted);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.7;
}
.workflow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.workflow-meta span {
  padding: 7px 10px;
  border: 1px solid #bddddd;
  border-radius: 2px;
  color: #266b6f;
  background: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border: 1px solid #cce2e2;
  border-top: 3px solid var(--software-primary);
  border-radius: 3px;
  background: rgba(255,255,255,.94);
  box-shadow: 14px 16px 0 rgba(26,119,123,.07), 0 22px 58px rgba(13,91,96,.08);
  overflow: hidden;
}
.workflow-grid::before { display: none; }
.workflow-card {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 17px;
  row-gap: 14px;
  padding: 24px 22px;
  text-align: left;
  border: 0;
  border-right: 1px solid #d8e8e8;
  background: transparent;
  box-shadow: none;
  cursor: default;
  outline: none;
  transition: background .24s ease, color .24s ease;
}
.workflow-card:last-child { border-right: 0; }
.workflow-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--software-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.workflow-card:hover,
.workflow-card:focus-visible,
.workflow-card.is-active {
  transform: none;
  border-color: #d8e8e8;
  background: linear-gradient(145deg, #f1fbfb 0%, #e7f6f6 100%);
  box-shadow: none;
}
.workflow-card:hover::after,
.workflow-card:focus-visible::after,
.workflow-card.is-active::after { transform: scaleX(1); }
.workflow-card > span {
  grid-column: 1;
  grid-row: 1;
  position: static;
  width: 38px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: var(--software-primary);
  font-size: 9px;
  letter-spacing: .1em;
}
.workflow-icon {
  grid-column: 1;
  grid-row: 2;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 2px;
}
.workflow-icon svg { width: 22px; height: 22px; }
.workflow-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.workflow-copy small { margin-bottom: 7px; }
.workflow-card h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 1.8vw, 30px);
}
.workflow-card p {
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .modules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-card.module-featured { grid-column: span 2; }
  .module-card.module-wide { grid-column: span 1; display: block; min-height: 164px; }
  .module-wide .module-icon,
  .module-wide h3,
  .module-wide p { display: block; }
  .module-wide h3 { margin: 22px 38px 8px 0; }
  .gallery-heading { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 52px; }
}

@media (max-width: 900px) {
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-card.module-featured,
  .module-card.module-wide { grid-column: span 2; }
  .module-card.module-wide {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .module-wide .module-icon { grid-column: 1; grid-row: 1 / span 2; }
  .module-wide h3 { grid-column: 2; grid-row: 1; margin: 0 38px 5px 0; }
  .module-wide p { grid-column: 2; grid-row: 2; }
  .gallery-heading,
  .workflow-heading { grid-template-columns: 1fr; gap: 24px; }
  .gallery-heading-aside { max-width: 620px; }
  .workflow-heading-aside { max-width: 720px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workflow-card:nth-child(2) { border-right: 0; }
  .workflow-card:nth-child(-n+2) { border-bottom: 1px solid #d8e8e8; }
}

@media (max-width: 620px) {
  .modules-section { background-size: 28px 28px, 28px 28px, auto; }
  .modules-section .split-heading h2 { font-size: 38px; }
  .modules-grid { grid-template-columns: 1fr; gap: 10px; }
  .module-card,
  .module-card.module-featured,
  .module-card.module-wide {
    grid-column: span 1;
    min-height: 0;
    padding: 19px;
    box-shadow: 7px 7px 0 rgba(26,119,123,.07);
  }
  .module-card h3,
  .module-card.module-featured h3 { margin-top: 18px; font-size: 25px; }
  .module-card.module-featured { min-height: 340px; }
  .module-featured h3,
  .module-featured p { max-width: 100%; }
  .agenda-preview {
    top: auto;
    left: 19px;
    right: 19px;
    bottom: 19px;
    width: auto;
    height: 142px;
  }
  .module-card.module-wide {
    display: grid;
    grid-template-columns: 44px 1fr;
  }
  .module-wide .module-icon { width: 42px; height: 42px; }
  .module-wide h3 { margin-right: 32px; font-size: 23px; }
  .gallery-heading h2,
  .workflow-heading h2 { font-size: 38px; letter-spacing: -1px; }
  .gallery-heading h2 em { display: inline; }
  .gallery-heading-aside { padding-left: 18px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card,
  .workflow-card:nth-child(2),
  .workflow-card:nth-child(-n+2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d8e8e8;
  }
  .workflow-card:last-child { border-bottom: 0; }
}

/* Corrección final: el texto de la agenda nunca invade la miniatura. */
.module-card.module-featured h3,
.module-card.module-featured p { max-width: 43%; }
@media (max-width: 620px) {
  .module-card.module-featured h3,
  .module-card.module-featured p { max-width: 100%; }
}
