/* ==========================================================
   Celebra Cáceres — Estilos globales
   Paleta: Naranja #F97316 · Azul marino #0E2954 · Fondo #F8F9FA
   ========================================================== */
:root {
  --orange: #F97316;
  --orange-600: #EA580C;
  --orange-50: #FFF4EC;
  --orange-100: #FFE6D3;
  --navy: #0E2954;
  --navy-900: #0A1E3F;
  --navy-800: #11305f;
  --navy-50: #EEF3FB;
  --bg: #F8F9FA;
  --card: #FFFFFF;
  --text: #0F1B33;
  --muted: #5B6679;
  --border: #E6E9EF;
  --green: #16A34A;
  --red: #DC2626;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(14, 41, 84, .05), 0 2px 8px rgba(14, 41, 84, .04);
  --shadow: 0 2px 4px rgba(14, 41, 84, .04), 0 10px 30px -8px rgba(14, 41, 84, .12);
  --shadow-lg: 0 4px 10px rgba(14, 41, 84, .05), 0 24px 60px -12px rgba(14, 41, 84, .22);
  --shadow-orange: 0 10px 30px -8px rgba(249, 115, 22, .55);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
svg.i { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.boot { min-height: 100vh; display: grid; place-items: center; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--orange-100); border-top-color: var(--orange); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* ---------- Reveal (animaciones de entrada) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-600); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -8px rgba(22,163,74,.5); }
.btn-ghost { background: transparent; color: var(--muted); padding: .6rem 1rem; }
.btn-ghost:hover { background: var(--navy-50); color: var(--navy); transform: none; }
.btn-danger { background: #FEF2F2; color: var(--red); border-color: #FECACA; }
.btn-danger:hover { background: #FEE2E2; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-icon { padding: .5rem; border-radius: .7rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--orange-600); font-weight: 700; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Tipografía de secciones ---------- */
.section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 64px 0; } }
.eyebrow {
  display: inline-block; padding: .4rem 1rem; border-radius: 999px;
  background: var(--orange-50); color: var(--orange-600);
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h1, .section-head h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); color: var(--navy); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.page-top { padding-top: 150px; }
@media (max-width: 768px) { .page-top { padding-top: 120px; } }
.text-orange { color: var(--orange); }
.muted { color: var(--muted); }

/* ---------- Blobs decorativos ---------- */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.blob.o { background: var(--orange); }
.blob.b { background: #3B82F6; opacity: .18; }
.rel { position: relative; z-index: 1; }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-pad { padding: 2rem; }
@media (max-width: 640px) { .card-pad { padding: 1.5rem; } }
.icon-box {
  width: 56px; height: 56px; border-radius: 1rem; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-600)); color: #fff; box-shadow: var(--shadow-orange);
  transition: transform .35s var(--ease);
}
.icon-box svg { width: 26px; height: 26px; }
.card-hover:hover .icon-box { transform: scale(1.08) rotate(-4deg); }
.icon-soft { width: 48px; height: 48px; border-radius: .9rem; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); }
.icon-soft svg { width: 22px; height: 22px; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.feat-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.feat-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--text); }
.feat-list li .ck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-50); color: var(--orange-600); display: grid; place-items: center; margin-top: 1px; }
.feat-list li .ck svg { width: 13px; height: 13px; stroke-width: 3; }

