/* ============================================================
   DESOFTH — Tema claro, moderno, con animaciones
   ============================================================ */
/* Paleta corporativa basada en el logo DESOFTH (azul institucional
   con acentos en oro/dorado para transmitir formalidad y confianza). */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-mute: #eef2f7;
  --card: #ffffff;
  --line: #dde5ef;
  --line-strong: #c5d0dd;
  --text: #0d1b2a;
  --text-dim: #3b4a5e;
  --text-soft: #5d6b80;
  --primary: #0d3b66;        /* Azul institucional profundo */
  --primary-2: #1b5993;      /* Azul medio */
  --primary-3: #2680c2;      /* Azul claro */
  --accent: #c9a227;         /* Dorado discreto (premium) */
  --accent-2: #f3d56b;
  --primary-soft: rgba(13, 59, 102, 0.06);
  --success: #1e7a4f;
  --warning: #b97c00;
  --danger: #b91c1c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(13,27,42,0.05), 0 1px 2px rgba(13,27,42,0.04);
  --shadow-md: 0 8px 24px rgba(13,27,42,0.08);
  --shadow-lg: 0 24px 60px rgba(13,27,42,0.12);
  --shadow-glow: 0 12px 40px rgba(13,59,102,0.18);
  /* Transiciones exageradas para sensación premium */
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 0.35s;
  --t-mid: 0.6s;
  --t-slow: 1s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--primary-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden { display: none !important; }

