/* ==========================================================================
   4MEN — Maracaibo | Landing page styles
   ========================================================================== */

@font-face {
  font-family: "Galano";
  src: url("../fonts/GalanoGrotesque-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Galano";
  src: url("../fonts/GalanoGrotesque-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Galano";
  src: url("../fonts/GalanoGrotesque-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Galano";
  src: url("../fonts/GalanoGrotesque-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17191a;
  --ink-soft: #22251f;
  --olive: #4f5a3a;
  --olive-light: #7c8a63;
  --olive-pale: #eef0e7;
  --cream: #f6f5f1;
  --white: #ffffff;
  --line: #e3e1d8;
  --text-dim: #5b5e55;
  --wa: #25d366;

  --container: 1200px;
  --radius: 14px;
  --shadow: 0 20px 45px -25px rgba(23, 25, 26, 0.45);

  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "Galano", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.01em; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--olive);
  display: inline-block;
}

.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--text-dim); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--olive); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #1fae54; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(23,25,26,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--olive-pale); color: var(--olive); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.icon-link:hover { border-color: var(--ink); background: var(--ink); color: var(--white); transform: translateY(-1px); }
.icon-link svg { width: 19px; height: 19px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.25s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------- Hero --------------------------------- */

.hero {
  position: relative;
  padding: 168px 0 96px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/texture-black.jpg") center/cover;
  opacity: 0.4;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,19,18,0.75) 0%, rgba(17,19,18,0.92) 70%, var(--ink) 100%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,0.18); }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  color: var(--white);
}
.hero h1 em { font-style: normal; color: var(--olive-light); }
.hero-lead {
  margin-top: 22px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.7rem; font-weight: 800; }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(23,25,26,0.72);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-media-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--olive-light); }

/* ------------------------------- SEO intro ------------------------------- */

.intro {
  background: var(--cream);
  position: relative;
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.intro-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.intro-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--olive-pale);
  color: var(--olive);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.intro-card .ic svg { width: 22px; height: 22px; }
.intro-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.intro-card p { color: var(--text-dim); font-size: 0.97rem; }

.intro-copy { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.intro-copy p { color: var(--text-dim); font-size: 1.02rem; }
.intro-copy p + p { margin-top: 16px; }
.intro-copy strong { color: var(--ink); }

/* ------------------------------- Locations ------------------------------- */

.locations { background: var(--white); }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.store-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.store-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.store-media { position: relative; }
.store-photo-main { aspect-ratio: 16 / 11; overflow: hidden; }
.store-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.store-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.store-thumbs img { width: 100%; height: 108px; object-fit: cover; }
.store-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--olive);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
}

.store-body { padding: 28px 26px 30px; }
.store-body h3 { font-size: 1.35rem; }
.store-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.store-address svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--olive); }

.store-meta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.store-meta-row { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.store-meta-row svg { width: 17px; height: 17px; color: var(--olive); flex: none; }
.store-meta-row a { font-weight: 600; }
.store-meta-row a:hover { color: var(--olive); }

.store-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.store-actions .btn { flex: 1; min-width: 150px; }

/* --------------------------------- Brands -------------------------------- */

.brands { background: var(--ink); color: var(--white); padding: 72px 0; }
.brands .section-head { color: var(--white); }
.brands .section-head p { color: rgba(255,255,255,0.6); }
.brands .eyebrow { color: var(--olive-light); }
.brands .eyebrow::before { background: var(--olive-light); }

.marquee {
  margin-top: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: opacity 0.2s ease;
}
.marquee-track img:hover { opacity: 1; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------- Catalogs -------------------------------- */

.catalogs {
  position: relative;
  background: var(--olive);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.catalogs::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/texture-olive.jpg") center/cover;
  opacity: 0.5;
  z-index: -2;
}
.catalogs::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(79,90,58,0.88), rgba(45,53,32,0.94));
  z-index: -1;
}
.catalogs .section-head { color: var(--white); margin: 0 auto 50px; }
.catalogs .section-head p { color: rgba(255,255,255,0.82); }
.catalogs .eyebrow { color: var(--white); }
.catalogs .eyebrow::before { background: var(--white); }

.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.catalog-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 38px 34px;
  backdrop-filter: blur(6px);
}
.catalog-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.16);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.catalog-card h3 { font-size: 1.5rem; }
.catalog-card p { margin-top: 12px; color: rgba(255,255,255,0.85); font-size: 0.98rem; }
.catalog-card ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-card ul li {
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  padding: 6px 12px;
  border-radius: 999px;
}
.catalog-card .btn { margin-top: 26px; }

/* -------------------------------- Contact -------------------------------- */

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 30px;
}
.contact-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.contact-card h3 .pin { color: var(--olive); }
.contact-list { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 12px; font-size: 0.96rem; }
.contact-row svg { width: 19px; height: 19px; color: var(--olive); flex: none; }
.contact-row a { font-weight: 600; }
.contact-row a:hover { color: var(--olive); }
.contact-hours { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.contact-hours div { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--text-dim); padding: 4px 0; }
.contact-hours strong { color: var(--ink); font-weight: 600; }
.contact-card .btn { margin-top: 20px; }

/* --------------------------------- Footer --------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 24px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.55); max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.93rem; color: rgba(255,255,255,0.68); }
.footer-col a:hover { color: var(--white); }
.footer-seo { padding-top: 28px; font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.4); max-width: 920px; }
.footer-bottom { margin-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ----------------------------- WhatsApp float ----------------------------- */

.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,0.65);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; color: var(--white); }

/* --------------------------------- Misc --------------------------------- */

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--olive); color: var(--white);
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ================================ Responsive ================================ */

@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-copy { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 68px; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .site-header.nav-open .main-nav a { padding: 14px 10px; border-radius: 10px; }

  .hero { padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16/10; order: -1; }
  .hero-stats { gap: 26px; }

  .intro-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  :root { font-size: 15px; }
  .hero-actions .btn, .store-actions .btn { width: 100%; }
  .hero-stats { justify-content: space-between; }
  .store-thumbs img { height: 84px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
