:root {
  --orange: #ff681c;
  --orange-dark: #e84b0d;
  --blue: #1555a5;
  --blue-dark: #092f6c;
  --lime: #9bd718;
  --cream: #fff7e8;
  --ink: #0b2c5a;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Trebuchet MS", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
main { min-width: 320px; }

.site-header { position: absolute; z-index: 50; top: 0; left: 0; width: 100%; height: 155px; padding: 0 clamp(22px, 5vw, 82px); display: flex; align-items: center; justify-content: space-between; color: white; background: linear-gradient(180deg, rgba(5,27,64,.8), transparent); }
.brand { display: flex; align-items: center; width: clamp(190px, 24vw, 330px); max-width: 42vw; filter: drop-shadow(0 5px 7px rgba(0,0,0,.32)); }
.logo-image { display: block; width: 100%; height: auto; max-height: min(145px, 11vw); object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); font-size: 14px; font-weight: 800; }
.nav a { transition: transform .2s, opacity .2s; }
.nav a:hover { transform: translateY(-2px); opacity: .8; }
.nav-cta { padding: 12px 20px; color: var(--blue-dark); background: white; border-radius: 999px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: white; }

.hero { position: relative; height: 56.25vw; min-height: 0; display: flex; align-items: flex-end; padding: 120px clamp(24px, 7vw, 112px) clamp(49px, 4.9vw, 77px); color: white; overflow: hidden; background-color: var(--blue-dark); background-image: linear-gradient(90deg, rgba(4,35,80,.82) 0%, rgba(4,35,80,.58) 32%, rgba(4,35,80,.06) 68%), linear-gradient(0deg, rgba(4,35,80,.4), transparent 50%), url("images/hero-productos.jpg"); background-position: center top; background-size: 100% auto; background-repeat: no-repeat; }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -48px; height: 96px; background: var(--cream); border-radius: 50% 50% 0 0 / 70% 70% 0 0; }
.hero-copy { position: relative; z-index: 3; width: min(900px, 68vw); }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 2.1px; text-transform: uppercase; }
.eyebrow { color: white; }
.eyebrow::before, .kicker::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: currentColor; }
.hero h1, .section h2, .pride h2, .retail h2 { margin: 16px 0 0; font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif; font-weight: 900; letter-spacing: -4px; }
.hero h1 { margin-top: 0; font-size: clamp(42px, 4.4vw, 72px); line-height: .95; white-space: nowrap; text-shadow: 0 8px 28px rgba(0,0,0,.2); }
.hero p { margin: 7px 0 10px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.3; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .button { padding: 13px 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border-radius: 999px; font-size: 14px; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.button-orange { color: white; background: var(--orange); box-shadow: 0 14px 32px rgba(255,104,28,.32); }
.button-glass { border: 2px solid rgba(255,255,255,.8); backdrop-filter: blur(7px); }
.button-blue { color: white; background: var(--blue-dark); box-shadow: 0 14px 32px rgba(9,47,108,.22); }
.hero-bubbles i { position: absolute; z-index: 2; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; }
.hero-bubbles i:nth-child(1) { width: 35px; height: 35px; right: 5%; top: 22%; }
.hero-bubbles i:nth-child(2) { width: 14px; height: 14px; right: 9%; top: 31%; }
.hero-bubbles i:nth-child(3) { width: 54px; height: 54px; right: 3%; top: 36%; }
.scroll-cue { position: absolute; z-index: 4; bottom: 70px; right: clamp(24px,5vw,80px); display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.scroll-cue span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; }

.section { padding: 92px clamp(22px, 6vw, 96px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: 1400px; margin: 0 auto 42px; }
.section-heading h2, .story h2, .locations h2 { font-size: clamp(40px, 4.2vw, 66px); line-height: .95; }
.section-heading p { max-width: 510px; margin: 0; color: #5d6f83; font-size: 17px; line-height: 1.65; }
.products { background-color: var(--orange); background-image: url("images/fondo-naranja.jpg"); background-position: center top; background-size: 800px auto; background-repeat: repeat; }
.products .section-heading, .products .size-switch, .products .product-grid { position: relative; z-index: 1; }
.products .section-heading h2, .products .section-heading p { color: white; }
.products .kicker { color: var(--blue-dark); }
.products::before { display: none; }
.products { position: relative; }
.size-switch { width: max-content; margin: 0 auto 36px; padding: 5px; border-radius: 999px; background: white; box-shadow: 0 8px 30px rgba(18,55,100,.1); }
.size-switch button { padding: 11px 24px; border: 0; border-radius: 999px; color: var(--blue-dark); background: transparent; font-weight: 900; cursor: pointer; }
.size-switch button.active { color: white; background: var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 15px; max-width: 1450px; margin: 0 auto; }
.product-grid.five { grid-template-columns: repeat(5, minmax(0,1fr)); max-width: 1100px; }
.product-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 520px; }
.product-grid + .product-grid { margin-top: 15px; }
.product-card { position: relative; min-height: 410px; padding: 18px 13px 20px; border-radius: 28px; background: white; box-shadow: 0 18px 40px rgba(9,47,108,.11); overflow: hidden; animation: rise .45s both; animation-delay: var(--delay); transition: transform .25s; }
.product-card:nth-child(even), .product-card:nth-child(odd) { transform: none; }
.product-card:hover { transform: translateY(-9px); }
.product-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15.3%; background: var(--flavor); }
.product-glow { position: absolute; width: 140px; height: 140px; top: -40px; right: -45px; border-radius: 50%; background: color-mix(in srgb, var(--flavor) 22%, transparent); }
.product-image-button { position: relative; z-index: 2; display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: zoom-in; }
.product-image-button:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 18px; }
.product-card img { position: relative; z-index: 2; width: 100%; height: 315px; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.product-name { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 20px; color: white; }
.product-name span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; opacity: .8; }
.product-name strong { display: block; margin-top: 3px; font: 900 20px/1 "Arial Rounded MT Bold","Trebuchet MS",sans-serif; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.pride { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 660px; color: white; background: var(--blue-dark); }
.pride-image { position: relative; min-height: 550px; overflow: hidden; }
.pride-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--blue-dark)); }
.pride-image img { width: 100%; height: 100%; object-fit: cover; }
.pride-copy { padding: 95px clamp(30px,6vw,92px) 80px 25px; align-self: center; }
.kicker.light { color: var(--lime); }
.pride h2 { font-size: clamp(54px,5.5vw,86px); line-height: .88; }
.pride-copy > p { max-width: 570px; font-size: 18px; line-height: 1.7; color: #dce9fa; }
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 36px; }
.values span { padding-top: 15px; border-top: 2px solid rgba(255,255,255,.18); font-size: 12px; line-height: 1.4; }
.values b { display: block; margin-bottom: 6px; color: var(--lime); font-size: 22px; }

