:root{
  --bg: #fbfbfe;
  --ink: #1c1930;
  --muted: #6c6a7c;
  --violet: #6b4fa3;
  --violet-2:#4c2f87;
  --green: #6bbf8a;
  --card: rgba(255,255,255,.78);
  --line: rgba(107,79,163,.18);
  --shadow: 0 18px 50px rgba(28,25,48,.10);
  --radius: 18px;

  /* header violeta */
  --header-bg: rgba(107,79,163,.92);
  --header-bg-2: rgba(76,47,135,.92);
  --header-line: rgba(255,255,255,.22);
  --header-ink: rgba(255,255,255,.92);
  --header-ink-muted: rgba(255,255,255,.78);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(107,79,163,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(107,79,163,.12), transparent 60%),
    var(--bg);
}

.container{ width:min(1120px, calc(100% - 40px)); margin:0 auto; }

/* =========================
   TOPBAR / HEADER VIOLETA
   ========================= */
.topbar{
  position:fixed; inset:0 0 auto 0;
  z-index:50;
  background: linear-gradient(135deg, var(--header-bg), var(--header-bg-2));
  transition: filter .25s ease;
  border-bottom: 0;
}
.topbar.scrolled{
  background: linear-gradient(135deg, rgba(107,79,163,.96), rgba(76,47,135,.96));
  border-bottom: 0;
}

/* layout: logo izq / menú centro / toggle der (desktop) */
.nav-wrap{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:12px 0;
}

/* =========================
   BRAND / LOGO
   ========================= */
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  color: var(--header-ink);
}

.brand-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  height:72px;
  width:auto;
  overflow:hidden;
}
.brand-logo img{
  height:100%;
  width:auto;
  max-width:260px;
  object-fit:contain;
  display:block;
  background: transparent;
}

.brand-name{
  font-weight:800;
  letter-spacing:.08em;
  color: var(--header-ink);
}
.brand-mark{
  width:12px; height:12px; border-radius:999px;
  background: linear-gradient(135deg, var(--violet), var(--green));
  box-shadow: 0 6px 16px rgba(107,79,163,.35);
}

/* =========================
   NAV DESKTOP
   ========================= */
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.nav a{
  text-decoration:none;
  color: var(--header-ink);
  font-weight:700;
  font-size:16px;
  padding:10px 12px;
  border-radius:999px;
  opacity:.95;
}
.nav a:hover{ background: rgba(255,255,255,.14); }

.nav-cta{
  background: rgba(255,255,255,.92);
  color: var(--violet-2) !important;
  box-shadow: 0 14px 30px rgba(28,25,48,.18);
}
.nav-cta:hover{ filter:brightness(1.03); }

/* =========================
   TOGGLE (mobile)
   ========================= */
.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  cursor:pointer;
}
.nav-toggle span{
  display:block; height:2px; width:18px; margin:4px auto;
  background: rgba(255,255,255,.92);
  border-radius:999px;
}

/* línea debajo del header */
.nav-divider{
  height:2px;
  background: var(--header-line);
}

/* =========================
   HERO
   ========================= */
.hero{
  padding: 120px 0 70px;
  background: linear-gradient(120deg, rgba(107,79,163,.30), rgba(107,79,163,.18), rgba(107,79,163,.08)),
              radial-gradient(900px 420px at 80% 30%, rgba(107,79,163,.22), transparent 60%),
              radial-gradient(700px 320px at 90% 90%, rgba(107,79,163,.12), transparent 60%);
  border-bottom: 1px solid rgba(107,79,163,.12);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items:center;
}

.pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(107,79,163,.10);
  border: 1px solid rgba(107,79,163,.20);
  color: var(--violet-2);
  font-weight:700;
  font-size:13px;
  margin:0 0 10px;
}

