/* ===================================================================
   Jorge Estañan — estilo Apple-like, paleta blanco + azul.
   =================================================================== */

:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-line: #d2d2d7;
  --ink-bg: #f5f5f7;

  --brand-50:  #f0f7ff;
  --brand-100: #e0efff;
  --brand-200: #b8dcff;
  --brand-400: #4ea4ff;
  --brand-500: #2997ff;
  --brand-600: #0a84ff;
  --brand-700: #0066cc;

  --green-50: #ecfdf5;
  --green-700: #047857;
  --amber-50: #fffbeb;
  --amber-700: #b45309;
  --red-50: #fef2f2;
  --red-700: #b91c1c;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft: 0 6px 30px -10px rgba(10, 132, 255, 0.25);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-hero: 0 30px 80px -20px rgba(10, 132, 255, 0.3);
  --shadow-float: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.022em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- LAYOUT HELPERS ---------- */

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }

.bg-soft     { background: linear-gradient(to bottom, #fff 0%, var(--brand-50) 100%); }
.bg-soft-rev { background: linear-gradient(to bottom, var(--brand-50) 0%, #fff 100%); }
.bg-mute     { background: rgba(0, 0, 0, 0.025); position: relative; }

.center { text-align: center; }
.balance { text-wrap: balance; }
.max-2xl { max-width: 640px; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; gap: 32px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-7 { grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-2 { gap: 48px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-stats { grid-template-columns: repeat(4, 1fr); }
  .grid-7 { grid-template-columns: repeat(7, 1fr); }
  .grid-2-3 { grid-template-columns: 2fr 1fr; }
  .grid-2-3-rev { grid-template-columns: 1fr 1.2fr; }
  .grid-5 { grid-template-columns: 2fr 3fr; }
}

.stack-md > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }
.stack-sm > * + * { margin-top: 12px; }

/* ---------- TYPOGRAPHY ---------- */

.h-display { font-size: clamp(44px, 6.5vw, 84px); font-weight: 600; line-height: 1.02; color: var(--ink); }
.h-section { font-size: clamp(30px, 4vw, 50px); font-weight: 600; line-height: 1.08; color: var(--ink); }
.h-card    { font-size: 20px; font-weight: 600; }
.h-sub     { font-size: 18px; font-weight: 600; }
.text-soft { color: var(--ink-soft); }
.text-lg   { font-size: 18px; }
.text-md   { font-size: 16px; }
.text-sm   { font-size: 14px; }
.text-xs   { font-size: 12px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand-600);
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--brand-50);
  border: 1px solid rgba(41, 151, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.10em;
}
.dot-pulse {
  width: 6px; height: 6px; border-radius: 999px; background: var(--brand-600);
  position: relative;
}
.dot-pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 999px;
  background: var(--brand-600); opacity: 0.4;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.4; }
  80%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.text-brand { color: var(--brand-600); }
.text-ink { color: var(--ink); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; outline: 0; cursor: pointer;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px; font-weight: 500;
  transition: transform 0.15s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary {
  background: var(--brand-600); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(10, 132, 255, 0.5);
}
.btn-primary:hover { background: var(--brand-700); box-shadow: 0 12px 30px -8px rgba(10, 132, 255, 0.6); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-secondary { background: rgba(0,0,0,0.05); color: var(--ink); }
.btn-secondary:hover { background: rgba(0,0,0,0.10); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding: 10px 18px; font-size: 14px; }
.btn-ghost:hover { color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--ink-line); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-icon { padding: 8px 14px; }

/* ---------- INPUTS ---------- */

.input, .textarea, .select {
  display: block; width: 100%;
  border: 1px solid var(--ink-line);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.textarea { resize: vertical; min-height: 96px; }
.input:focus, .textarea:focus, .select:focus {
  outline: 0; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.18);
}
.input::placeholder, .textarea::placeholder { color: rgba(110,110,115,0.7); }
.label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field + .field { margin-top: 16px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- CARDS ---------- */

.card {
  background: #fff;
  border: 1px solid rgba(210, 210, 215, 0.7);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card-flat { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius-lg); }
.card-hover { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(41, 151, 255, 0.25); }
.card-highlight { box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.4), 0 12px 40px -10px rgba(10, 132, 255, 0.15); }
.card-mute { background: rgba(0,0,0,0.03); border: 0; padding: 14px 16px; border-radius: var(--radius-md); }

/* ---------- BADGES & PILLS ---------- */

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: rgba(0,0,0,0.06); color: var(--ink-soft);
}
.badge-blue  { background: var(--brand-50);  color: var(--brand-700); }
.badge-green { background: var(--green-50);  color: var(--green-700); }
.badge-amber { background: var(--amber-50);  color: var(--amber-700); }
.badge-gray  { background: rgba(0,0,0,0.06); color: var(--ink-soft); }
.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.pill-blue  { background: var(--brand-50);  color: var(--brand-700); }
.pill-green { background: var(--green-50);  color: var(--green-700); }
.pill-amber { background: var(--amber-50);  color: var(--amber-700); }
.pill-gray  { background: rgba(0,0,0,0.06); color: var(--ink-soft); }
.tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--ink-line); background: #fff;
  transition: all 0.18s ease;
}
.tag:hover { border-color: var(--brand-500); color: var(--brand-600); }

/* ---------- NAV ---------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(210, 210, 215, 0.5);
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -0.022em; }
.logo .dot { color: var(--brand-600); }
.nav-links { display: none; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft); transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--brand-700); background: var(--brand-50); }
@media (min-width: 768px) { .nav-links { display: inline-flex; } }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.nav-mobile { display: flex; gap: 4px; overflow-x: auto; padding: 4px 0 8px; }
.nav-mobile .nav-link { flex: 0 0 auto; }
@media (min-width: 768px) { .nav-mobile { display: none; } }
.nav-user { text-align: right; display: none; }
.nav-user-label { font-size: 12px; color: var(--ink-soft); }
.nav-user-name { font-size: 14px; font-weight: 500; }
@media (min-width: 600px) { .nav-user { display: block; } }

/* ---------- HERO ---------- */

.hero-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.blob {
  position: absolute; pointer-events: none; z-index: -1;
  border-radius: 50%; filter: blur(80px); opacity: 0.55;
}
.blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.35) 0%, transparent 70%);
  top: -120px; right: -120px;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.25) 0%, transparent 70%);
  bottom: -80px; left: -160px;
  opacity: 0.7;
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 64px 0 80px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding: 96px 0 112px; gap: 64px; }
}

