/* =========================================================
   El furgon del barrio — styles
   Files:
   - css/style.css
   ========================================================= */

/* Base */
:root{
  --bg:#ffffff;
  --ink:#121212;
  --muted:#5f5f5f;
  --line:rgba(18,18,18,.10);

  --paper:#fff;
  --soft:#faf7f5;

  --accent:#a25355;          /* tone inspired by the logo */
  --accent2:#7c3b3d;
  --accentSoft:rgba(162,83,85,.12);

  --shadow: 0 18px 50px rgba(18,18,18,.10);
  --radius: 18px;

  --max: 1120px;

  --font-ui: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-title: "Fraunces", ui-serif, Georgia, serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font-ui);
  color:var(--ink);
  background:var(--bg);
  line-height:1.5;
}

img{ max-width:100%; display:block; }

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

.topline{
  position:fixed; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index:9999;
  opacity:.9;
}

/* Imagen inicio */
.topBanner{
  padding: 22px 0 10px;
}
.topBanner__card{
  border:1px solid var(--line);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.topBanner__card img{
  width:100%;
  height:auto;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}

.brand__logo{
  width:44px;
  height:44px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid var(--line);
  box-shadow: 0 10px 25px rgba(18,18,18,.08);
}

.brand__name{
  font-weight:800;
  letter-spacing:.2px;
  font-family:var(--font-title);
  text-transform: lowercase;
  font-size:18px;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav__link{
  text-decoration:none;
  color:var(--ink);
  font-weight:600;
  font-size:14px;
  padding:10px 12px;
  border-radius:12px;
  transition: all .2s ease;
}
.nav__link:hover{
  background: var(--accentSoft);
  color: var(--accent2);
}

.nav__link--cta{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  box-shadow: 0 14px 30px rgba(162,83,85,.25);
}
.nav__link--cta:hover{
  filter: brightness(1.02);
  color:#fff;
}

/* Mobile nav */
.navToggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.navToggle span{
  display:block;
  width:18px;
  height:2px;
  background:var(--ink);
  border-radius:99px;
}

/* Hero */
.hero{
  padding:64px 0 42px;
  position:relative;
  overflow:hidden;
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
}

.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
  color: var(--accent2);
  width:fit-content;
  box-shadow: 0 12px 30px rgba(18,18,18,.06);
}

.hero__title{
  font-family: var(--font-title);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height:1.02;
  letter-spacing:-.8px;
  margin:14px 0 12px;
  text-transform: lowercase;
}

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

.notice{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border-radius: var(--radius);
  border:1px solid rgba(162,83,85,.25);
  background: rgba(162,83,85,.06);
}

.notice__icon{
  width:26px; height:26px;
  border-radius:10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  flex:0 0 auto;
}
.notice__text{
  color: var(--ink);
  font-size:14px;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 16px;
}

.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border-radius: 14px;
  padding:12px 16px;
  font-weight:800;
  font-size:14px;
  transition: all .2s ease;
}

.btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  box-shadow: 0 18px 40px rgba(162,83,85,.22);
}
.btn--primary:hover{ transform: translateY(-1px); }