h1{
  margin: 0 0 10px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.grad{
  background: linear-gradient(135deg, var(--violet), var(--green));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.lead{
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 16px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(107,79,163,.20);
  background: rgba(255,255,255,.65);
  text-decoration:none;
  color: var(--ink);
  font-weight: 800;
  cursor:pointer;
}
.btn.primary{
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  color:white;
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(107,79,163,.25);
}
.btn.primary:hover{ filter:brightness(1.05); }
.btn.ghost:hover{ background: rgba(107,79,163,.08); }
.btn.small{ padding:10px 12px; font-size: 13px; }

.hero-badges{ display:flex; gap:10px; flex-wrap:wrap; }
.badge{
  padding:8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(107,79,163,.18);
  background: rgba(255,255,255,.55);
  color: var(--muted);
  font-weight:700;
  font-size: 13px;
}

.hero-media{ display:flex; justify-content:flex-end; }
.photo-card{
  width:min(420px, 100%);
  border-radius: var(--radius);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(107,79,163,.16);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.photo{
  height: 320px;
  background: #eee;
  background-position:center;
  background-size:cover;
}
.photo.big{ height: 380px; border-radius: var(--radius); overflow:hidden; position:relative; }

/* etiquetas en fotos (si existieran) */
.photo span, .gitem span{
  position:absolute;
  left:12px; bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.40);
  color:white;
  font-weight:800;
  font-size: 12px;
}

.photo-info{
  padding:14px 16px;
  display:flex; flex-direction:column; gap:4px;
}
.photo-info span{ color: var(--muted); font-size: 13px; }

/* sacar scrollhint */
.scrollhint{ display:none !important; }

/* =========================
   SECTIONS
   ========================= */
.section{ padding: 72px 0; }
.section.alt{
  background: linear-gradient(180deg, rgba(107,79,163,.06), rgba(107,79,163,.02));
  border-top: 1px solid rgba(107,79,163,.10);
  border-bottom: 1px solid rgba(107,79,163,.10);
}

.section-head{
  max-width: 76ch;
  margin-bottom: 24px;
}
.section-head h2{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  color: var(--violet-2);
}
.section-head p{
  margin:0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.card{
  background: var(--card);
  border: 1px solid rgba(107,79,163,.14);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 18px;
}

.cards-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card h3{ margin:0 0 8px; color: var(--ink); letter-spacing:-.01em; }
.card p{ margin:0; color: var(--muted); line-height:1.6; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:center;
}
.split.reverse{ grid-template-columns: 1fr 1fr; }
.split.reverse .split-media{ order:2; }
.split.reverse .split-copy{ order:1; }

.split-copy h2{
  margin: 0 0 10px;
  color: var(--violet-2);
  letter-spacing:-.02em;
}
.split-copy p{ color: var(--muted); line-height:1.6; margin:0 0 12px; }

.bullets{
  margin: 10px 0 16px;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 6px 0; }

.mini-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 8px; }

.gallery{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}
.gitem{
  height: 210px;
  border-radius: var(--radius);
  background:#eae8f4;
  border: 1px solid rgba(107,79,163,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  background-size:cover;
  background-position:center;
}
.gitem.tall{ height: 320px; grid-row: span 2; }

.cta-strip{
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(107,79,163,.14), rgba(107,79,163,.06));
  border: 1px solid rgba(107,79,163,.14);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
  flex-wrap:wrap;
}
.cta-strip span{ color: var(--muted); font-size: 14px; }

.accordion{ display:grid; gap:10px; margin-top: 10px; }
.acc-item{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(107,79,163,.16);
  background: rgba(255,255,255,.55);
  cursor:pointer;
  font-weight:900;
  color: var(--ink);
}
.acc-item i{
  width:28px; height:28px; border-radius:999px;
  display:grid; place-items:center;
  background: rgba(107,79,163,.10);
  color: var(--violet-2);
  font-style: normal;
}
.acc-panel{
  display:none;
  padding: 0 16px 12px;
  color: var(--muted);
  line-height: 1.6;
}
.acc-panel.open{ display:block; }

.shop-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0 8px;
}
.shop-item{
  border-radius: var(--radius);
  border: 1px solid rgba(107,79,163,.14);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.shop-photo{
  height: 140px;
  border-radius: 14px;
  background:#eee;
  background-size:cover;
  background-position:center;
  position:relative;
}
.shop-meta span{ color: var(--muted); font-size: 13px; }
.muted{ color: var(--muted); font-size: 13px; }

/* =========================
   CONTACT (si existiera form)
   ========================= */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items:start;
}
.form label{ display:block; margin-bottom: 10px; }
.form span{ display:block; font-weight:800; margin-bottom: 6px; color: var(--violet-2); }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(107,79,163,.18);
  background: rgba(255,255,255,.70);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(107,79,163,.45);
  box-shadow: 0 0 0 4px rgba(107,79,163,.12);
}
.side .quick{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.note{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(107,79,163,.08);
  border: 1px solid rgba(107,79,163,.12);
  color: var(--muted);
}

/* =========================
   FOOTER
   ========================= */
.footer{
  padding: 22px 0;
  border-top: 1px solid rgba(107,79,163,.12);
  background: rgba(255,255,255,.60);
}
.foot{
  display:flex; justify-content:space-between; align-items:center;
  gap: 10px; flex-wrap:wrap;
}
.footer a{ color: var(--violet-2); text-decoration:none; font-weight:900; }
.footer a:hover{ text-decoration:underline; }

/* REVEAL */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{ opacity:1; transform: translateY(0); }

/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 960px){
  .hero-grid, .split, .contact-grid{ grid-template-columns: 1fr; }
  .hero-media{ justify-content:flex-start; }
  .cards-3{ grid-template-columns: 1fr; }
  .cards-2{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
  .gitem.tall{ height: 240px; grid-row:auto; }
  .shop-grid{ grid-template-columns: 1fr; }

  .nav-toggle{ display:block; }

  /* mobile header layout */
  .nav-wrap{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
  }

  /* ✅ MENÚ MOBILE robusto: cerrado por defecto, abre con body.nav-open */
  .nav{
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    z-index: 9999;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(251,251,254,.98);
    border: 1px solid rgba(107,79,163,.14);
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    max-height: calc(100vh - 110px);
    overflow:auto;
  }
  body.nav-open .nav{ display:flex; }

  /* links dentro del desplegable */
  .nav a{
    color: var(--ink);
    background: transparent;
  }
  .nav a:hover{ background: rgba(107,79,163,.08); }

  .nav-cta{
    background: linear-gradient(135deg, var(--violet), var(--violet-2));
    color:white !important;
  }

  .brand-logo{ height:56px; }
  .brand-logo img{ max-width:220px; }
}

/* ✅ overlay para cerrar tocando afuera */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 9998;
  display:none;
}
body.nav-open .nav-overlay{ display:block; }

/* =========================
   WHATSAPP FLOAT BUTTON
   ========================= */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--violet));
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(28,25,48,.18);
}
.wa-float:hover{ filter: brightness(1.05); }