.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,7vw,110px); align-items: center; background: #fffdf8; }
.story h2 { margin: 16px 0 26px; }
.story-copy p { color: #5d6f83; line-height: 1.75; }
.story-copy .lead { color: var(--blue-dark); font-size: 20px; font-weight: 800; }
blockquote { margin: 30px 0 0; padding: 18px 0 18px 24px; border-left: 5px solid var(--orange); color: var(--blue); font: 900 21px/1.4 "Arial Rounded MT Bold","Trebuchet MS",sans-serif; }
.history-gallery { display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
.history-gallery figure { margin: 0; padding: 14px; border-radius: 26px; background: var(--cream); box-shadow: 0 18px 50px rgba(9,47,108,.12); }
.history-gallery img { width: 100%; border-radius: 18px; background: white; object-fit: contain; }
.lyda-portrait { width: min(260px, 100%); align-self: center; }
.lyda-portrait img { aspect-ratio: 1; object-fit: contain; }
.history-image-button { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: zoom-in; }
.history-image-button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 18px; }
.history-bottles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.history-bottles figure { padding: 10px; border-radius: 20px; background: #fff; }
.history-bottles img { height: 270px; object-fit: contain; }
.history-gallery figcaption { padding: 12px 5px 2px; font-size: 12px; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: 1px; }
.image-lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(4,20,46,.86); backdrop-filter: blur(8px); }
.image-lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 18px; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.image-lightbox-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.18); font-size: 32px; line-height: 1; cursor: pointer; }

