:root {
  --navy: #07345a;
  --navy-deep: #032642;
  --blue: #1579b6;
  --sky: #74c7ee;
  --sky-pale: #e7f5fc;
  --sun: #f1b92e;
  --white: #fff;
  --paper: #fbfaf7;
  --cream: #f3f0e9;
  --ink: #123047;
  --muted: #5e6d78;
  --line: rgba(7, 52, 90, .16);
  --sans: "Source Sans 3", Arial, sans-serif;
  --display: Montserrat, Arial, sans-serif;
  --container: min(1180px, calc(100vw - 40px));
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--sky); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.container { width: var(--container); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 1000; padding: .7rem 1rem; background: white; color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.eyebrow { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.animations-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(20px); }
.animations-ready .reveal.is-visible { opacity: 1; transform: none; transition: opacity .65s var(--ease), transform .65s var(--ease); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: 78px; display: grid; grid-template-columns: 1fr auto; align-items: center; padding-inline: 20px; color: white; border-bottom: 1px solid rgba(255,255,255,.22); transition: background .3s, color .3s, box-shadow .3s; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(255,255,255,.97); color: var(--navy); box-shadow: 0 6px 24px rgba(7,52,90,.1); }
.brand { display: block; width: 182px; height: 58px; }
.brand img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); transition: filter .3s; }
.site-header.is-scrolled .brand img, .site-header.menu-open .brand img { filter: none; }
.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; background: transparent; color: currentColor; }
.menu-toggle span:not(.sr-only) { width: 24px; height: 1px; display: block; background: currentColor; transition: .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.main-nav { position: fixed; inset: 78px 0 auto; display: grid; padding: 1rem 20px 1.5rem; background: white; color: var(--navy); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .35s var(--ease); border-bottom: 1px solid var(--line); }
.main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.main-nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: .9rem; font-weight: 700; }
.header-phone { display: none; }