/* ---------- Navbar ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 16px 0; transition: padding .35s var(--ease); }
.nav-wrap.scrolled { padding-top: 8px; }
.nav {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px 12px 18px; border-radius: 1.25rem;
  background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-sm);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.nav-wrap.scrolled .nav { padding-top: 8px; padding-bottom: 8px; box-shadow: var(--shadow); background: rgba(255,255,255,.92); }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.brand img { width: 42px; height: 42px; border-radius: .8rem; object-fit: cover; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: .5rem .85rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--navy); background: var(--navy-50); }
.nav-links a.active { color: var(--orange-600); background: var(--orange-50); }
.nav-toggle { display: none; background: var(--navy-50); color: var(--navy); border: 0; border-radius: .8rem; padding: .6rem; }
.nav-mobile { display: none; }
@media (max-width: 1080px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.open {
    display: grid; gap: 4px; max-width: 1200px; margin: 8px auto 0; padding: 12px; border-radius: 1.25rem;
    background: rgba(255,255,255,.97); box-shadow: var(--shadow-lg); animation: drop .3s var(--ease);
  }
  .nav-mobile a { padding: .8rem 1rem; border-radius: .8rem; font-weight: 600; color: var(--navy); }
  .nav-mobile a.active { color: var(--orange-600); background: var(--orange-50); }
  .nav-mobile .btn { margin-top: 8px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(10,30,63,.92) 0%, rgba(14,41,84,.72) 45%, rgba(14,41,84,.35) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; max-width: 820px; letter-spacing: -0.02em; }
.hero p { margin-top: 1.5rem; font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 600px; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.5rem; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero-scroll::after { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Paquetes ---------- */
.pack { display: flex; flex-direction: column; position: relative; }
.pack h3 { font-size: 1.35rem; color: var(--navy); margin-top: 1.25rem; }
.pack p.desc { color: var(--muted); margin-top: .6rem; font-size: .95rem; }
.pack .feat-list { flex: 1; }
.pack .btn { margin-top: 1.75rem; }
.pack.featured { background: linear-gradient(150deg, #FB923C 0%, var(--orange) 45%, var(--orange-600) 100%); color: #fff; border-color: transparent; box-shadow: var(--shadow-orange); }
.pack.featured h3, .pack.featured p.desc, .pack.featured .feat-list li { color: #fff; }
.pack.featured .icon-box { background: rgba(255,255,255,.2); box-shadow: none; }
.pack.featured .feat-list li .ck { background: rgba(255,255,255,.25); color: #fff; }
.pack.featured .btn { background: #fff; color: var(--orange-600); box-shadow: 0 10px 24px -10px rgba(0,0,0,.3); }
.badge-pop { position: absolute; top: -13px; right: 22px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 999px; box-shadow: var(--shadow); }

/* ---------- Confianza ---------- */
.trust { background: linear-gradient(135deg, #EAF2FF 0%, #F3F7FD 100%); border-radius: 3rem; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.trust .shield { width: 76px; height: 76px; margin: 0 auto 1.5rem; border-radius: 1.5rem; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.trust .shield svg { width: 36px; height: 36px; }
.trust h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy); }
.trust p { margin: 1rem auto 0; max-width: 620px; color: var(--muted); font-size: 1.1rem; }
@media (max-width: 640px) { .trust { border-radius: 2rem; padding: 48px 20px; } }

/* ---------- Servicios ---------- */
.svc-icon { width: 64px; height: 64px; border-radius: 1.2rem; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.svc-icon svg { width: 30px; height: 30px; }
.card-hover:hover .svc-icon { transform: scale(1.08) rotate(-4deg); }
.grad-orange { background: linear-gradient(135deg, #FB923C, #EF4444); }
.grad-blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.grad-indigo { background: linear-gradient(135deg, #2563EB, #6366F1); }
.grad-green { background: linear-gradient(135deg, #22C55E, #059669); }
.grad-purple { background: linear-gradient(135deg, #A855F7, #EC4899); }
.grad-amber { background: linear-gradient(135deg, #F59E0B, #EAB308); }
.grad-navy { background: linear-gradient(135deg, #0E2954, #1E4B8F); }
.cta-card { border-radius: 3rem; padding: 64px 32px; text-align: center; background: linear-gradient(135deg, var(--orange-50) 0%, #fff 50%, var(--navy-50) 100%); border: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); }
.cta-card p { color: var(--muted); margin: 1rem 0 2rem; font-size: 1.1rem; }
@media (max-width: 640px) { .cta-card { border-radius: 2rem; padding: 48px 20px; } }

/* ---------- Nosotros ---------- */
.intro-block { text-align: center; max-width: 820px; margin: 0 auto; }
.intro-block h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); color: var(--navy); }
.intro-block p { margin-top: 1.5rem; font-size: 1.2rem; color: var(--muted); line-height: 1.75; }
.mv-card { display: flex; gap: 1.25rem; align-items: flex-start; }
.mv-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: .5rem; }
.mv-card.navy { background: var(--navy); color: #fff; border-color: transparent; }
.mv-card.navy h3 { color: #fff; }
.mv-card.navy p { color: rgba(255,255,255,.8); }
.team-card { overflow: hidden; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-50); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-card .info { padding: 1.25rem 1.5rem 1.5rem; }
.team-card h3 { font-size: 1.1rem; color: var(--navy); }
.team-card .role { color: var(--orange-600); font-weight: 700; font-size: .9rem; margin-top: .25rem; }
.avatar-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--navy); opacity: .3; }
.avatar-ph svg { width: 64px; height: 64px; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip { padding: .6rem 1.25rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .25s var(--ease); }
.chip:hover { border-color: var(--orange); color: var(--orange-600); }
.chip.active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.g-item { position: relative; aspect-ratio: 1; border-radius: 1.25rem; overflow: hidden; background: var(--navy-50); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,30,63,.85), transparent 60%); opacity: 0; transition: opacity .4s; }
.g-item .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); }
.g-item .cap strong { display: block; font-size: 1rem; }
.g-item .cap span { font-size: .78rem; color: #FDBA74; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover::after, .g-item:hover .cap { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,16,34,.92); display: grid; place-items: center; padding: 24px; animation: fade .25s; }
.lightbox img { max-height: 82vh; border-radius: 1rem; box-shadow: var(--shadow-lg); }
.lightbox .lb-cap { color: #fff; text-align: center; margin-top: 14px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; padding: .7rem; }
@keyframes fade { from { opacity: 0; } }
.empty { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty .ico { width: 80px; height: 80px; margin: 0 auto 1.25rem; border-radius: 1.5rem; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
.empty .ico svg { width: 36px; height: 36px; }
.empty h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .4rem; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--orange-50), var(--navy-50)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-date { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-body h3 { color: var(--navy); font-size: 1.25rem; margin: .6rem 0; }
.post-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-body .link-arrow { margin-top: 1.1rem; }
.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--navy); margin: .75rem 0 1.5rem; }
.article .cover { border-radius: 2rem; overflow: hidden; margin-bottom: 2.5rem; aspect-ratio: 16/9; box-shadow: var(--shadow); }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.8; color: #243049; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; color: var(--navy); margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; color: var(--navy); margin-top: 1.5em; }
.prose a { color: var(--orange-600); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-left: 0; padding: 1rem 1.5rem; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 1rem 1rem 0; }
.prose img { border-radius: 1rem; }
.prose code { background: var(--navy-50); padding: .1em .4em; border-radius: .3em; font-size: .9em; }

/* ---------- Opiniones ---------- */
.reviews-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .reviews-layout { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 110px; }
.review { display: flex; gap: 1rem; }
.avatar { width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; background: linear-gradient(135deg, #FB923C, var(--orange-600)); font-family: var(--font-display); }
.review h4 { font-family: var(--font-body); font-size: 1rem; color: var(--navy); }
.review .meta { font-size: .82rem; color: var(--muted); }
.review p { margin-top: .6rem; color: #334058; }
.stars { display: inline-flex; gap: 2px; color: #F59E0B; margin-top: .3rem; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.stars .off { color: #D9DEE7; }
.star-input { display: flex; gap: 4px; }
.star-input button { background: none; border: 0; padding: 2px; color: #D9DEE7; transition: transform .15s; }
.star-input button:hover { transform: scale(1.15); }
.star-input button.on { color: #F59E0B; }
.star-input svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field > label, .label { font-weight: 700; font-size: .88rem; color: var(--navy); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; padding: .85rem 1rem; border-radius: .9rem; border: 1.5px solid var(--border); background: #fff;
  transition: border-color .2s, box-shadow .2s; outline: none; font-size: .95rem;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(249,115,22,.14); }
.textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.success-box { text-align: center; padding: 2.5rem 1rem; }
.success-box .ok { width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center; background: #DCFCE7; color: var(--green); animation: pop .5s var(--ease); }
.success-box .ok svg { width: 38px; height: 38px; }
.success-box h3 { color: var(--navy); font-size: 1.5rem; }
.success-box p { color: var(--muted); margin: .6rem 0 1.5rem; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.info-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; }
.info-card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.info-card strong { color: var(--navy); font-size: 1.02rem; word-break: break-word; }

/* ---------- Presupuesto ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.progress { height: 8px; background: var(--navy-50); border-radius: 99px; overflow: hidden; margin-bottom: .75rem; }
.progress > div { height: 100%; background: linear-gradient(90deg, #FB923C, var(--orange-600)); border-radius: 99px; transition: width .5s var(--ease); }
.step-label { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 2rem; }
.step h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 1.5rem; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
.opt { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; border-radius: 1.1rem; border: 2px solid var(--border); background: #fff; text-align: left; font-weight: 700; color: var(--navy); transition: all .25s var(--ease); }
.opt:hover { border-color: #FDBA74; transform: translateY(-2px); }
.opt.sel { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 4px rgba(249,115,22,.1); }
.opt .icon-soft { transition: all .25s; }
.opt.sel .icon-soft { background: var(--orange); color: #fff; }
.people-num { font-family: var(--font-display); font-size: 5rem; font-weight: 800; color: var(--orange); text-align: center; line-height: 1; }
.people-num small { display: block; font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 600; margin-top: .5rem; }
input[type=range] { width: 100%; accent-color: var(--orange); margin-top: 2rem; height: 6px; }
.range-lbl { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; margin-top: .4rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.summary { background: var(--navy); color: #fff; border-radius: 1.75rem; padding: 2rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.summary::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--orange); filter: blur(70px); opacity: .35; top: -80px; right: -80px; }
.summary h3 { font-size: 1.3rem; margin-bottom: 1.5rem; position: relative; }
.summary dl { margin: 0; display: grid; gap: 1rem; position: relative; }
.summary dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); font-weight: 700; }
.summary dd { margin: .2rem 0 0; font-weight: 700; }
.summary .note { position: relative; margin-top: 1.75rem; padding: 1rem; border-radius: 1rem; background: rgba(255,255,255,.08); font-size: .88rem; color: rgba(255,255,255,.85); display: flex; gap: .6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.75); margin-top: 100px; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--orange); filter: blur(120px); opacity: .12; top: -200px; left: -120px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; padding: 72px 0 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer .brand { color: #fff; }
.footer h4 { font-family: var(--font-body); color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a:hover { color: var(--orange); }
.footer .contact-li { display: flex; gap: .6rem; align-items: center; }
.footer .contact-li svg { color: var(--orange); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: .9rem; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .25s var(--ease); }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; text-align: center; color: rgba(255,255,255,.55); }

.fab-panel { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg); transition: transform .25s var(--ease), background .2s; }
.fab-panel:hover { transform: translateY(-3px); background: var(--orange); }

.demo-banner { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 340px; background: #FFFBEB; border: 1px solid #FDE68A; color: #78350F; font-size: .8rem; padding: .7rem 1rem; border-radius: 1rem; box-shadow: var(--shadow); }
.demo-banner button { background: none; border: 0; color: #92400E; font-weight: 700; padding: 0 0 0 .5rem; }

/* ---------- Toasts ---------- */
#toasts { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { padding: .9rem 1.2rem; border-radius: 1rem; background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); animation: drop .3s var(--ease); display: flex; gap: .6rem; align-items: center; }
.toast.ok { background: #14532D; }
.toast.err { background: #7F1D1D; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 120px 16px 60px; position: relative; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 2rem; color: var(--navy); text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin: .5rem 0 2rem; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-top: 1.25rem; }
.auth-links a { color: var(--orange-600); font-weight: 700; }
.alert { padding: .85rem 1rem; border-radius: .9rem; font-size: .9rem; }
.alert.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert.info { background: var(--navy-50); color: var(--navy); border: 1px solid #D5E1F5; }
.alert.warn { background: #FFFBEB; color: #78350F; border: 1px solid #FDE68A; }

/* ==========================================================
   PANEL DE ADMINISTRACIÓN
   ========================================================== */
.admin { min-height: 100vh; display: flex; background: #F3F5F9; }
.sidebar { width: 272px; flex-shrink: 0; background: var(--navy-900); color: rgba(255,255,255,.75); position: fixed; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; z-index: 80; transition: transform .35s var(--ease); }
.sidebar .sb-head { display: flex; align-items: center; gap: .75rem; padding: 1.5rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .sb-head img { width: 42px; height: 42px; border-radius: .8rem; object-fit: cover; }
.sidebar .sb-head strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
.sidebar .sb-head small { font-size: .78rem; color: rgba(255,255,255,.5); }
.sidebar nav { flex: 1; overflow-y: auto; padding: 1rem .8rem; display: grid; gap: 2px; align-content: start; }
.sidebar nav .sb-sep { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.35); font-weight: 800; padding: 1rem .8rem .4rem; }
.sidebar nav a { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border-radius: .8rem; font-weight: 600; font-size: .92rem; transition: all .2s; }
.sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar nav a.active { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.sidebar nav a svg { width: 19px; height: 19px; }
.sidebar .sb-foot { padding: 1rem .8rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 2px; }
.sidebar .sb-foot a, .sidebar .sb-foot button { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border-radius: .8rem; font-weight: 600; font-size: .9rem; background: none; border: 0; color: inherit; text-align: left; }
.sidebar .sb-foot a:hover, .sidebar .sb-foot button:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-main { flex: 1; margin-left: 272px; min-width: 0; padding: 36px 40px 140px; }
.admin-mhead { display: none; }
.sb-overlay { display: none; }
@media (max-width: 1000px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .sb-overlay.open { display: block; position: fixed; inset: 0; background: rgba(6,16,34,.5); z-index: 75; }
  .admin-main { margin-left: 0; padding: 88px 16px 140px; }
  .admin-mhead { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 64px; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--navy-900); color: #fff; }
  .admin-mhead strong { font-family: var(--font-display); }
  .admin-mhead button { background: rgba(255,255,255,.1); border: 0; color: #fff; border-radius: .7rem; padding: .5rem; }
}
.a-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.a-head h1 { font-size: 1.9rem; color: var(--navy); }
.a-head p { color: var(--muted); margin-top: .3rem; }
.a-card { background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; box-shadow: var(--shadow-sm); }
.a-block { margin-bottom: 22px; }
.a-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border); }
.a-block-head h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.a-block-head .acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-block-body { padding: 1.5rem; display: grid; gap: 1.2rem; }
.a-block.hidden-block .a-block-body { opacity: .55; }
.switch { display: inline-flex; align-items: center; gap: .55rem; font-size: .84rem; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .tr { width: 40px; height: 23px; border-radius: 99px; background: #CBD2DD; position: relative; transition: background .2s; }
.switch .tr::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + .tr { background: var(--green); }
.switch input:checked + .tr::after { transform: translateX(17px); }
.list-ed { display: grid; gap: 14px; }
.list-item { border: 1.5px solid var(--border); border-radius: 1rem; background: #FAFBFD; }
.list-item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: .7rem .9rem .7rem 1.1rem; border-bottom: 1px solid var(--border); }
.list-item-head strong { font-size: .88rem; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item-head .acts { display: flex; gap: 4px; flex-shrink: 0; }
.list-item-body { padding: 1.1rem; display: grid; gap: 1rem; }
.mini-btn { background: #fff; border: 1px solid var(--border); border-radius: .6rem; padding: .35rem; color: var(--muted); display: inline-grid; place-items: center; transition: all .15s; }
.mini-btn:hover:not(:disabled) { color: var(--navy); border-color: #B9C3D3; }
.mini-btn.del:hover:not(:disabled) { color: var(--red); border-color: #FECACA; background: #FEF2F2; }
.mini-btn:disabled { opacity: .35; cursor: default; }
.mini-btn svg { width: 16px; height: 16px; }
.str-row { display: flex; gap: 6px; align-items: center; }
.str-row .input { padding: .6rem .85rem; }
.add-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1rem; border-radius: .9rem; border: 1.5px dashed #C4CCD9; background: transparent; color: var(--muted); font-weight: 700; font-size: .88rem; transition: all .2s; }
.add-btn:hover { border-color: var(--orange); color: var(--orange-600); background: var(--orange-50); }
.img-field { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.img-prev { width: 120px; height: 90px; border-radius: .8rem; overflow: hidden; background: var(--navy-50); border: 1px solid var(--border); display: grid; place-items: center; color: #A0AABB; flex-shrink: 0; }
.img-prev.tall { width: 96px; height: 120px; }
.img-prev img { width: 100%; height: 100%; object-fit: cover; }
.img-field .img-acts { display: grid; gap: .5rem; flex: 1; min-width: 200px; }
.icon-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-pick button { width: 40px; height: 40px; border-radius: .7rem; border: 1.5px solid var(--border); background: #fff; color: var(--navy); display: grid; place-items: center; transition: all .15s; }
.icon-pick button:hover { border-color: var(--orange); }
.icon-pick button.sel { background: var(--orange); border-color: var(--orange); color: #fff; }
.icon-pick svg { width: 19px; height: 19px; }
.grad-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.grad-pick button { width: 44px; height: 44px; border-radius: .8rem; border: 3px solid transparent; outline: 1px solid var(--border); }
.grad-pick button.sel { border-color: #fff; outline: 3px solid var(--navy); }
.save-bar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(140%); z-index: 90; display: flex; align-items: center; gap: 14px; padding: .7rem .7rem .7rem 1.4rem; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); max-width: calc(100vw - 24px); }
.save-bar.show { transform: translateX(-50%) translateY(0); }
@media (min-width: 1001px) { .save-bar { left: calc(50% + 136px); } }
.save-bar span { font-weight: 600; font-size: .9rem; white-space: nowrap; }
@media (max-width: 480px) { .save-bar span { display: none; } .save-bar { padding-left: .7rem; } }
.stat-card { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; transition: transform .25s var(--ease), box-shadow .25s; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-card .num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-card small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.quick { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); }
.quick:hover { border-color: var(--orange); color: var(--orange-600); }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .85rem 1.2rem; border-bottom: 1px solid var(--border); background: #FAFBFD; white-space: nowrap; }
.tbl td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: .25rem .7rem; border-radius: 99px; font-size: .75rem; font-weight: 800; }
.pill.green { background: #DCFCE7; color: #166534; }
.pill.gray { background: #EEF0F4; color: #5B6679; }
.pill.orange { background: var(--orange-50); color: var(--orange-600); }
.pill.blue { background: #DBEAFE; color: #1E40AF; }
.msg-card { padding: 1.3rem 1.5rem; }
.msg-card + .msg-card { border-top: 1px solid var(--border); }
.msg-card .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.msg-card .top strong { color: var(--navy); }
.msg-card .top small { color: var(--muted); }
.msg-card p { margin-top: .6rem; white-space: pre-wrap; color: #334058; }
.modal-bg { position: fixed; inset: 0; z-index: 150; background: rgba(6,16,34,.55); display: grid; place-items: center; padding: 16px; animation: fade .2s; overflow-y: auto; }
.modal { width: 100%; max-width: 720px; background: #fff; border-radius: 1.5rem; box-shadow: var(--shadow-lg); animation: drop .3s var(--ease); max-height: calc(100vh - 32px); display: flex; flex-direction: column; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.modal-body { padding: 1.5rem; overflow-y: auto; display: grid; gap: 1.1rem; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.gal-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.gal-admin .gi { overflow: hidden; }
.gal-admin .gi .ph { aspect-ratio: 1; background: var(--navy-50); }
.gal-admin .gi .ph img { width: 100%; height: 100%; object-fit: cover; }
.gal-admin .gi .b { padding: .8rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.gal-admin .gi .b strong { font-size: .88rem; color: var(--navy); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gal-admin .gi .b small { color: var(--muted); font-size: .76rem; }
.flex { display: flex; } .gap { gap: 10px; } .wrap { flex-wrap: wrap; } .center { align-items: center; } .between { justify-content: space-between; }
.mt1 { margin-top: .5rem; } .mt2 { margin-top: 1rem; } .mt3 { margin-top: 1.5rem; } .mt4 { margin-top: 2.5rem; }
.small { font-size: .85rem; }

/* Ajustes móviles */
.field, .list-ed, .list-item, .list-item-body > *, .a-block-body > * { min-width: 0; }
.str-row .input { min-width: 0; flex: 1; }
.nav-mobile a.btn { color: #fff; }

/* Legal */
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 10px; }
.legal-links a { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover { color: var(--orange); }
.consent { display: grid; gap: .45rem; }
.consent-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.consent-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.consent-check a { color: var(--orange-600); text-decoration: underline; }
.consent-note { font-size: .74rem; line-height: 1.5; color: var(--muted); }
