:root {
  color-scheme: light;
  --ink: #211a17;
  --muted: #6c625d;
  --wine: #9e3026;
  --wine-dark: #772319;
  --cream: #f7f3ed;
  --paper: #fffdfa;
  --line: #ded5cc;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
em { font-weight: inherit; }
::selection { background: #d7a49b; color: #20120f; }
:focus-visible { outline: 3px solid #c96b54; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.location-bar { background: #7d261d; color: #fff8f1; }
.location-bar a { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: .45rem; padding-block: .45rem; font-size: .84rem; line-height: 1.3; text-align: center; }
.location-bar-pin { font-size: 1.35rem; line-height: .8; }
.location-bar-link { margin-left: .55rem; border-bottom: 1px solid currentColor; font-weight: 700; white-space: nowrap; }
.location-bar a:hover .location-bar-link { opacity: .75; }

.site-header { position: relative; z-index: 10; background: var(--paper); box-shadow: 0 1px 0 rgba(33, 26, 23, .1); }
.header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; min-width: 0; }
.brand img { width: 70px; height: 70px; object-fit: contain; }
.brand span { display: grid; gap: .1rem; text-transform: uppercase; letter-spacing: .095em; line-height: 1.2; }
.brand strong { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.55rem; font-weight: 700; letter-spacing: .015em; text-transform: none; }
.brand small { font-size: .68rem; font-weight: 700; letter-spacing: .3em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.35rem, 2.8vw, 2.8rem); font-size: .89rem; font-weight: 700; }
.site-nav > a:not(.nav-cta) { transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--wine); }
.nav-cta { display: inline-flex; align-items: center; gap: 1.6rem; padding: 1rem 1.35rem; color: white; background: var(--wine); transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--wine-dark); transform: translateY(-2px); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: clamp(590px, 61vw, 740px); overflow: hidden; display: flex; align-items: center; isolation: isolate; background: #19130f; color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image { background: url('/assets/hero-local-v2.jpg') 80% center / cover no-repeat; }
.hero-shade { background: linear-gradient(90deg, rgba(19, 13, 10, .94) 0%, rgba(19, 13, 10, .86) 26%, rgba(19, 13, 10, .55) 49%, rgba(19, 13, 10, .05) 76%), linear-gradient(0deg, rgba(19, 13, 10, .32), transparent 28%); }
.hero-content { padding-block: 5.2rem 5.5rem; }
.hero-content > * { max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.55rem; color: var(--wine); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 700; }
.eyebrow.light { color: #f4c9b4; }
.eyebrow-line { width: 28px; height: 1px; background: currentColor; }
.hero h1, h2, .quote-content p { font-family: 'Barlow Condensed', Arial, sans-serif; letter-spacing: -.015em; }
.hero h1 { margin: 0; font-size: clamp(4rem, 6vw, 6rem); line-height: .95; font-weight: 700; text-wrap: balance; }
.hero h1 em { color: #f2d2b5; }
.hero-copy { max-width: 490px; margin: 1.5rem 0 1.5rem; color: #f3ebe5; font-size: 1.08rem; line-height: 1.6; }
.hero-address { display: grid; grid-template-columns: 26px 1fr; column-gap: .7rem; width: fit-content; margin: 0 0 1.8rem; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.52); background: rgba(24,15,12,.58); }
.hero-address > span { grid-row: 1 / 3; font-size: 1.5rem; line-height: 1.15; color: #f2d2b5; }
.hero-address strong { font-size: .97rem; }
.hero-address small { color: #f4ded0; font-size: .82rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 1.8rem; padding: .9rem 1.35rem; font-weight: 700; font-size: .88rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--wine); color: #fff; }
.button-primary:hover { background: #b63e32; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #423029; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.55); padding: .35rem 0; font-size: .9rem; font-weight: 700; }
.text-link span { margin-left: .75rem; }
.hero-note { display: block; margin-top: 2rem; color: #e7dbd2; font-size: .68rem; }
.hero-index { position: absolute; bottom: 2.3rem; right: max(1.5rem, calc((100vw - 1280px) / 2)); display: flex; align-items: center; gap: .7rem; font-size: .7rem; letter-spacing: .14em; color: #eee0d4; }
.hero-index span { width: 58px; height: 1px; background: #dfb69e; }

.section-pad { padding-block: clamp(5rem, 8vw, 8rem); }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(0, 1.4fr); gap: clamp(3rem, 8vw, 8rem); }
.intro-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.intro-seal { width: 130px; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #bf9382; border-radius: 50%; color: var(--wine); transform: rotate(-12deg); }
.intro-seal span { font-size: .64rem; font-weight: 700; letter-spacing: .25em; }
.intro-seal strong { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 2.15rem; line-height: 1.2; }
h2 { margin: 0; font-weight: 700; font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1; text-wrap: balance; }
h2 em { color: var(--wine); }
.intro-main h2 { max-width: 700px; }
.intro-main > p { max-width: 640px; margin: 1.65rem 0 1.6rem; font-size: 1.1rem; color: var(--muted); line-height: 1.85; }
.inline-link { display: inline-flex; gap: 2rem; align-items: center; padding: 0 0 .6rem; border-bottom: 1px solid var(--wine); color: var(--wine); font-size: .9rem; font-weight: 700; }

.catalog-section { background: #fffdfa; }
.catalog-status { padding: 2rem; border: 1px solid var(--line); color: var(--muted); line-height: 1.6; background: var(--cream); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.catalog-filters:empty { display: none; }
.catalog-filters button { padding: .7rem 1.05rem; border: 1px solid #d4c5ba; background: transparent; color: var(--ink); font: 700 .85rem 'DM Sans', sans-serif; cursor: pointer; }
.catalog-filters button.active, .catalog-filters button:hover { background: var(--wine); border-color: var(--wine); color: white; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.catalog-card { overflow: hidden; border: 1px solid #e5dcd4; background: white; }
.catalog-card-image { aspect-ratio: 1.3; background: #e7d8c9; }
.catalog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card-placeholder { display: grid; place-items: center; color: #806b5b; font: 700 1.7rem 'Barlow Condensed', Arial, sans-serif; }
.catalog-card-body { padding: 1.5rem; }
.catalog-card-category { color: var(--wine); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.catalog-card h3 { margin: .55rem 0; font: 700 2rem/1 'Barlow Condensed', Arial, sans-serif; }
.catalog-card p { min-height: 3.2em; margin: 0 0 1rem; color: var(--muted); line-height: 1.6; }
.catalog-card-price { display: block; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--wine-dark); font-size: 1.15rem; }

.products { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.section-heading h2 { white-space: nowrap; }
.section-heading > p { max-width: 380px; margin: 0 0 .35rem; color: var(--muted); line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.product-card { background: var(--paper); overflow: hidden; box-shadow: 0 12px 40px rgba(44, 30, 23, .045); }
.product-image { aspect-ratio: 1.23; overflow: hidden; background: #342b27; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-info { padding: 1.8rem 1.8rem 2rem; }
.product-info > span { color: var(--wine); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .19em; }
.product-info h3 { margin: .7rem 0 .35rem; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 2.4rem; font-weight: 700; }
.product-info p { margin: 0; color: var(--muted); line-height: 1.6; }
.image-disclosure { margin: 1.3rem 0 0; color: #736963; font-size: .78rem; }

.quote-band { background: var(--wine-dark); color: #fff7f0; }
.quote-content { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: 4rem; }
.quote-content p { margin: 0; font-size: clamp(2.15rem, 3.65vw, 4rem); line-height: 1.28; }
.quote-content p em { color: #e5bda2; }
.quote-content > span { align-self: end; padding-bottom: .6rem; white-space: nowrap; font-size: .69rem; letter-spacing: .18em; font-weight: 700; }

.visit { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 8vw, 8.5rem); }
.visit-photo { position: relative; height: min(660px, 55vw); min-height: 450px; overflow: hidden; background: #dedbd6; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 38%; }
.photo-tag { position: absolute; left: 1.3rem; bottom: 1.3rem; padding: .75rem 1rem; background: var(--paper); color: var(--ink); font-size: .76rem; font-weight: 700; }
.visit-copy > p:not(.eyebrow) { max-width: 480px; margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.visit-detail { display: flex; gap: 1rem; align-items: center; padding: 1.3rem 0; margin-bottom: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #d9b1a4; color: var(--wine); font-size: 1.8rem; }
.visit-detail div { display: grid; gap: .35rem; }
.visit-detail strong { font-size: .93rem; }
.visit-detail div span { color: var(--muted); font-size: .85rem; }
.map-block { margin-top: clamp(4rem, 7vw, 7rem); }
.map-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.map-heading .eyebrow { margin-bottom: .7rem; }
.map-heading h3 { margin: 0; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 700; }
.map-frame { height: 440px; overflow: hidden; border: 1px solid var(--line); background: #e9e8e5; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-note { margin: .75rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }

.site-footer { background: #191411; color: #f8f2eb; }
.footer-main { min-height: 200px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 86px; height: 86px; object-fit: contain; }
.footer-brand p { margin: 0; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.6rem; line-height: 1.1; }
.footer-brand p span { font: 600 .75rem 'DM Sans', Arial, sans-serif; color: #c8b8ab; }
.footer-main nav { display: flex; gap: 1.7rem; flex-wrap: wrap; font-size: .84rem; font-weight: 600; }
.footer-main nav a:hover { color: #edaa94; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid #403832; color: #b8aaa0; font-size: .77rem; }

@media (max-width: 1000px) {
  .header-inner { min-height: 86px; }
  .brand img { width: 60px; height: 60px; }
  .site-nav { gap: 1.2rem; }
  .nav-cta { display: none; }
  .hero { min-height: 610px; }
  .hero-shade { background: linear-gradient(90deg, rgba(19,13,10,.92), rgba(19,13,10,.35) 78%); }
  .intro-grid { grid-template-columns: 1fr 2fr; gap: 3rem; }
  .visit-grid { gap: 3rem; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 2rem, 1280px); }
  .location-bar a { flex-wrap: wrap; gap: .15rem .35rem; padding-block: .55rem; font-size: .72rem; }
  .location-bar-link { margin-left: .3rem; }
  .header-inner { min-height: 76px; }
  .brand { gap: .55rem; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { font-size: .61rem; }
  .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1rem 1.5rem 1.5rem; background: var(--paper); box-shadow: 0 14px 25px rgba(20,10,8,.14); }
  .site-nav.open { display: grid; gap: 0; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { display: inline-flex; justify-self: start; padding: .85rem 1rem; margin-top: 1rem; border: 0; }
  .hero { display: block; min-height: 0; }
  .hero-image { position: relative; inset: auto; z-index: auto; height: 330px; background-image: url('/assets/local-mejorado-v2.jpg'); background-position: center 20%; }
  .hero-shade { display: none; }
  .hero-content { padding-block: 2.5rem 2.8rem; }
  .hero h1 { font-size: clamp(3.3rem, 11vw, 5rem); }
  .hero-copy { font-size: .96rem; }
  .hero-address { margin-bottom: 1.4rem; }
  .hero-actions { gap: 1.1rem 1.5rem; }
  .button { min-height: 52px; }
  .hero-note { margin-top: 1.8rem; }
  .hero-index { display: none; }
  .section-pad { padding-block: 4.5rem; }
  .intro-grid, .visit-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .intro-side { display: block; }
  .intro-seal { display: none; }
  .intro-main > p { font-size: 1rem; }
  .section-heading { display: block; }
  .section-heading h2 { white-space: normal; }
  .section-heading > p { margin-top: 1.15rem; }
  .product-grid, .catalog-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .product-image { aspect-ratio: 1.45; }
  .product-info { padding: 1.3rem 1.4rem 1.55rem; }
  .quote-content { min-height: 230px; display: block; padding-block: 3.4rem; }
  .quote-content > span { display: block; margin-top: 1.5rem; }
  .visit-photo { min-height: 380px; height: 72vw; max-height: 550px; }
  .visit-copy > p:not(.eyebrow) { font-size: 1rem; }
  .map-block { margin-top: 3rem; }
  .map-heading { display: block; }
  .map-heading .inline-link { margin-top: 1rem; }
  .map-frame { height: 360px; }
  .footer-main { display: block; }
  .footer-main nav { margin-top: 2rem; gap: .85rem 1.5rem; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
