@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #b8893e; --brand-2: #9a6f2e;
  --ink: #f7f1e6; --body: #faf6ee; --surface: #ffffff;
  --border: #e3d9c6; --text: #5a5448; --muted: #8a8270;
  --gold: #b8893e; --gold-dark: #9a6f2e; --gold-soft: #cba35e; --green: #1f2a1e;
  --radius: 8px;
}
html { scroll-behavior: smooth; }
body { font-family: 'EB Garamond', serif; background: var(--ink); color: var(--text); font-weight: 400; line-height: 1.7; font-size: 18px; }

/* ─── Topbar ─────────────────────────────────────────────────────────────── */
.topbar { position: fixed; top: 0; width: 100%; z-index: 100; padding: 1.1rem 3rem; display: flex; justify-content: space-between; align-items: center; transition: all .3s; }
.topbar.scrolled { background: rgba(15,15,20,.94); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 300; color: var(--text); text-decoration: none; }
.logo span { color: var(--gold); }
.topbar-links { display: flex; gap: 2rem; list-style: none; }
.topbar-links a { color: var(--muted); text-decoration: none; font-size: .85rem; letter-spacing: .06em; transition: color .2s; }
.topbar-links a:hover { color: var(--text); }
.btn-cta { background: var(--gold); color: #fff; padding: .6rem 1.5rem; border-radius: 50px; font-size: .82rem; text-decoration: none; font-weight: 600; transition: opacity .2s; white-space: nowrap; }
.btn-cta:hover { opacity: .85; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8rem 2rem 5rem; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(ellipse, rgba(184,137,62,0.10) 0%, rgba(184,137,62,0.08) 40%, transparent 70%); pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(184,137,62,0.10); border: 1px solid rgba(184,137,62,0.10); color: var(--brand); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 50px; margin-bottom: 2rem; font-weight: 600; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero-title { font-family: 'Playfair Display', serif; color: var(--green); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 600; line-height: 1.08; margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin: 0 auto 3rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 5rem; }
.btn-primary { display: inline-block; background: var(--gold); color: #fff; padding: .95rem 2.5rem; border-radius: 50px; font-size: .9rem; text-decoration: none; font-weight: 600; transition: all .2s; box-shadow: 0 4px 16px rgba(184,137,62,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,137,62,0.35); }
.btn-secondary { display: inline-block; border: 1px solid var(--border); color: var(--text); padding: .9rem 2.5rem; border-radius: 50px; font-size: .9rem; text-decoration: none; font-weight: 400; transition: all .2s; }
.btn-secondary:hover { border-color: var(--muted); }

/* Scroll indicator */
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-arrow { animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ─── Demos ──────────────────────────────────────────────────────────────── */
.demos { padding: 6rem 2rem; max-width: 1280px; margin: 0 auto; }
.section-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; font-weight: 600; }
.section-title { font-family: 'Playfair Display', serif; color: var(--green); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: .95rem; max-width: 540px; }
.demos-header { margin-bottom: 4rem; }

/* Demo cards */
.demo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.demo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.demo-card:hover { transform: translateY(-4px); border-color: rgba(184,137,62,0.10); box-shadow: 0 12px 32px rgba(184,137,62,0.12); }
.demo-preview { position: relative; overflow: hidden; }
.demo-preview iframe { width: 100%; height: 340px; border: none; pointer-events: none; transform-origin: top left; }
.demo-preview-overlay { position: absolute; inset: 0; cursor: pointer; }
.demo-badge { position: absolute; top: 1rem; left: 1rem; background: rgba(20,17,15,0.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 50px; font-weight: 600; }
.demo-info { padding: 1.5rem; }
.demo-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; margin-bottom: .35rem; }
.demo-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.demo-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.demo-tag { font-size: .7rem; background: rgba(184,137,62,0.04); border: 1px solid var(--border); color: var(--muted); padding: .25rem .65rem; border-radius: 20px; }
.demo-actions { display: flex; gap: .75rem; }
.demo-btn-visit { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.25rem; background: var(--gold); color: #fff; text-decoration: none; border-radius: 50px; font-size: .8rem; font-weight: 600; transition: opacity .2s; }
.demo-btn-visit:hover { opacity: .85; }
.demo-btn-panel { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.25rem; border: 1px solid var(--border); color: var(--muted); text-decoration: none; border-radius: 50px; font-size: .8rem; transition: all .2s; }
.demo-btn-panel:hover { border-color: var(--muted); color: var(--text); }

/* ─── Features ───────────────────────────────────────────────────────────── */
.features { background: var(--body); padding: 6rem 2rem; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 4rem; }
.features-header .section-sub { margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: border-color .2s; }
.feature:hover { border-color: rgba(184,137,62,0.10); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-title { font-weight: 600; font-size: 1rem; margin-bottom: .5rem; }
.feature-desc { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* ─── Proceso ────────────────────────────────────────────────────────────── */
.process { padding: 6rem 2rem; max-width: 900px; margin: 0 auto; }
.process-steps { display: grid; gap: 2rem; margin-top: 3rem; counter-reset: steps; }
.step { display: flex; gap: 2rem; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 48px; height: 48px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.step-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.step-body p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ─── CTA Final ──────────────────────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, rgba(184,137,62,0.10), rgba(184,137,62,0.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 6rem 2rem; text-align: center; }
.cta-section .section-title { max-width: 700px; margin: 0 auto 1.5rem; }
.cta-section .section-sub { margin: 0 auto 3rem; }
.cta-form { display: flex; flex-direction: column; gap: .75rem; width: 100%; max-width: 440px; margin: 0 auto; text-align: left; }
.cta-form input, .cta-form textarea { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-family: inherit; font-size: .9rem; padding: .8rem 1.1rem; outline: none; width: 100%; transition: border-color .2s; }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--gold); }
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--muted); }
.cta-form textarea { resize: vertical; min-height: 3rem; }
.cta-form button { background: var(--gold); color: #fff; border: none; padding: .85rem 1.75rem; border-radius: 50px; font-size: .9rem; font-weight: 600; cursor: pointer; transition: opacity .2s; margin-top: .25rem; }
.cta-form button:hover { opacity: .85; }
.cta-form button:disabled { opacity: .55; cursor: default; }
.cta-note { font-size: .75rem; color: var(--muted); margin-top: 1rem; }
.cta-alt { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.cta-alt a { color: var(--gold); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(184,137,62,0.35); transition: opacity .2s; }
.cta-alt a:hover { opacity: .75; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-section { padding: 6rem 2rem; background: var(--body); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.faq-list { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(184,137,62,0.45); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.5rem; font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; color: var(--green); position: relative; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::after { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--gold); font-family: system-ui, sans-serif; transition: transform .25s; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 1.5rem 1.35rem; color: var(--text); font-size: .95rem; line-height: 1.75; }
.faq-answer p { margin: 0; }
.deco-faq-1 { position: absolute; right: 3%; bottom: 6%; width: 110px; opacity: .16; pointer-events: none; }

/* ─── Botón flotante WhatsApp ────────────────────────────────────────────── */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(31,42,30,0.28); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 8px 26px rgba(31,42,30,0.36); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer { background: var(--body); border-top: 1px solid var(--border); padding: 3rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 300; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: .75rem; }

/* ─── Reveal ─────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media(max-width: 768px) {
  .topbar { padding: 1rem 1.25rem; }
  .topbar-links { display: none; }
  .demo-cards { grid-template-columns: 1fr; }
  .step { gap: 1rem; }
  .cta-email { flex-direction: column; border-radius: 12px; padding: 1rem; width: 100%; max-width: 360px; }
  .cta-email input { width: 100%; text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ─── Demo thumbs (lazy load de iframes) ────────────────────────────────── */
.demo-thumb {
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  transition: opacity .3s;
}
.demo-thumb-brasae  {
  background: linear-gradient(135deg, rgba(13,12,11,.45), rgba(28,21,16,.55)), url('https://images.unsplash.com/photo-1600891964092-4316c288032e?w=800&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.demo-thumb-sakura  {
  background: linear-gradient(135deg, rgba(212,96,122,.15), rgba(232,176,196,.25)), url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?w=800&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.demo-thumb-trattoria {
  background: linear-gradient(135deg, rgba(74,110,42,.2), rgba(196,92,40,.25)), url('https://images.unsplash.com/photo-1595295333158-4742f28fbd85?w=800&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
}

.demo-thumb-inner { text-align: center; }
.demo-thumb-icon  { font-size: 3rem; display: block; margin-bottom: .75rem; }
.demo-thumb-name  { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 300; margin-bottom: .25rem; }
.demo-thumb-brasae .demo-thumb-name,
.demo-thumb-brasae .demo-thumb-sub { color: #f0ede8; }
.demo-thumb-sakura .demo-thumb-name { color: #1a1a1e; }
.demo-thumb-sakura .demo-thumb-sub  { color: #8a6070; }
.demo-thumb-trattoria .demo-thumb-name { color: #2a2018; }
.demo-thumb-trattoria .demo-thumb-sub  { color: #7a6850; }
.demo-thumb-sub { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

.demo-load-btn {
  background: rgba(184,137,62,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(184,137,62,0.06);
  color: #fff;
  padding: .65rem 1.5rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .05em;
}
.demo-thumb-sakura .demo-load-btn,
.demo-thumb-trattoria .demo-load-btn {
  background: rgba(31,42,30,0.08);
  border-color: rgba(31,42,30,0.08);
  color: #2a2018;
}
.demo-load-btn:hover { transform: scale(1.05); background: rgba(184,137,62,0.06); }
.demo-thumb-sakura .demo-load-btn:hover,
.demo-thumb-trattoria .demo-load-btn:hover { background: rgba(31,42,30,0.08); }

/* iframe cargado */
.demo-preview iframe {
  width: 100%;
  height: 340px;
  border: none;
  pointer-events: none;
}
.demo-preview .demo-preview-link {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 2;
}

/* ─── Demo desactivada (próximamente) ───────────────────────────────────── */
.demo-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
}
.demo-x {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(184,137,62,0.06);
}
.demo-thumb-sakura .demo-x,
.demo-thumb-trattoria .demo-x { color: rgba(31,42,30,0.08); }

.demo-coming-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(184,137,62,0.06);
}
.demo-thumb-sakura .demo-coming-label,
.demo-thumb-trattoria .demo-coming-label { color: rgba(31,42,30,0.08); }

/* Botones deshabilitados */
.demo-btn-disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Equipo ──────────────────────────────────────────────────────────────── */
.team-section { background: var(--body); padding: 7rem 2rem; }
.team-inner   { max-width: 1100px; margin: 0 auto; }
.team-header  { text-align: center; margin-bottom: 4rem; }
.team-header .section-sub { margin: 0 auto; }

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all .3s;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,137,62,0.08);
  box-shadow: 0 12px 32px rgba(184,137,62,0.12);
}
.team-card-featured {
  border-color: rgba(184,137,62,0.08);
  background: linear-gradient(160deg, rgba(184,137,62,0.08) 0%, var(--surface) 60%);
  transform: translateY(-8px);
}
.team-card-featured:hover { transform: translateY(-12px); }

/* Avatar */
.team-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  border-radius: 50%;
}
.team-avatar svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}
.team-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, var(--ring-a), var(--ring-b)) border-box;
}
.team-ring-blue   { --ring-a: #b8893e; --ring-b: #cba35e; }
.team-ring-purple { --ring-a: #9a6f2e; --ring-b: #b8893e; }
.team-ring-green  { --ring-a: #2d4129; --ring-b: #b8893e; }

/* Info */
.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--text);
}
.team-role {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 1rem;
}
.team-card-featured .team-role { color: var(--gold-dark); }

.team-bio {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
}
.team-skill {
  font-size: .68rem;
  background: rgba(184,137,62,0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: .2rem .6rem;
  border-radius: 20px;
  letter-spacing: .04em;
}

@media(max-width: 860px) {
  .team-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .team-card-featured { transform: none; }
  .team-card-featured:hover { transform: translateY(-4px); }
}

/* ─── Avatares con iniciales (design system) ──────────────────────────────── */
.team-initials {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 600;
  color: var(--on-accent, #fff);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: 3px solid var(--surface);
  box-shadow: 0 4px 16px rgba(184,137,62,0.25);
}
.team-card-featured .team-initials {
  background: linear-gradient(135deg, var(--gold-dark), var(--green));
}

/* ─── Fotos reales del equipo ─────────────────────────────────────────────── */
.team-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: 0 4px 16px rgba(184,137,62,0.25);
}
.team-avatar { position: relative; }
/* Anillo dorado alrededor de la foto */
.team-avatar::after {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: .5;
}
.team-card-featured .team-avatar::after { opacity: .8; border-color: var(--gold-dark); }

/* ─── Logotipo de marca (design system) ───────────────────────────────────── */
.brand-logo {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; gap: 0; line-height: 1;
}
.brand-logo .brand-icon { width: 24px; height: auto; margin-bottom: 5px; }
.brand-logo .brand-name {
  font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600;
  letter-spacing: .15em; color: var(--green); line-height: 1;
}
.brand-logo .brand-sub {
  display: flex; align-items: center; gap: .45rem;
  font-family: 'EB Garamond', serif; font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-top: 4px;
}
.brand-logo .brand-sub::before, .brand-logo .brand-sub::after {
  content: ''; width: 14px; height: 1px; background: var(--gold); opacity: .7;
}
/* Variante sobre fondo oscuro (footer) */
.brand-logo-dark .brand-name { color: #f7f1e6; }
.brand-logo-dark .brand-sub { color: var(--gold-soft, #cba35e); }
.brand-logo-dark .brand-sub::before, .brand-logo-dark .brand-sub::after { background: var(--gold-soft, #cba35e); }
.brand-logo-dark .brand-icon { filter: brightness(1.6) sepia(.4); }

/* ─── Logo en el topbar oscuro: variante clara ────────────────────────────── */
.topbar .brand-logo .brand-name { color: var(--green); }
.topbar .brand-logo .brand-sub { color: var(--gold); }
.topbar .brand-logo .brand-sub::before,
.topbar .brand-logo .brand-sub::after { background: var(--gold); }
/* Al hacer scroll el nav se pone oscuro → logo en versión clara */
.topbar.scrolled .brand-logo .brand-name { color: #f7f1e6; }
.topbar.scrolled .brand-logo .brand-sub { color: var(--gold-soft); }
.topbar.scrolled .brand-logo .brand-sub::before,
.topbar.scrolled .brand-logo .brand-sub::after { background: var(--gold-soft); }
.topbar.scrolled .brand-logo .brand-icon { filter: brightness(1.6) sepia(.4); }

/* ─── Bio desplegable del equipo ──────────────────────────────────────────── */
.team-more { margin-top: .25rem; text-align: left; }
.team-more p { font-size: .92rem; color: var(--text); line-height: 1.6; margin-bottom: .75rem; }
.team-more p:last-child { margin-bottom: 0; }
.team-toggle {
  background: none; border: none; color: var(--gold-dark); cursor: pointer;
  font-family: 'EB Garamond', serif; font-size: .88rem; font-weight: 500;
  letter-spacing: .03em; padding: .4rem 0; margin-top: .25rem;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.team-toggle:hover { border-bottom-color: var(--gold); }

/* ─── Ilustraciones decorativas ───────────────────────────────────────────── */
.features, .process, .cta-section, .team-section { position: relative; overflow: hidden; }
.deco {
  position: absolute;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
/* Hero: en los márgenes laterales superiores, lejos del texto centrado */
.deco-hero-1 { top: 14%; left: 4%; width: 90px; }
.deco-hero-2 { top: 12%; right: 4%; width: 100px; }
/* Features: esquinas laterales */
.deco-feat-1 { top: 8%; left: 2%; width: 70px; opacity: .4; }
.deco-feat-2 { bottom: 8%; right: 2.5%; width: 68px; opacity: .4; }
/* Equipo: margen izquierdo, pegado al borde */
.deco-team-1 { top: 50%; left: -15px; width: 85px; transform: translateY(-50%); opacity: .35; }
/* CTA: laterales */
.deco-cta-1 { top: 18%; left: 4%; width: 110px; opacity: .45; }
.deco-cta-2 { top: 8%; right: 6%; width: 70px; opacity: .45; }

/* Asegurar que el contenido queda por encima de las decoraciones */
.hero > *:not(.deco):not(.hero-glow),
.features > *:not(.deco),
.process > *:not(.deco),
.cta-section > *:not(.deco),
.team-section > *:not(.deco) { position: relative; z-index: 1; }

/* En móvil y tablet: ocultar las decoraciones (no hay espacio lateral) */
@media(max-width: 1024px) {
  .deco { display: none; }
}

/* ─── Demos activos ───────────────────────────────────────────────────────── */
.demo-thumb-live {
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none; position: relative; transition: all .3s;
}
.demo-thumb-live .demo-play {
  font-family: 'EB Garamond', serif; font-size: 1rem; letter-spacing: .05em;
  color: #fff; background: rgba(31,42,30,.55); padding: .7rem 1.5rem; border-radius: 50px;
  backdrop-filter: blur(4px); opacity: 0; transform: translateY(8px); transition: all .3s;
}
.demo-thumb-live:hover .demo-play { opacity: 1; transform: translateY(0); }
.demo-thumb-live:hover { filter: brightness(.85); }

/* ─── Bloque de paneles de gestión ────────────────────────────────────────── */
.panels-block { max-width: 1000px; margin: 4.5rem auto 0; padding-top: 3.5rem; border-top: 1px solid var(--border); }
.panels-head { text-align: center; margin-bottom: 2.5rem; }
.panels-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); font-weight: 600; margin: .5rem 0; }
.panels-sub { color: var(--text); max-width: 560px; margin: 0 auto; font-size: 1.02rem; line-height: 1.7; }
.panels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.panel-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 2rem; text-align: center; box-shadow: 0 8px 24px rgba(184,137,62,0.08);
  transition: transform .2s, box-shadow .2s;
}
.panel-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(184,137,62,0.15); }
.panel-icon { font-size: 2rem; margin-bottom: .75rem; }
.panel-card h4 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--green); font-weight: 600; margin-bottom: .6rem; }
.panel-card > p { color: var(--text); font-size: .95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.panel-choose { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.panel-choose span { font-size: .82rem; color: var(--muted); letter-spacing: .03em; }
.panel-choose a {
  font-family: 'EB Garamond', serif; font-size: .88rem; color: var(--gold-dark);
  text-decoration: none; padding: .35rem .9rem; border: 1px solid var(--gold-light);
  border-radius: 50px; transition: all .2s;
}
.panel-choose a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
@media(max-width: 760px) {
  .panels-grid { grid-template-columns: 1fr; }
}