.hero-img-stack { position: relative; }
.hero-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--brand-50);
  box-shadow: var(--shadow-hero);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}
.hero-img-wrap:hover { transform: rotate(0); }
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 38% 40%;
}
.hero-img-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}

.hero-card {
  position: absolute;
  background: #fff; border: 1px solid var(--ink-line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-float);
  display: none;
  animation: fadeUp 0.7s ease-out 0.4s both;
}
.hero-card-top { left: -16px; bottom: -16px; }
.hero-card-bot { right: -20px; top: 24px; }
@media (min-width: 768px) { .hero-card { display: block; } }
.hero-card-row { display: flex; align-items: center; gap: 12px; }
.hero-card-icon {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.hero-card-time { font-weight: 600; margin-top: 4px; font-size: 14px; }
.hero-card-title { font-size: 13px; font-weight: 600; }
.hero-card-sub { color: var(--brand-600); font-size: 13px; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid rgba(210,210,215,0.6);
  padding-top: 24px;
  margin-top: 48px;
  max-width: 460px;
}
.stat-num {
  font-size: 32px; font-weight: 600;
  background: linear-gradient(135deg, var(--ink) 0%, var(--brand-700) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-lbl { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- TRUST SIGNALS ---------- */

.trust {
  border-top: 1px solid rgba(210,210,215,0.5);
  border-bottom: 1px solid rgba(210,210,215,0.5);
  padding: 28px 0;
  background: rgba(255, 255, 255, 0.6);
}
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-title { font-size: 14px; font-weight: 600; }
.trust-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- MÉTODO ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(210,210,215,0.7);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover);
  border-color: rgba(41, 151, 255, 0.25);
}
.step-bignum {
  position: absolute; top: -24px; right: -8px;
  font-size: 140px; font-weight: 700; line-height: 1;
  color: rgba(10, 132, 255, 0.06);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.step-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- IMAGE FRAME (sections) ---------- */

.img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  isolation: isolate;
}
.img-frame-tall { aspect-ratio: 4/5; }
.img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.img-frame-tall img { object-position: 32% 40%; }
.img-frame-deco {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.05) 100%);
}

/* ---------- SERVICIOS PRECIO ---------- */

.precio { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; }
.precio-num { font-size: 28px; font-weight: 600; }
.precio-unit { font-size: 14px; color: var(--ink-soft); }

