:root {
  --ink: #1c1614;
  --coal: #140f0e;
  --bark: #3c302c;
  --cream: #e23d12;
  --ink-on-vivid: #fff6ee;
  --row: #ffb703;
  --paper: #fffdfb;
  --sand: #efe2d4;
  --line: rgba(28, 22, 20, 0.14);
  --red: #c5161d;
  --red-deep: #8d1218;
  --crust: #a56b38;
  --gold: #c4a574;
  --muted: #4e4440;
  --ok: #1d6b45;
  --warn: #8a4e10;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(28, 22, 20, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-on-vivid);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  background: #e23d12;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(226, 61, 18, 0.48), rgba(226, 61, 18, 0.56)),
    url("/media/logo.jpg") center / cover no-repeat;
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; line-height: 1.05; margin: 0; }
p { margin: 0; }
.skip {
  position: absolute; left: 12px; top: 0; transform: translateY(-120%);
  background: #fff; color: var(--ink); padding: 8px 12px; z-index: 9;
}
.skip:focus { transform: translateY(12px); }

.wrap { width: min(1480px, calc(100% - 48px)); margin: 0 auto; }
.kicker {
  font-family: var(--serif); font-style: italic; font-size: 18px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: #ffe08a;
}
.lead { font-family: var(--serif); font-size: 24px; line-height: 1.3; font-weight: 500; max-width: 42rem; color: var(--ink-on-vivid); }
.muted { color: var(--muted); }

.nav {
  position: relative; display: flex; align-items: center; gap: 16px; min-height: 84px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(28, 22, 20, 0.2); }