.btn--ghost{
  background:#fff;
  border:1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover{
  background: var(--accentSoft);
  border-color: rgba(162,83,85,.22);
  color: var(--accent2);
}

.hero__meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.metaCard{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:12px 14px;
  background:#fff;
}
.metaCard__label{
  font-size:12px;
  color: var(--muted);
  font-weight:700;
}
.metaCard__value{
  margin-top:6px;
  font-weight:800;
  font-size:13px;
}

.hero__visual{
  position:relative;
  min-height: 360px;
}

.poster{
  position:relative;
  width:min(420px, 100%);
  margin-left:auto;
  border-radius: 26px;
  overflow:hidden;
  border:1px solid rgba(18,18,18,.12);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.poster img{ width:100%; height:auto; }
.poster__shadow{
  position:absolute; inset:-50px;
  background: radial-gradient(circle at 30% 30%, rgba(162,83,85,.12), transparent 45%),
              radial-gradient(circle at 70% 75%, rgba(124,59,61,.10), transparent 55%);
  pointer-events:none;
}

.sticker{
  position:absolute;
  padding:10px 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  text-transform: uppercase;
  letter-spacing:.7px;
  box-shadow: 0 18px 45px rgba(18,18,18,.08);
  font-size:12px;
}
.sticker--a{ top:20px; left:10px; transform: rotate(-6deg); color: var(--accent2); }
.sticker--b{ bottom:22px; right:12px; transform: rotate(6deg); background: rgba(162,83,85,.08); }

.scribble{
  position:absolute;
  border-radius: 999px;
  border:1px dashed rgba(162,83,85,.35);
  opacity:.8;
}
.scribble--1{ width:220px; height:220px; top:-40px; right:-30px; transform: rotate(12deg); }
.scribble--2{ width:180px; height:180px; bottom:-50px; left:-40px; transform: rotate(-18deg); }

/* Sections */
.section{ padding:56px 0; }
.section--soft{ background: var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  flex-wrap:wrap;
}
.section__head h2{
  margin:0;
  font-family: var(--font-title);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing:-.3px;
  text-transform: lowercase;
}
.section__head p{
  margin:0;
  color: var(--muted);
  max-width: 60ch;
}

/* Layout helpers */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

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

.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  background:#fff;
  box-shadow: 0 16px 45px rgba(18,18,18,.06);
}
.card h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:-.2px;
}
.card p{ margin:0 0 10px; color: var(--ink); }
.card p:last-child{ margin-bottom:0; }
.muted{ color: var(--muted) !important; }

.card--note{
  background: rgba(162,83,85,.06);
  border-color: rgba(162,83,85,.22);
}

.card--feature{
  position:relative;
  overflow:hidden;
}
.card--feature:before{
  content:"";
  position:absolute;
  inset:-1px -1px auto -1px;
  height:4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity:.9;
}
.card__top{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:12px;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:12px;
  font-weight:800;
  color: var(--ink);
}
.badge--accent{
  background: rgba(162,83,85,.08);
  border-color: rgba(162,83,85,.22);
  color: var(--accent2);
}
.badge--money{
  background: rgba(124,59,61,.08);
  border-color: rgba(124,59,61,.22);
  color: var(--accent2);
}

.tag{
  font-size:12px;
  font-weight:900;
  text-transform: uppercase;
  letter-spacing:.6px;
  color: var(--accent2);
}

.tag--below{
  display:block;
  margin:-6px 0 10px;
}

/* Photo grid (Memoria) */
.photoGrid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.photoCard{
  grid-column: span 6;
  position:relative;
  border-radius: 22px;
  border:1px solid var(--line);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 18px 50px rgba(18,18,18,.08);
}
.photoCard img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.photoCard figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:12px 14px;
  font-weight:900;
  letter-spacing:.2px;
  color:#fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.62));
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

@media (max-width: 860px){
  .photoCard{ grid-column: span 12; }
}