.social { background: var(--cream); }
.social-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; max-width: 1400px; margin: 0 auto; }
.social-card { min-height: 190px; padding: 28px; display: flex; align-items: center; gap: 20px; border-radius: 28px; color: white; transition: transform .2s; overflow: hidden; }
.social-card:hover { transform: translateY(-6px); }
.instagram { background: linear-gradient(135deg,#7137b7,#e13973,#ff8a28); }
.facebook { background: #1769d2; }
.tiktok { background: #17171d; }
.whatsapp { background: #17a958; }
.social-mark { display: grid; place-items: center; flex: 0 0 68px; height: 68px; border: 2px solid rgba(255,255,255,.5); border-radius: 21px; font: 900 28px/1 Arial,sans-serif; }
.social-icon { display: block; width: 32px; height: 32px; }
.social-card small { display: block; opacity: .75; margin-bottom: 5px; }
.social-card strong { font-size: clamp(17px,1.5vw,23px); }
.social-card > b { margin-left: auto; font-size: 26px; }

.locations { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(35px,7vw,110px); align-items: center; color: white; background-color: var(--orange); background-image: url("images/fondo-naranja.jpg"); background-position: center top; background-size: 800px auto; background-repeat: repeat; }
.locations h2 { margin: 17px 0 20px; color: white; }
.locations-copy p { max-width: 500px; margin-bottom: 28px; line-height: 1.65; color: #e3efff; }
.towns { display: flex; flex-wrap: wrap; gap: 11px; }
.towns span { padding: 13px 18px; border: 2px solid var(--blue-dark); border-radius: 999px; color: white; background: var(--blue-dark); box-shadow: 0 8px 18px rgba(9,47,108,.2); font-size: 14px; font-weight: 800; }

.retail { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--lime); }
.retail h2 { font-size: clamp(40px,4.5vw,70px); }
.retail p { margin: 14px 0 0; font-size: 19px; }

footer { padding: 75px clamp(22px,6vw,96px) 25px; color: white; background: var(--blue-dark); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr .8fr .7fr; gap: 40px; max-width: 1400px; margin: 0 auto; }
.footer-logo { display: block; width: min(190px, 100%); height: auto; margin-bottom: 14px; filter: drop-shadow(0 4px 5px rgba(0,0,0,.22)); }
.footer-top small { display: block; margin-bottom: 14px; color: var(--lime); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.footer-top p, .footer-top a { display: block; margin: 0 0 9px; color: #dce9fa; line-height: 1.6; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; font-weight: 900; }
.footer-socials .social-icon { width: 20px; height: 20px; }
.footer-bottom { max-width: 1400px; margin: 55px auto 0; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); color: #9db2d2; font-size: 12px; }
.floating-whatsapp { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: grid; place-items: center; width: 56px; height: 56px; border: 3px solid white; border-radius: 50%; color: white; background: #24c263; box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.floating-whatsapp .social-icon { width: 27px; height: 27px; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4,1fr); }
  .product-grid.five { grid-template-columns: repeat(3,1fr); }
  .product-card { min-height: 390px; }
  .pride { grid-template-columns: 1fr; }
  .pride-image { min-height: 470px; }
  .pride-image::after { background: linear-gradient(0deg,var(--blue-dark),transparent 50%); }
  .pride-copy { padding: 20px 7vw 80px; }
  .story { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 112px; }
  .brand { width: clamp(105px, 29vw, 125px); max-width: 40vw; }
  .logo-image { max-height: 76px; }
  .menu-button { display: block; }
  .nav { position: absolute; top: 68px; left: 18px; right: 18px; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 8px; color: var(--blue-dark); background: white; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; }
  .nav-cta { color: white; background: var(--blue); text-align: center; }
  .hero { height: auto; min-height: calc(56.25vw + 250px); padding: 82px 22px 52px; align-items: end; background-position: center top; background-size: 100% auto; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,35,80,.95) 5%,rgba(4,35,80,.3) 65%,rgba(4,35,80,.12)); }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(24px,7.8vw,42px); letter-spacing: -2px; }
  .hero p { max-width: 330px; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding: 70px 20px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 22px; }
  .size-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 5px; }
  .size-switch button, .size-switch button:first-child, .size-switch button:last-child { grid-column: auto; min-height: 52px; padding: 8px 6px; font-size: clamp(12px, 3.2vw, 14px); line-height: 1.15; display: grid; place-items: center; }
  .size-switch button.active { width: 60%; min-height: 34px; justify-self: center; align-self: center; padding: 6px 5px; border-radius: 999px; background: var(--blue); font-size: clamp(11px, 3vw, 13px); }
  .product-grid, .product-grid.five { grid-template-columns: repeat(2,1fr); gap: 11px; }
  .product-card { min-height: 330px; border-radius: 22px; }
  .product-card img { height: 250px; }
  .product-name strong { font-size: 17px; }
  .values { grid-template-columns: 1fr; }
  .pride-image { min-height: 360px; }
  .history-gallery { gap: 18px; }
  .history-gallery figure { padding: 8px; border-radius: 18px; }
  .history-bottles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .history-bottles figure { padding: 6px; border-radius: 14px; }
  .history-bottles img { height: 220px; }
  .history-gallery figcaption { font-size: 9px; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 130px; }
  .locations { grid-template-columns: 1fr; }
  .retail { display: block; }
  .retail .button { margin-top: 25px; width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 430px) {
  .product-grid, .product-grid.five { grid-template-columns: 1fr 1fr; }
  .product-card { min-height: 290px; padding: 10px; }
  .product-card img { height: 218px; }
  .history-gallery { gap: 16px; }
  .history-bottles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .history-bottles img { height: 210px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 6px; }
}

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