.brand strong { display: block; font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 500; }
.brand small { display: block; font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; }
.nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px;
  text-decoration: none; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 20px;
  letter-spacing: 0; text-transform: none; border: 1px solid rgba(255, 246, 238, 0.8);
  background: rgba(42, 18, 12, 0.34); border-radius: 2px;
}
.nav-links a.nav-cta { background: #2a120c; border-color: #2a120c; }
.nav-toggle { display: none; background: transparent; border: 1px solid currentColor; border-radius: 999px; min-height: 44px; padding: 0 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 2px; border: 1px solid transparent;
  text-decoration: none; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; letter-spacing: 0; text-transform: none;
  background: #2a120c; color: var(--ink-on-vivid);
}
button:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.light { background: transparent; color: inherit; border-color: currentColor; }
.btn.dark { background: var(--ink); color: white; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}

.hero-wrap { color: var(--ink-on-vivid); background: transparent; }
.hero-wrap .brand small, .hero-wrap .nav-links a { color: inherit; }
@media (min-width: 901px) {
  .hero-wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  .hero { flex: 1; }
}
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 40px; align-items: center; padding: 12px 0 40px; }
.hero h1 { font-size: clamp(64px, 6.2vw, 108px); font-weight: 500; max-width: none; color: var(--ink-on-vivid); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: min(72vh, 760px); object-fit: cover; object-position: center 18%; border-radius: 2px; box-shadow: 0 18px 50px rgba(42, 18, 12, 0.28); }
.hero h1 em { font-style: italic; font-weight: 500; color: #ffe08a; }
.hero .deck { margin-top: 14px; max-width: 34rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; line-height: 1.2; color: var(--ink-on-vivid); }
.pills { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0; padding: 0; list-style: none; }
.pills li { border-left: 1px solid var(--gold); padding: 0 0 0 12px; font-size: 18px; }
.hero-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-actions .btn { width: 100%; }

.marquee { background: var(--ink); color: #f6efe8; overflow: hidden; }
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: slide 32s linear infinite; }
.marquee span { font-weight: 700; letter-spacing: 0.08em; font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

.section { padding: 28px 0; border-top: 1px solid rgba(255, 246, 238, 0.35); }
.section h2, .section h2 em, .page-hero h1 { color: var(--ink-on-vivid); }
.section h2 em { color: #ffe08a; }
.section header { margin-bottom: 16px; }
.section h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 500; max-width: 18ch; margin-top: 4px; }
.section h2 em { font-style: italic; font-weight: 500; color: #ffe08a; }

.menu-grid, .steps, .cards, .zone-row { display: grid; gap: 16px; }
.menu-grid { grid-template-columns: 1.3fr .7fr; }
.product {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; background: var(--row); color: #2a120c;
  border: 1px solid var(--line); border-radius: 2px; padding: 12px; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(196, 165, 116, 0.28);
}
.product:hover { border-color: var(--crust); }
.product.signature { grid-column: 1 / -1; grid-template-columns: minmax(180px, 280px) 1fr; }
.product img { width: 100%; height: 148px; object-fit: cover; border-radius: 2px; }
.product.signature img { height: 220px; }
.product h3 { font-size: 34px; font-style: italic; font-weight: 500; }
.product p:not(.price) { font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 500; }
.panel p { font-family: var(--serif); font-size: 22px; line-height: 1.35; font-weight: 500; }
.tag { display: inline-block; margin-bottom: 4px; color: #7a1d12; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; }
.price { margin-top: 8px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 20px; color: #7a1d12; }
.feature {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 100%; color: white;
  background: url("/media/auto.jpg") center/cover; display: flex; align-items: end; padding: 22px;
}
.feature div { background: rgba(20, 15, 14, 0.72); border-radius: 16px; padding: 16px; }

.steps { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.step b { font-family: var(--serif); font-size: 42px; color: var(--red); display: block; }
.zone-row { grid-template-columns: 1.1fr .9fr; align-items: center; margin-top: 28px; }
.zones { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; margin: 16px 0; }
.zones li, .chip { background: var(--sand); border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.map-frame, .map { width: 100%; border: 0; border-radius: 2px; background: var(--sand); }
.map-frame { height: 280px; }
.map { height: min(68vh, 560px); }

.timeline { display: grid; gap: 14px; }
.timeline article { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.original { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.original img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 8px solid white; box-shadow: var(--shadow); }
.gallery { columns: 3; column-gap: 12px; }
.gallery img { width: 100%; margin: 0 0 12px; border-radius: 18px; }
.visit { display: grid; grid-template-columns: 1fr; gap: 12px; }
.panel { background: var(--row); color: #2a120c; border: 1px solid rgba(42, 18, 12, 0.18); border-radius: 2px; padding: 22px; }
.panel a, .product a { color: #7a1d12; }
.panel h3 { font-size: 34px; font-style: italic; font-weight: 500; margin: 4px 0 8px; }
.panel a { color: var(--red-deep); font-weight: 700; }

.socials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ico3d { display: block; text-decoration: none; min-width: 168px; }
.cube { display: block; position: relative; width: 108px; height: 108px; perspective: 700px; }
.cube-spin { position: absolute; top: 4px; left: 4px; width: 84px; height: 84px; transform-style: preserve-3d; transition: transform .45s ease; }
.ico3d:hover .cube-spin, .ico3d:focus-visible .cube-spin { transform: rotateX(12deg) rotateY(-18deg); }
.face { position: absolute; border-radius: 22px; }
.face.front { inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #fff, #f4e6da); transform: translateZ(12px); box-shadow: 8px 8px 0 rgba(20, 15, 14, 0.16); }
.face.side { width: 12px; top: 6px; bottom: 6px; right: -12px; transform: rotateY(90deg); transform-origin: left center; background: var(--red-deep); }
.face.bottom { height: 12px; left: 6px; right: 6px; bottom: -12px; transform: rotateX(-90deg); transform-origin: top center; background: var(--coal); }
.ico3d.wa .face.side { background: #0d6b4d; }
.ico3d.tel .face.side { background: var(--crust); }
.ico3d.pin .face.side { background: var(--bark); }
.socials .ico-label {
  display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 26px; line-height: 1.1;
  color: #fff6ee; text-shadow: 0 1px 8px rgba(42, 18, 12, 0.55);
}
.socials .ico-handle {
  display: block; margin-top: 6px; color: #ffe08a; font-size: 17px; font-weight: 600; overflow-wrap: anywhere;
  text-shadow: 0 1px 6px rgba(42, 18, 12, 0.45);
}
.socials a { color: inherit; }
.face svg { width: 32px; height: 32px; }

.site-footer { background: transparent; color: var(--ink-on-vivid); padding: 48px 0 28px; border-top: 1px solid rgba(255, 246, 238, 0.35); }
.photo-grid, .shop-grid, .module-grid { display: grid; gap: 12px; }
.photo-grid, .shop-grid { grid-template-columns: 1fr 1fr; }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.consulta-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 24px; }
.site-footer a { color: #ffe08a; }
.site-footer h3 { font-style: italic; font-weight: 500; font-size: 28px; margin-bottom: 8px; }
.site-footer strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.legal { margin-top: 28px; color: var(--ink-on-vivid); font-size: 18px; }

body.room { color: var(--ink-on-vivid); }
body.room .nav { border-bottom: 1px solid rgba(255, 246, 238, 0.35); }
body.room .muted { color: rgba(255, 246, 238, 0.88); }
body.room .nav-links a { color: inherit; }
.page-hero { padding: 28px 0 18px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 500; font-style: italic; }
.catalog { display: grid; grid-template-columns: 1fr; gap: 12px; }
.shop-card { background: var(--row); color: #2a120c; border: 1px solid rgba(42, 18, 12, 0.18); border-radius: 2px; overflow: hidden; display: grid; grid-template-columns: 180px 1fr; align-items: stretch; }
.shop-card img { height: 100%; min-height: 160px; width: 180px; object-fit: cover; }
.shop-card div { padding: 16px 16px 18px; display: grid; gap: 8px; }
.shop-card h2 { font-style: italic; font-size: 32px; font-weight: 500; }
.shop-card p:not(.price) { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.cart { display: grid; gap: 10px; }
.cart-row, .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; align-items: start; }
.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 20px; letter-spacing: 0; text-transform: none; }
input, select, textarea {
  width: 100%; min-height: 48px; border-radius: 2px; border: 1px solid rgba(42, 18, 12, 0.28); background: #fff4dc; color: #2a120c; padding: 10px 12px;
  font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 18px;
}
textarea { min-height: 96px; resize: vertical; }
.notice, .error, .ok {
  border-radius: 14px; padding: 12px 14px; background: #fff4e8; color: var(--warn); font-size: 16px;
}
.error { background: #fde8e6; color: var(--red-deep); }
.ok { background: #e7f6ee; color: var(--ok); }
.chat-log { display: grid; gap: 10px; min-height: 280px; }
.bubble { max-width: 46rem; padding: 12px 14px; border-radius: 2px; background: var(--row); color: #2a120c; border: 1px solid rgba(42, 18, 12, 0.18); white-space: pre-wrap; }
.bubble.me { background: var(--ink); color: white; margin-left: auto; }
.composer { display: flex; gap: 8px; }
.composer input { flex: 1; }

.shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: transparent; }
.shell > * { min-width: 0; }
.side { background: transparent; color: var(--ink-on-vivid); padding: 18px 14px; border-right: 1px solid rgba(255, 246, 238, 0.35); }
.side a { color: var(--ink-on-vivid); text-decoration: none; }
.side nav { display: grid; gap: 4px; margin-top: 18px; }
.side nav a, .side button.link {
  text-align: left; background: transparent; border: 0; color: inherit; border-radius: 2px; padding: 10px 12px;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px;
}
.side nav a.active { background: rgba(255, 183, 3, 0.28); color: var(--ink-on-vivid); box-shadow: inset 3px 0 #ffe08a; }
.main { padding: 28px; background: transparent; }
.cards { grid-template-columns: 1fr; }
.demo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.demo-row .btn { width: 100%; }
.photo-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; margin: 0; background: var(--row); color: #2a120c; padding: 10px; }
.card .kicker, .panel .kicker, .product .tag { color: #7a1d12; }
.photo-row img { width: 200px; height: 132px; object-fit: cover; }
.photo-row strong { font-family: var(--serif); font-style: italic; font-size: 28px; font-weight: 500; }
.card {
  display: block; background: var(--row); color: #2a120c; border: 1px solid rgba(42, 18, 12, 0.18); border-radius: 2px; padding: 16px 18px; text-decoration: none; min-height: 0;
}
.card strong { display: block; font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 500; margin: 8px 0; }
.table-wrap { overflow: auto; background: var(--row); color: #2a120c; border: 1px solid rgba(42, 18, 12, 0.18); border-radius: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 15px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stack { display: grid; gap: 16px; }
#menu-list { grid-template-columns: 1fr; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.login-card { width: min(460px, calc(100% - 32px)); margin: 8vh auto; text-align: left; }
.login-card h1 { font-style: italic; font-size: 52px; }
.keys { font-size: 15px; }
.watermark {
  position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--serif); font-size: 72px; color: rgba(197, 22, 29, 0.14); transform: rotate(-16deg);
}
.comprobante { width: min(860px, calc(100% - 32px)); margin: 24px auto 48px; background: white; padding: 28px; border-radius: 18px; }

@media (max-width: 900px) {
  .menu-grid, .steps, .zone-row, .visit, .original, .layout, .catalog, .cards, .grid-2, .grid-3, .foot-grid, .timeline article, #menu-list { grid-template-columns: 1fr; }
  .socials { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .gallery { columns: 2; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side nav { display: grid; grid-template-columns: 1fr; gap: 4px; overflow: visible; margin-top: 12px; }
  .side nav a { white-space: normal; }
  .demo-row { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: grid; position: absolute; top: 100%; left: 0; right: 0; z-index: 5;
    background: rgba(226, 61, 18, 0.96); color: var(--ink-on-vivid); padding: 12px 16px 16px;
  }
  .nav-links.flat { display: flex; position: static; background: transparent; color: inherit; padding: 0; flex-wrap: wrap; gap: 14px; }
  .hero, .photo-grid, .shop-grid, .module-grid { grid-template-columns: 1fr; }
  .hero-photo img { height: 320px; }
  .consulta-line { grid-template-columns: 1fr; }
  .hero-actions, .shop-card, .photo-row { grid-template-columns: 1fr; }
  .nav-links.open a { width: 100%; }
  .shop-card img, .photo-row img { width: 100%; height: 180px; }
  .product, .product.signature { grid-template-columns: 104px 1fr; }
  .product img, .product.signature img { width: 104px; height: 104px; }
  .main { padding: 16px; }
}
@media (max-width: 560px) { .gallery { columns: 1; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .cube-spin { animation: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .watermark, body::before { display: none; }
  .no-print { display: none; }
  body { background: white; }
}