/* ---------- PRICING TABLE ---------- */
.pricing-table {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(210, 210, 215, 0.7);
}
.pricing-head, .pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
}
.pricing-head { background: rgba(0, 0, 0, 0.03); padding: 10px 14px; }
.pricing-col-h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 600;
  text-align: center;
}
.pricing-row { padding: 14px; border-top: 1px solid rgba(210, 210, 215, 0.6); }
.pricing-row-best { background: var(--brand-50); }
.pricing-freq { font-size: 14px; font-weight: 500; }
.pricing-cell { font-size: 18px; font-weight: 600; text-align: center; }
.pricing-cell span { font-size: 12px; font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.pricing-cell-promo { color: var(--brand-700); }
@media (max-width: 540px) {
  .pricing-head, .pricing-row { grid-template-columns: 1fr 1fr 1fr; }
  .pricing-freq { font-size: 12px; }
  .pricing-cell { font-size: 15px; }
  .pricing-col-h { font-size: 10px; }
}

/* ---------- TESTIMONIOS ---------- */

.quote-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(210,210,215,0.7);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.quote-mark {
  color: var(--brand-200);
  margin-bottom: 12px;
}
.quote-card blockquote {
  font-size: 16px; line-height: 1.6; color: var(--ink);
  margin: 0;
  font-weight: 500;
}
.quote-card figcaption {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(210,210,215,0.6);
}
.quote-author { font-size: 14px; font-weight: 600; }
.quote-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- HEADER (page) ---------- */

.page-header { margin-bottom: 32px; }
.page-header h1 { margin-top: 8px; }

/* ---------- LISTS ---------- */

.divide-list > * + * { border-top: 1px solid rgba(210,210,215,0.6); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }

/* ---------- FOOTER ---------- */

.footer { margin-top: 96px; border-top: 1px solid var(--ink-line); background: #fff; }
.footer-inner { padding: 56px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { font-size: 14px; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(210,210,215,0.6);
  font-size: 12px; color: var(--ink-soft);
}
@media (min-width: 600px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- AGENDA ---------- */

.day-card { background: #fff; border: 1px solid rgba(210,210,215,0.7); border-radius: var(--radius-lg); padding: 14px; min-height: 200px; }
.day-card.today { box-shadow: 0 0 0 1px rgba(41,151,255,0.4); }
.day-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.day-name { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 600; }
.day-num { font-size: 24px; font-weight: 600; }
.day-num.today { color: var(--brand-600); }
.event { border-left: 3px solid var(--ink-line); padding: 8px 10px; border-radius: 8px; font-size: 12px; margin-bottom: 6px; }
.event.t-personal   { border-color: var(--brand-500); background: rgba(41,151,255,0.08); }
.event.t-grupo      { border-color: #10b981;          background: rgba(16,185,129,0.08); }
.event.t-valoracion { border-color: #f59e0b;          background: rgba(245,158,11,0.08); }
.event.t-online     { border-color: #6366f1;          background: rgba(99,102,241,0.08); }
.event-time { font-weight: 600; color: var(--ink); }
.event-title { color: var(--ink-soft); }
.event-cli { font-size: 10px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- TABLE ---------- */

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 20px; text-align: left; }
.table thead th {
  background: rgba(0,0,0,0.02);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft); font-weight: 600;
}
.table tbody tr { border-top: 1px solid rgba(210,210,215,0.5); }
.table tbody tr:hover { background: rgba(0,0,0,0.02); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid rgba(210,210,215,0.7); background: #fff; }

/* ---------- FLASH / ALERT ---------- */

.alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; }
.alert-error  { background: var(--red-50);   color: var(--red-700); }
.alert-ok     { background: var(--green-50); color: var(--green-700); }
.alert-info   { background: var(--brand-50); color: var(--brand-700); }

/* ---------- MODAL ---------- */

.modal-backdrop { position: fixed; inset: 0; background: rgba(29,29,31,0.4); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { width: 100%; max-width: 520px; background: #fff; border-radius: var(--radius-xl); padding: 24px; box-shadow: 0 30px 60px -10px rgba(0,0,0,0.25); }

/* ---------- DEFINITION LISTS ---------- */

.dl { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .dl-2 { grid-template-columns: 1fr 1fr; } }
.dl dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 600; }
.dl dd { margin: 4px 0 0; font-weight: 500; }

/* ---------- CHECKBOX ---------- */

.check-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.check-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand-600); }

/* ---------- UTIL ---------- */

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.flex-1 { flex: 1 1 0; }
.flex-wrap { flex-wrap: wrap; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.hidden { display: none; }
.block { display: block; }
.full { width: 100%; }
.text-right { text-align: right; }
.checklist { display: grid; gap: 12px; margin-top: 24px; font-size: 15px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ck {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand-600);
  margin-top: 2px;
  box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.2);
}
.tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
@media (min-width: 600px) { .tag-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- ANIM ---------- */

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease-out both; }

/* ---------- LOGIN PAGE ---------- */

.login-wrap { min-height: 100vh; background: linear-gradient(to bottom, #fff, var(--brand-50)); }
.login-shell { display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.login-card { width: 100%; max-width: 420px; }

@media (max-width: 599px) { .hidden-sm { display: none !important; } }
