#inicio,
#catalogo,
#nuevos,
#marca,
#contacto{
  scroll-margin-top: 24px;
}
:root{
  --bg:#f4eee4;
  --paper:#fffaf3;
  --ink:#1f2a3a;
  --muted:#6b7280;
  --navy:#213b5b;
  --gold:#caa75d;
  --line:rgba(33,59,91,.11);
  --shadow:0 12px 28px rgba(10,20,35,.10);
  --r-lg:28px;
  --r-md:18px;
  --r-sm:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
}
.layout{
  display:grid;
  grid-template-columns: 280px minmax(0,1fr);
  min-height:100vh;
}
.sidebar{
  background: rgba(255,250,243,.68);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  overflow-x: hidden;
}
.brand-block{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:4px 0 12px;
}
.brand-logo{
  width:180px;
  max-width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}
.sidebar-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.nav-item,.nav-button{
  display:block;
  width:100%;
  border:none;
  background:transparent;
  color:var(--navy);
  text-decoration:none;
  text-align:left;
  padding:12px 14px;
  border-radius:14px;
  font:700 19px ui-serif, Georgia, "Times New Roman", Times, serif;
  cursor:pointer;
}
.nav-item:hover,.nav-button:hover{
  background:rgba(33,59,91,.08);
}
.collections-group{
  display: none;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
}

.collections-group.open{
  display: flex;
}

.nav-button.active{
  background: rgba(33,59,91,.08);
}
.content{
  min-width:0;
}
.mobile-topbar{
  display:none;
}
.hero-board{
  margin:32px 28px 12px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:32px;
  background:linear-gradient(180deg, rgba(255,250,243,.95), rgba(245,238,228,.92));
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(380px, .96fr);
  gap:30px;
  align-items:stretch;
}
.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}
.hero-kicker{
  color:var(--gold);
  font:800 13px system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.hero-copy h1{
  margin:0 0 14px;
  font-size:clamp(40px, 5vw, 76px);
  line-height:0.98;
  font-weight:500;
}
.hero-copy p{
  margin:0 0 18px;
  max-width:700px;
  color:var(--muted);
  font:500 17px/1.65 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.btn-primary{
  width:fit-content;
  display:inline-block;
  text-decoration:none;
  background:var(--navy);
  color:#fff;
  border-radius:14px;
  padding:13px 20px;
  font:800 18px system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.btn-primary:hover{filter:brightness(1.05)}
.hero-banner{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
}
.banner-frame{
  position:relative;
  overflow:hidden;
  min-height:470px;
  border-radius:28px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:rgba(33,59,91,.06);
}
.banner-link{
  display:block;
  height:100%;
  text-decoration:none;
  color:#fff;
}
.banner-img{
  width:100%;
  height:100%;
  min-height:470px;
  object-fit:cover;
  display:block;
  background:#e7e0d6;
}
.banner-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:20px 20px 22px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(12,20,33,.62) 55%, rgba(12,20,33,.86) 100%);
}
.banner-kicker{
  color:#ead39f;
  font:800 12px system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:4px;
}
.banner-title{
  font:700 30px ui-serif, Georgia, "Times New Roman", Times, serif;
  margin-bottom:6px;
}
.banner-text{
  font:500 14px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.banner-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(10,20,35,.38);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.banner-arrow:hover{background:rgba(10,20,35,.7)}
.banner-arrow.prev{left:16px}
.banner-arrow.next{right:16px}
.banner-dots{
  display:flex;
  justify-content:center;
  gap:8px;
}
.banner-dot{
  width:9px;
  height:9px;
  border:none;
  border-radius:999px;
  background:rgba(33,59,91,.2);
  cursor:pointer;
}
.banner-dot.active{background:var(--navy)}
.section{
  width:min(1240px, 100%);
  margin:0 auto;
  padding:20px 28px;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.section-head h2{
  margin:0;
  font-size:34px;
  font-weight:500;
}
.filters{
  display:flex;
  gap:12px;
  align-items:center;
}
select,input{
  border:1px solid rgba(33,59,91,.18);
  background:var(--paper);
  color:var(--ink);
  border-radius:14px;
  padding:11px 13px;
  font:600 16px system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
input{width:min(380px, 64vw)}
.grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.card{
  overflow:hidden;
  background:rgba(255,250,243,.96);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}
.card .thumb{
  height:260px;
  background:rgba(33,59,91,.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.card .body{padding:14px 14px 16px}
.card .name{
  font-size:24px;
  line-height:1.15;
  margin-bottom:6px;
  font-weight:500;
}
.card .meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.price{font-weight:900}
.badge{
  font:800 12px system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:#6a4d17;
  background:rgba(202,167,93,.14);
  border:1px solid rgba(202,167,93,.35);
  padding:6px 10px;
  border-radius:999px;
}
.btn{
  display:inline-block;
  width:100%;
  margin-top:10px;
  text-align:center;
  text-decoration:none;
  color:var(--navy);
  background:#fff;
  border:1px solid rgba(33,59,91,.18);
  border-radius:14px;
  padding:11px 12px;
  font:900 16px system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.btn:hover{background:rgba(33,59,91,.05)}
.text-card{
  background:rgba(255,250,243,.78);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 10px 18px rgba(0,0,0,.06);
}
.text-card h2{margin-top:0}
.text-card p{
  margin:0;
  font:500 16px/1.7 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.footer{
  padding:28px 28px 38px;
  text-align:center;
  color:var(--ink);
  font-weight:700;
}
.muted{
  color:var(--muted);
  font-size:14px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.grid>.muted{grid-column:1/-1;padding:10px 4px}

@media (max-width:1180px){
  .layout{grid-template-columns:1fr}
  .sidebar{
    position:fixed;
    left:-100%;
    width:min(320px, 88vw);
    z-index:60;
    transition:left .25s ease;
    box-shadow:0 18px 40px rgba(0,0,0,.18);
  }
  .sidebar.open{left:0}
  .mobile-topbar{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 18px 0;
  }
  .burger{
    border:none;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:12px;
    width:44px;
    height:44px;
    font-size:24px;
    cursor:pointer;
  }
  .mobile-logo{
    height:56px;
    width:auto;
    object-fit:contain;
  }
  .hero-board{
    margin-top:20px;
    grid-template-columns:1fr;
  }
}
@media (max-width:980px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .grid{grid-template-columns:1fr}
  .hero-board,.section{padding-left:18px;padding-right:18px;margin-left:18px;margin-right:18px}
  .hero-copy h1{font-size:48px}
  .banner-frame,.banner-img{min-height:320px}
}
