/* Alebrije Imports Inc. — estilos compartidos */
:root {
  --ink: #1f1433;
  --ink-soft: #4b4160;
  --purple: #4a1f7a;
  --purple-deep: #2a1048;
  --magenta: #c8235a;
  --marigold: #f4b41a;
  --orange: #ec6a1f;
  --leaf: #2f9e5b;
  --cream: #fbf4e6;
  --paper: #fffaf1;
  --line: #eadfca;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(42, 16, 72, .25);
  --wrap: 1180px;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--purple-deep); color: var(--cream); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--marigold); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.section--dark .lead { color: #d9cfe8; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Papel picado stripe */
.stripe { height: 8px; background: linear-gradient(90deg, var(--magenta) 0 20%, var(--orange) 20% 40%, var(--marigold) 40% 60%, var(--leaf) 60% 80%, var(--purple) 80% 100%); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem var(--body); text-decoration: none;
  background: var(--magenta); color: var(--white);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: #a91a4a; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px currentColor; }
.btn--gold { background: var(--marigold); color: var(--ink); }
.btn--gold:hover { background: #e3a40c; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 250, 241, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--purple); line-height: 1; }
.brand small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-soft); transition: background .2s, color .2s;
}
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--purple); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font: 600 .95rem var(--body);
}
.cart-count {
  min-width: 22px; height: 22px; border-radius: 999px; background: var(--marigold); color: var(--ink);
  font-size: .78rem; display: inline-grid; place-items: center; padding: 0 6px;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 16px 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .brand small { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--purple-deep); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(31,10,52,.95) 0%, rgba(42,16,72,.75) 45%, rgba(42,16,72,.2) 100%); }
.hero .wrap { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px); }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--marigold); }
.hero .lead { color: #e7def2; }
.hero .eyebrow { color: var(--marigold); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero--short .wrap { padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 8vw, 90px); }

/* Entrance */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -48px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.stat { background: var(--white); padding: 28px 24px; }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--purple); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); margin: 0; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--white); }
.section--dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section--dark .card p { color: #d0c4e2; }

/* Destination cards (home) */
.dest { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.dest::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,8,36,.05) 20%, rgba(20,8,36,.92) 100%); }
.dest:hover img { transform: scale(1.05); }
.dest__body { padding: 24px; }
.dest__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.dest h3 { font-size: 1.7rem; margin-bottom: 6px; }
.dest p { color: #e5dcef; font-size: .95rem; margin-bottom: 14px; }
.dest__go { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.dest:hover .dest__go svg { transform: translateX(4px); }
.dest__go svg { transition: transform .25s; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } .gallery .tall { grid-row: span 1; grid-column: span 2; } }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 2rem; color: var(--magenta); display: block; margin-bottom: 10px; }
.step p { color: var(--ink-soft); margin: 0; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .steps, .steps--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps--5 { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
input, select, textarea {
  font: 400 16px var(--body); color: var(--ink); background: var(--white);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(74,31,122,.12); }
textarea { min-height: 110px; resize: vertical; }
.form-card { background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); color: var(--ink); }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-success { display: none; padding: 18px; border-radius: 14px; background: #e8f6ee; color: #1d6b3d; font-weight: 600; }
.form-success.show { display: block; }

/* Shop */
.shop-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--white); padding: 8px 16px; border-radius: 999px; font: 600 .9rem var(--body); cursor: pointer; color: var(--ink-soft); transition: all .2s; }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--white); }
.search { max-width: 280px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product__img { aspect-ratio: 1; background: #f6efe1; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--magenta); }
.product h3 { font-size: 1.15rem; margin: 0; }
.product p { font-size: .9rem; color: var(--ink-soft); margin: 0; flex: 1; }
.product__meta { font-size: .82rem; color: var(--ink-soft); }
.product__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--purple); }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #e3f1fb; color: #1c5d8c; margin-left: 6px; vertical-align: middle; }
.empty { padding: 40px; text-align: center; color: var(--ink-soft); grid-column: 1/-1; }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20, 8, 36, .5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 90; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--white); }
.icon-btn { background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ink); border-radius: 8px; }
.icon-btn:hover { background: var(--cream); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.line h4 { margin: 0; font-size: .95rem; }
.line small { color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; font-size: 1rem; color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }
.totals { display: grid; gap: 6px; margin-bottom: 14px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 700; font-size: 1.1rem; border-top: 1px dashed var(--line); padding-top: 8px; }
.ship-hint { font-size: .82rem; color: var(--leaf); font-weight: 600; margin-bottom: 10px; }
.confirm { text-align: center; padding: 20px 0; }
.confirm .check { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e8f6ee; color: var(--leaf); display: grid; place-items: center; }

/* Europe */
.transit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .transit { grid-template-columns: 1fr; } }
.timeline { display: grid; gap: 10px; }
.tl-row { display: grid; grid-template-columns: 150px 1fr 90px; align-items: center; gap: 12px; font-size: .92rem; }
.tl-bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.tl-bar i { display: block; height: 100%; border-radius: 999px; transition: width .6s cubic-bezier(.2,.7,.2,1); }
.tl-row b { text-align: right; }
@media (max-width: 560px) { .tl-row { grid-template-columns: 1fr 70px; } .tl-bar { grid-column: 1/-1; order: 3; } }
.big-days { font-family: var(--display); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; color: var(--marigold); }
.mode-toggle { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; margin: 10px 0 20px; }
.mode-toggle button { border: 0; background: none; color: #d9cfe8; padding: 8px 18px; border-radius: 999px; font: 600 .9rem var(--body); cursor: pointer; }
.mode-toggle button[aria-pressed="true"] { background: var(--marigold); color: var(--ink); }
.section--dark select { background: rgba(255,255,255,.95); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .85rem; margin: 8px 0 0; }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; font-weight: 600; }
.notice { font-size: .85rem; color: var(--ink-soft); border-left: 3px solid var(--marigold); padding: 8px 14px; background: var(--cream); border-radius: 0 10px 10px 0; }

/* Values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { padding: 22px; border-radius: var(--radius); background: var(--white); border-top: 5px solid var(--c, var(--magenta)); }
.value h3 { font-size: 1.15rem; }
.value p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #cfc4e0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--display); font-size: 1.1rem; margin: 0 0 12px; }
.site-footer a { color: #cfc4e0; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--marigold); }
.site-footer .logo-foot { width: 120px; margin-bottom: 14px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 560px) {
  .brand span { font-size: 1.05rem; white-space: nowrap; }
  .brand img { width: 38px; height: 38px; }
  .header-actions > .btn { display: none; }
}

@media (max-width: 400px) {
  .brand { min-width: 0; }
  .site-header:has(.cart-btn) .brand span { display: none; }
}

.selectable { user-select: all; -webkit-user-select: all; }
.confirm textarea { font-size: .85rem; margin-top: 10px; }
