:root {
  --navy-950: #092a5e;
  --navy-900: #0545c1;
  --navy-800: #0758ce;
  --navy-700: #0270e5;
  --teal-700: #0545c1;
  --teal-600: #0270e5;
  --teal-500: #16b9e4;
  --teal-100: #e1f4ff;
  --teal-50: #f1f9ff;
  --blue-50: #f3f8ff;
  --slate-900: #102b3b;
  --slate-700: #365363;
  --slate-600: #53707f;
  --slate-500: #69818e;
  --slate-300: #c9d7de;
  --slate-200: #dce6eb;
  --slate-100: #edf3f6;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(8, 56, 78, 0.08);
  --shadow-md: 0 22px 56px rgba(6, 52, 74, 0.13);
  --shadow-lg: 0 34px 80px rgba(4, 42, 61, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1200px;
  --header-height: 74px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--slate-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.legal-modal-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

p {
  color: var(--slate-600);
}

:focus-visible {
  outline: 3px solid rgba(2, 112, 229, 0.5);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(5, 69, 193, 0.08);
  box-shadow: 0 8px 28px rgba(6, 50, 72, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  color: var(--navy-900);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.035em;
}

.brand-horizontal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-horizontal img {
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.brand-horizontal__isotipo {
  height: 54px;
}

.brand-horizontal__wordmark {
  height: 22px;
}

.brand-mark {
  display: block;
  width: 104px;
  height: 69px;
  overflow: visible;
  flex: 0 0 104px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-mark img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 32px);
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav a:not(.button) {
  position: relative;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 620;
  white-space: nowrap;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-600);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:not(.button):hover,
.mobile-nav a:not(.button):focus-visible {
  color: var(--teal-700);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 14px;
}

.button-primary {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 30px rgba(5, 69, 193, 0.2);
}

.button-primary:hover {
  background: var(--navy-800);
  box-shadow: 0 16px 32px rgba(5, 69, 193, 0.25);
}

.button-secondary,
.button-ghost {
  border-color: var(--slate-200);
  color: var(--navy-900);
  background: var(--white);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(2, 112, 229, 0.4);
  box-shadow: var(--shadow-sm);
}

.button-text {
  min-height: 44px;
  padding-inline: 10px;
  color: var(--navy-800);
}

.button-light {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(3, 36, 52, 0.2);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--slate-200);
  border-radius: 11px;
  color: var(--navy-900);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--slate-100);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-block: 12px 22px;
}

.mobile-nav a:not(.button) {
  display: flex;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-nav .button {
  margin-top: 16px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(243, 248, 255, 0.25), rgba(225, 244, 255, 0.4)),
    var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image: radial-gradient(rgba(5, 69, 193, 0.14) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 44%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  gap: clamp(36px, 6vw, 88px);
  padding-block: 58px 64px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.section-kicker,
.product-number {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 17px;
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-500);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(42px, 4.8vw, 64px);
}

.hero h1 span {
  color: var(--teal-700);
}

.hero-description {
  max-width: 625px;
  margin-bottom: 30px;
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.7;
}

.hero-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 25px 0 0;
  color: var(--slate-500);
  font-size: 14px;
}

.hero-note svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  color: var(--teal-700);
  background: var(--teal-100);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 630px;
}

.visual-glow,
.hero-orb,
.stage-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.visual-glow {
  top: 13%;
  left: 2%;
  width: 93%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(43, 191, 192, 0.22), rgba(11, 76, 108, 0.07));
  filter: blur(2px);
}

.hero-orb-one {
  top: 4%;
  right: -110px;
  width: 330px;
  height: 330px;
  background: rgba(43, 191, 192, 0.08);
  filter: blur(1px);
}

.hero-orb-two {
  right: 39%;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 50px solid rgba(5, 69, 193, 0.035);
}

.phone-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  padding: 16px 0 8px;
  border: 5px solid #092a5e;
  border-radius: 32px;
  background: #f7fbfc;
  box-shadow: var(--shadow-lg);
}

.phone-frame::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  content: "";
  pointer-events: none;
}

.phone-frame > img,
.screen-frame > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8fbfc;
}

.browser-frame > img,
.responsive-crop > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8fbfc;
}

.phone-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 5;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(8, 35, 48, 0.86);
  transform: translateX(-50%);
}

.hero-phone {
  position: absolute;
  width: min(58%, 292px);
}

.hero-phone-back {
  top: 7%;
  right: 0;
  z-index: 1;
  transform: rotate(4deg);
}

.hero-phone-front {
  bottom: 2%;
  left: 4%;
  z-index: 2;
  transform: rotate(-2deg);
}

.visual-pill {
  position: absolute;
  right: -14px;
  bottom: 11%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 11px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.visual-pill-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: var(--teal-700);
  background: var(--teal-100);
}

.visual-pill svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-pill small,
.visual-pill strong {
  display: block;
  line-height: 1.35;
}

.visual-pill small {
  color: var(--slate-500);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-pill strong {
  color: var(--navy-950);
  font-size: 13px;
}

.media-shell {
  position: relative;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 22px;
  color: var(--navy-900);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(223, 247, 246, 0.86)),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(11, 143, 145, 0.04) 10px, rgba(11, 143, 145, 0.04) 20px);
  text-align: center;
}

.media-placeholder::before {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
  border: 1px solid rgba(11, 143, 145, 0.25);
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 52%, rgba(11, 143, 145, 0.18) 53%),
    linear-gradient(35deg, transparent 55%, rgba(5, 69, 193, 0.12) 56%),
    var(--white);
  box-shadow: var(--shadow-sm);
  content: "";
}

.media-placeholder span {
  color: var(--teal-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-placeholder strong {
  font-size: 14px;
  line-height: 1.35;
}

.media-placeholder small {
  color: var(--slate-500);
  font-size: 10px;
}

.js .media-shell:not(.is-ready) > img {
  visibility: hidden;
}

.media-shell.is-missing > .media-placeholder {
  display: flex;
}

.benefit-strip {
  position: relative;
  z-index: 3;
  padding: 0 0 42px;
  background: linear-gradient(to bottom, transparent 0, transparent 46%, var(--blue-50) 46%);
}

.benefit-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  padding: 36px 42px;
  border: 1px solid rgba(7, 59, 87, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.benefit-heading .section-kicker {
  margin-bottom: 8px;
  font-size: 11px;
}

.benefit-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 2.4vw, 34px);
}

.benefit-heading p:last-child {
  margin: 0;
}

.mini-benefits {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 650;
}

.mini-benefits li:last-child {
  border-bottom: 0;
}

.mini-benefits span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: var(--teal-700);
  background: var(--teal-50);
  font-size: 10px;
  font-weight: 850;
}

.features {
  background: var(--blue-50);
}

.section-heading {
  max-width: 730px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow-centered {
  justify-content: center;
}

.section-heading h2,
.booking h2,
.security h2,
.faq h2,
.final-cta h2 {
  margin-bottom: 17px;
  font-size: clamp(34px, 4vw, 50px);
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  grid-column: span 4;
  min-height: 270px;
  padding: 29px;
  border: 1px solid rgba(7, 59, 87, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(7, 59, 87, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:nth-child(n + 4) {
  grid-column: span 3;
}

.feature-card:hover {
  border-color: rgba(2, 112, 229, 0.24);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 13px;
  color: var(--teal-700);
  background: linear-gradient(145deg, var(--teal-100), #f1f9ff);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-bottom: 11px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.product {
  padding-bottom: 124px;
}

.product-heading {
  margin-bottom: 80px;
}

.product-row {
  display: grid;
  min-height: 650px;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.82fr);
  gap: clamp(64px, 9vw, 128px);
  padding: 62px 0;
  border-bottom: 1px solid var(--slate-100);
}

.product-row:first-of-type {
  padding-top: 0;
}

.product-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-row-reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.02fr);
}

.product-row-reverse .product-media {
  grid-column: 2;
  grid-row: 1;
}

.product-row-reverse .product-copy {
  grid-column: 1;
  grid-row: 1;
}

.product-media {
  position: relative;
  min-width: 0;
}

.phone-stage {
  display: grid;
  min-height: 0;
  padding: 34px 24px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 18%, rgba(43, 191, 192, 0.21), transparent 24%),
    linear-gradient(145deg, var(--blue-50), #e1f4ff);
}

.stage-accent {
  width: 390px;
  height: 390px;
  border: 1px solid rgba(2, 112, 229, 0.22);
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.3), 0 0 0 90px rgba(255, 255, 255, 0.18);
}

.phone-large {
  width: min(54%, 290px);
}

.product-copy {
  max-width: 500px;
}

.product-number {
  margin-bottom: 18px;
  font-size: 11px;
}

.product-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(31px, 3.6vw, 46px);
}

.product-copy > p:not(.product-number) {
  margin-bottom: 26px;
  font-size: 17px;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 13px 8px 34px;
  border: 1px solid var(--slate-100);
  border-radius: 999px;
  color: var(--navy-900);
  background: var(--blue-50);
  font-size: 13px;
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--teal-700);
  border-left: 2px solid var(--teal-700);
  content: "";
  transform: translateY(-66%) rotate(-45deg);
}

.roadmap-note {
  display: grid;
  align-items: start;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding: 17px;
  border: 1px solid rgba(7, 59, 87, 0.1);
  border-radius: var(--radius-sm);
  background: var(--blue-50);
}

.roadmap-badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--teal-700);
  background: var(--teal-100);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.roadmap-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-950);
  font-size: 15px;
}

.roadmap-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.phone-stage-pair {
  min-height: 0;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
}

.phone-pair {
  position: relative;
  width: min(46%, 260px);
  grid-area: 1 / 1;
}

.phone-pair-back {
  top: auto;
  right: auto;
  z-index: 1;
  justify-self: end;
  margin-right: 8%;
  transform: rotate(4deg);
}

.phone-pair-front {
  bottom: auto;
  left: auto;
  z-index: 2;
  align-self: end;
  justify-self: start;
  margin-top: clamp(54px, 6vw, 76px);
  margin-left: 8%;
  transform: rotate(-3deg);
}

.metrics-stage {
  display: grid;
  min-height: 0;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  padding: 36px 14px 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(5, 69, 193, 0.98), rgba(9, 42, 94, 0.92)),
    var(--navy-900);
}

.metrics-stage::before {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 280px;
  height: 280px;
  border: 55px solid rgba(22, 185, 228, 0.13);
  border-radius: 50%;
  content: "";
}

.screen-frame {
  overflow: hidden;
  margin: 0;
  border: 4px solid #092a5e;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.metric-screen {
  position: relative;
  width: 48%;
  grid-area: 1 / 1;
}

.metric-screen-back {
  top: auto;
  right: auto;
  z-index: 1;
  justify-self: end;
  margin-right: 5%;
  transform: rotate(3deg);
}

.metric-screen-front {
  bottom: auto;
  left: auto;
  z-index: 2;
  align-self: end;
  justify-self: start;
  margin-top: clamp(54px, 6vw, 72px);
  margin-left: 5%;
  transform: rotate(-2deg);
}

.booking {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 22%, rgba(43, 191, 192, 0.2), transparent 28%),
    linear-gradient(125deg, var(--navy-950), var(--navy-800));
}

.booking::before {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.65px, transparent 0.65px);
  background-size: 20px 20px;
  content: "";
  mask-image: linear-gradient(to left, black, transparent 70%);
}

.booking-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 7vw, 94px);
}

.eyebrow-light {
  color: #8be8f7;
}

.booking h2,
.booking-copy > p {
  color: var(--white);
}

.booking-copy > p:not(.eyebrow) {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 17px;
}

.check-list-light {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 32px;
}

.check-list-light li {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.check-list-light li::before {
  border-color: #78dcf4;
}

.booking-visual {
  position: relative;
  min-height: 510px;
}

.browser-frame {
  position: absolute;
  top: 4%;
  left: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 35px 80px rgba(1, 24, 35, 0.34);
  aspect-ratio: 16 / 10;
}

.browser-frame > img {
  height: calc(100% - 39px);
}

.browser-frame > .media-placeholder {
  top: 39px;
}

.browser-bar {
  display: flex;
  height: 39px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--slate-100);
  background: #f7fafb;
}

.browser-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate-300);
}

.browser-bar > span:first-child {
  background: #ef9a91;
}