/* Price */
.priceWrap{ display:flex; justify-content:center; }
.priceCard{
  width:min(760px, 100%);
  padding:22px;
  border-radius: 26px;
  border:1px solid rgba(162,83,85,.22);
  background: linear-gradient(180deg, rgba(162,83,85,.07), #fff);
  box-shadow: 0 22px 60px rgba(18,18,18,.08);
}
.priceCard__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.seal{
  display:inline-flex;
  padding:8px 12px;
  border-radius: 999px;
  background: #fff;
  border:1px solid var(--line);
  font-weight:900;
  font-size:12px;
  text-transform: uppercase;
  letter-spacing:.6px;
}
.priceCard__price{
  font-family: var(--font-title);
  font-weight:800;
  font-size: clamp(34px, 4vw, 46px);
  margin:12px 0 6px;
  letter-spacing:-.6px;
}
.priceCard__price span{
  font-family: var(--font-ui);
  font-size:14px;
  color: var(--muted);
  font-weight:700;
  margin-left:8px;
}
.divider{
  height:1px;
  background: var(--line);
  margin:14px 0;
}
.priceCard__note{
  margin:0;
  color: var(--muted);
  font-weight:600;
}

/* Checklist */
.card--check{
  background: #fff;
}
.checklist{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.checklist li{
  position:relative;
  padding-left:28px;
  color: var(--ink);
  font-weight:600;
}
.checklist li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:20px; height:20px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background: rgba(162,83,85,.10);
  color: var(--accent2);
  border:1px solid rgba(162,83,85,.22);
  font-weight:900;
}

/* Location card */
.locationCard{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  border-radius: var(--radius);
  background:#fff;
  border:1px solid var(--line);
  box-shadow: 0 16px 45px rgba(18,18,18,.06);
}
.locationCard__pin{
  width:42px; height:42px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(162,83,85,.08);
  border:1px solid rgba(162,83,85,.22);
  color: var(--accent2);
  font-weight:900;
}
.locationCard__title{
  font-weight:900;
  letter-spacing:-.2px;
}
.locationCard__sub{
  color: var(--muted);
  font-weight:600;
  margin-top:2px;
}

/* Contact */
.contactGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
.card--contact h3{ margin-bottom:10px; }
.contactBtns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.sealLine{
  margin:0;
  color: var(--accent2);
  font-weight:900;
  text-transform: uppercase;
  letter-spacing:.6px;
}

.card--aside{
  background: linear-gradient(180deg, #fff, rgba(162,83,85,.05));
}
.miniList{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.miniList__row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background:#fff;
}
.miniList__k{
  font-size:12px;
  color: var(--muted);
  font-weight:800;
  text-transform: uppercase;
  letter-spacing:.6px;
}
.miniList__v{
  font-weight:700;
  font-size:13px;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background:#fff;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer__brand{
  font-family: var(--font-title);
  font-weight:800;
  text-transform: lowercase;
}
.footer__muted{ color: var(--muted); font-weight:600; font-size:14px; }
.footer__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.footer__right a{
  color: var(--ink);
  text-decoration:none;
  font-weight:800;
}
.footer__right a:hover{ color: var(--accent2); }
.dot{ color: var(--muted); }

/* Floating bar */
.floatbar{
  position:fixed;
  right:16px;
  bottom:16px;
  display:grid;
  gap:10px;
  z-index:999;
}
.floatbar__btn{
  width: 220px;
  padding:12px 14px;
  border-radius: 18px;
  border:1px solid rgba(162,83,85,.22);
  background:#fff;
  text-decoration:none;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(18,18,18,.10);
  display:grid;
  grid-template-columns: 28px 1fr;
  gap:10px;
  align-items:center;
  transition: transform .2s ease;
}
.floatbar__btn:hover{ transform: translateY(-1px); }
.floatbar__btn--alt{ border-color: rgba(124,59,61,.22); }
.floatbar__icon{
  width:28px; height:28px;
  border-radius: 12px;
  background: rgba(162,83,85,.10);
  display:grid;
  place-items:center;
  color: var(--accent2);
  font-weight:900;
}
.floatbar__text{
  font-weight:900;
  text-transform: uppercase;
  letter-spacing:.6px;
  font-size:12px;
}
.floatbar__small{
  display:block;
  color: var(--muted);
  font-weight:700;
  font-size:12px;
  margin-top:2px;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ order:-1; }
  .poster{ margin:0 auto; }
  .cardsGrid{ grid-template-columns: repeat(2, 1fr); }
  .contactGrid{ grid-template-columns: 1fr; }
  .contactBtns{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .navToggle{ display:flex; }
  .nav{
    position:absolute;
    right:20px;
    top:70px;
    background:#fff;
    border:1px solid var(--line);
    border-radius: 18px;
    padding:10px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    min-width: 240px;
  }
  .nav.is-open{ display:flex; }
  .nav__link{ width:100%; }
  .grid2{ grid-template-columns: 1fr; }
  .cardsGrid{ grid-template-columns: 1fr; }
  .hero{ padding-top:44px; }
  .floatbar__btn{ width: 200px; }
}