/* Hero */
.hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: white; }
.hero-bg, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -3; object-fit: cover; object-position: center; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(2,27,47,.94) 0%, rgba(3,39,66,.85) 47%, rgba(3,39,66,.3) 74%, rgba(3,39,66,.2)), linear-gradient(0deg, rgba(2,26,46,.56), transparent 55%); }
.hero-content { position: relative; z-index: 3; padding-top: 100px; padding-bottom: 105px; }
.argentina-badge { width: max-content; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.15rem; padding: .38rem .68rem .38rem .4rem; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-family: var(--display); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.mini-flag, .flag-ar { display: grid; grid-template-rows: repeat(3, 1fr); overflow: hidden; background: white; }
.mini-flag { width: 34px; height: 22px; }
.mini-flag i, .flag-ar i { display: grid; place-items: center; font-style: normal; line-height: 1; }
.mini-flag i:first-child, .mini-flag i:last-child, .flag-ar i:first-child, .flag-ar i:last-child { background: var(--sky); }
.mini-flag i:nth-child(2) { color: var(--sun); font-size: .55rem; }
.hero-eyebrow { color: var(--sky-pale); }
.hero h1 { max-width: 780px; margin-top: .75rem; font-size: clamp(2.5rem, 5.1vw, 4.7rem); font-weight: 700; }
.hero h1 span { color: var(--sky); }
.hero-lede { max-width: 590px; margin-top: 1.25rem; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 1.4rem; padding: .75rem 1.1rem; border: 1px solid rgba(255,255,255,.7); font-family: var(--display); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: #0f679e; }
.button-whatsapp { background: #16955a; border-color: #16955a; }
.button-whatsapp:hover { background: #117d4b; }
.hero-offer { position: absolute; z-index: 3; top: 51%; right: max(24px, calc((100vw - 1180px) / 2)); width: min(33vw, 390px); color: white; text-align: center; transform: translateY(-37%) rotate(-1deg); text-shadow: 0 5px 22px rgba(0,0,0,.32); }
.hero-offer-heading { display: flex; align-items: flex-end; justify-content: center; gap: .6rem; margin-bottom: -.85rem; }
.hero-offer-heading span { color: #70cfff; font-family: "Caveat", cursive; font-size: clamp(4.6rem, 8vw, 7.6rem); font-weight: 600; line-height: .75; transform: rotate(-5deg); }
.hero-offer-heading small { padding-bottom: .75rem; font-family: var(--display); font-size: clamp(.85rem, 1.4vw, 1.35rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-offer > strong { display: block; color: #ffe399; font-family: "Bodoni Moda", Didot, serif; font-size: clamp(7rem, 13vw, 11rem); font-weight: 800; letter-spacing: -.08em; line-height: .86; }
.hero-offer > i { display: block; width: 94%; height: 10px; margin: -.35rem auto 1rem; background: var(--sky); clip-path: polygon(0 62%, 100% 0, 92% 100%, 6% 82%); transform: rotate(-6deg); }
.hero-offer > p { font-family: var(--display); font-size: clamp(.9rem, 1.55vw, 1.35rem); font-style: normal; font-weight: 700; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; }
.hero-offer > p small { display: block; margin-top: .35rem; font-size: .72em; letter-spacing: .25em; }

/* Compact benefit bar */
.proof-strip { background: white; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; }
.proof-grid > div { min-height: 96px; display: flex; align-items: center; gap: .75rem; padding: 1rem .8rem; border-bottom: 1px solid var(--line); }
.proof-grid b { min-width: 30px; color: var(--blue); font-family: var(--display); font-size: .72rem; }
.proof-grid span { display: grid; }
.proof-grid strong { color: var(--navy); font-family: var(--display); font-size: .78rem; line-height: 1.2; }
.proof-grid small { color: var(--muted); font-size: .72rem; line-height: 1.25; }

/* Argentina–Europe bridge */
.advantages { overflow: hidden; background: white; }
.bridge-exact { width: 100%; height: auto; }

/* Bottles: all visible at once on desktop */
.portfolio { background: white; }
.portfolio-intro { display: grid; gap: .5rem; }
.portfolio-intro h2 { width: 100%; margin-top: .15rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3.7rem); }
.product-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem .7rem; margin-top: 2.8rem; padding-inline: clamp(16px, 2.4vw, 46px); align-items: end; }
.product-card { min-width: 0; display: grid; grid-template-rows: 250px 72px; align-items: end; text-align: center; }
.product-bottle { justify-self: center; width: auto; height: 240px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.product-card:hover .product-bottle { transform: translateY(-7px); }
.product-brand { width: 100%; height: 68px; padding: 5px; object-fit: contain; mix-blend-mode: multiply; }
.product-brand-dark { filter: brightness(0); mix-blend-mode: normal; }
.product-brand-light { filter: brightness(0); mix-blend-mode: normal; }

/* Martín */
.about { background: var(--navy); color: white; }
.about-grid { display: grid; gap: 2.6rem; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; }
.about-photo figcaption { margin-top: .5rem; color: rgba(255,255,255,.55); font-size: .78rem; }
.about-copy h2 { margin-top: .5rem; color: white; font-size: clamp(2rem, 4vw, 3.2rem); }
.about-lede { max-width: 590px; margin: 1.1rem 0; padding-left: 1rem; border-left: 3px solid var(--sky); font-size: 1.1rem; font-weight: 600; }
.about-copy > p:not(.eyebrow):not(.about-lede) { max-width: 610px; margin-top: .8rem; color: rgba(255,255,255,.72); }
.linkedin-link { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.4rem; font-family: var(--display); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.linkedin-link span { width: 25px; height: 25px; display: grid; place-items: center; background: #0a66c2; color: white; text-transform: none; }

/* Contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
.contact-copy h2 { margin-top: .5rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3.2rem); }
.contact-copy > p:not(.eyebrow) { max-width: 510px; margin-top: 1rem; color: var(--muted); }
.contact-direct { display: grid; margin-top: 1.5rem; border: 1px solid var(--line); }
.contact-direct a { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .9rem 1rem; background: white; border-bottom: 1px solid var(--line); }
.contact-direct a:last-child { border-bottom: 0; }
.contact-direct small { color: var(--blue); font-family: var(--display); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.contact-direct strong { grid-column: 1; font-family: var(--display); font-size: .95rem; }
.contact-direct span { grid-column: 2; grid-row: 1 / 3; }
.contact-form { position: relative; padding: clamp(1.2rem, 3vw, 2rem); background: white; box-shadow: 0 16px 45px rgba(7,52,90,.1); border-top: 5px solid var(--sky); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.field-row { display: grid; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .3rem; color: var(--navy); font-family: var(--display); font-size: .63rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; padding: .7rem .15rem; border: 0; border-bottom: 1px solid rgba(7,52,90,.3); border-radius: 0; background: transparent; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field textarea { min-height: 100px; resize: vertical; }
.field .is-invalid { border-color: #9d4b37; }
.field-error { display: block; min-height: 1em; margin-top: .2rem; color: #8a3d2c; font-size: .68rem; }
.check-field { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; color: var(--muted); font-size: .76rem; }
.check-field input { width: 18px; height: 18px; accent-color: var(--blue); }
.inline-legal-link { display: inline; padding: 0; background: transparent; color: var(--blue); text-decoration: underline; }
.form-submit { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-inline: 1.1rem; background: var(--blue); color: white; font-family: var(--display); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: .25s; }
.form-submit:hover { background: var(--navy); }
.form-submit:disabled { opacity: .6; cursor: wait; }
.form-status { display: none; margin-top: 1rem; padding: .8rem; font-size: .82rem; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e5f4ea; color: #155a30; }
.form-status.is-error { background: #f5e9e4; color: #7e3728; }

/* Footer & legal dialogs */
.site-footer { padding-block: 2.5rem 1rem; background: var(--navy-deep); color: white; }
.footer-main { display: grid; gap: 1.5rem; align-items: center; }
.footer-brand { width: 200px; height: 65px; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.footer-main > p { color: rgba(255,255,255,.6); }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 1rem; font-family: var(--display); font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.footer-bottom { display: flex; flex-direction: column; gap: .4rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.48); font-size: .68rem; }
.footer-bottom button { padding: 0; background: transparent; color: inherit; }
.footer-bottom a, .footer-bottom button { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .design-credit { color: #ffb229; font-weight: 800; }
.footer-bottom .design-credit:hover { color: #ffd166; }
.legal-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(760px, calc(100svh - 40px)); margin: auto; padding: clamp(1.5rem, 4vw, 2.5rem); border: 0; border-top: 5px solid var(--sky); background: white; color: var(--muted); box-shadow: 0 24px 80px rgba(3,38,66,.34); }
.legal-dialog::backdrop { background: rgba(3,38,66,.74); backdrop-filter: blur(3px); }
.legal-dialog h2 { padding-right: 2rem; color: var(--navy); font-size: 1.65rem; }
.legal-dialog p { margin-top: 1rem; }
.dialog-close { position: absolute; top: .75rem; right: .8rem; width: 38px; height: 38px; display: grid; place-items: center; background: var(--sky-pale); color: var(--navy); font-size: 1.5rem; }

@media (min-width: 540px) {
  :root { --container: min(1180px, calc(100vw - 64px)); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { border-right: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(5, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-direct { grid-template-columns: 1fr 1fr; }
  .contact-direct a { border-bottom: 0; border-right: 1px solid var(--line); }
  .contact-direct a:last-child { border-right: 0; }
}

@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 6vw, 6rem); }
  .footer-main { grid-template-columns: auto 1fr auto; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 960px) {
  .site-header { height: 88px; grid-template-columns: 220px 1fr auto; padding-inline: max(28px, calc((100vw - 1280px) / 2)); }
  .brand { width: 210px; height: 66px; }
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; justify-content: center; gap: 1.8rem; padding: 0; background: transparent; color: inherit; transform: none; opacity: 1; pointer-events: auto; border: 0; }
  .main-nav a { position: relative; padding: .35rem 0; border: 0; font-size: .66rem; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--sky); transition: right .25s; }
  .main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
  .header-phone { display: flex; align-items: center; gap: .65rem; padding: .55rem .85rem; background: var(--blue); color: white; font-family: var(--display); font-size: .78rem; font-weight: 800; }
  .header-phone small { display: block; font-size: .54rem; letter-spacing: .08em; text-transform: uppercase; }
  .hero-content { padding-right: min(42vw, 520px); }
  .hero h1 { min-width: 700px; }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-grid > div { border-bottom: 0; }
  .portfolio-intro h2 { white-space: nowrap; }
  .product-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(.25rem, .7vw, .9rem); }
  .product-card { grid-template-rows: clamp(300px, 25vw, 410px) 92px; }
  .product-bottle { height: clamp(292px, 24vw, 398px); }
  .product-brand { height: 88px; padding-inline: 2px; }
}

@media (max-width: 959px) {
  .hero { display: block; padding-top: 78px; }
  .hero-content { padding-top: 48px; padding-bottom: 34px; }
  .hero-offer { position: relative; top: auto; right: auto; width: min(430px, calc(100vw - 40px)); margin: 0 auto 3.5rem; transform: none; }
}

@media (max-width: 539px) {
  .hero { min-height: 0; }
  .hero h1 { font-size: 2.45rem; }
  .hero-lede { max-width: 92%; }
  .button { width: 100%; justify-content: space-between; }
  .hero-offer-heading span { font-size: 5.4rem; }
  .hero-offer > strong { font-size: 8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