.browser-bar > span:nth-child(2) {
  background: #efcc7c;
}

.browser-bar > span:nth-child(3) {
  background: #88cea8;
}

.browser-address {
  flex: 0 1 230px;
  margin-left: 11px;
  padding: 5px 14px;
  border: 1px solid var(--slate-100);
  border-radius: 7px;
  color: var(--slate-500);
  background: var(--white);
  font-size: 9px;
  text-align: center;
}

.responsive-crop {
  position: absolute;
  right: -3%;
  bottom: 0;
  z-index: 3;
  width: 25%;
  overflow: hidden;
  border: 5px solid #092a5e;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 9 / 16;
}

.responsive-crop > img {
  width: 230%;
  max-width: none;
  object-fit: cover;
  object-position: 50% center;
}

.differentiation {
  background: var(--blue-50);
}

.differentiation .section-heading {
  max-width: 800px;
}

.differentiation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.difference-item {
  min-height: 235px;
  padding: 34px 27px;
  border-right: 1px solid var(--slate-200);
}

.difference-item:last-child {
  border-right: 0;
}

.difference-item > span {
  display: block;
  margin-bottom: 30px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.difference-item h3 {
  margin-bottom: 11px;
  font-size: 19px;
}

.difference-item p {
  margin: 0;
  font-size: 14px;
}

.security {
  padding-bottom: 56px;
}

.security-card {
  padding: 58px;
  border: 1px solid rgba(7, 59, 87, 0.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 0%, rgba(43, 191, 192, 0.13), transparent 25%),
    linear-gradient(145deg, #f8fbff, #f1f9ff);
}

.security-intro {
  display: grid;
  align-items: start;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 29px;
  max-width: 860px;
  margin-bottom: 48px;
}

.security-intro h2 {
  max-width: 760px;
}

.security-intro > div > p:last-child {
  max-width: 780px;
  margin: 0;
  font-size: 17px;
}

.security-shield {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(2, 112, 229, 0.15);
  border-radius: 19px;
  color: var(--teal-700);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.security-shield svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.security-points article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(7, 59, 87, 0.07);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.security-points svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  color: var(--teal-700);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-points h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.security-points p {
  margin: 0;
  font-size: 13px;
}

.launch-offer {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 104px;
  background:
    radial-gradient(circle at 8% 14%, rgba(22, 185, 228, 0.1), transparent 28%),
    linear-gradient(180deg, var(--white), var(--blue-50));
}

.launch-offer-card {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(42px, 6vw, 82px);
  padding: clamp(48px, 6vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(132deg, #092a5e 0%, #0545c1 54%, #0270e5 100%);
  box-shadow: 0 34px 80px rgba(4, 42, 97, 0.24);
}

.launch-offer-card::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-lg) - 1px);
  content: "";
  pointer-events: none;
}

.launch-offer-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.launch-offer-glow-one {
  top: -180px;
  left: -130px;
  width: 390px;
  height: 390px;
  background: rgba(22, 185, 228, 0.2);
}

.launch-offer-glow-two {
  right: -150px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 72px solid rgba(255, 255, 255, 0.055);
}

.launch-offer-copy {
  position: relative;
  z-index: 1;
}

.launch-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.launch-offer-badge svg {
  width: 16px;
  height: 16px;
  fill: rgba(139, 232, 247, 0.18);
  stroke: #8be8f7;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-offer h2 {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(38px, 4.2vw, 56px);
}

.launch-offer h2 span {
  color: #8be8f7;
}

.launch-offer-lead {
  max-width: 560px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 650;
}

.launch-offer-detail {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.launch-offer-pricing {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 24px 55px rgba(3, 29, 71, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.launch-offer-pricing__title {
  margin: 0 0 13px 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-offer-timeline {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-offer-phase {
  position: relative;
  min-width: 0;
  padding: 25px 22px 23px;
  border: 1px solid rgba(9, 42, 94, 0.08);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 36px rgba(4, 35, 75, 0.12);
}

.launch-offer-phase--future {
  border-color: rgba(22, 185, 228, 0.26);
  background: linear-gradient(150deg, #ffffff 0%, #effaff 100%);
}

.launch-offer-phase--today::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -25px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 4px solid #0862cc;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(5, 69, 193, 0.18);
  content: "→";
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.launch-offer-phase__marker {
  display: flex;
  min-height: 24px;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.launch-offer-phase__marker svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--teal-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-offer-phase__marker strong {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--navy-900);
  background: var(--teal-100);
  font-size: 10px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.launch-offer-price {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  gap: 5px;
  margin: 0 0 9px;
  color: var(--navy-950);
  line-height: 0.86;
}

.launch-offer-price strong {
  font-size: clamp(58px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -0.075em;
}

.launch-offer-price span {
  margin-bottom: 7px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.launch-offer-price--monthly {
  gap: 7px;
}

.launch-offer-price--monthly strong {
  font-size: clamp(52px, 5.4vw, 74px);
}

.launch-offer-price--monthly span {
  margin-bottom: 6px;
  font-size: clamp(17px, 1.8vw, 23px);
}

.launch-offer-period {
  margin: 0 0 6px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
}

.launch-offer-caption {
  margin: 0;
  color: var(--slate-600);
  font-size: 12px;
  line-height: 1.5;
}

.support-band {
  padding: 0 0 72px;
}

.support-card {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  padding: 32px 36px;
  border: 1px solid rgba(7, 59, 87, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.support-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  color: var(--teal-700);
  background: var(--teal-50);
}

.support-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-copy .eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
}

.support-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(25px, 2.5vw, 34px);
}

.support-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 4px;
  font-size: 15px;
}

.support-copy > p:last-child {
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 14px;
}

.support-response {
  display: grid;
  width: 138px;
  min-height: 108px;
  align-content: center;
  padding: 16px;
  border-radius: 16px;
  color: var(--white);
  background: var(--navy-900);
  text-align: center;
}

.support-response strong {
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.support-response span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.faq {
  padding-top: 56px;
}

.faq-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(60px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.faq-intro p:last-child {
  margin-bottom: 0;
  font-size: 17px;
}

.accordion {
  border-top: 1px solid var(--slate-200);
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  width: 100%;
  min-height: 78px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 20px;
  padding: 19px 4px;
  border: 0;
  color: var(--navy-950);
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-item button > span {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-50);
}

.faq-item button > span::before,
.faq-item button > span::after {
  position: absolute;
  top: 10px;
  left: 6px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-700);
  content: "";
  transition: transform 180ms ease;
}

.faq-item button > span::after {
  transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] > span::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 48px 24px 4px;
}

.faq-answer p {
  margin: 0;
}

.final-cta {
  padding: 32px 0 104px;
}

.final-cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 82px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(130deg, var(--navy-950), var(--navy-800) 56%, var(--teal-700));
  box-shadow: var(--shadow-lg);
}

.cta-pattern {
  position: absolute;
  top: -145px;
  right: -110px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-pattern::before {
  position: absolute;
  inset: 55px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.final-cta .section-kicker {
  position: relative;
  color: #8be8f7;
}

.final-cta h2 {
  position: relative;
  max-width: 810px;
  color: var(--white);
}

.final-cta-card > p:not(.section-kicker) {
  position: relative;
  max-width: 650px;
  margin-bottom: 29px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}

.final-cta-actions {
  position: relative;
}

.site-footer {
  color: #244768;
  background-color: #f7fbff;
  background-image:
    radial-gradient(
      circle at 2% 85%,
      rgba(2, 112, 229, 0.15) 0%,
      rgba(2, 112, 229, 0.07) 26%,
      transparent 46%
    ),
    radial-gradient(
      circle at 98% 15%,
      rgba(22, 185, 228, 0.14) 0%,
      rgba(22, 185, 228, 0.06) 28%,
      transparent 48%
    ),
    linear-gradient(135deg, #ffffff 0%, #f5faff 45%, #e9f5ff 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(170px, 0.7fr) minmax(190px, 0.7fr);
  gap: 70px;
  padding-block: 68px 52px;
}

.brand-footer {
  gap: 0;
  margin-bottom: 17px;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
}

.brand-horizontal--footer {
  gap: 11px;
}

.brand-horizontal--footer .brand-horizontal__isotipo {
  height: 62px;
}

.brand-horizontal--footer .brand-horizontal__wordmark {
  height: 26px;
}

.footer-brand p {
  max-width: 350px;
  margin: 0;
  color: #42617c;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.footer-links h2 {
  margin-bottom: 9px;
  color: #092a5e;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a,
.footer-legal-button {
  color: #244768;
  font-size: 14px;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-legal-button:hover,
.footer-legal-button:focus-visible {
  color: #0545c1;
}

.footer-legal-button {
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.footer-legal-button:hover {
  text-decoration: underline;
  text-decoration-color: #0270e5;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(6, 47, 67, 0.08);
  background-color: #092a5e;
  box-shadow: 0 0 0 100vmax #092a5e;
  clip-path: inset(0 -100vmax);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
  color: #c9e1e8;
}

.footer-bottom a {
  color: #eaf7fa;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #8be8f7;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 32px;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 27, 40, 0.72);
  opacity: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity 220ms ease;
}

.legal-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(920px, 100%);
  max-height: min(85vh, 860px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(7, 59, 87, 0.09);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 36px 100px rgba(1, 23, 34, 0.36);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.legal-modal.is-open .legal-modal__backdrop,
.legal-modal.is-open .legal-modal__dialog {
  opacity: 1;
}

.legal-modal.is-open .legal-modal__dialog {
  transform: translateY(0) scale(1);
}

.legal-modal__header {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 20px 28px 20px 34px;
  border-bottom: 1px solid var(--slate-100);
  background: rgba(255, 255, 255, 0.97);
}

.legal-modal__heading {
  min-width: 0;
}

.legal-modal__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.legal-modal__isotipo {
  width: auto;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.legal-modal__header h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 31px);
  letter-spacing: -0.025em;
}

.legal-modal__close {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  place-items: center;
  color: var(--navy-900);
  background: var(--white);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.legal-modal__close:hover {
  border-color: rgba(2, 112, 229, 0.35);
  color: var(--teal-700);
  background: var(--teal-50);
  transform: translateY(-1px);
}

.legal-modal__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.legal-modal__content {
  min-height: 0;
  padding: 34px clamp(28px, 5vw, 64px) 54px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--slate-300) transparent;
  scrollbar-width: thin;
}

.legal-modal__content:focus-visible {
  outline-offset: -4px;
}

.legal-document {
  max-width: 740px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
}

.legal-document > p:first-of-type:not(.legal-document__updated) {
  font-size: 17px;
}

.legal-document p {
  margin-bottom: 16px;
}

.legal-document section {
  padding-top: 27px;
}

.legal-document section + section {
  margin-top: 12px;
  border-top: 1px solid var(--slate-100);
}

.legal-document h3 {
  margin-bottom: 13px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-document h4 {
  margin: 25px 0 11px;
  color: var(--navy-900);
  font-size: 17px;
  line-height: 1.4;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 21px;
  color: var(--slate-600);
}

.legal-document li::marker {
  color: var(--teal-600);
}

.legal-document a {
  color: var(--teal-700);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(11, 143, 145, 0.3);
  text-underline-offset: 3px;
}

.legal-document a:hover {
  text-decoration-color: currentColor;
}

.legal-document__actions {
  margin-top: 25px;
}

.legal-document .legal-document__primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 30px rgba(7, 59, 87, 0.18);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.legal-document .legal-document__primary-link:hover {
  color: var(--white);
  background: var(--navy-800);
}

.legal-document__updated {
  margin-bottom: 22px !important;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-facts {
  display: grid;
  gap: 0;
  margin: 21px 0 4px;
  overflow: hidden;
  border: 1px solid var(--slate-100);
  border-radius: 15px;
  background: var(--blue-50);
}

.legal-facts > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 0.65fr);
  gap: 20px;
  padding: 13px 17px;
  border-bottom: 1px solid var(--slate-100);
}

.legal-facts > div:last-child {
  border-bottom: 0;
}

.legal-facts dt {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 700;
}

.legal-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--navy-950);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.legal-note {
  margin: 21px 0 5px;
  padding: 17px 19px;
  border: 1px solid rgba(2, 112, 229, 0.17);
  border-left: 3px solid var(--teal-600);
  border-radius: 11px;
  color: var(--navy-900);
  background: var(--teal-50);
  font-weight: 620;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
    gap: 36px;
  }

  .hero-visual {
    min-height: 570px;
  }

  .feature-card {
    padding: 25px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav,
  .header-actions > .config-link {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .brand-horizontal__isotipo {
    height: 44px;
  }

  .brand-horizontal__wordmark {
    height: 18px;
  }

  .mobile-nav:not([hidden]) {
    display: block;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.8fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(40px, 5.4vw, 54px);
  }

  .hero-visual {
    min-height: 530px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card,
  .feature-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .product-row,
  .product-row-reverse {
    gap: 52px;
  }

  .phone-stage {
    min-height: 0;
    padding-block: 30px;
  }

  .phone-stage-pair {
    min-height: 0;
  }

  .metrics-stage {
    min-height: 0;
  }

  .booking-grid {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
  }

  .booking-visual {
    min-height: 400px;
  }

  .differentiation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .difference-item:nth-child(2) {
    border-right: 0;
  }

  .difference-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--slate-200);
  }

  .security-card {
    padding: 45px;
  }

  .launch-offer-card {
    grid-template-columns: 1fr;
  }

  .launch-offer-copy {
    max-width: 720px;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 45px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding: 84px 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 64px 46px;
  }

  .hero-copy {
    max-width: 630px;
  }

  .hero-visual {
    width: min(100%, 520px);
    min-height: 610px;
    margin: 0 auto;
  }

  .hero-phone {
    width: min(56%, 280px);
  }

  .hero-phone-back {
    right: 4%;
  }

  .hero-phone-front {
    left: 5%;
  }

  .benefit-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }

  .product-heading {
    margin-bottom: 42px;
  }

  .product-row,
  .product-row-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 58px 0;
  }

  .product-row-reverse .product-media,
  .product-row-reverse .product-copy {
    grid-column: 1;
  }

  .product-row-reverse .product-media {
    grid-row: 1;
  }

  .product-row-reverse .product-copy {
    grid-row: 2;
  }

  .product-copy {
    max-width: 620px;
  }

  .phone-stage {
    min-height: 0;
  }

  .phone-stage-pair {
    min-height: 0;
  }

  .metrics-stage {
    min-height: 0;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .booking-copy {
    max-width: 620px;
  }

  .booking-visual {
    min-height: min(74vw, 530px);
  }

  .security-points {
    grid-template-columns: 1fr;
  }

  .launch-offer {
    padding-top: 40px;
    padding-bottom: 84px;
  }

  .launch-offer-card {
    gap: 36px;
    padding: 42px;
  }

  .support-card {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .support-response {
    width: 100%;
    min-height: 0;
    align-items: center;
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    text-align: left;
  }

  .support-response span {
    margin-top: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-intro {
    position: static;
  }

}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .launch-offer-card {
    gap: 30px;
    padding: 30px 18px 18px;
    border-radius: 24px;
  }

  .launch-offer-badge {
    margin-bottom: 19px;
    font-size: 10px;
  }

  .launch-offer h2 {
    font-size: clamp(32px, 10.2vw, 42px);
  }

  .launch-offer-lead {
    font-size: 16px;
  }

  .launch-offer-detail {
    margin-bottom: 25px;
    font-size: 14px;
  }

  .launch-offer-copy .button {
    width: 100%;
  }

  .launch-offer-pricing {
    padding: 11px;
    border-radius: 20px;
  }

  .launch-offer-pricing__title {
    margin: 3px 4px 12px;
  }

  .launch-offer-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .launch-offer-phase {
    min-height: 0;
    padding: 23px 20px;
  }

  .launch-offer-phase--today::after {
    top: auto;
    right: 50%;
    bottom: -25px;
    content: "↓";
    transform: translateX(50%);
  }

  .launch-offer-phase__marker {
    margin-bottom: 19px;
  }

  .launch-offer-price strong,
  .launch-offer-price--monthly strong {
    font-size: 62px;
  }

  .launch-offer-price--monthly span {
    font-size: 20px;
  }

  .site-footer {
    background-image:
      radial-gradient(
        circle 380px at 0% 85%,
        rgba(2, 112, 229, 0.13) 0%,
        rgba(2, 112, 229, 0.06) 24%,
        transparent 44%
      ),
      radial-gradient(
        circle 420px at 100% 12%,
        rgba(22, 185, 228, 0.12) 0%,
        rgba(22, 185, 228, 0.05) 25%,
        transparent 46%
      ),
      linear-gradient(135deg, #ffffff 0%, #f5faff 45%, #e9f5ff 100%);
  }

  .section {
    padding: 72px 0;
  }

  .brand {
    font-size: 18px;
  }

  .brand-footer {
    font-size: 20px;
  }

  .brand-horizontal--footer {
    gap: 6px;
  }

  .brand-horizontal--footer .brand-horizontal__isotipo {
    height: 52px;
  }

  .brand-horizontal--footer .brand-horizontal__wordmark {
    height: 22px;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    mask-image: linear-gradient(to bottom, black, transparent 55%);
  }

  .hero-grid {
    padding-block: 50px 36px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(37px, 11vw, 48px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button:not(.button-text) {
    width: 100%;
  }

  .hero-actions .button-text {
    align-self: center;
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 9px;
  }

  .hero-phone {
    width: 57%;
  }

  .hero-phone-back {
    top: 4%;
    right: 1%;
  }

  .hero-phone-front {
    bottom: 1%;
    left: 1%;
  }

  .visual-pill {
    right: 0;
    bottom: 8%;
    padding: 9px 11px 9px 9px;
  }

  .visual-pill-icon {
    width: 32px;
    height: 32px;
  }

  .visual-pill strong {
    font-size: 11px;
  }

  .benefit-strip {
    padding-bottom: 28px;
  }

  .benefit-inner {
    gap: 20px;
    padding: 25px 22px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .booking h2,
  .security h2,
  .faq h2,
  .final-cta h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .product {
    padding-bottom: 78px;
  }

  .product-row,
  .product-row-reverse {
    gap: 34px;
    padding: 48px 0;
  }

  .phone-stage {
    min-height: 0;
    padding: 28px 14px;
    border-radius: 24px;
  }

  .phone-large {
    width: min(61%, 250px);
  }

  .phone-stage-pair {
    min-height: 0;
  }

  .phone-pair {
    width: 52%;
  }

  .phone-pair-back {
    right: auto;
    margin-right: 3%;
  }

  .phone-pair-front {
    left: auto;
    margin-left: 3%;
  }

  .metrics-stage {
    min-height: 0;
    padding: 28px 14px 24px;
    border-radius: 24px;
  }

  .metric-screen {
    width: 54%;
  }

  .product-copy h3 {
    font-size: clamp(29px, 8.5vw, 39px);
  }

  .check-list li {
    width: 100%;
    border-radius: 11px;
  }

  .check-list-light {
    grid-template-columns: 1fr;
  }

  .booking-visual {
    min-height: 300px;
  }

  .browser-frame {
    border-radius: 13px;
  }

  .browser-bar {
    height: 30px;
  }

  .browser-frame > img {
    height: calc(100% - 30px);
  }

  .browser-frame > .media-placeholder {
    top: 30px;
  }

  .browser-address {
    display: none;
  }

  .responsive-crop {
    right: 1%;
    width: 27%;
    border-width: 3px;
    border-radius: 14px;
  }

  .differentiation-grid {
    grid-template-columns: 1fr;
  }

  .difference-item,
  .difference-item:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }

  .difference-item:last-child {
    border-bottom: 0;
  }

  .security {
    padding-bottom: 38px;
  }

  .security-card {
    width: min(calc(100% - 20px), var(--container));
    padding: 31px 22px;
    border-radius: 24px;
  }

  .security-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .security-shield {
    width: 58px;
    height: 58px;
  }

  .security-points article {
    padding: 18px;
  }

  .support-band {
    padding-bottom: 56px;
  }

  .support-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 27px 22px;
  }

  .support-response {
    grid-column: auto;
  }

  .faq {
    padding-top: 38px;
  }

  .faq-item button {
    min-height: 72px;
    font-size: 16px;
  }

  .final-cta {
    padding: 18px 0 76px;
  }

  .final-cta-card {
    padding: 42px 24px;
    border-radius: 24px;
  }

  .final-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 37px;
    padding-block: 54px 42px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding-block: 18px;
  }
}

@media (max-width: 600px) {
  .legal-modal {
    align-items: stretch;
    padding: 0;
  }

  .legal-modal__dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    transform: translateY(20px);
  }

  .legal-modal__header {
    min-height: 96px;
    padding: max(16px, env(safe-area-inset-top)) 16px 15px 20px;
  }

  .legal-modal__brand {
    margin-bottom: 5px;
  }

  .legal-modal__header h2 {
    font-size: clamp(22px, 7vw, 27px);
  }

  .legal-modal__close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .legal-modal__content {
    padding: 26px 20px max(40px, env(safe-area-inset-bottom));
  }

  .legal-document {
    font-size: 16px;
    line-height: 1.72;
  }

  .legal-document h3 {
    font-size: 20px;
  }

  .legal-facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 380px) {
  .hero-visual {
    min-height: 465px;
  }

  .visual-pill {
    bottom: 5%;
  }

  .phone-stage {
    min-height: 0;
  }

  .phone-stage-pair {
    min-height: 0;
  }

  .metrics-stage {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .legal-modal__backdrop,
  .legal-modal__dialog {
    transition-duration: 0.01ms;
  }
}

/* FISIOTERAPP APP MOCKUPS - START */

.product-media--app-mockup {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 0 !important;
  padding: 0 !important;
}

.landing-app-mockup {
  display: block;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.landing-app-mockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-media--metrics-mockups {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  min-height: 0 !important;
  padding: 0 !important;
}

.product-media--metrics-mockups .landing-app-mockup {
  width: 100%;
}

@media (min-width: 900px) {

  .product-media--metrics-mockups .landing-app-mockup:nth-child(2) {
    transform: translateY(30px);
  }

  .product-media--metrics-mockups .landing-app-mockup:nth-child(3) {
    transform: translateY(-15px);
  }

  .product-media--metrics-mockups .landing-app-mockup:nth-child(4) {
    transform: translateY(15px);
  }
}

@media (max-width: 899px) {

  .landing-app-mockup {
    width: min(100%, 390px);
  }

  .product-media--metrics-mockups {
    display: flex !important;
    overflow-x: auto;
    gap: 16px;
    padding: 10px 6px 20px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-media--metrics-mockups::-webkit-scrollbar {
    display: none;
  }

  .product-media--metrics-mockups .landing-app-mockup {
    flex: 0 0 min(78vw, 360px);
    width: min(78vw, 360px);
    scroll-snap-align: center;
    transform: none !important;
  }
}

/* FISIOTERAPP APP MOCKUPS - END */

/* FISIOTERAPP HERO TEAM MOCKUPS - START */

/* Agenda superior: el PNG ya incluye el telefono */
.hero-phone--mockup {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero-phone--mockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Gestion del equipo */
.product-media--team-mockups {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  min-height: 0 !important;
  padding: 0 !important;
}

.landing-team-mockup {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.landing-team-mockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 900px) {

  .landing-team-mockup--main {
    transform: translateY(-18px);
  }

  .landing-team-mockup--detail {
    transform: translateY(30px);
  }
}

@media (max-width: 899px) {

  .product-media--team-mockups {
    display: flex !important;
    overflow-x: auto;
    gap: 14px;
    padding: 8px 6px 18px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-media--team-mockups::-webkit-scrollbar {
    display: none;
  }

  .landing-team-mockup {
    flex: 0 0 min(78vw, 360px);
    width: min(78vw, 360px);
    scroll-snap-align: center;
    transform: none !important;
  }
}

/* FISIOTERAPP HERO TEAM MOCKUPS - END */

/* HERO AGENDA MOCKUP DEFINITIVO - START */

.hero-agenda-mockup {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero-agenda-mockup::before,
.hero-agenda-mockup::after {
  display: none !important;
  content: none !important;
}

.hero-agenda-mockup img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 900px) {
  .hero-agenda-mockup {
    width: 122% !important;
  }
}

@media (max-width: 899px) {
  .hero-agenda-mockup {
    width: 108% !important;
  }
}

/* HERO AGENDA MOCKUP DEFINITIVO - END */

/* FISIOTERAPP HERO AGENDA FINAL - START */

/*
 * La agenda nueva ya incluye su propio telefono.
 * La colocamos como elemento independiente detrás
 * del dashboard original.
 */

.hero-visual {
  position: relative;
}

.hero-agenda-final {
  position: absolute !important;
  display: block !important;
  width: 330px !important;
  height: auto !important;
  top: 118px !important;
  right: 18px !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: rotate(2deg) !important;
  transform-origin: center center !important;
  z-index: 1 !important;
}

.hero-agenda-final::before,
.hero-agenda-final::after {
  display: none !important;
  content: none !important;
}

.hero-agenda-final img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* El dashboard original debe quedar claramente delante */
.hero-visual .hero-phone-front {
  z-index: 3 !important;
}

.hero-visual .visual-pill {
  z-index: 5 !important;
}

/* Pantallas grandes */
@media (min-width: 1400px) {
  .hero-agenda-final {
    width: 340px !important;
    top: 110px !important;
    right: 16px !important;
  }
}

/* Portatiles */
@media (min-width: 900px) and (max-width: 1399px) {
  .hero-agenda-final {
    width: 300px !important;
    top: 125px !important;
    right: 0 !important;
  }
}

/* Tablet y movil */
@media (max-width: 899px) {
  .hero-agenda-final {
    width: min(68vw, 310px) !important;
    top: 115px !important;
    right: -5px !important;
    transform: rotate(2deg) !important;
  }

  .hero-visual .hero-phone-front {
    z-index: 3 !important;
  }
}

/* FISIOTERAPP HERO AGENDA FINAL - END */

/* METRICS CHECK GRID - START */

.metrics-check-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 76px);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 12px;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0 !important;
  align-items: center;
  justify-content: start;
}

.metrics-check-grid li {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  margin: 0 !important;
  box-sizing: border-box;
  white-space: nowrap !important;
}

/* Fila superior */
.metrics-check-grid li:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.metrics-check-grid li:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1;
}

.metrics-check-grid li:nth-child(3) {
  grid-column: 5 / 7;
  grid-row: 1;
}

/* Fila inferior centrada */
.metrics-check-grid li:nth-child(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.metrics-check-grid li:nth-child(5) {
  grid-column: 4 / 6;
  grid-row: 2;
}

@media (max-width: 600px) {
  .metrics-check-grid {
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: auto;
    column-gap: 8px;
    row-gap: 12px;
    width: 100%;
    justify-content: center;
  }

  .metrics-check-grid li:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .metrics-check-grid li:last-child {
    grid-column: 1 / 3;
    justify-self: center;
  }
}

@media (max-width: 380px) {
  .metrics-check-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .metrics-check-grid li,
  .metrics-check-grid li:last-child {
    grid-column: 1;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

/* METRICS CHECK GRID - END */

/* VERIFACTU ROADMAP - START */

.roadmap-disclaimer {
  display: block;
  margin-top: 7px;
  color: var(--slate-500);
  font-size: 11px;
  line-height: 1.45;
}

/* VERIFACTU ROADMAP - END */

/* FISIOTERAPP MOCKUPS NORMALIZADOS - START */

/*
 * Los PNG nuevos ya incluyen el teléfono completo.
 * Se muestran como imágenes directas, igual que los mockups
 * que funcionan correctamente en la sección de Métricas.
 */


/* ---------------------------------------------------------
   VISIBILIDAD DE LOS MOCKUPS NUEVOS
   --------------------------------------------------------- */

img[src$="/agenda-clinica.png"],
img[src$="/dashboard-clinica.png"],
img[src$="/06_detalle_paciente.png"],
img[src$="/07_gestion_fisioterapeutas.png"],
img[src$="/08_detalle_profesional.png"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;

  object-fit: contain !important;
}


/* Evita que el sistema antiguo media-shell oculte el dashboard */

.js .media-shell:not(.is-ready)
  > img[src$="/dashboard-clinica.png"],
.js .media-shell:not(.is-ready)
  > img[src$="/agenda-clinica.png"] {
  visibility: visible !important;
  opacity: 1 !important;
}


/* ---------------------------------------------------------
   PNGS QUE YA INCLUYEN EL MARCO DEL TELÉFONO
   --------------------------------------------------------- */

figure:has(> img[src$="/dashboard-clinica.png"]),
figure:has(> img[src$="/agenda-clinica.png"]),
figure:has(> img[src$="/06_detalle_paciente.png"]),
figure:has(> img[src$="/07_gestion_fisioterapeutas.png"]),
figure:has(> img[src$="/08_detalle_profesional.png"]) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;

  overflow: visible !important;
}


/* El dashboard del hero todavía usa el phone-frame antiguo.
   Eliminamos únicamente su decoración artificial. */

figure:has(> img[src$="/dashboard-clinica.png"])::before,
figure:has(> img[src$="/dashboard-clinica.png"])::after {
  display: none !important;
  content: none !important;
}

figure:has(> img[src$="/dashboard-clinica.png"]) .phone-speaker,
figure:has(> img[src$="/dashboard-clinica.png"]) .media-placeholder {
  display: none !important;
}


/* Lo mismo para la agenda del hero si conserva wrappers antiguos */

figure:has(> img[src$="/agenda-clinica.png"])::before,
figure:has(> img[src$="/agenda-clinica.png"])::after {
  display: none !important;
  content: none !important;
}

figure:has(> img[src$="/agenda-clinica.png"]) .phone-speaker,
figure:has(> img[src$="/agenda-clinica.png"]) .media-placeholder {
  display: none !important;
}


/* ---------------------------------------------------------
   AGENDA Y PACIENTE
   Misma filosofía que los mockups que funcionan en Métricas
   --------------------------------------------------------- */

.product-media--app-mockup {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;

  overflow: visible !important;
}

.product-media--app-mockup .landing-app-mockup {
  display: block !important;

  width: min(100%, 430px) !important;
  max-width: 430px !important;

  margin-inline: auto !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  overflow: visible !important;
}

.product-media--app-mockup .landing-app-mockup > img {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  object-fit: contain !important;
}


/* ---------------------------------------------------------
   EQUIPO
   Desktop: dos teléfonos.
   Móvil: desplazamiento horizontal igual que Métricas.
   --------------------------------------------------------- */

.product-media--team-mockups {
  display: grid !important;

  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;

  align-items: start !important;

  overflow: visible !important;
}

.product-media--team-mockups .landing-team-mockup {
  display: block !important;

  width: 100% !important;
  max-width: 430px !important;

  margin-inline: auto !important;

  transform: none !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  overflow: visible !important;
}

.product-media--team-mockups .landing-team-mockup > img {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  object-fit: contain !important;
}


/* ---------------------------------------------------------
   HERO
   Conservamos posición del hero existente, pero eliminamos
   los elementos gráficos del teléfono antiguo.
   --------------------------------------------------------- */

.hero-visual
  figure:has(> img[src$="/dashboard-clinica.png"]) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;

  overflow: visible !important;

  z-index: 3 !important;
}

.hero-visual
  figure:has(> img[src$="/agenda-clinica.png"]) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;

  overflow: visible !important;
}


/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 899px) {

  .product-media--app-mockup .landing-app-mockup {
    width: min(100%, 390px) !important;
  }

  .product-media--team-mockups {
    display: flex !important;

    gap: 16px !important;

    overflow-x: auto !important;
    overflow-y: visible !important;

    scroll-snap-type: x proximity;

    padding-bottom: 8px !important;
  }

  .product-media--team-mockups .landing-team-mockup {
    flex: 0 0 min(78vw, 360px) !important;

    width: min(78vw, 360px) !important;
    max-width: none !important;

    scroll-snap-align: center;

    transform: none !important;
  }

  .product-media--team-mockups::-webkit-scrollbar {
    display: none !important;
  }
}


/* FISIOTERAPP MOCKUPS NORMALIZADOS - END */


/* FISIOTERAPP MOCKUPS TRANSPARENTES V2 - START */

/*
 * Los PNG ya incorporan el teléfono.
 * Los contenedores sirven únicamente para posicionarlos.
 * NINGÚN fondo, tarjeta, borde o sombra.
 */

/* ---------- IMÁGENES ---------- */

img[src$="/agenda-clinica.png"],
img[src$="/dashboard-clinica.png"],
img[src$="/06_detalle_paciente.png"],
img[src$="/07_gestion_fisioterapeutas.png"],
img[src$="/08_detalle_profesional.png"] {
  display: block !important;

  visibility: visible !important;
  opacity: 1 !important;

  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  object-fit: contain !important;
  filter: none !important;
}


/* ---------- CONTENEDORES DE AGENDA Y DASHBOARD ---------- */

figure:has(img[src$="/agenda-clinica.png"]),
figure:has(img[src$="/dashboard-clinica.png"]),
.landing-app-mockup:has(img[src$="/agenda-clinica.png"]),
.landing-app-mockup:has(img[src$="/dashboard-clinica.png"]),
.phone-frame:has(img[src$="/agenda-clinica.png"]),
.phone-frame:has(img[src$="/dashboard-clinica.png"]),
.hero-agenda-final:has(img[src$="/agenda-clinica.png"]),
.hero-agenda-final:has(img[src$="/dashboard-clinica.png"]),
.hero-agenda-mockup:has(img[src$="/agenda-clinica.png"]),
.hero-agenda-mockup:has(img[src$="/dashboard-clinica.png"]) {

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  border: 0 !important;
  outline: 0 !important;

  border-radius: 0 !important;

  box-shadow: none !important;

  padding: 0 !important;

  overflow: visible !important;
}


/* No generar ningún marco artificial */

figure:has(img[src$="/agenda-clinica.png"])::before,
figure:has(img[src$="/agenda-clinica.png"])::after,
figure:has(img[src$="/dashboard-clinica.png"])::before,
figure:has(img[src$="/dashboard-clinica.png"])::after {

  display: none !important;

  content: none !important;

  background: transparent !important;

  border: 0 !important;
  box-shadow: none !important;
}


/* Elementos del teléfono antiguo que ya no necesitamos */

figure:has(img[src$="/agenda-clinica.png"]) .phone-speaker,
figure:has(img[src$="/dashboard-clinica.png"]) .phone-speaker,
figure:has(img[src$="/agenda-clinica.png"]) .media-placeholder,
figure:has(img[src$="/dashboard-clinica.png"]) .media-placeholder {

  display: none !important;
}


/* Evita que media-shell vuelva a ocultarlas */

.js .media-shell:not(.is-ready) > img[src$="/agenda-clinica.png"],
.js .media-shell:not(.is-ready) > img[src$="/dashboard-clinica.png"] {

  visibility: visible !important;
  opacity: 1 !important;
}


/* ---------- AGENDA DE LA SECCIÓN PRODUCTO ---------- */

.product-media--app-mockup {

  background: transparent !important;
  background-image: none !important;

  border: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;

  overflow: visible !important;
}


/* ---------- PACIENTE ---------- */

.landing-app-mockup:has(img[src$="/06_detalle_paciente.png"]) {

  background: transparent !important;

  border: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;
}


/* ---------- EQUIPO ---------- */

.landing-team-mockup,
.product-media--team-mockups {

  background: transparent !important;
  background-image: none !important;

  border: 0 !important;
  box-shadow: none !important;
}

.landing-team-mockup {

  padding: 0 !important;
}


/* FISIOTERAPP MOCKUPS TRANSPARENTES V2 - END */


/* HERO MOVILES GRANDES - START */

/* Dashboard: móvil principal */
.hero-visual figure:has(> img[src$="/dashboard-clinica.png"]) {
  width: min(72%, 380px) !important;
  max-width: none !important;
}

/* Agenda: segundo móvil */
.hero-visual figure:has(> img[src$="/agenda-clinica.png"]) {
  width: min(68%, 360px) !important;
  max-width: none !important;
}

/* Las imágenes ocupan todo su contenedor */
.hero-visual img[src$="/dashboard-clinica.png"],
.hero-visual img[src$="/agenda-clinica.png"] {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
}


/* Tablet */
@media (max-width: 899px) {

  .hero-visual figure:has(> img[src$="/dashboard-clinica.png"]) {
    width: 72% !important;
  }

  .hero-visual figure:has(> img[src$="/agenda-clinica.png"]) {
    width: 68% !important;
  }
}


/* Móvil */
@media (max-width: 640px) {

  .hero-visual figure:has(> img[src$="/dashboard-clinica.png"]) {
    width: 76% !important;
  }

  .hero-visual figure:has(> img[src$="/agenda-clinica.png"]) {
    width: 72% !important;
  }
}

/* HERO MOVILES GRANDES - END */








/* HERO MOVILES ANIMACION SUAVE - START */

/* Dashboard */
@keyframes fisioterapp-dashboard-float {

  0% {
    transform:
      translate3d(0, 2px, 0)
      rotate(-0.7deg);
  }

  50% {
    transform:
      translate3d(0, -13px, 0)
      rotate(0.7deg);
  }

  100% {
    transform:
      translate3d(0, 2px, 0)
      rotate(-0.7deg);
  }
}


/* Agenda */
@keyframes fisioterapp-agenda-float {

  0% {
    transform:
      translate3d(0, -4px, 0)
      rotate(0.65deg);
  }

  50% {
    transform:
      translate3d(0, 11px, 0)
      rotate(-0.65deg);
  }

  100% {
    transform:
      translate3d(0, -4px, 0)
      rotate(0.65deg);
  }
}


/* Dashboard principal */
.hero-visual img[src$="/dashboard-clinica.png"] {

  animation:
    fisioterapp-dashboard-float
    3.8s
    ease-in-out
    infinite !important;

  transform-origin: 50% 55%;

  will-change: transform;
}


/* Agenda secundaria */
.hero-visual img[src$="/agenda-clinica.png"] {

  animation:
    fisioterapp-agenda-float
    4.4s
    ease-in-out
    infinite !important;

  animation-delay: -1.5s !important;

  transform-origin: 50% 55%;

  will-change: transform;
}


/* Respetar usuarios con animaciones reducidas */
@media (prefers-reduced-motion: reduce) {

  .hero-visual img[src$="/dashboard-clinica.png"],
  .hero-visual img[src$="/agenda-clinica.png"] {

    animation: none !important;
    transform: none !important;
  }
}

/* HERO MOVILES ANIMACION SUAVE - END */


/* METRICAS Y EQUIPO MAS GRANDES - START */


/* =========================================================
   MÉTRICAS
   ========================================================= */

.product-media--metrics-mockups {
  width: 112% !important;
  max-width: none !important;

  margin-left: -6% !important;
  margin-right: -6% !important;

  gap: 18px !important;
}

.product-media--metrics-mockups .landing-app-mockup {
  width: 100% !important;
  max-width: none !important;
}

.product-media--metrics-mockups .landing-app-mockup img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;

  object-fit: contain !important;
}


/* =========================================================
   EQUIPO
   ========================================================= */

.product-media--team-mockups {
  width: 118% !important;
  max-width: none !important;

  margin-left: -9% !important;
  margin-right: -9% !important;

  gap: 18px !important;
}

.product-media--team-mockups .landing-team-mockup {
  width: 100% !important;
  max-width: none !important;
}

.product-media--team-mockups .landing-team-mockup img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;

  object-fit: contain !important;
}


/* =========================================================
   TABLET / MÓVIL
   ========================================================= */

@media (max-width: 899px) {

  .product-media--metrics-mockups {
    width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-media--metrics-mockups .landing-app-mockup {
    flex: 0 0 min(86vw, 410px) !important;
    width: min(86vw, 410px) !important;
  }

  .product-media--team-mockups {
    width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-media--team-mockups .landing-team-mockup {
    flex: 0 0 min(86vw, 410px) !important;
    width: min(86vw, 410px) !important;
  }
}


/* METRICAS Y EQUIPO MAS GRANDES - END */


/* HERO POSICION HORIZONTAL DEFINITIVA - START */

/*
 * Dashboard delante -> claramente hacia la izquierda.
 * Agenda detrás -> hacia la derecha.
 * No modifica tamaño ni animación.
 */

/* DASHBOARD */
.hero-visual figure:has(> img[src$="/dashboard-clinica.png"]) {
  translate: -105px 0 !important;
}

/* AGENDA */
.hero-visual figure:has(> img[src$="/agenda-clinica.png"]) {
  translate: 55px 0 !important;
}


/* Tablet */
@media (max-width: 899px) {

  .hero-visual figure:has(> img[src$="/dashboard-clinica.png"]) {
    translate: -70px 0 !important;
  }

  .hero-visual figure:has(> img[src$="/agenda-clinica.png"]) {
    translate: 42px 0 !important;
  }
}


/* Móvil */
@media (max-width: 640px) {

  .hero-visual figure:has(> img[src$="/dashboard-clinica.png"]) {
    translate: -55px 0 !important;
  }

  .hero-visual figure:has(> img[src$="/agenda-clinica.png"]) {
    translate: 35px 0 !important;
  }
}

/* HERO POSICION HORIZONTAL DEFINITIVA - END */


/* REPORTES MOBILE AUTOCAROUSEL - START */

@media (max-width: 899px) {

  .product-media--metrics-mockups {
    display: flex !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    gap: 16px !important;

    overflow-x: auto !important;
    overflow-y: visible !important;

    /*
     * IMPORTANTE:
     * sin snap durante el movimiento automático
     * para que sea completamente continuo.
     */
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;

    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    padding-inline: 7vw !important;
    padding-bottom: 10px !important;
  }

  .product-media--metrics-mockups::-webkit-scrollbar {
    display: none !important;
  }

  .product-media--metrics-mockups .landing-app-mockup {
    flex: 0 0 min(82vw, 410px) !important;

    width: min(82vw, 410px) !important;
    max-width: none !important;

    margin: 0 !important;
  }

  .product-media--metrics-mockups .landing-app-mockup img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    pointer-events: none;

    user-select: none;
    -webkit-user-drag: none;
  }
}

/* REPORTES MOBILE AUTOCAROUSEL - END */

/* PATIENT DETAIL SHOWCASE 2026 */

.patient-detail-showcase {
    position: relative;
    width: min(100%, 820px);
    min-height: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.patient-detail-phone {
    display: block;
    width: clamp(190px, 30vw, 300px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 32px rgba(15, 23, 42, 0.14));
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.patient-detail-phone--left {
    position: relative;
    z-index: 1;
    transform:
        translateX(40px)
        translateY(18px)
        rotate(-4deg)
        scale(0.92);
}

.patient-detail-phone--center {
    position: relative;
    z-index: 3;
    transform: scale(1.04);
}

.patient-detail-phone--right {
    position: relative;
    z-index: 2;
    transform:
        translateX(-40px)
        translateY(18px)
        rotate(4deg)
        scale(0.92);
}

@media (hover: hover) and (pointer: fine) {

    .patient-detail-showcase:hover .patient-detail-phone--left {
        transform:
            translateX(22px)
            translateY(8px)
            rotate(-2deg)
            scale(0.95);
    }

    .patient-detail-showcase:hover .patient-detail-phone--center {
        transform:
            translateY(-8px)
            scale(1.06);
    }

    .patient-detail-showcase:hover .patient-detail-phone--right {
        transform:
            translateX(-22px)
            translateY(8px)
            rotate(2deg)
            scale(0.95);
    }
}

@media (max-width: 720px) {

    .patient-detail-showcase {
        width: 100%;
        min-height: 430px;
    }

    .patient-detail-phone {
        width: min(58vw, 245px);
    }

    .patient-detail-phone--left {
        position: absolute;
        left: -12%;
        transform:
            translateY(16px)
            rotate(-5deg)
            scale(0.82);
    }

    .patient-detail-phone--center {
        position: relative;
        z-index: 3;
        transform: scale(1);
    }

    .patient-detail-phone--right {
        position: absolute;
        right: -12%;
        transform:
            translateY(16px)
            rotate(5deg)
            scale(0.82);
    }
}

@media (max-width: 430px) {

    .patient-detail-showcase {
        min-height: 385px;
    }

    .patient-detail-phone {
        width: min(62vw, 225px);
    }

    .patient-detail-phone--left {
        left: -17%;
    }

    .patient-detail-phone--right {
        right: -17%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .patient-detail-phone {
        transition: none;
    }
}


/* LANDING VISUAL TUNING 2026-09-25 START */

/* ----------------------------------------------------------
   1) HACER MAS PEQUEÑO EL BLOQUE DE 3 MOVILES DE PACIENTE
----------------------------------------------------------- */

.patient-detail-showcase {
    width: min(100%, 720px);
    min-height: 430px;
    margin: 0 auto;
}

.patient-detail-phone {
    width: clamp(150px, 24vw, 240px);
    height: auto;
    filter: drop-shadow(0 18px 26px rgba(15, 23, 42, 0.12));
}

.patient-detail-phone--left {
    transform:
        translateX(34px)
        translateY(18px)
        rotate(-4deg)
        scale(0.84);
}

.patient-detail-phone--center {
    transform: scale(0.94);
}

.patient-detail-phone--right {
    transform:
        translateX(-34px)
        translateY(18px)
        rotate(4deg)
        scale(0.84);
}

@media (hover: hover) and (pointer: fine) {
    .patient-detail-showcase:hover .patient-detail-phone--left {
        transform:
            translateX(20px)
            translateY(10px)
            rotate(-2deg)
            scale(0.88);
    }

    .patient-detail-showcase:hover .patient-detail-phone--center {
        transform:
            translateY(-6px)
            scale(0.97);
    }

    .patient-detail-showcase:hover .patient-detail-phone--right {
        transform:
            translateX(-20px)
            translateY(10px)
            rotate(2deg)
            scale(0.88);
    }
}

@media (max-width: 720px) {
    .patient-detail-showcase {
        min-height: 360px;
    }

    .patient-detail-phone {
        width: min(48vw, 185px);
    }

    .patient-detail-phone--left {
        left: -8%;
        transform:
            translateY(12px)
            rotate(-5deg)
            scale(0.78);
    }

    .patient-detail-phone--center {
        transform: scale(0.92);
    }

    .patient-detail-phone--right {
        right: -8%;
        transform:
            translateY(12px)
            rotate(5deg)
            scale(0.78);
    }
}

@media (max-width: 430px) {
    .patient-detail-showcase {
        min-height: 325px;
    }

    .patient-detail-phone {
        width: min(46vw, 165px);
    }

    .patient-detail-phone--left {
        left: -12%;
    }

    .patient-detail-phone--right {
        right: -12%;
    }
}

/* ----------------------------------------------------------
   2) ANIMACIONES SUAVES PARA OTRAS CAPTURAS
----------------------------------------------------------- */

@keyframes landingFloatSoftA {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes landingFloatSoftB {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@keyframes landingFloatSoftC {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Gestión de fisios y detalle profesional */
img[src*="/info/assets/07_gestion_fisioterapeutas.png"],
img[src*="/info/assets/08_detalle_profesional.png"] {
    animation: landingFloatSoftA 7s ease-in-out infinite;
    will-change: transform;
}

/* Capturas de reportes */
img[src*="/info/assets/02_reportes_"],
img[src*="/info/assets/03_reportes_"],
img[src*="/info/assets/04_reportes_"],
img[src*="/info/assets/05_reportes_"] {
    animation: landingFloatSoftB 8.5s ease-in-out infinite;
    will-change: transform;
}

/* Imagen principal de paciente: un movimiento muy sutil extra */
img[src*="/info/assets/06_detalle_paciente_resumen.png"],
img[src*="/info/assets/06_detalle_paciente_evolucion.png"],
img[src*="/info/assets/06_detalle_paciente_gestion.png"] {
    will-change: transform;
}

/* Hover premium en desktop para otras capturas */
@media (hover: hover) and (pointer: fine) {
    img[src*="/info/assets/07_gestion_fisioterapeutas.png"],
    img[src*="/info/assets/08_detalle_profesional.png"],
    img[src*="/info/assets/02_reportes_"],
    img[src*="/info/assets/03_reportes_"],
    img[src*="/info/assets/04_reportes_"],
    img[src*="/info/assets/05_reportes_"] {
        transition:
            transform 0.35s ease,
            filter 0.35s ease;
        filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.10));
    }

    img[src*="/info/assets/07_gestion_fisioterapeutas.png"]:hover,
    img[src*="/info/assets/08_detalle_profesional.png"]:hover,
    img[src*="/info/assets/02_reportes_"]:hover,
    img[src*="/info/assets/03_reportes_"]:hover,
    img[src*="/info/assets/04_reportes_"]:hover,
    img[src*="/info/assets/05_reportes_"]:hover {
        transform: translateY(-6px) scale(1.015);
        filter: drop-shadow(0 20px 34px rgba(15, 23, 42, 0.14));
    }
}

/* Variación suave adicional para que no todo se mueva igual */
img[src*="/info/assets/07_gestion_fisioterapeutas.png"] {
    animation: landingFloatSoftA 7s ease-in-out infinite;
}

img[src*="/info/assets/08_detalle_profesional.png"] {
    animation: landingFloatSoftC 6.8s ease-in-out infinite;
}

/* Respeto a reduced motion */
@media (prefers-reduced-motion: reduce) {
    img[src*="/info/assets/07_gestion_fisioterapeutas.png"],
    img[src*="/info/assets/08_detalle_profesional.png"],
    img[src*="/info/assets/02_reportes_"],
    img[src*="/info/assets/03_reportes_"],
    img[src*="/info/assets/04_reportes_"],
    img[src*="/info/assets/05_reportes_"] {
        animation: none !important;
        transition: none !important;
    }

    .patient-detail-phone {
        transition: none !important;
    }
}

/* LANDING VISUAL TUNING 2026-09-25 END */


/* PATIENT DETAIL SIZE PLUS50 2026-09-25 */

.patient-detail-showcase {
    width: min(100%, 1010px) !important;
    min-height: 585px !important;
}

.patient-detail-phone {
    width: clamp(203px, 33vw, 308px) !important;
    height: auto !important;
}

.patient-detail-phone--left {
    transform:
        translateX(42px)
        translateY(20px)
        rotate(-4deg)
        scale(0.82) !important;
}

.patient-detail-phone--center {
    transform: scale(0.92) !important;
}

.patient-detail-phone--right {
    transform:
        translateX(-42px)
        translateY(20px)
        rotate(4deg)
        scale(0.82) !important;
}

@media (hover: hover) and (pointer: fine) {

    .patient-detail-showcase:hover .patient-detail-phone--left {
        transform:
            translateX(25px)
            translateY(10px)
            rotate(-2deg)
            scale(0.86) !important;
    }

    .patient-detail-showcase:hover .patient-detail-phone--center {
        transform:
            translateY(-7px)
            scale(0.95) !important;
    }

    .patient-detail-showcase:hover .patient-detail-phone--right {
        transform:
            translateX(-25px)
            translateY(10px)
            rotate(2deg)
            scale(0.86) !important;
    }
}

@media (max-width: 720px) {

    .patient-detail-showcase {
        min-height: 495px !important;
    }

    .patient-detail-phone {
        width: min(64vw, 248px) !important;
    }

    .patient-detail-phone--left {
        left: -10% !important;
        transform:
            translateY(14px)
            rotate(-5deg)
            scale(0.78) !important;
    }

    .patient-detail-phone--center {
        transform: scale(0.88) !important;
    }

    .patient-detail-phone--right {
        right: -10% !important;
        transform:
            translateY(14px)
            rotate(5deg)
            scale(0.78) !important;
    }
}

@media (max-width: 430px) {

    .patient-detail-showcase {
        min-height: 440px !important;
    }

    .patient-detail-phone {
        width: min(61vw, 213px) !important;
    }

    .patient-detail-phone--left {
        left: -14% !important;
    }

    .patient-detail-phone--right {
        right: -14% !important;
    }
}

/* END PATIENT DETAIL SIZE PLUS50 2026-09-25 */


/* PATIENT DETAIL SHARPNESS FIX 2026-09-25 */

/*
   Evitamos escalar los PNG mediante transform.
   El tamaño visual se establece directamente con width,
   reduciendo la interpolación y mejorando la nitidez del UI.
*/

.patient-detail-phone {
    height: auto !important;
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Laterales: mismo tamaño visual aproximado que antes,
   pero SIN scale() */
.patient-detail-phone--left,
.patient-detail-phone--right {
    width: clamp(166px, 27vw, 253px) !important;
}

/* Central */
.patient-detail-phone--center {
    width: clamp(187px, 30vw, 283px) !important;
}

/* Izquierda */
.patient-detail-phone--left {
    transform:
        translate3d(42px, 20px, 0)
        rotate(-4deg) !important;
}

/* Centro */
.patient-detail-phone--center {
    transform:
        translate3d(0, 0, 0) !important;
}

/* Derecha */
.patient-detail-phone--right {
    transform:
        translate3d(-42px, 20px, 0)
        rotate(4deg) !important;
}

/*
   Hover:
   movimiento suave pero SIN zoom.
   Evitamos scale() para conservar nitidez.
*/
@media (hover: hover) and (pointer: fine) {

    .patient-detail-showcase:hover .patient-detail-phone--left {
        transform:
            translate3d(25px, 10px, 0)
            rotate(-2deg) !important;
    }

    .patient-detail-showcase:hover .patient-detail-phone--center {
        transform:
            translate3d(0, -7px, 0) !important;
    }

    .patient-detail-showcase:hover .patient-detail-phone--right {
        transform:
            translate3d(-25px, 10px, 0)
            rotate(2deg) !important;
    }
}

/* Tablet / móvil */
@media (max-width: 720px) {

    .patient-detail-phone--left,
    .patient-detail-phone--right {
        width: min(50vw, 193px) !important;
    }

    .patient-detail-phone--center {
        width: min(56vw, 218px) !important;
    }

    .patient-detail-phone--left {
        transform:
            translate3d(0, 14px, 0)
            rotate(-5deg) !important;
    }

    .patient-detail-phone--center {
        transform:
            translate3d(0, 0, 0) !important;
    }

    .patient-detail-phone--right {
        transform:
            translate3d(0, 14px, 0)
            rotate(5deg) !important;
    }
}

@media (max-width: 430px) {

    .patient-detail-phone--left,
    .patient-detail-phone--right {
        width: min(48vw, 166px) !important;
    }

    .patient-detail-phone--center {
        width: min(54vw, 187px) !important;
    }
}

/* END PATIENT DETAIL SHARPNESS FIX 2026-09-25 */


/* PATIENT DETAIL NO BLUR FIX 2026-09-25 */

/* Quitamos rotaciones y escalados en laterales para mantener nitidez */

.patient-detail-showcase {
    width: min(100%, 980px) !important;
    min-height: 560px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
}

.patient-detail-phone {
    height: auto !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.10)) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

/* laterales algo más pequeños, pero sin blur */
.patient-detail-phone--left,
.patient-detail-phone--right {
    width: clamp(185px, 29vw, 270px) !important;
}

/* central */
.patient-detail-phone--center {
    width: clamp(220px, 34vw, 325px) !important;
}

/* solo desplazamiento, sin rotate ni scale */
.patient-detail-phone--left {
    position: relative !important;
    z-index: 1 !important;
    transform: translate3d(34px, 18px, 0) !important;
}

.patient-detail-phone--center {
    position: relative !important;
    z-index: 3 !important;
    transform: translate3d(0, 0, 0) !important;
}

.patient-detail-phone--right {
    position: relative !important;
    z-index: 2 !important;
    transform: translate3d(-34px, 18px, 0) !important;
}

/* hover suave sin blur */
@media (hover: hover) and (pointer: fine) {
    .patient-detail-showcase:hover .patient-detail-phone--left {
        transform: translate3d(22px, 10px, 0) !important;
    }

    .patient-detail-showcase:hover .patient-detail-phone--center {
        transform: translate3d(0, -6px, 0) !important;
    }

    .patient-detail-showcase:hover .patient-detail-phone--right {
        transform: translate3d(-22px, 10px, 0) !important;
    }
}

/* móvil / tablet */
@media (max-width: 720px) {
    .patient-detail-showcase {
        min-height: 430px !important;
    }

    .patient-detail-phone--left,
    .patient-detail-phone--right {
        width: min(44vw, 190px) !important;
    }

    .patient-detail-phone--center {
        width: min(50vw, 220px) !important;
    }

    .patient-detail-phone--left {
        left: -4% !important;
        transform: translate3d(0, 12px, 0) !important;
    }

    .patient-detail-phone--center {
        transform: translate3d(0, 0, 0) !important;
    }

    .patient-detail-phone--right {
        right: -4% !important;
        transform: translate3d(0, 12px, 0) !important;
    }
}

@media (max-width: 430px) {
    .patient-detail-showcase {
        min-height: 360px !important;
    }

    .patient-detail-phone--left,
    .patient-detail-phone--right {
        width: min(41vw, 160px) !important;
    }

    .patient-detail-phone--center {
        width: min(47vw, 185px) !important;
    }

    .patient-detail-phone--left {
        left: -6% !important;
    }

    .patient-detail-phone--right {
        right: -6% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .patient-detail-phone {
        transition: none !important;
    }
}

/* END PATIENT DETAIL NO BLUR FIX 2026-09-25 */


/* PATIENT DETAIL LATERALS PLUS10 2026-09-25 */

/* Solo aumentamos las laterales ~10% */

.patient-detail-phone--left,
.patient-detail-phone--right {
    width: clamp(204px, 32vw, 297px) !important;
}

.patient-detail-phone--left {
    transform: translate3d(38px, 18px, 0) !important;
}

.patient-detail-phone--right {
    transform: translate3d(-38px, 18px, 0) !important;
}

@media (hover: hover) and (pointer: fine) {
    .patient-detail-showcase:hover .patient-detail-phone--left {
        transform: translate3d(24px, 10px, 0) !important;
    }

    .patient-detail-showcase:hover .patient-detail-phone--right {
        transform: translate3d(-24px, 10px, 0) !important;
    }
}

@media (max-width: 720px) {
    .patient-detail-phone--left,
    .patient-detail-phone--right {
        width: min(48vw, 209px) !important;
    }
}

@media (max-width: 430px) {
    .patient-detail-phone--left,
    .patient-detail-phone--right {
        width: min(45vw, 176px) !important;
    }
}

/* END PATIENT DETAIL LATERALS PLUS10 2026-09-25 */


/* LANDING SOFT IMAGE ZOOM 2026-09-25 */

/*
   Zoom premium:
   - no desplaza la imagen hacia arriba
   - aumenta suavemente
   - pasa por delante
   - sin cambios bruscos
*/


/* ==========================================================
   IMAGENES GENERALES DE LA LANDING
   ========================================================== */

main img:not(.patient-detail-phone):not([src*="fisioterapp_isotipo"]):not([src*="fisioterapp_wordmark"]):not([src*="fisioterapp-logo"]):not([src*="logo_fisioterapp"]) {
    position: relative;
    z-index: 1;

    transform: scale(1);

    transform-origin: center center;

    transition:
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* ==========================================================
   DESKTOP - ZOOM SUAVE
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

    main img:not(.patient-detail-phone):not([src*="fisioterapp_isotipo"]):not([src*="fisioterapp_wordmark"]):not([src*="fisioterapp-logo"]):not([src*="logo_fisioterapp"]):hover {

        animation-play-state: paused !important;

        transform: scale(1.08) !important;

        z-index: 50 !important;

        filter:
            drop-shadow(0 24px 34px rgba(15, 23, 42, 0.16))
            saturate(1.02) !important;
    }
}


/* ==========================================================
   TRES MOVILES DEL DETALLE DEL PACIENTE
   ========================================================== */

.patient-detail-phone {
    transition:
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s ease !important;

    transform-origin: center center;
}


/*
   Conservamos exactamente la posición normal.
*/

.patient-detail-phone--left {
    transform:
        translate3d(38px, 18px, 0) !important;
}

.patient-detail-phone--center {
    transform:
        translate3d(0, 0, 0) !important;
}

.patient-detail-phone--right {
    transform:
        translate3d(-38px, 18px, 0) !important;
}


/*
   Al pasar el ratón:
   zoom SIN desplazamiento vertical.
*/

@media (hover: hover) and (pointer: fine) {

    .patient-detail-showcase .patient-detail-phone--left:hover {
        z-index: 100 !important;

        transform:
            translate3d(38px, 18px, 0)
            scale(1.10) !important;

        filter:
            drop-shadow(0 28px 40px rgba(15, 23, 42, 0.20))
            saturate(1.02) !important;
    }


    .patient-detail-showcase .patient-detail-phone--center:hover {
        z-index: 100 !important;

        transform:
            translate3d(0, 0, 0)
            scale(1.10) !important;

        filter:
            drop-shadow(0 28px 40px rgba(15, 23, 42, 0.20))
            saturate(1.02) !important;
    }


    .patient-detail-showcase .patient-detail-phone--right:hover {
        z-index: 100 !important;

        transform:
            translate3d(-38px, 18px, 0)
            scale(1.10) !important;

        filter:
            drop-shadow(0 28px 40px rgba(15, 23, 42, 0.20))
            saturate(1.02) !important;
    }
}


/* ==========================================================
   EVITAR QUE CONTENEDORES CORTEN EL ZOOM
   ========================================================== */

.product-visual,
.product-media,
.product-showcase,
.patient-detail-showcase,
figure {
    overflow: visible !important;
}


/* ==========================================================
   TÁCTIL
   ========================================================== */

@media (hover: none), (pointer: coarse) {

    main img {
        opacity: 1 !important;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    main img {
        transition: none !important;
    }
}

/* END LANDING SOFT IMAGE ZOOM 2026-09-25 */


/* LANDING UNIFIED SMOOTH HOVER 2026-09-25 */

/*
   Las capturas generales pasan a comportarse como
   los móviles del bloque de pacientes.

   Quitamos las animaciones anteriores que modificaban
   transform, porque provocaban el salto brusco al entrar
   en hover.
*/

main img:not(.patient-detail-phone):not([src*="fisioterapp_isotipo"]):not([src*="fisioterapp_wordmark"]):not([src*="fisioterapp-logo"]):not([src*="logo_fisioterapp"]) {

    animation: none !important;

    position: relative;
    z-index: 1;

    transform: scale(1) !important;
    transform-origin: center center !important;

    transition:
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s ease !important;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* MISMO ZOOM SUAVE QUE PACIENTES */

@media (hover: hover) and (pointer: fine) {

    main img:not(.patient-detail-phone):not([src*="fisioterapp_isotipo"]):not([src*="fisioterapp_wordmark"]):not([src*="fisioterapp-logo"]):not([src*="logo_fisioterapp"]):hover {

        transform: scale(1.10) !important;

        z-index: 100 !important;

        filter:
            drop-shadow(0 28px 40px rgba(15, 23, 42, 0.20))
            saturate(1.02) !important;

        opacity: 1 !important;
    }
}


/* Evitar que algún contenedor corte el zoom */

.product-visual,
.product-media,
.product-showcase,
figure {
    overflow: visible !important;
}


/* En táctil no cambia nada */

@media (hover: none), (pointer: coarse) {

    main img:not(.patient-detail-phone) {
        transform: none !important;
        opacity: 1 !important;
    }
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {

    main img {
        animation: none !important;
        transition: none !important;
    }
}

/* END LANDING UNIFIED SMOOTH HOVER 2026-09-25 */


/* LANDING GENERAL ZOOM 18 2026-09-25 */

/*
   Solo afecta a imágenes generales.
   Los 3 móviles de Detalle de paciente mantienen su zoom actual.
*/

@media (hover: hover) and (pointer: fine) {

    main img:not(.patient-detail-phone):not([src*="fisioterapp_isotipo"]):not([src*="fisioterapp_wordmark"]):not([src*="fisioterapp-logo"]):not([src*="logo_fisioterapp"]):hover {

        transform: scale(1.18) !important;

        z-index: 120 !important;

        filter:
            drop-shadow(0 30px 44px rgba(15, 23, 42, 0.22))
            saturate(1.02) !important;

        opacity: 1 !important;
    }
}

/* END LANDING GENERAL ZOOM 18 2026-09-25 */


/* LANDING METRICAS WRAPPER ZOOM 2026-09-25 */

/*
   IMPORTANTE:
   El zoom de métricas se hace sobre el FIGURE completo.

   Así evitamos el conflicto con el hover global de las imágenes.
*/

.product-media--metrics-mockups {
    overflow: visible !important;
    position: relative !important;
}

.product-media--metrics-mockups .landing-app-mockup {
    position: relative !important;
    z-index: 1;

    overflow: visible !important;

    transform: scale(1) !important;
    transform-origin: center center !important;

    transition:
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
}


/*
   MUY IMPORTANTE:
   anulamos el zoom global del IMG en métricas,
   porque el zoom lo controla ahora su FIGURE.
*/

@media (hover: hover) and (pointer: fine) {

    main .product-media--metrics-mockups .landing-app-mockup > img:hover {
        transform: none !important;
        filter: none !important;
    }


    /*
       Hover sobre cualquier parte del mockup:
       tamaño REAL x2.
    */

    main .product-media--metrics-mockups .landing-app-mockup:hover {

        transform: scale(1.45) !important;

        z-index: 9999 !important;

        filter:
            drop-shadow(0 38px 60px rgba(15, 23, 42, 0.28)) !important;
    }


    /*
       Cuando uno está ampliado,
       los demás pierden un poco de protagonismo.
    */

    main .product-media--metrics-mockups:hover
    .landing-app-mockup:not(:hover) {

        opacity: 0.72;

        transition:
            opacity 0.5s ease,
            transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

}


/*
   Evitamos cualquier recorte del zoom.
*/

.product-media--metrics-mockups,
.product-media--metrics-mockups .landing-app-mockup,
.product-media--metrics-mockups .landing-app-mockup > img {
    overflow: visible !important;
}


/*
   En móvil no hacemos zoom por hover.
*/

@media (hover: none), (pointer: coarse) {

    .product-media--metrics-mockups .landing-app-mockup {
        transform: none !important;
        opacity: 1 !important;
    }
}


/*
   Accesibilidad
*/

@media (prefers-reduced-motion: reduce) {

    .product-media--metrics-mockups .landing-app-mockup {
        transition: none !important;
    }
}

/* END LANDING METRICAS WRAPPER ZOOM 2026-09-25 */


/* LANDING METRICAS SHARPNESS FIX 2026-09-25 */

/*
   Evitamos filtros GPU sobre el elemento que se escala.
   Esto ayuda a que textos y líneas de las capturas
   se mantengan más nítidos durante y después del zoom.
*/

.product-media--metrics-mockups .landing-app-mockup {
    filter: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
}

.product-media--metrics-mockups .landing-app-mockup > img {
    image-rendering: auto !important;

    filter: none !important;

    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;

    transform: none !important;

    width: 100%;
    height: auto;
}


/*
   El zoom sigue exactamente en x1.45.
   Solo quitamos efectos que pueden rasterizar la capa.
*/

@media (hover: hover) and (pointer: fine) {

    main .product-media--metrics-mockups .landing-app-mockup:hover {
        transform: scale(1.45) !important;
        filter: none !important;
    }

    main .product-media--metrics-mockups .landing-app-mockup:hover > img {
        transform: none !important;
        filter: none !important;
    }
}

/* END LANDING METRICAS SHARPNESS FIX 2026-09-25 */


/* LANDING RESERVAS DESKTOP MOCKUP 2026-09-25 */

/*
   Nuevo mockup de reserva online:
   portátil horizontal preparado específicamente para desktop.
*/

img[src*="reservas-online.png"] {
    display: block;

    width: min(125%, 1050px) !important;
    max-width: none !important;
    height: auto !important;

    margin-left: 50%;
    transform: translateX(-50%) !important;

    object-fit: contain;

    filter:
        drop-shadow(0 24px 32px rgba(15, 23, 42, 0.14));

    transform-origin: center center !important;
}


/*
   Hover desktop.
   Mantiene el acercamiento suave que estamos usando
   en el resto de capturas.
*/

@media (hover: hover) and (pointer: fine) {

    main img[src*="reservas-online.png"]:hover {
        transform:
            translateX(-50%)
            scale(1.18) !important;

        z-index: 100 !important;

        filter:
            drop-shadow(0 30px 42px rgba(15, 23, 42, 0.20)) !important;
    }
}


/*
   Tablet
*/

@media (max-width: 899px) {

    img[src*="reservas-online.png"] {
        width: min(115%, 820px) !important;
    }
}


/*
   Móvil:
   no forzamos un mockup gigantesco.
*/

@media (max-width: 640px) {

    img[src*="reservas-online.png"] {
        width: 110% !important;
    }
}


/* END LANDING RESERVAS DESKTOP MOCKUP 2026-09-25 */


/* LANDING RESERVAS LAPTOP LAYOUT 2026-09-25 START */

/*
   La imagen nueva de reservas ya es un portátil terminado.
   Por eso anulamos el mockup/browser anterior SOLO en esta sección.
*/

.booking-laptop-section .booking-laptop-stage,
.booking-laptop-section .booking-laptop-frame {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.booking-laptop-section .booking-laptop-frame {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    min-height: 440px;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.booking-laptop-section .booking-laptop-frame::before,
.booking-laptop-section .booking-laptop-frame::after {
    content: none !important;
    display: none !important;
}

/* Si el mockup antiguo tenía piezas decorativas internas, las ocultamos */
.booking-laptop-section .booking-laptop-decoration {
    display: none !important;
}

.booking-laptop-image {
    display: block !important;
    width: min(100%, 920px) !important;
    max-width: 920px !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    background: transparent !important;
    filter: drop-shadow(0 26px 34px rgba(15, 23, 42, 0.18)) !important;
    transform: translateX(3%) scale(1) !important;
    transform-origin: center center !important;
    position: relative;
    z-index: 2;
    transition:
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Desktop: le damos más presencia y lo desplazamos un poco a la derecha */
@media (min-width: 1100px) {
    .booking-laptop-section .booking-laptop-frame {
        min-height: 500px;
    }

    .booking-laptop-image {
        width: min(112%, 1020px) !important;
        max-width: 1020px !important;
        transform: translateX(6%) scale(1) !important;
    }
}

/* Hover suave, igual que el resto */
@media (hover: hover) and (pointer: fine) {
    .booking-laptop-image:hover {
        transform: translateX(6%) scale(1.10) !important;
        filter: drop-shadow(0 34px 46px rgba(15, 23, 42, 0.22)) !important;
        z-index: 50 !important;
    }
}

/* Tablet */
@media (max-width: 1099px) {
    .booking-laptop-section .booking-laptop-frame {
        min-height: 380px;
    }

    .booking-laptop-image {
        width: min(108%, 860px) !important;
        max-width: 860px !important;
        transform: translateX(2%) scale(1) !important;
    }

    @media (hover: hover) and (pointer: fine) {
        .booking-laptop-image:hover {
            transform: translateX(2%) scale(1.08) !important;
        }
    }
}

/* Móvil: sin desplazar demasiado */
@media (max-width: 767px) {
    .booking-laptop-section .booking-laptop-frame {
        min-height: auto;
    }

    .booking-laptop-image {
        width: 112% !important;
        max-width: 112% !important;
        transform: translateX(0) scale(1) !important;
        margin-top: 8px !important;
    }

    @media (hover: hover) and (pointer: fine) {
        .booking-laptop-image:hover {
            transform: scale(1.05) !important;
        }
    }
}

/* END LANDING RESERVAS LAPTOP LAYOUT 2026-09-25 END */


/* PATIENT DETAIL MOBILE FINAL FIX 2026-09-25 */

/*
   SOLO landing responsive móvil.

   Resumen:
            [ RESUMEN ]

   Debajo:
      [ EVOLUCION ] [ GESTION ]

   Evitamos cualquier translate/scale heredado de desktop.
*/

@media (max-width: 720px) {

    .patient-detail-showcase {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        grid-template-rows: auto auto !important;

        align-items: start !important;
        justify-items: center !important;

        column-gap: 12px !important;
        row-gap: 18px !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 0 !important;

        margin: 0 auto !important;
        padding: 8px 6px 14px !important;

        box-sizing: border-box !important;

        position: relative !important;
    }


    /* --------------------------------------------------------
       TODAS LAS IMAGENES
       -------------------------------------------------------- */

    .patient-detail-showcase .patient-detail-phone {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        margin: 0 auto !important;

        min-width: 0 !important;
        max-width: 100% !important;

        height: auto !important;

        transform: none !important;

        opacity: 1 !important;

        box-sizing: border-box !important;
    }


    /* --------------------------------------------------------
       RESUMEN - ARRIBA Y CENTRADO
       -------------------------------------------------------- */

    .patient-detail-showcase .patient-detail-phone--center {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;

        width: min(48vw, 190px) !important;
        max-width: 190px !important;

        z-index: 3 !important;

        transform: none !important;
    }


    /* --------------------------------------------------------
       EVOLUCION - ABAJO IZQUIERDA
       -------------------------------------------------------- */

    .patient-detail-showcase .patient-detail-phone--left {
        grid-column: 1 !important;
        grid-row: 2 !important;

        width: min(42vw, 170px) !important;
        max-width: 170px !important;

        z-index: 2 !important;

        transform: none !important;
    }


    /* --------------------------------------------------------
       GESTION - ABAJO DERECHA
       -------------------------------------------------------- */

    .patient-detail-showcase .patient-detail-phone--right {
        grid-column: 2 !important;
        grid-row: 2 !important;

        width: min(42vw, 170px) !important;
        max-width: 170px !important;

        z-index: 2 !important;

        transform: none !important;
    }
}


/* ------------------------------------------------------------
   MOVILES ESTRECHOS
   ------------------------------------------------------------ */

@media (max-width: 430px) {

    .patient-detail-showcase {
        column-gap: 8px !important;
        row-gap: 14px !important;

        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .patient-detail-showcase .patient-detail-phone--center {
        width: min(47vw, 180px) !important;
        max-width: 180px !important;
    }

    .patient-detail-showcase .patient-detail-phone--left,
    .patient-detail-showcase .patient-detail-phone--right {
        width: min(40vw, 155px) !important;
        max-width: 155px !important;
    }
}


/* ------------------------------------------------------------
   MOVILES MUY ESTRECHOS
   ------------------------------------------------------------ */

@media (max-width: 360px) {

    .patient-detail-showcase .patient-detail-phone--center {
        width: min(49vw, 170px) !important;
    }

    .patient-detail-showcase .patient-detail-phone--left,
    .patient-detail-showcase .patient-detail-phone--right {
        width: min(39vw, 140px) !important;
    }
}


/* ------------------------------------------------------------
   SIN HOVER / SIN DESPLAZAMIENTOS EN TACTIL
   ------------------------------------------------------------ */

@media (hover: none), (pointer: coarse) {

    .patient-detail-showcase .patient-detail-phone,
    .patient-detail-showcase .patient-detail-phone:hover {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* END PATIENT DETAIL MOBILE FINAL FIX 2026-09-25 */























/* HERO IMAGES COMPOSITION FINAL START */


/* ==========================================================
   ESCENARIO
   ========================================================== */

@media (min-width: 900px) {

    .hero-visual {
        position: relative !important;
        min-height: 610px !important;
        overflow: visible !important;
    }


    /*
       DASHBOARD
       Principal, abajo/izquierda.
    */

    .hero-visual .hero-dashboard-final {
        position: absolute !important;

        width: 68% !important;
        max-width: none !important;

        left: 3% !important;
        bottom: 7% !important;

        margin: 0 !important;

        z-index: 2 !important;

        overflow: visible !important;

        transform-origin: center center !important;

        animation:
            heroDashboardNaturalMove
            9.5s
            ease-in-out
            infinite !important;
    }


    /*
       AGENDA
       Secundaria, arriba/derecha.
       Más cerca del Dashboard que antes.
    */

    .hero-visual .hero-agenda-final {
        position: absolute !important;

        width: 48% !important;
        max-width: none !important;

        right: 1% !important;
        top: 4% !important;

        margin: 0 !important;

        z-index: 3 !important;

        overflow: visible !important;

        transform-origin: center center !important;

        animation:
            heroAgendaNaturalMove
            8.3s
            ease-in-out
            infinite !important;
    }


    /*
       Las imágenes ocupan el figure.
       Quitamos tamaños/márgenes heredados.
    */

    .hero-dashboard-final > img,
    .hero-agenda-final > img {
        display: block !important;

        width: 100% !important;
        max-width: none !important;
        height: auto !important;

        margin: 0 !important;

        transform: none !important;

        filter: none !important;
    }


    /*
       Neutralizamos el hover global SOLO aquí.
       El movimiento lo hace el figure.
    */

    main .hero-dashboard-final > img:hover,
    main .hero-agenda-final > img:hover {
        transform: none !important;
    }
}


/* ==========================================================
   MOVIMIENTO DASHBOARD
   ========================================================== */

@keyframes heroDashboardNaturalMove {

    0% {
        transform: translate3d(-5px, 5px, 0);
    }

    20% {
        transform: translate3d(8px, -3px, 0);
    }

    40% {
        transform: translate3d(12px, -10px, 0);
    }

    60% {
        transform: translate3d(4px, 4px, 0);
    }

    80% {
        transform: translate3d(-10px, 10px, 0);
    }

    100% {
        transform: translate3d(-5px, 5px, 0);
    }
}


/* ==========================================================
   MOVIMIENTO AGENDA
   Más visible para confirmar que SE MUEVE.
   ========================================================== */

@keyframes heroAgendaNaturalMove {

    0% {
        transform: translate3d(0, -4px, 0);
    }

    20% {
        transform: translate3d(-14px, 5px, 0);
    }

    40% {
        transform: translate3d(-7px, 14px, 0);
    }

    60% {
        transform: translate3d(10px, 9px, 0);
    }

    80% {
        transform: translate3d(15px, -8px, 0);
    }

    100% {
        transform: translate3d(0, -4px, 0);
    }
}


/* ==========================================================
   TABLET / MÓVIL
   No usamos absolute para evitar desbordamientos.
   ========================================================== */

@media (max-width: 899px) {

    .hero-visual {
        overflow: visible !important;
    }

    .hero-dashboard-final,
    .hero-agenda-final {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        margin: 0 auto !important;
    }

    .hero-dashboard-final {
        width: 82% !important;

        animation:
            heroDashboardMobileMove
            9.5s
            ease-in-out
            infinite !important;
    }

    .hero-agenda-final {
        width: 67% !important;

        margin-top: -42px !important;
        margin-left: auto !important;
        margin-right: 4% !important;

        animation:
            heroAgendaMobileMove
            8.3s
            ease-in-out
            infinite !important;
    }

    .hero-dashboard-final > img,
    .hero-agenda-final > img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;

        transform: none !important;
    }
}


@keyframes heroDashboardMobileMove {

    0%, 100% {
        transform: translate3d(-2px, 2px, 0);
    }

    50% {
        transform: translate3d(4px, -5px, 0);
    }
}


@keyframes heroAgendaMobileMove {

    0%, 100% {
        transform: translate3d(3px, -2px, 0);
    }

    50% {
        transform: translate3d(-5px, 5px, 0);
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .hero-dashboard-final,
    .hero-agenda-final {
        animation: none !important;
        transform: none !important;
    }
}


/* HERO IMAGES COMPOSITION FINAL END */



/* DASHBOARD EXTRA SIZE FINAL START */

/*
   SOLO Dashboard.
   +25% visual constante.
   El scale NO cambia durante la animación:
   únicamente cambia X/Y.
*/

@keyframes heroDashboardNaturalMove {

    0% {
        transform:
            translate3d(-5px, 5px, 0)
            scale(1.25);
    }

    20% {
        transform:
            translate3d(8px, -3px, 0)
            scale(1.25);
    }

    40% {
        transform:
            translate3d(12px, -10px, 0)
            scale(1.25);
    }

    60% {
        transform:
            translate3d(4px, 4px, 0)
            scale(1.25);
    }

    80% {
        transform:
            translate3d(-10px, 10px, 0)
            scale(1.25);
    }

    100% {
        transform:
            translate3d(-5px, 5px, 0)
            scale(1.25);
    }
}


/*
   Lo desplazamos ligeramente para compensar
   el aumento y mantener buena composición.
*/

@media (min-width: 900px) {

    .hero-visual .hero-dashboard-final {
        width: 68% !important;

        left: 0% !important;
        bottom: 5% !important;

        z-index: 2 !important;
    }
}


/* END DASHBOARD EXTRA SIZE FINAL END */







/* AGENDA WRAPPER REAL MOVEMENT START */


/*
   El FIGURE controla posición y tamaño.
   El wrapper nuevo controla SOLO movimiento.

   De esta manera ningún transform antiguo del IMG
   ni del FIGURE puede cancelar la animación.
*/


/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 900px) {

    /*
       Recuperamos presencia visual de Agenda.
       Antes la habíamos forzado a 48%.
    */

    .hero-visual figure:has(img[src*="agenda-clinica.png"]),
    .hero-visual .hero-agenda-final {
        width: 70% !important;

        right: -1% !important;
        top: 2% !important;

        overflow: visible !important;
    }


    /*
       Wrapper completamente nuevo.
       No tiene conflictos con CSS antiguo.
    */

    .agenda-motion-wrapper {
        display: block !important;

        width: 100% !important;

        position: relative !important;

        overflow: visible !important;

        transform-origin: center center !important;

        animation:
            agendaRealFloatingMovement
            8s
            ease-in-out
            infinite !important;

        will-change: transform;
    }


    .agenda-motion-wrapper > img {
        display: block !important;

        width: 100% !important;
        max-width: none !important;
        height: auto !important;

        margin: 0 !important;

        transform: none !important;
    }
}


/* ==========================================================
   MOVIMIENTO REAL 2D
   ========================================================== */

@keyframes agendaRealFloatingMovement {

    0% {
        transform: translate3d(-12px, -5px, 0);
    }

    16% {
        transform: translate3d(3px, -13px, 0);
    }

    33% {
        transform: translate3d(15px, -4px, 0);
    }

    50% {
        transform: translate3d(12px, 10px, 0);
    }

    66% {
        transform: translate3d(-2px, 15px, 0);
    }

    83% {
        transform: translate3d(-15px, 7px, 0);
    }

    100% {
        transform: translate3d(-12px, -5px, 0);
    }
}


/* ==========================================================
   TABLET / MÓVIL
   ========================================================== */

@media (max-width: 899px) {

    .agenda-motion-wrapper {
        display: block !important;

        width: 100% !important;

        position: relative !important;

        animation:
            agendaRealFloatingMovementMobile
            8s
            ease-in-out
            infinite !important;
    }

    .agenda-motion-wrapper > img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;

        transform: none !important;
    }
}


@keyframes agendaRealFloatingMovementMobile {

    0% {
        transform: translate3d(-3px, -2px, 0);
    }

    25% {
        transform: translate3d(4px, -5px, 0);
    }

    50% {
        transform: translate3d(5px, 3px, 0);
    }

    75% {
        transform: translate3d(-4px, 5px, 0);
    }

    100% {
        transform: translate3d(-3px, -2px, 0);
    }
}


/* AGENDA WRAPPER REAL MOVEMENT END */


/* METRICS MOBILE CAROUSEL FIX 2026-09-27 START */

@media (max-width: 899px) {

  .product-row .product-media.product-media--metrics-mockups {
    display: flex !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    gap: 16px !important;
    padding: 10px 6px 20px !important;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .product-row .product-media.product-media--metrics-mockups::-webkit-scrollbar {
    display: none;
  }

  .product-row .product-media.product-media--metrics-mockups > .landing-app-mockup {
    flex: 0 0 min(78vw, 360px) !important;
    width: min(78vw, 360px) !important;
    min-width: min(78vw, 360px) !important;
    max-width: none !important;

    margin: 0 !important;
    scroll-snap-align: center;
    transform: none !important;
  }

  .product-row .product-media.product-media--metrics-mockups > .landing-app-mockup > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* METRICS MOBILE CAROUSEL FIX 2026-09-27 END */


/* TEAM MOBILE CAROUSEL FIX 2026-09-27 START */

@media (max-width: 899px) {

  .product-row .product-media.product-media--team-mockups {
    display: flex !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    gap: 16px !important;
    padding: 10px 6px 20px !important;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .product-row .product-media.product-media--team-mockups::-webkit-scrollbar {
    display: none;
  }

  .product-row .product-media.product-media--team-mockups > .landing-team-mockup {
    flex: 0 0 min(78vw, 360px) !important;

    width: min(78vw, 360px) !important;
    min-width: min(78vw, 360px) !important;
    max-width: none !important;

    margin: 0 !important;

    scroll-snap-align: center;

    transform: none !important;
  }

  .product-row .product-media.product-media--team-mockups > .landing-team-mockup > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* TEAM MOBILE CAROUSEL FIX 2026-09-27 END */