/* ============== ANIMATED BACKGROUND BLOBS ============== */
.blobs {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatBlob 20s ease-in-out infinite;
}
.blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #c7d2fe 0%, transparent 70%);
  top: -150px; right: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #fbcfe8 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: -7s;
}
.blob-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #ddd6fe 0%, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -14s;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.1); }
  66% { transform: translate(-30px,40px) scale(0.95); }
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
}
.brand img { height: 34px; width: auto; }
.brand-large img { height: 64px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a:not(.btn) {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--primary); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease-bounce),
    box-shadow var(--t-fast) var(--ease-smooth),
    background var(--t-fast) var(--ease-smooth),
    color var(--t-fast) var(--ease-smooth),
    border-color var(--t-fast) var(--ease-smooth);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.95); transition-duration: 0.1s; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(13,59,102,0.35);
}
.btn-outline {
  background: white;
  border: 1.5px solid var(--line-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost {
  background: transparent;
  color: var(--text-dim);
}
.btn-ghost:hover { color: var(--primary); background: var(--primary-soft); }
.btn-google {
  background: white;
  color: #1f2937;
  border: 1px solid var(--line);
}
.btn-google img { width: 18px; height: 18px; }
.btn-google:hover { background: var(--bg-soft); }
.btn-disabled {
  background: var(--bg-mute);
  color: var(--text-soft);
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid var(--line);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-text { animation: slideUp 0.8s ease-out; }
.hero-visual { animation: slideUp 0.8s ease-out 0.2s backwards; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(79,70,229,0.2);
  margin-bottom: 20px;
}
.badge.featured {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(245,158,11,0.3);
}
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text);
}
.lead {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats span { font-size: 13px; color: var(--text-soft); margin-top: 2px; }

/* ============== BUSINESS SCENE (index.html) ============== */
.biz-scene {
  position: relative;
  width: 100%;
  height: 460px;
  perspective: 1200px;
}
.biz-monitor {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) rotateX(2deg);
  width: 420px;
  z-index: 3;
  animation: floatY 5s ease-in-out infinite;
}
.biz-screen {
  background: linear-gradient(180deg, #0f1729, #1e293b);
  border-radius: 14px 14px 6px 6px;
  border: 8px solid #1f2937;
  border-bottom: 14px solid #1f2937;
  padding: 0;
  box-shadow: 0 30px 60px rgba(15,23,42,0.25), 0 0 0 1px #334155;
  overflow: hidden;
}
.biz-screenbar {
  background: #0f172a;
  display: flex;
  gap: 6px;
  padding: 7px 10px;
  border-bottom: 1px solid #1e293b;
}
.biz-screenbar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #475569;
}
.biz-screenbar span:nth-child(1) { background: #ef4444; }
.biz-screenbar span:nth-child(2) { background: #f59e0b; }
.biz-screenbar span:nth-child(3) { background: #10b981; }
.biz-screen-inner {
  background: linear-gradient(160deg, #1e293b 0%, #312e81 100%);
  padding: 36px 28px 30px;
  text-align: center;
  position: relative;
  min-height: 220px;
}
.biz-screen-inner img {
  height: 80px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 6px 20px rgba(99,102,241,0.5));
}
.biz-tag {
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.5;
}
.biz-tag strong {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 18px;
  display: inline-block;
  margin-top: 2px;
}
.biz-uptime {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16,185,129,0.18);
  color: #6ee7b7;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.biz-uptime .dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
}
.biz-stand {
  width: 18px;
  height: 30px;
  background: linear-gradient(180deg, #475569, #334155);
  margin: 0 auto;
}
.biz-base {
  width: 120px;
  height: 10px;
  background: linear-gradient(180deg, #334155, #1f2937);
  border-radius: 6px 6px 14px 14px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(15,23,42,0.2);
}
.biz-desk {
  position: absolute;
  bottom: 30px;
  left: -20px;
  right: -20px;
  height: 8px;
  background: linear-gradient(180deg, #d4b896, #b8956a);
  border-radius: 4px;
  box-shadow: 0 2px 0 #a07d52, 0 18px 40px rgba(15,23,42,0.15);
  z-index: 1;
}
.biz-plant {
  position: absolute;
  bottom: 38px;
  left: 10px;
  width: 64px;
  height: 90px;
  background:
    radial-gradient(ellipse at 50% 25%, #15803d 0%, #166534 35%, transparent 60%),
    radial-gradient(ellipse at 30% 35%, #16a34a 0%, transparent 50%),
    radial-gradient(ellipse at 70% 35%, #15803d 0%, transparent 50%);
  z-index: 2;
  animation: floatY 6s ease-in-out infinite;
  animation-delay: -2s;
}
.biz-plant::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 26px;
  background: linear-gradient(180deg, #c2410c, #9a3412);
  border-radius: 4px 4px 12px 12px;
}
.biz-coffee {
  position: absolute;
  bottom: 38px;
  right: 30px;
  width: 38px;
  height: 46px;
  background: linear-gradient(180deg, #fafafa, #e7e5e4);
  border-radius: 6px 6px 14px 14px;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(15,23,42,0.15);
  animation: floatY 5s ease-in-out infinite;
  animation-delay: -1s;
}
.biz-coffee::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px;
  height: 8px;
  background: #6b4423;
  border-radius: 50%;
}
.biz-coffee::after {
  content: '';
  position: absolute;
  right: -10px; top: 14px;
  width: 14px; height: 18px;
  border: 3px solid #e7e5e4;
  border-radius: 0 8px 8px 0;
}
.biz-trust {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  z-index: 4;
  animation: floatY 4s ease-in-out infinite;
}
.biz-trust-1 {
  top: 10%;
  left: -10px;
  color: var(--success);
  animation-delay: -0.5s;
}
.biz-trust-2 {
  bottom: 28%;
  right: -10px;
  color: var(--primary);
  animation-delay: -2.2s;
}

/* ============== GESTHOTEL SHOWCASE (gesthotel.html) ============== */
.gh-showcase {
  position: relative;
  width: 100%;
  height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.gh-brand-stack {
  position: relative;
  z-index: 5;
  text-align: center;
  animation: floatY 5s ease-in-out infinite;
}
.gh-logo {
  height: 150px;
  width: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 20px 40px rgba(13,59,102,0.18));
  /* software.png permanece estático en toda la página web - sin animación. */
  animation: none !important;
}
.gh-name {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.gh-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gh-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(79,70,229,0.25);
  pointer-events: none;
}
.gh-ring.r1 {
  width: 280px; height: 280px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spinSlow 30s linear infinite;
}
.gh-ring.r2 {
  width: 380px; height: 380px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(236,72,153,0.2);
  animation: spinSlow 45s linear infinite reverse;
}
.gh-ring.r3 {
  width: 480px; height: 480px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(124,58,237,0.15);
  animation: spinSlow 60s linear infinite;
}
.gh-bg-icon {
  position: absolute;
  font-size: 36px;
  opacity: 0.6;
  animation: floatY 5s ease-in-out infinite;
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(79,70,229,0.15));
}
.gh-bg-icon.i1 { top: 10%;  left: 12%; animation-delay: 0s; }
.gh-bg-icon.i2 { top: 14%;  right: 14%; animation-delay: -0.6s; font-size: 32px; }
.gh-bg-icon.i3 { top: 38%;  left:  4%; animation-delay: -1.2s; font-size: 38px; }
.gh-bg-icon.i4 { top: 42%;  right:  5%; animation-delay: -1.8s; font-size: 34px; }
.gh-bg-icon.i5 { bottom: 18%; left: 14%; animation-delay: -2.4s; font-size: 36px; }
.gh-bg-icon.i6 { bottom: 14%; right: 14%; animation-delay: -3.0s; font-size: 32px; }
.gh-bg-icon.i7 { bottom: 36%; left: 26%; animation-delay: -3.6s; font-size: 28px; opacity: 0.5; }
.gh-bg-icon.i8 { top: 30%;  right: 28%; animation-delay: -4.2s; font-size: 28px; opacity: 0.5; }

/* ============== HERO ANIMATED ILLUSTRATION ============== */
.hero-illu {
  position: relative;
  width: 100%;
  height: 460px;
}
.float-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: floatY 4s ease-in-out infinite;
}
.float-card:nth-child(1) {
  top: 8%; left: 0;
  animation-delay: 0s;
}
.float-card:nth-child(2) {
  top: 30%; right: 0;
  animation-delay: -1.3s;
}
.float-card:nth-child(3) {
  bottom: 18%; left: 12%;
  animation-delay: -2.6s;
}
.float-card .ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 8px;
}
.float-card .ic.blue { background: #ede9fe; color: var(--primary); }
.float-card .ic.green { background: #d1fae5; color: var(--success); }
.float-card .ic.pink { background: #fce7f3; color: var(--primary-3); }
.float-card .t { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.float-card .s { font-size: 12px; color: var(--text-soft); }
.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 240px; height: 240px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-3));
  border-radius: 50%;
  filter: blur(0);
  animation: pulse 4s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(79,70,229,0.4);
}
.hero-orb::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: white;
  border-radius: 50%;
  display: grid; place-items: center;
}
.hero-orb-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 130px; height: 130px;
  z-index: 2;
  animation: spinSlow 18s linear infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.06); }
}
@keyframes spinSlow {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============== SECTIONS ============== */
.section {
  padding: 90px 0;
  position: relative;
}
.section-tinted { background: var(--bg-soft); }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-head p {
  color: var(--text-dim);
  font-size: 17px;
}

/* ============== SERVICES (company) ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(236,72,153,0.08));
  color: var(--primary);
}
.service h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.service p { font-size: 14.5px; color: var(--text-dim); }

/* ============== SOLUCIONES (cards) ============== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.solution {
  background: white;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.3s;
  text-align: center;
}
.solution:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.solution.coming-soon {
  opacity: 0.7;
}
.solution.coming-soon:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.solution-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.solution-tag.featured {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  box-shadow: 0 6px 16px rgba(245,158,11,0.3);
}
.solution-tag.soon {
  background: var(--bg-mute);
  color: var(--text-soft);
}
.solution img { height: 80px; margin: 12px auto 16px; }
.solution h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.solution p { color: var(--text-dim); margin-bottom: 22px; font-size: 14.5px; }

/* ============== FEATURES (GestHotel page) ============== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}
@media (max-width: 760px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.feat-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 30px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}
.feature h3 { font-size: 20px; margin-bottom: 16px; font-weight: 700; }
.feature ul { list-style: none; }
.feature ul li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0 6px 24px;
  position: relative;
}
.feature ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 15px;
}

/* ============== PRICING ============== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.price-card {
  background: white;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  position: relative;
  transition: all 0.3s;
}
.price-card-primary {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.price-card-disabled { opacity: 0.65; }
.ribbon {
  position: absolute;
  top: -13px;
  right: 28px;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(79,70,229,0.3);
}
.ribbon-soon {
  background: linear-gradient(135deg, var(--warning), #b45309);
  box-shadow: 0 6px 16px rgba(217,119,6,0.25);
}
.price-card h3 { font-size: 24px; margin-bottom: 6px; font-weight: 800; }
.price-card > p { color: var(--text-dim); font-size: 14px; margin-bottom: 26px; }
.price { margin-bottom: 26px; }
.amount {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.amount-secondary {
  display: block;
  font-size: 15px;
  color: var(--text-soft);
  margin-top: 4px;
  font-weight: 500;
}
.period { font-size: 18px; color: var(--text-soft); margin-left: 6px; }
.price-feats { list-style: none; margin-bottom: 30px; }
.price-feats li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-dim);
}
.price-feats li:last-child { border-bottom: 0; }

/* ---- Precios compactos (planes GestHotel Pro) ---- */
.pricing-compact { gap: 18px; }
.pricing-compact .price-card { padding: 24px 22px; }
.pricing-compact .price { margin-bottom: 4px; }
.pricing-compact .amount { font-size: 34px; }
.pricing-compact .period { font-size: 15px; }
.pricing-compact .price-feats { margin-bottom: 18px; }
.pricing-compact .price-feats li { padding: 6px 0; font-size: 13.5px; }
.pricing-compact .price-card h3 { font-size: 20px; margin-bottom: 2px; }
.plan-rooms {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 14px;
}
.price-hint { font-size: 12px; color: var(--text-dim); margin: 4px 0 2px; }
.price-hint-note { display: block; font-size: 11px; opacity: 0.75; }
.price-install {
  font-size: 12.5px;
  color: var(--text);
  margin: 12px 0 16px;
  padding: 10px 12px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 8px;
}
.btn-wa {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-wa:hover { background: #1ebe5b !important; }

/* ============== NAV AUTH DROPDOWN ============== */
.nav-auth { position: relative; display: inline-block; }
.nav-auth-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.nav-auth-menu.hidden { display: none; }
.nav-auth-menu a, .nav-auth-menu button {
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.nav-auth-menu a:hover, .nav-auth-menu button:hover { background: var(--bg-soft, #f3f4f6); }

/* ============== LOADING OVERLAY ============== */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; z-index: 9999; color: var(--text);
}
.loading-overlay.hidden { display: none; }
.loading-spinner {
  width: 42px; height: 42px;
  border: 4px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============== PÁGINA DE CUENTA ============== */
.auth-page-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.auth-page-wrap { width: 100%; max-width: 460px; }
.auth-back { display: inline-block; margin-bottom: 12px; color: var(--text-dim); text-decoration: none; font-size: 14px; }
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.auth-brand { text-align: center; margin-bottom: 12px; }
.auth-brand img { height: 34px; }
.reception-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fafafa;
}
.reception-head { font-weight: 700; margin-bottom: 4px; }
.reception-note { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.reception-box input[readonly] { background: #eef2f7; color: var(--text-dim); }
/* Checkbox "Mostrar Contraseña" */
.auth-form label.pass-toggle {
  display: flex; align-items: center; justify-content: flex-end; gap: 7px;
  margin: 7px 0 4px; font-size: 13px; color: var(--text-dim);
  cursor: pointer; user-select: none; font-weight: 500;
}
.auth-form label.pass-toggle input[type="checkbox"] {
  width: 16px; height: 16px; margin: 0; padding: 0;
  border-radius: 4px; cursor: pointer; accent-color: var(--primary);
  flex: 0 0 auto;
}
input.locked { background: #eef2f7; color: var(--text-dim); }
/* Badge de Google en la pestaña de crear cuenta */
.google-badge {
  display: flex; align-items: center; gap: 8px;
  background: #f1f5f9; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 13px;
}
.google-badge.hidden { display: none; }
.google-badge img { width: 18px; height: 18px; }

/* ============== PANEL DEL USUARIO ============== */
.panel-body { background: #f4f6fb; min-height: 100vh; }
.panel-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; background: #fff; border-bottom: 1px solid var(--line);
}
.panel-brand img { height: 30px; }
.panel-main { max-width: 720px; margin: 0 auto; padding: 28px 20px 60px; }
.panel-main h1 { font-size: 26px; margin-bottom: 4px; }
.panel-sub { color: var(--text-dim); margin-bottom: 22px; }
.panel-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px; margin-bottom: 18px;
}
.panel-card h2 { font-size: 18px; margin-bottom: 14px; }
.panel-card-head { display: flex; align-items: center; justify-content: space-between; }
.panel-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.panel-row span { color: var(--text-dim); }
.panel-muted { color: var(--text-dim); font-size: 13px; margin: 8px 0; }
.panel-pass { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.panel-pass > input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; }
.panel-pass .btn { align-self: flex-start; }
.panel-pass .pass-toggle {
  display: flex; align-items: center; justify-content: flex-end; gap: 7px;
  margin: 0; font-size: 13px; color: var(--text-dim);
  cursor: pointer; user-select: none; font-weight: 500;
}
.panel-pass .pass-toggle input[type="checkbox"] {
  width: 16px; height: 16px; margin: 0; padding: 0; border: 0;
  border-radius: 4px; cursor: pointer; accent-color: var(--primary); flex: 0 0 auto;
}
.sub-badge { font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.sub-active { background: rgba(22,163,74,0.12); color: #16a34a; }
.sub-inactive { background: rgba(220,38,38,0.10); color: #dc2626; }

/* Modal para confirmar la identidad del dueño */
.owner-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.owner-modal-box {
  background: #fff; border-radius: 14px; padding: 22px;
  width: 100%; max-width: 380px; box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.owner-modal-box h3 { font-size: 17px; margin-bottom: 6px; }
.owner-modal-box input {
  width: 100%; margin-top: 10px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 9px; font-size: 14px;
}
.owner-modal-actions {
  display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px;
}

/* Botón de texto azul (ej. "Olvidé mi contraseña") */
.link-btn {
  align-self: flex-start;
  background: none; border: 0; padding: 0; margin: 0;
  color: var(--primary); font-family: inherit; font-size: 13px;
  font-weight: 600; cursor: pointer; text-decoration: underline;
}
.link-btn:hover { opacity: 0.8; }

/* Cambio de contraseña dentro de cada sucursal */
.suc-pass { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.suc-pass > input {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 13px;
}
.suc-pass .btn { align-self: flex-start; padding: 8px 14px; font-size: 13px; }
.suc-pass h4 {
  font-size: 13px; margin: 6px 0 0; color: var(--text);
}
.suc-body {
  border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px;
}
.suc-toggle {
  background: none; border: 0; padding: 0; color: var(--primary);
  font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit;
}

/* Mis Negocios/Sucursales */
.suc-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; }
.suc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.suc-item-main { display: flex; flex-direction: column; min-width: 0; }
.suc-item-main .suc-mail { color: var(--text-dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.suc-add {
  display: flex; flex-direction: column; gap: 8px; margin-top: 14px;
  padding-top: 14px; border-top: 1px dashed var(--line);
}
.suc-add h3 { font-size: 15px; margin-bottom: 2px; }
.suc-add label { font-size: 12.5px; color: var(--text-dim); font-weight: 600; margin-top: 2px; }
.suc-add input:not([type="checkbox"]) {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.suc-add input.locked { background: #eef2f7; color: var(--text-dim); }
.suc-add .btn { align-self: flex-start; margin-top: 4px; }
.suc-add .pass-toggle {
  display: flex; align-items: center; justify-content: flex-end; gap: 7px;
  margin: 0; font-size: 13px; color: var(--text-dim); cursor: pointer;
  user-select: none; font-weight: 500;
}
.suc-add .pass-toggle input[type="checkbox"] {
  width: 16px; height: 16px; margin: 0; padding: 0; border: 0;
  border-radius: 4px; cursor: pointer; accent-color: var(--primary); flex: 0 0 auto;
}
.soon-note {
  margin-top: 14px;
  padding: 12px;
  background: rgba(217,119,6,0.08);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--warning);
  text-align: center;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-soft);
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand img { height: 60px; margin-bottom: 8px; }
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer a, .footer p {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer a:hover { color: var(--primary); }
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

/* ============== MODAL ============== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal.hidden { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.25s;
}
.modal-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.35s cubic-bezier(.4,0,.2,1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 22px;
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 6px;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--bg-mute); color: var(--text); }

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-mute);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.auth-form h2 { font-size: 22px; margin-bottom: 4px; font-weight: 800; }
.auth-form > p { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
.auth-form.hidden { display: none; }
.auth-form label {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  margin: 14px 0 6px;
}
.auth-form input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.auth-form input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.link-sm {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  margin: 10px 0;
  font-weight: 500;
}
.link-sm:hover { text-decoration: underline; }
.divider {
  text-align: center;
  margin: 20px 0 14px;
  position: relative;
  color: var(--text-soft);
  font-size: 12px;
}
.divider::before, .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--line);
}
.divider::before { left: 0; }
.divider::after { right: 0; }
.legal {
  font-size: 11px;
  color: var(--text-soft);
  text-align: center;
  margin-top: 14px;
}
.msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
}
.msg.ok { display: block; background: rgba(5,150,105,0.1); color: var(--success); border: 1px solid rgba(5,150,105,0.25); }
.msg.err { display: block; background: rgba(220,38,38,0.08); color: var(--danger); border: 1px solid rgba(220,38,38,0.2); }
.msg.info { display: block; background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(79,70,229,0.2); }

/* ============== SUCCESS PAGE ============== */
.success-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  background: var(--bg-soft);
}
.success-wrap { text-align: center; max-width: 720px; }
.confetti {
  font-size: 72px;
  margin-bottom: 20px;
  animation: bounce 1s infinite alternate;
}
@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}
.success-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.success-wrap .lead { margin: 0 auto 32px; font-size: 17px; }
.download-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}
.progress {
  background: var(--bg-mute);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}
.progress div {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  width: 0%;
  transition: width 1s;
}
#status { color: var(--text-dim); margin-bottom: 16px; }
.next-steps {
  text-align: left;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.next-steps h3 { margin-bottom: 14px; }
.next-steps ol { padding-left: 24px; color: var(--text-dim); }
.next-steps li { padding: 6px 0; }
.next-steps code {
  background: var(--bg-mute);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--primary);
  font-size: 13px;
}

/* ============== REVEAL ANIM ============== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== BAR CHART (página principal) ============== */
.chart-card {
  position: relative;
  width: 100%;
  height: 460px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
  animation: chartEnter 0.9s var(--ease-smooth) backwards;
}
.chart-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-3), var(--accent));
  border-radius: var(--radius) var(--radius) 0 0;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 4px;
}
.chart-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.chart-sub {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}
.chart-badge {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chart-badge .dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.chart-area {
  flex: 1 1 auto;
  min-height: 260px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 22px 8px 12px;
  border-bottom: 2px solid var(--line);
  position: relative;
  gap: 10px;
}
/* Líneas guía horizontales */
.chart-area::before, .chart-area::after,
.chart-grid {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.chart-area::before { top: 25%; }
.chart-area::after { top: 50%; }
.chart-grid { top: 75%; }
.chart-bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.chart-bar {
  width: 100%;
  max-width: 56px;
  min-height: 20px;
  background: linear-gradient(180deg, var(--primary-3), var(--primary));
  border-radius: 8px 8px 4px 4px;
  position: relative;
  box-shadow: 0 8px 20px rgba(13,59,102,0.18);
  transform-origin: bottom;
  animation: barGrow 1.4s var(--ease-bounce) backwards;
  transition: filter 0.3s var(--ease-smooth);
}
.chart-bar:hover { filter: brightness(1.08); }
.chart-bar.b1 { height: 55%; animation-delay: 0.15s; }
.chart-bar.b2 { height: 72%; animation-delay: 0.30s; }
.chart-bar.b3 { height: 85%; animation-delay: 0.45s; }
.chart-bar.b4 { height: 92%; animation-delay: 0.60s; }
.chart-bar.b5 { height: 98%; animation-delay: 0.75s;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 20px rgba(201,162,39,0.30);
}
.chart-bar .pct {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  opacity: 0;
  animation: fadeIn 0.4s 1.4s forwards;
}
.chart-bar-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-soft);
}
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chart-legend i {
  width: 12px; height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.chart-legend i.l1 { background: linear-gradient(180deg, var(--primary-3), var(--primary)); }
.chart-legend i.l2 { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes chartEnter {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== EXAGGERATED CARD TRANSITIONS ============== */
.service, .solution, .feature, .price-card {
  transition:
    transform var(--t-mid) var(--ease-bounce),
    box-shadow var(--t-mid) var(--ease-smooth),
    border-color var(--t-mid) var(--ease-smooth);
}
.service:hover, .feature:hover {
  transform: translateY(-10px) scale(1.02);
}
.solution:hover {
  transform: translateY(-12px) scale(1.03);
}

/* ============== FIXED GH BRAND (gesthotel.html) ============== */
.gh-brand-static {
  position: relative;
  z-index: 5;
  text-align: center;
}
.gh-brand-static .gh-logo {
  height: 150px;
  width: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 20px 40px rgba(13,59,102,0.18));
  /* SIN animación */
}
.gh-brand-static .gh-name {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.gh-brand-static .gh-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 880px) {
  .hero { padding: 60px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-illu { height: 360px; }
  .nav-links > a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* =====================================================================
   PANEL DEL USUARIO — refinamiento visual (principios Material Design:
   jerarquía tipográfica, superficies elevadas, retícula de 8px, estados
   de foco accesibles). Estilos PROPIOS: no se usan fuentes, iconos ni
   activos de marca de terceros.
   ===================================================================== */
.panel-body {
  background: #f1f4f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
}

/* --- Barra superior fija con elevación --- */
.panel-topbar {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid rgba(13,27,42,0.08);
  box-shadow: 0 1px 2px rgba(13,27,42,0.06);
}
.panel-topbar .btn-outline {
  border-radius: 999px; padding: 8px 18px; font-size: 14px;
}

/* --- Contenedor y encabezado --- */
.panel-main { max-width: 780px; padding: 32px 20px 72px; }
.panel-main h1 {
  font-size: 28px; font-weight: 600; letter-spacing: -0.2px;
  color: var(--text);
}
.panel-sub { font-size: 15px; margin-bottom: 28px; }

/* --- Tarjetas: superficie elevada, no borde duro --- */
.panel-card {
  border: 0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(13,27,42,0.06),
              0 1px 3px 1px rgba(13,27,42,0.05);
  transition: box-shadow .2s ease;
}
.panel-card:hover {
  box-shadow: 0 1px 2px rgba(13,27,42,0.06),
              0 4px 10px 2px rgba(13,27,42,0.07);
}
.panel-card h2 {
  font-size: 17px; font-weight: 600; letter-spacing: .1px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.panel-card h3 { font-size: 15px; font-weight: 600; }

/* --- Filas de datos con divisor sutil --- */
.panel-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(13,27,42,0.07);
  font-size: 14px; align-items: center;
}
.panel-row:last-of-type { border-bottom: 0; }
.panel-row span { font-size: 13px; letter-spacing: .1px; }
.panel-row strong { font-weight: 600; }

.panel-muted { font-size: 13px; line-height: 1.55; }

/* --- Campos de texto: relleno tonal + foco visible --- */
.panel-pass > input,
.suc-add input:not([type="checkbox"]),
.suc-pass > input,
.owner-modal-box input {
  background: #f6f8fc;
  border: 1px solid rgba(13,27,42,0.12);
  border-radius: 12px;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.panel-pass > input:focus,
.suc-add input:not([type="checkbox"]):focus,
.suc-pass > input:focus,
.owner-modal-box input:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary-3);
  box-shadow: 0 0 0 3px rgba(38,128,194,0.18);
}
.suc-add input.locked { background: #eceff4; }

/* --- Botones tipo "pill" --- */
.panel-card .btn,
.suc-add .btn,
.suc-pass .btn {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px; font-weight: 600; letter-spacing: .2px;
  box-shadow: 0 1px 2px rgba(13,27,42,0.10);
  transition: box-shadow .15s ease, transform .05s ease, filter .15s ease;
}
.panel-card .btn:hover,
.suc-add .btn:hover { box-shadow: 0 2px 6px rgba(13,27,42,0.16); filter: brightness(1.03); }
.panel-card .btn:active { transform: translateY(1px); }

/* --- Etiqueta de estado de suscripción --- */
.sub-badge {
  letter-spacing: .4px; text-transform: uppercase;
  padding: 6px 14px; font-size: 11.5px;
}

/* --- Lista de sucursales: tarjetas tonales --- */
.suc-item {
  border: 1px solid rgba(13,27,42,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafbfe;
  transition: background .15s ease, border-color .15s ease;
}
.suc-item:hover { background: #f2f6fd; border-color: rgba(38,128,194,0.35); }
.suc-item-main strong { font-weight: 600; }

.suc-add {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(13,27,42,0.08);
}
.suc-add label { font-size: 12px; letter-spacing: .2px; }

/* --- Casillas --- */
.panel-pass .pass-toggle input[type="checkbox"],
.suc-add .pass-toggle input[type="checkbox"] { width: 17px; height: 17px; }

/* --- Modal --- */
.owner-modal-box {
  border-radius: 20px; padding: 26px;
  box-shadow: 0 12px 28px rgba(13,27,42,0.24);
}
.owner-modal-box h3 { font-size: 18px; font-weight: 600; }

/* --- Superposición de carga --- */
.loading-overlay { backdrop-filter: blur(2px); }

@media (max-width: 640px) {
  .panel-main { padding: 20px 14px 56px; }
  .panel-card { padding: 18px; border-radius: 14px; }
  .panel-main h1 { font-size: 23px; }
}
