:root {
  --paper: #ead8bd;
  --paper-light: #f8ead4;
  --ink: #321713;
  --muted: #725b4d;
  --wine: #84262a;
  --wine-dark: #421414;
  --rule: rgba(50, 23, 19, .68);
  --white: #fff0d8;
}
body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(126, 48, 34, .07), transparent 24%),
    repeating-linear-gradient(0deg, rgba(61, 24, 16, .014) 0, rgba(61, 24, 16, .014) 1px, transparent 1px, transparent 4px),
    var(--paper);
}
.visual-header { width: 100%; background: var(--wine-dark); }
.visual-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #391411;
}
.visual-ambient {
  position: absolute;
  z-index: -2;
  inset: -36px;
  background: linear-gradient(rgba(45,11,10,.38),rgba(45,11,10,.5)),url('assets/portada-limpia-aprobada.jpg') center/cover no-repeat;
  filter: blur(28px) saturate(.74);
  transform: scale(1.09);
}
.visual-ambient::after { content:''; position:absolute; inset:0; background:radial-gradient(circle,transparent 24%,rgba(25,5,4,.6) 100%); }
.visual-portrait { position:relative; width:min(100%,720px); height:100%; overflow:hidden; background:#54221e; box-shadow:0 0 72px rgba(14,2,2,.46); }
.visual-portrait>img { width:100%; height:100%; object-fit:cover; object-position:center; }
.visual-topbar { position:absolute; z-index:30; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; padding:max(24px,env(safe-area-inset-top)) clamp(18px,5vw,34px) 12px; }
.visual-topbar .menu-toggle { display:grid; width:47px; height:47px; padding:0; place-items:center; border:1px solid rgba(255,240,216,.8); border-radius:50%; color:var(--white); background:rgba(43,9,8,.24); backdrop-filter:blur(6px); }
.visual-topbar .menu-toggle span:first-child { font:400 20px/1 var(--sans); }
.visual-topbar .menu-toggle span:last-child { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.visual-topbar .header-cta { display:inline-flex; min-height:47px; align-items:center; padding:12px 19px; border:0; color:var(--white); background:var(--wine); box-shadow:0 8px 25px rgba(37,4,5,.3); }
.visual-topbar .header-cta:hover,.visual-topbar .header-cta:focus-visible { color:var(--wine-dark); background:var(--white); }
.main-nav.visual-nav { display:none; position:absolute; z-index:29; top:84px; left:22px; right:22px; width:auto; flex-direction:column; gap:0; padding:14px 22px; border:1px solid rgba(255,240,216,.42); color:var(--white); background:rgba(62,17,17,.97); box-shadow:0 18px 45px rgba(18,2,2,.45); backdrop-filter:blur(12px); }
.main-nav.visual-nav.is-open { display:flex; }
.main-nav.visual-nav a { padding:14px 2px; border-bottom:1px solid rgba(255,240,216,.22); color:var(--white); font:500 23px/1.05 var(--display); text-transform:none; letter-spacing:0; }
.main-nav.visual-nav a:last-child { border-bottom:0; }
.main-nav.visual-nav a:hover,.main-nav.visual-nav a:focus-visible { color:#e1ad68; }
.visual-scroll { position:absolute; z-index:20; left:50%; bottom:max(18px,env(safe-area-inset-bottom)); width:42px; height:42px; display:grid; place-items:center; transform:translateX(-50%); border:1px solid rgba(255,240,216,.84); border-radius:50%; color:var(--white); background:rgba(45,8,7,.25); backdrop-filter:blur(5px); text-decoration:none; }
.ticker { background:var(--wine-dark); color:var(--white); }
.ticker-track i { color:#dda45e; }
.section-header { border-color:var(--wine-dark); }
.section-header h2,.route-header h2,.menu-feature h3 { color:var(--wine-dark); }
.lead-story,.route,.chronicles { position:relative; }
.lead-story::before,.chronicles::before { content:''; position:absolute; z-index:-1; inset:0 calc((100vw - 100%)/-2); background:linear-gradient(135deg,rgba(255,247,232,.58),transparent 58%); }
.button,.header-cta,.locate-button { border-radius:1px; }
.history { background:linear-gradient(135deg,#511919,#321010); }
.visit { background:linear-gradient(135deg,#29100d,#4a1717); }
.story-rating,.issue-number,.kicker,.route-stops-heading strong { color:var(--wine); }
.customer-story>img,.menu-photo img { filter:saturate(.94) contrast(1.03) sepia(.04); }
.footer { color:var(--wine-dark); }
@media(max-width:720px){
  .visual-hero{min-height:650px}
  .visual-ambient{display:none}
  .visual-portrait{width:100%;box-shadow:none}
  .visual-topbar{padding-inline:19px}
  .main-nav.visual-nav{top:78px;left:15px;right:15px}
}
@media(max-width:390px){
  .visual-topbar .menu-toggle{width:44px;height:44px}
  .visual-topbar .header-cta{display:inline-flex;min-height:44px;padding:11px 15px;font-size:8px}
  .visual-scroll{width:38px;height:38px}
}

/* Continuidad visual de la portada: vino, terracota, oro y crema. */
body {
  background:
    radial-gradient(circle at 10% 8%, rgba(208, 128, 76, .16), transparent 27rem),
    radial-gradient(circle at 92% 28%, rgba(217, 166, 94, .10), transparent 24rem),
    linear-gradient(145deg, #321012 0%, #51191a 48%, #2c0d10 100%);
  color: var(--ink);
}

main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(196, 91, 57, .20), transparent 30rem),
    radial-gradient(circle at 96% 18%, rgba(227, 172, 91, .14), transparent 25rem),
    linear-gradient(180deg, #481416 0, #6f2924 35rem, #3a1114 100%);
}
main::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .42;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(255, 226, 184, .028) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(25deg, rgba(35, 6, 8, .035) 0 1px, transparent 1px 9px);
}

.ticker {
  border-block: 1px solid rgba(238, 192, 125, .55);
  background: linear-gradient(90deg, #2d0b0d, #70201f 50%, #2d0b0d);
}
.ticker-track { color: #f6dfbd; }
.ticker-track i { color: #e2a85d; }

.lead-story,
.route,
.chronicles {
  position: relative;
  z-index: 0;
}
.lead-story::before,
.route::before,
.chronicles::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - 100%)/-2);
  pointer-events: none;
}
.lead-story::before {
  background:
    radial-gradient(circle at 88% 12%, rgba(176, 60, 43, .18), transparent 31rem),
    radial-gradient(circle at 4% 72%, rgba(218, 156, 80, .16), transparent 25rem),
    repeating-linear-gradient(0deg, rgba(82, 30, 22, .018) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #f3dfc0 0%, #ead0aa 58%, #f7e7ca 100%);
}
.route::before {
  background:
    radial-gradient(circle at 5% 12%, rgba(242, 194, 123, .16), transparent 28rem),
    radial-gradient(circle at 96% 80%, rgba(28, 3, 5, .28), transparent 31rem),
    repeating-linear-gradient(120deg, rgba(255, 224, 180, .025) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #7b2c26 0%, #a34d36 48%, #63201e 100%);
}
.chronicles::before {
  background:
    radial-gradient(circle at 92% 5%, rgba(215, 154, 75, .16), transparent 27rem),
    radial-gradient(circle at 8% 95%, rgba(132, 38, 42, .13), transparent 25rem),
    repeating-linear-gradient(0deg, rgba(82, 30, 22, .018) 0 1px, transparent 1px 5px),
    linear-gradient(150deg, #f5e4ca 0%, #e8cda6 100%);
}

.section-header,
.lead-grid,
.flavours,
.editorial-photo figcaption,
.chronicle-toolbar,
.customer-story,
.chronicle-note {
  border-color: rgba(70, 20, 18, .72);
}
.section-header h2,
.menu-feature h3,
.chronicles .section-header h2 { color: #591719; }
.section-header p,
.kicker,
.issue-number,
.story-rating { color: #9a352c; }

.menu-photo img,
.customer-story > img {
  border: 1px solid rgba(75, 21, 18, .44);
  box-shadow: 0 16px 34px rgba(67, 19, 15, .18);
}
.menu-feature {
  background: radial-gradient(circle at 90% 12%, rgba(183, 66, 43, .12), transparent 17rem);
}
.flavours article {
  border-color: rgba(79, 24, 20, .42);
  background: linear-gradient(150deg, rgba(255, 242, 218, .20), rgba(168, 64, 44, .035));
}
.flavours article:nth-child(even) {
  background: linear-gradient(150deg, rgba(170, 61, 42, .07), rgba(255, 242, 218, .16));
}
.proposal-note { color: #6e4a3d; }

.route { color: #f8e5c7; }
.route-header h2,
.route .kicker,
.route-stops-heading strong { color: #ffe0aa; }
.route-intro { border-color: rgba(255, 224, 174, .52); }
.route-layout {
  border-color: rgba(255, 222, 173, .62);
  background: rgba(53, 13, 14, .90);
  box-shadow: 0 22px 45px rgba(35, 4, 7, .24);
}
.map-frame,
.route-stops-heading,
.route-order-note,
.route-stop-card { border-color: rgba(255, 224, 174, .28); }
.route-stops { color: #f8e5c7; background: linear-gradient(155deg, #3d1013, #621e1c); }
.route-order-note,
.route-empty p,
.route-stop-card p,
.route-footer { color: #e2c8a8; }
.route-order-note { background: rgba(255, 229, 190, .045); }
.route-order-note strong,
.route-stop-card .stop-specialty,
.stop-number { color: #efb96c; }
.route-seal { color: #efbd74; border-color: #efbd74; }
.locate-button { border-color: #5c1c1c; background: #f4dfbd; color: #471214; }

.history {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(196, 80, 53, .24), transparent 28rem),
    repeating-linear-gradient(125deg, rgba(255, 222, 176, .022) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #2c0b0e, #591719 55%, #351012);
}
.history-label { border-color: rgba(244, 212, 170, .30); }
.history .kicker.light,
.history .signature,
.history .dropcap::first-letter { color: #e8b66f; }

.customer-story-copy {
  padding-inline: 12px;
  border-left: 1px solid rgba(88, 27, 22, .16);
}
.carousel-arrow { border-color: #f0d3a8; color: #f7dfba; background: #631d1c; }

/* Las flechas viven en la barra de controles: nunca tapan las fotografías. */
.chronicle-nav { gap: 10px; }
.chronicle-nav .carousel-arrow {
  position: static;
  inset: auto;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  transform: none;
  box-shadow: 0 3px 12px rgba(34, 8, 10, .18);
  font-size: 23px;
}
.chronicle-nav .carousel-arrow:hover:not(:disabled),
.chronicle-nav .carousel-arrow:focus-visible { transform: scale(1.05); }

.visit {
  position: relative;
  background:
    radial-gradient(circle at 12% 12%, rgba(211, 122, 69, .22), transparent 27rem),
    radial-gradient(circle at 92% 75%, rgba(219, 166, 89, .10), transparent 24rem),
    repeating-linear-gradient(115deg, rgba(255, 224, 180, .025) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #321012, #671f1d 52%, #2b0c0f);
}
.visit-details { border-color: rgba(244, 218, 181, .48); }
.visit-details > div { border-color: rgba(244, 218, 181, .24); }
.visit-details span { color: #e6b46c; }
.visit-details p { color: #e2cbb0; }
.button-paper { border-color: #f2d8af; background: #f2d8af; color: #481315; }

.footer {
  width: 100%;
  max-width: none;
  padding-inline: max(26px, calc((100% - 1210px)/2));
  color: #f3d8b1;
  background:
    radial-gradient(circle at 18% 30%, rgba(203, 103, 59, .15), transparent 18rem),
    #26090c;
}
.footer img { filter: brightness(0) invert(1) sepia(.45); opacity: .84; }

@media (max-width: 820px) {
  .lead-story { padding-bottom: 38px; }
  .route { padding-top: 48px; }
  .menu-feature { background: none; }
  .flavours article { background: rgba(255, 239, 213, .13); }
  .flavours article:nth-child(even) { background: rgba(132, 40, 31, .055); }
  .route-layout { box-shadow: 0 14px 30px rgba(35, 4, 7, .22); }
  .customer-story-copy { padding-inline: 8px; }
  .footer { padding-inline: 14px; }
}

@media (max-width: 520px) {
  .lead-story { padding-top: 46px; }
  .section-header h2 { color: #5f191a; }

  /* Carta móvil: más compacta, texto mayor y sin letra capitular. */
  .menu-feature { padding: 20px 0 24px; }
  .menu-feature .kicker { margin-bottom: 8px; }
  .menu-feature h3 { margin-bottom: 14px; font-size: 50px; line-height: .9; }
  .menu-feature p:not(.kicker) { margin: 0; font-size: 21px; line-height: 1.38; }
  .menu-feature .dropcap::first-letter {
    float: none;
    margin: 0;
    color: inherit;
    font: inherit;
  }
  .menu-feature .text-link { margin-top: 12px; }
  .flavours article,
  .flavours article:nth-child(2),
  .flavours article:nth-child(n+3) { padding: 12px 16px 14px; }
  .flavours h3 { margin: 5px 0 3px; font-size: 36px; line-height: .96; }
  .flavours p { color: #49372f; font-size: 19px; line-height: 1.3; }
  .issue-number { font-size: 11px; }
  .proposal-note { margin: 9px 0 0; font-size: 12px; line-height: 1.35; }

  .route { padding-top: 42px; }
  .route-header { gap: 22px; }
  .route-header h2 { color: #ffe0aa; }
  .route-intro { color: #f6dfbf; }
  .route-footer { color: #ddc2a3; }
  .history-copy { padding-block: 54px; }
  .chronicles { padding-top: 52px; }

  /* Postales: la imagen conserva su proporción y cede espacio real a la reseña. */
  .chronicle-toolbar { gap: 10px; }
  .chronicle-toolbar > p { max-width: 110px; }
  .chronicle-nav { gap: 6px; }
  .chronicle-nav .carousel-arrow { width: 40px; height: 40px; font-size: 21px; }
  .chronicle-nav span { min-width: 46px; text-align: center; }
  .chronicle-grid { align-items: flex-start; }
  .customer-story {
    flex-basis: 84%;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .customer-story > img {
    align-self: center;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(40svh, 320px);
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: transparent;
  }
  .customer-story-copy {
    flex: 0 0 auto;
    min-height: 0;
    padding: 11px 6px 4px;
    overflow: visible;
  }
  .story-rating { margin-bottom: 8px; }
  .customer-story blockquote {
    display: block;
    max-height: none;
    overflow: visible;
    font-size: 26px;
    line-height: 1.03;
  }
  .story-author { margin-top: 0; padding-top: 10px; }
}
