@import url("common/language-selector.css");
:root{
  --bg:#07080a;
  --panel:#101216;
  --line:#292c32;
  --text:#f4f1eb;
  --muted:#a4a6aa;
  --accent:#ff7417;
  --shadow:0 18px 50px rgba(0,0,0,.42);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding-top:84px;
  background:#07080a;
  color:var(--text);
  font-family:"Segoe UI",Arial,system-ui,sans-serif;
}

.topbar{
  position:fixed;
  inset:0 0 auto 0;
  height:84px;
  z-index:1000;
  background:rgba(17,17,20,.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
}
.nav{
  width:min(1240px,calc(100% - 48px));
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--text);
  min-width:max-content;
}
.brand img{
  width:38px;height:38px;object-fit:contain;
  filter:drop-shadow(0 0 16px rgba(255,116,23,.18));
}
.wordmark-wrap{display:flex;flex-direction:column;gap:5px;line-height:1}
.wordmark{
  font-family:"Bank Gothic","Eurostile","Microgramma","Arial Narrow",sans-serif;
  font-size:16px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:#f6f3ef;display:flex;align-items:center;gap:12px;
}
.wordmark .planner{color:var(--accent)}
.brand-line{
  width:100%;max-width:196px;height:1px;
  background:linear-gradient(90deg,rgba(255,116,23,.75),rgba(255,116,23,0));
}
.menu{display:flex;align-items:center;gap:10px;margin-left:auto}
.nav-item{position:relative}
.nav-link,.drop-toggle{
  border:0;background:none;color:#b9b4ad;text-decoration:none;
  padding:11px 12px;border-radius:10px;display:flex;align-items:center;gap:8px;
  font-size:14px;font-weight:650;cursor:pointer;
  transition:color .18s ease,background .18s ease;
}
.nav-link:hover,.drop-toggle:hover,.nav-item.open .drop-toggle{
  color:var(--text);background:rgba(255,255,255,.035)
}
.chev{
  width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;
  transform:rotate(45deg) translateY(-2px);transition:transform .18s ease;opacity:.9
}
.nav-item.open .chev{transform:rotate(225deg) translate(-1px,-1px)}
.dropdown{
  position:absolute;top:calc(100% + 10px);left:0;min-width:240px;padding:8px;
  background:rgba(20,20,23,.99);border:1px solid var(--line);border-radius:16px;
  box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(-5px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;z-index:20
}
.nav-item.open .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{
  display:block;padding:11px 12px;border-radius:10px;color:#d7d2cb;text-decoration:none;
  font-size:13px;line-height:1.2
}
.dropdown a:hover{background:rgba(255,116,23,.09);color:#fff}
.dropdown a span{display:block;margin-top:4px;color:#7f7b75;font-size:11px}
.lang .dropdown{left:auto;right:0;min-width:190px}
.lang .drop-toggle{
  background:#0b0b0d;border:1px solid #303037;border-radius:999px;padding:9px 12px;color:var(--text)
}


.legal-hero{
  width:min(980px,calc(100% - 40px));
  margin:0 auto;
  padding:64px 0 32px;
  border-bottom:1px solid var(--line);
}
.legal-kicker{
  color:var(--accent);
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.legal-hero h1{
  margin:0 0 12px;
  font-size:40px;
  line-height:1.05;
}
.legal-hero p{
  margin:0;
  max-width:700px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.legal-meta{
  margin-top:15px;
  color:#767980;
  font-size:11px;
}
.legal-wrap{
  width:min(980px,calc(100% - 40px));
  margin:0 auto;
  padding:30px 0 70px;
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:36px;
}
.legal-index{
  position:sticky;
  top:112px;
  align-self:start;
  border-right:1px solid var(--line);
  padding-right:20px;
}
.legal-index a{
  display:block;
  color:#8f9297;
  text-decoration:none;
  font-size:12px;
  padding:7px 0;
}
.legal-index a:hover{color:#fff}
.legal-index a.current{color:var(--accent);font-weight:700}
.legal-copy section{
  padding:0 0 24px;
  margin:0 0 24px;
  border-bottom:1px solid var(--line);
}
.legal-copy section:last-child{border-bottom:0}
.legal-copy h2{
  margin:0 0 10px;
  font-size:19px;
}
.legal-copy h3{
  margin:18px 0 8px;
  font-size:14px;
}
.legal-copy p,
.legal-copy li{
  color:#b3b5b9;
  font-size:13px;
  line-height:1.65;
}
.legal-copy p{margin:0 0 11px}
.legal-copy ul{margin:8px 0 0;padding-left:20px}
.legal-copy li{margin:7px 0}
.legal-copy li::marker{color:var(--accent)}
.legal-note{
  padding:14px 15px;
  border-left:2px solid var(--accent);
  background:#0d0f12;
  color:#a9abb0;
  font-size:12px;
  line-height:1.55;
  margin:14px 0;
}
.legal-contact{
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
}
.legal-contact:hover{text-decoration:underline}
.legal-footer{
  border-top:1px solid var(--line);
  background:#090a0c;
}
.legal-footer-in{
  width:min(980px,calc(100% - 40px));
  margin:0 auto;
  padding:24px 0 28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  color:#777a80;
  font-size:10px;
}
.legal-footer-links{display:flex;gap:16px;flex-wrap:wrap}
.legal-footer-links a{color:#a8aaae;text-decoration:none}
.legal-footer-links a:hover{color:#fff}
@media(max-width:800px){
  .legal-wrap{grid-template-columns:1fr}
  .legal-index{position:static;border-right:0;border-bottom:1px solid var(--line);padding:0 0 15px}
  .legal-index a{display:inline-block;margin-right:14px}
  .legal-hero h1{font-size:34px}
}

/* === Tattoo Planner: navegación responsive final === */
.mobile-menu-toggle,.mobile-menu-backdrop,.mobile-drawer{display:none}
@media(max-width:900px){
  body{padding-top:72px}
  .topbar{height:72px}
  .nav{width:calc(100% - 28px);gap:12px}
  .brand{gap:10px;min-width:0}
  .brand img{width:34px;height:34px;flex:0 0 auto}
  .wordmark-wrap{min-width:0}
  .wordmark{font-size:12px;letter-spacing:.13em;gap:7px;white-space:nowrap}
  .brand-line{max-width:155px}
  .menu{display:none!important}
  .mobile-menu-toggle{margin-left:auto;width:44px;height:44px;border:1px solid #303037;border-radius:12px;background:#0b0b0d;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;flex:0 0 auto}
  .mobile-menu-toggle span{width:20px;height:2px;border-radius:99px;background:#f1ece6;display:block;transition:transform .18s ease,opacity .18s ease}
  body.mobile-menu-open .mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  body.mobile-menu-open .mobile-menu-toggle span:nth-child(2){opacity:0}
  body.mobile-menu-open .mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mobile-menu-backdrop{display:block;position:fixed;inset:72px 0 0 0;z-index:1090;background:rgba(0,0,0,.58);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
  body.mobile-menu-open .mobile-menu-backdrop{opacity:1;visibility:visible}
  .mobile-drawer{display:flex;flex-direction:column;position:fixed;top:72px;right:0;bottom:0;z-index:1100;width:min(88vw,360px);background:#101114;border-left:1px solid #2a2c31;box-shadow:-24px 0 55px rgba(0,0,0,.45);transform:translateX(104%);transition:transform .22s ease;color:#f4f1eb}
  body.mobile-menu-open .mobile-drawer{transform:translateX(0)}
  .mobile-drawer-head{min-height:60px;padding:10px 14px 10px 18px;border-bottom:1px solid #24262b;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#f0ebe5}
  .mobile-drawer-close{width:38px;height:38px;border:1px solid #303037;border-radius:10px;background:#0b0b0d;color:#fff;font-size:22px;line-height:1;cursor:pointer}
  .mobile-drawer-scroll{padding:10px 12px 24px;overflow:auto;overscroll-behavior:contain}
  .mobile-link,.mobile-group-toggle{width:100%;min-height:46px;border:0;background:transparent;color:#c8c3bc;display:flex;align-items:center;text-align:left;padding:0 12px;border-radius:10px;font:inherit;font-size:13px;font-weight:750;cursor:pointer;text-decoration:none}
  .mobile-link:hover,.mobile-group-toggle:hover{background:rgba(255,255,255,.035);color:#fff}
  .mobile-link.mobile-primary{font-size:14px;color:#e9e4de}
  .mobile-link.current{color:#ff7417;background:rgba(255,116,23,.08)}
  .mobile-group{border-top:1px solid #24262b;margin-top:5px;padding-top:5px}
  .mobile-group-toggle{justify-content:space-between;color:#e4dfd9}
  .mobile-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}
  .mobile-group.open .mobile-chevron{transform:rotate(225deg) translate(-1px,-1px)}
  .mobile-submenu{display:none;padding:0 0 5px 10px}
  .mobile-group.open .mobile-submenu{display:block}
  .mobile-submenu .mobile-link{min-height:40px;font-size:12px;color:#99958f;padding-left:16px}
  .mobile-submenu .mobile-link::before{content:"";width:5px;height:5px;border-radius:50%;background:#4b4d52;margin-right:10px;flex:0 0 auto}
  .mobile-submenu .current-language{color:#ff8f46}
  body.mobile-menu-open{overflow:hidden}
}
@media(max-width:430px){.nav{width:calc(100% - 20px)}.wordmark{font-size:11px;letter-spacing:.1em}.brand-line{max-width:135px}.mobile-drawer{width:min(92vw,350px)}}
@media(max-width:350px){.wordmark{font-size:10px;gap:5px}.brand img{width:31px;height:31px}.mobile-menu-toggle{width:40px;height:40px}}
