/*
 * Base visual de la propuesta TopEstrellas.
 * Compartir tipografías, formas y jerarquía con la matriz y futuras verticales.
 * Los temas de cada vertical definen su acento; el logo conserva su geometría.
 * Esta prueba se aplica únicamente a la copia de Hostelería.
 */
:root {
  --font-ui: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  --font-display: Fraunces, Georgia, serif;
  --button-radius: 999px;
  --surface-radius: 16px;
  --control-radius: 8px;
  --ink: #353c44;
  --line: #e6e5e3;
  --soft: #f8f8f8;
  --white: #fff;
  --content-max: 1264px;
  --page-gutter: 48px;
  --content-width: min(var(--content-max), calc(100% - var(--page-gutter) - var(--page-gutter)));
  --section-space: clamp(64px, 6.5vw, 100px);
  font-family: var(--font-ui);
}
:root[data-vertical="hosteleria"] {
  --brand: #d85a30;
  --brand-deep: #a8431f;
  --brand-soft: #fbeadf;
  --brand-surface: #fffcfa;
  --text: #241b14;
  --muted: #6e6157;
}
body { font-family: var(--font-ui); }
.wrap, .plans-section, .header-inner {
  width: var(--content-width);
  margin-inline: auto;
}
.product-section, .menu-section, .assistant-section, .plans-section, .faq-section {
  padding-block: var(--section-space);
}
.header-inner { min-height: 80px; }
h1, h2, .plans-heading h2 { font-family: var(--font-display); }
.plans-section, .plan-card h3, .pack-price,
.comparison-module th button, .compare-pickers select {
  font-family: var(--font-ui);
}
.button, .header-cta, .plan-choose {
  border-radius: var(--button-radius);
}
.hero-product, .product-panel-image, .business-flow,
.assistant-demo, .plan-card, .comparison-table-wrap {
  border-radius: var(--surface-radius);
}
.menu-toggle, .billing-selector, .compare-pickers select {
  border-radius: var(--control-radius);
}
.plans-section {
  --plan-ink: var(--ink);
  --plan-accent: var(--brand);
  --plan-accent-text: var(--brand-deep);
  --plan-char: var(--ink);
  --plan-line: var(--line);
  --plan-muted: var(--muted);
  --plan-neutral: var(--soft);
}
.plans-grid { gap: 18px; }
.plan-card { padding-inline: 24px; }
.plan-card-lead { padding-inline: 23px; background: var(--brand-surface); }
.plan-price-line { margin-top: 19px; }
.pack-charge { margin-top: 10px; min-height: 32px; }
.plan-terms { padding-top: 8px; }
.plans-section[data-billing-period="month"] .plan-terms { min-height: 136px; }
.plan-promotion { margin: 0; font-size: 12px; padding: 8px 10px; }
.plan-module-count { margin-top: 18px; padding-top: 16px; margin-bottom: 15px; }
.plan-module-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 25px;
  font-size: 12px;
}
.plan-module-list li { padding: 0 0 0 17px; }
.plans-section { padding-bottom: 44px; }
.faq-section { padding-top: 44px; }
.billing-explanation { max-width: 360px; text-align: right; }
.hero-product { box-shadow: 0 16px 48px -24px rgba(53, 60, 68, .3); }
.hero-product figcaption { padding: 18px 22px; }
.product-panel-image figcaption { line-height: 1.7; }
.photo-reveal {
  --photo-position: 50%;
  position: relative;
  aspect-ratio: 1.3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--surface-radius);
  background: var(--soft);
}
.photo-original, .photo-result, .photo-result img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.photo-result { clip-path: inset(0 0 0 var(--photo-position)); }
.photo-labels {
  position: absolute;
  inset: 14px 14px auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.photo-labels span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  transition: opacity .2s ease;
}
.photo-reveal[data-photo-state="improved"] .photo-labels span:first-child,
.photo-reveal[data-photo-state="original"] .photo-labels span:last-child,
.photo-reveal[data-photo-state="improved"] .photo-divider,
.photo-reveal[data-photo-state="original"] .photo-divider { opacity: 0; }
.photo-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--photo-position);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}
.photo-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 3px 14px rgba(36, 27, 20, .15);
}
.photo-divider svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.photo-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.photo-reveal:focus-within { outline: 3px solid var(--brand-deep); outline-offset: 5px; }
.photo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.photo-toolbar button {
  padding: 8px 0;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.photo-reveal.is-changing .photo-result { transition: clip-path .5s cubic-bezier(.22, 1, .36, 1); }
.photo-reveal.is-changing .photo-divider { transition: left .5s cubic-bezier(.22, 1, .36, 1); }
.window-dot { background: var(--brand); }
.ai-question, .closing-section { background: var(--brand-soft); }
button:focus-visible, a:focus-visible,
summary:focus-visible, select:focus-visible {
  outline-color: var(--brand-deep);
}
@media (max-width: 1100px) {
  :root { --page-gutter: 32px; }
  .plans-grid { gap: 18px; }
}
@media (min-width: 760px) and (max-width: 1100px) {
  .plans-section[data-billing-period="month"] .plan-terms { min-height: 96px; }
}
@media (max-width: 760px) {
  .billing-explanation { max-width: none; text-align: left; }
}
@media (max-width: 850px) {
  .product-panel { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  .product-panel-copy > p { max-width: 650px; }
  .product-panel-image { width: 100%; max-width: 650px; justify-self: center; }
  .mobile-product { max-width: 480px; }
  .product-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .product-benefits li { margin-top: 0; max-width: none; }
}
@media (max-width: 650px) {
  :root { --page-gutter: 20px; --section-space: 60px; }
  .header-inner { min-height: 72px; }
  .hero-product figcaption { padding: 15px 17px; }
  .plans-grid { gap: 16px; }
  .plan-card { padding-inline: 22px; }
  .plan-card-lead { padding-inline: 21px; }
  .photo-labels { inset: 12px 12px auto; gap: 8px; }
  .photo-labels span { padding: 7px 9px; font-size: 10px; }
  .photo-toolbar { font-size: 11px; }
  .product-benefits { grid-template-columns: 1fr; gap: 18px; }
  .plans-section { padding-bottom: 32px; }
  .faq-section { padding-top: 32px; }
}
@media (max-width: 530px) {
  .plans-section[data-billing-period="month"] .plan-terms { min-height: 0; }
  .plan-terms:has([hidden]) { padding-top: 0; }
  .pack-charge { min-height: 0; }
}
@media (max-width: 359px) {
  :root { --page-gutter: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-reveal.is-changing .photo-result,
  .photo-reveal.is-changing .photo-divider { transition: none; }
}
