/* ====================================================
   A3D SPORT ARGENTINA — Shared Stylesheet
   ==================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:  #ffffff;
  --dark:   #f2f2f0;
  --card:   #ffffff;
  --border: rgba(0,0,0,0.08);
  --white:  #111111;
  --gray:   #5a5a5a;
  --light:  #454545;
  --cyan:   #0098a3;
  --orange: #f0821e;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 86px; }
body { background: var(--black); color: var(--white); font-family: 'Inter', sans-serif; line-height: 1.6; }

/* ── NAV ─────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-img { height: 40px; width: auto; }
.nav-logo-text { border-left: 1px solid var(--border); padding-left: 14px; }
.nav-logo-text .brand { font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: 3px; display: block; line-height: 1; }
.nav-logo-text .country { font-size: 9px; letter-spacing: 3px; color: var(--cyan); text-transform: uppercase; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--light); text-decoration: none; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { text-decoration: none; background: var(--white); color: var(--black); padding: 10px 24px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; transition: background .2s; }
.nav-cta:hover { background: var(--cyan); color: var(--white); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--white); }

/* ── LABELS & HEADINGS ───────────────────────────────── */
.eyebrow { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--cyan); font-weight: 600; display: block; }
.heading-xl { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px, 7vw, 100px); letter-spacing: 2px; line-height: .92; }
.heading-lg { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 5vw, 72px); letter-spacing: 2px; line-height: .95; }
.heading-md { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 3vw, 48px); letter-spacing: 1.5px; }
.body-text { font-size: 15px; font-weight: 300; color: var(--light); line-height: 1.75; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn { display: inline-block; text-decoration: none; padding: 15px 40px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; transition: all .2s; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--cyan); }
.btn-outline-w { border: 1px solid rgba(0,0,0,.3); color: var(--white); }
.btn-outline-w:hover { border-color: var(--white); }
.btn-cyan { background: var(--cyan); color: var(--white); }
.btn-cyan:hover { opacity: .88; }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #ececea; }

/* ── SECTION ─────────────────────────────────────────── */
.section { padding: 88px 48px; }
.section-sm { padding: 60px 48px; }

/* ── DIVIDER ─────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer { padding: 64px 48px 36px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer-logo-img { height: 48px; width: auto; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--gray); line-height: 1.65; max-width: 220px; }
.footer-col-title { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(0,0,0,.35); margin-bottom: 18px; display: block; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--gray); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--cyan); text-decoration: none; }

/* ── CONTACT SECTION ─────────────────────────────────── */
.contact-section { background: var(--dark); }
.contact-cards { display: flex; gap: 1px; flex-wrap: wrap; margin-top: 48px; }
.contact-card { flex: 1; min-width: 180px; background: var(--card); padding: 36px 28px; text-decoration: none; color: var(--white); border-bottom: 2px solid transparent; transition: border-color .2s, background .2s; }
.contact-card:hover { background: #ececea; }
.contact-card.wa:hover { border-color: #25d366; }
.contact-card.email:hover { border-color: var(--cyan); }
.contact-card.ig:hover { border-color: #e1306c; }
.contact-card.web:hover { border-color: var(--white); }
.contact-card .c-icon { font-size: 26px; margin-bottom: 14px; display: block; }
.contact-card .c-name { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; display: block; }
.contact-card.wa .c-name { color: #25d366; }
.contact-card .c-sub { font-size: 12px; color: var(--gray); margin-top: 4px; display: block; }

/* ── PRODUCTS STRIP (other products) ─────────────────── */
.strip-title { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--gray); margin-bottom: 32px; }
.products-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.strip-tile { position: relative; overflow: hidden; aspect-ratio: 4/3; text-decoration: none; display: block; background: var(--dark); }
.strip-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.95); transition: transform .5s, filter .4s; }
.strip-tile:hover img { transform: scale(1.05); filter: brightness(.8); }
.strip-tile-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px 20px; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%); }
.strip-tile-cat { font-size: 9px; color: var(--cyan); letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 4px; }
.strip-tile-name { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; color: #fff; display: block; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .site-nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .section { padding: 60px 24px; }
  .section-sm { padding: 48px 24px; }
  .site-footer { padding: 48px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .products-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .products-strip { grid-template-columns: 1fr; }
  .nav-logo-text .country { display: none; }
  .nav-logo-text { border-left: none; padding-left: 0; }
}

/* ── VIDEO / YOUTUBE ─────────────────────────────────── */
.yt-embed { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #000; border-radius: 2px; cursor: pointer; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-embed .yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-embed .yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 82px; height: 58px; border: 0; border-radius: 14px; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .2s; }
.yt-embed:hover .yt-play { background: #ff0000; transform: translate(-50%,-50%) scale(1.06); }
.yt-embed .yt-play::after { content: ''; display: block; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt-fallback { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--gray); text-decoration: none; }
.yt-fallback:hover { color: var(--cyan); }
.video-container { text-align: center; }
.video-container video { width: auto; max-width: 100%; max-height: 68vh; display: block; margin: 0 auto; border-radius: 2px; background: #000; }
.yt-embed { margin-left: auto; margin-right: auto; max-width: min(100%, calc(64vh * 16 / 9)); }

/* ── BARRA DE COMPRA FIJA (solo mobile) ──────────────── */
.buy-bar { display: none; }
@media (max-width: 860px) {
  .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); box-shadow: 0 -6px 28px rgba(0,0,0,.10); }
  .buy-bar-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .buy-bar-name { font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 1.2px;
    color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar-price { font-size: 11px; color: var(--gray); letter-spacing: .3px; }
  .buy-bar-btn { flex: 0 0 auto; background: #25D366; color: #fff; text-decoration: none;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
    padding: 14px 22px; border-radius: 2px; }
  .buy-bar-btn:active { background: #1da851; }
  body { padding-bottom: 68px; }
}

/* fix: los atributos width/height de los <img> existen sólo para reservar el
   espacio y evitar saltos de layout. Acá se anula el "presentational hint"
   en las imágenes donde el CSS fija una sola de las dos medidas. */
img { max-width: 100%; }
.hero-logo, .page-hero-logo, .gallery-grid img, .feat-product-logo, .tut-thumb img { height: auto; }
.nav-logo-img, .footer-logo-img { width: auto; }
.product-packshot img, .page-hero-img { width: auto; height: auto; }
