/* Dive Wing B2B — JOBE Wholesale Catalog UI */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Sans:wght@500;600;700&display=swap");

:root {
  --ocean: #0a3d5c;
  --ocean-light: #0e7490;
  --aqua: #0891b2;
  --aqua-bright: #22d3ee;
  --aqua-light: #ecfeff;
  --gold: #c9a227;
  --gold-light: #f5e6a3;
  --navy: #0b1220;
  --navy-mid: #1a2332;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde4ee;
  --gray-300: #c5d0de;
  --gray-500: #5c6b7f;
  --gray-600: #3d4f63;
  --gray-700: #2a3647;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 4px 12px rgba(11, 18, 32, 0.04);
  --shadow: 0 8px 30px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.14);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Sans", var(--font-body);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 120px;
  --trust-bar-h: 40px;
  --top-bar-h: calc(var(--trust-bar-h) + var(--header-h));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--navy-mid);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--aqua-bright); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.025em; color: var(--navy); line-height: 1.2; }

.container { width: min(1180px, 90%); margin: 0 auto; }
.section { padding: 5rem 0; }
.section--alt { background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.section__header { text-align: center; max-width: 580px; margin: 0 auto 3rem; }
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.75rem;
}
.section__label::before,
.section__label::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--aqua-light);
}
.section__title { font-size: clamp(1.625rem, 3.5vw, 2.125rem); font-weight: 700; margin-bottom: 0.875rem; }
.section__desc { color: var(--gray-500); font-size: 1rem; line-height: 1.7; }

/* Top bar — fixed trust strip + header as one unit */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
body { padding-top: var(--top-bar-h); }

.trust-bar {
  background: var(--white);
  color: var(--gray-600);
  padding: 0.5rem 0;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
  min-height: var(--trust-bar-h);
  display: flex;
  align-items: center;
}
.trust-bar__brand {
  color: var(--ocean);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  width: 100%;
}
.trust-bar span { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.trust-bar strong { color: var(--navy); font-weight: 600; }
.trust-bar a { color: var(--ocean-light); font-weight: 500; }
.trust-bar a:hover { color: var(--aqua); }

/* Header */
.site-header {
  position: relative;
  top: auto;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
body.has-trust-bar .site-header { top: auto; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo__img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 6px;
}
.logo--header .logo__img {
  height: 100px;
  max-width: min(280px, 42vw);
}
.logo--footer .logo__img {
  height: 72px;
  max-width: 180px;
  border-radius: 8px;
  opacity: 0.98;
}

.site-header--light {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.site-header--light.scrolled {
  box-shadow: var(--shadow-sm);
}

.product-card__meta {
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: var(--gray-500);
  margin-bottom: 0.875rem;
}

#product-count { display: none !important; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
}
.nav a.active { color: var(--navy); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--aqua);
  border-radius: 1px;
}
.nav a:hover { color: var(--ocean); }
.nav__cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
}
.nav__cta:hover { background: var(--ocean) !important; }
.nav__cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.625rem;
  margin: -0.625rem -0.25rem -0.625rem 0;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 3px 0;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 3rem 0 4.5rem;
  background: var(--navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(34, 211, 238, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(201, 162, 39, 0.12) 0%, transparent 45%),
    linear-gradient(155deg, #0b1220 0%, #0a3d5c 45%, #0e4f6e 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: center;
}
.hero__content { color: var(--white); max-width: 560px; }
.hero__gallery-wrap {
  position: relative;
  min-width: 0;
}
.hero__gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hero__gallery-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.hero__gallery-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--aqua-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.hero__gallery-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 88px;
  gap: 0.625rem;
  min-height: 380px;
}
.hero-gallery__item {
  grid-column: span 4;
  grid-row: span 2;
  min-width: 0;
}
.hero-gallery__item--lead {
  grid-column: span 6;
  grid-row: span 4;
}
.hero-gallery__item:nth-child(2) { grid-column: span 6; }
.hero-gallery__item:nth-child(3) { grid-column: span 6; }
.hero-gallery__trigger {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-gallery__trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.hero-gallery__trigger:focus-visible {
  outline: 2px solid var(--aqua-bright);
  outline-offset: 3px;
}
.hero-gallery__figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-gallery__media {
  flex: 1;
  min-height: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.hero-gallery__media img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hero-gallery__caption {
  padding: 0.625rem 0.75rem;
  background: rgba(11, 18, 32, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-gallery__category {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua-bright);
  margin-bottom: 0.2rem;
}
.hero-gallery__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-gallery__item--lead .hero-gallery__name {
  font-size: 0.8125rem;
}
.hero-gallery__empty {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  padding: 2rem;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--aqua-light);
}
.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero p {
  font-size: 1.0625rem;
  opacity: 0.88;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.75;
  font-weight: 400;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}
.hero__stat span { font-size: 0.8125rem; opacity: 0.7; }

.hero__break {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.375rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}
.btn--primary { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--aqua-light); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn--ocean { background: var(--ocean); color: var(--white); }
.btn--ocean:hover { background: var(--navy); transform: translateY(-1px); }
.btn--ghost { background: var(--gray-100); color: var(--navy); }
.btn--ghost:hover { background: var(--gray-200); }
.btn--whatsapp { background: #16a34a; color: var(--white); }
.btn--whatsapp:hover { background: #15803d; }
.btn--sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 145, 178, 0.25);
}
.product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.875rem;
  padding-top: 0.25rem;
}
.product-card__price strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}
.product-card__price span {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}
.product-card__price .jobe-sku {
  font-size: 0.6875rem;
  font-family: ui-monospace, monospace;
  background: var(--gray-100);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--gray-600);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.product-card__body { padding: 1.25rem 1.375rem 1.375rem; flex: 1; display: flex; flex-direction: column; }
.product-card__brand {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean-light);
  margin-bottom: 0.25rem;
}
.product-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--aqua);
  margin-bottom: 0.4rem;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.product-card__desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.125rem;
  flex: 1;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__actions { display: flex; flex-direction: column; gap: 0.5rem; }

/* Categories — 7 items: one row on wide screens, balanced 4+3 on desktop */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.category-card:nth-child(5):nth-last-child(3) {
  grid-column-start: 2;
}
@media (min-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(7, 1fr);
  }
  .category-card:nth-child(5):nth-last-child(3) {
    grid-column-start: auto;
  }
}
.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: left;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--aqua));
  opacity: 0;
  transition: opacity var(--transition);
}
.category-card:hover {
  border-color: var(--aqua);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--navy);
}
.category-card:hover::before { opacity: 1; }
.category-card__count {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ocean-light);
}
.category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.category-card span { font-size: 0.8125rem; color: var(--gray-500); }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--aqua-light); }
.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.125rem;
  background: linear-gradient(135deg, var(--aqua-light), rgba(8, 145, 178, 0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
}
.feature-card__icon .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon svg { display: block; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); margin-bottom: 0.75rem; color: var(--white); }
.cta-band p { opacity: 0.88; max-width: 520px; margin: 0 auto 1.5rem; font-size: 0.9375rem; }

/* Catalog toolbar */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.search-box { flex: 1; min-width: 220px; position: relative; }
.search-box input {
  width: 100%;
  padding: 0.6875rem 1rem 0.6875rem 2.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box input:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}
.search-box svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gray-500);
  pointer-events: none;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  padding: 0.4375rem 0.875rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-600);
}
.filter-chip:hover { border-color: var(--aqua); color: var(--ocean); }
.filter-chip.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 0;
  cursor: pointer;
}
.modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
}
.modal.open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 10;
  color: var(--gray-600);
  transition: background var(--transition);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover { background: var(--gray-200); color: var(--navy); }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.modal__gallery { background: var(--gray-50); padding: 1.5rem; }
.modal__main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-100);
  margin-bottom: 0.5rem;
}
.modal__img-caption {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 0.75rem;
  min-height: 1.125rem;
  line-height: 1.4;
}
.modal__thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.modal__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: all var(--transition);
}
.modal__thumb:hover { opacity: 1; }
.modal__thumb.active { border-color: var(--aqua); opacity: 1; }
.modal__content { padding: 2rem 2rem 2rem 0.5rem; }
.modal__content h2 { font-size: 1.375rem; margin-bottom: 0.625rem; }
.modal__content > p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; }
.modal__features { margin: 1.25rem 0; }
.modal__features li {
  padding: 0.3rem 0 0.3rem 1.375rem;
  position: relative;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.modal__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--aqua);
  border-radius: 50%;
}
.modal__sku {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  font-family: ui-monospace, monospace;
}
.modal__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.125rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.modal__pricing div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}
.modal__pricing div span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 600;
}

/* Page hero */
.page-hero {
  padding: 2.5rem 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); margin-bottom: 0.625rem; }
.page-hero p { color: var(--gray-500); max-width: 560px; font-size: 0.9375rem; }

/* About / Contact */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  margin-top: 2rem;
}
.stat {
  text-align: center;
  padding: 1.125rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ocean);
}
.stat span { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }

.about-visual {
  background: linear-gradient(155deg, var(--navy) 0%, var(--ocean) 100%);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-visual__logo {
  width: auto;
  max-width: 160px;
  max-height: 160px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.about-visual h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.about-visual p {
  opacity: 0.88;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.quality-list {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray-700);
  list-style: none;
}
.quality-list li {
  padding: 0.625rem 0 0.625rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}
.quality-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
}

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
.page-hero--contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
}
.contact-hero__logo {
  width: auto;
  height: clamp(100px, 18vw, 160px);
  max-width: min(320px, 85vw);
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.contact-brand {
  background: linear-gradient(155deg, var(--navy) 0%, var(--ocean) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}
.contact-brand__logo {
  width: auto;
  height: clamp(90px, 14vw, 140px);
  max-width: 260px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto 1rem;
}
.contact-brand p {
  font-size: 0.875rem;
  opacity: 0.9;
  letter-spacing: 0.04em;
}
.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-info-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
}
.contact-info-card a { color: var(--aqua-light); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer a { color: rgba(255,255,255,0.7); font-size: 0.875rem; display: block; margin-bottom: 0.5rem; }
.site-footer a:hover { color: var(--aqua-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: #16a34a;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.06); color: var(--white); }

.empty-state { text-align: center; padding: 3rem; color: var(--gray-500); }

@media print {
  .site-header, .trust-bar, .whatsapp-float, .catalog-toolbar, .site-footer, .no-print { display: none !important; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .hero-gallery__item,
  .hero-gallery__item--lead,
  .hero-gallery__item:nth-child(2),
  .hero-gallery__item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hero-gallery__media { aspect-ratio: 1; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__content { padding: 1.5rem; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  :root {
    --trust-bar-h: 0px;
    --header-h: 56px;
    --top-bar-h: var(--header-h);
  }

  body {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  .site-top {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .trust-bar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: none !important;
  }

  .site-header {
    height: var(--header-h);
    min-height: var(--header-h);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1001;
  }

  .site-header__inner {
    gap: 0.5rem;
    justify-content: flex-start;
    height: 100%;
  }

  .logo--header .logo__img {
    height: 40px;
    max-width: min(132px, 46vw);
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
  }

  .nav {
    display: none;
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open {
    display: flex !important;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: rgba(11, 18, 32, 0.45);
    z-index: 999;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.875rem 0.75rem;
    width: 100%;
    font-size: 1rem;
    border-radius: 8px;
    color: var(--gray-700);
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: var(--gray-50);
    color: var(--navy);
  }

  .nav a.active {
    background: var(--aqua-light);
    color: var(--navy);
    font-weight: 600;
  }

  .nav a.active::after {
    display: none;
  }

  .nav__cta {
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.875rem 1rem !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
  }
}

@media (min-width: 993px) {
  .site-top {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .trust-bar {
    width: 100%;
  }

  .site-header {
    flex: 0 0 auto;
    z-index: auto;
  }

  .site-header__inner {
    width: auto;
  }

  .nav {
    display: flex !important;
    position: static;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    padding: 0 clamp(1rem, 4vw, 2rem) 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .nav__cta {
    margin-top: 0;
    width: auto;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container { width: min(1180px, 94%); }
  .section { padding: 2.75rem 0; }
  .section__header { margin-bottom: 1.75rem; }
  .section__title { font-size: clamp(1.375rem, 5vw, 1.75rem); }
  .section__desc { font-size: 0.9375rem; }

  .hero {
    min-height: auto;
    padding: 2rem 0 2.25rem;
  }

  .hero__inner {
    gap: 1.75rem;
  }

  .hero__content {
    padding-top: 0.25rem;
  }

  .hero h1 {
    font-size: clamp(1.375rem, 6vw, 1.875rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    max-width: none;
  }

  .hero__badge {
    font-size: 0.625rem;
    margin-bottom: 0.875rem;
    letter-spacing: 0.06em;
  }

  .hero__break {
    display: inline;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero__stat strong {
    font-size: 0.9375rem;
    line-height: 1.2;
  }

  .hero__stat span {
    font-size: 0.625rem;
    line-height: 1.3;
    display: block;
    margin-top: 0.125rem;
  }

  .hero__gallery-head { margin-bottom: 0.75rem; }
  .hero-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-gallery::-webkit-scrollbar { display: none; }

  .hero-gallery__item,
  .hero-gallery__item--lead {
    flex: 0 0 78%;
    max-width: 300px;
    scroll-snap-align: center;
    grid-column: auto;
    grid-row: auto;
  }
  .hero-gallery__media { aspect-ratio: 1; min-height: 200px; }

  .page-hero {
    padding: 1.75rem 0;
    text-align: center;
  }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-hero p { font-size: 0.9375rem; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .product-card__body { padding: 1rem 1.125rem 1.125rem; }
  .product-card__actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .product-card__actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .category-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .category-card { padding: 1.125rem 1.25rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.25rem; }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0.875rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .search-box input {
    min-height: 48px;
    font-size: 1rem;
  }
  .filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    margin: 0 -0.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip {
    flex-shrink: 0;
    min-height: 40px;
    padding: 0.5rem 1rem;
  }

  .modal__dialog {
    max-height: calc(100dvh - 1rem);
    border-radius: var(--radius-lg);
    margin: 0.5rem;
  }
  .modal__content { padding: 1.25rem; }
  .modal__gallery { padding: 1rem; }
  .modal__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }

  .contact-grid { gap: 1.5rem; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 1rem;
  }
  .contact-hero__logo {
    height: clamp(80px, 22vw, 120px);
    margin-bottom: 1rem;
  }

  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .cta-band {
    padding: 2.25rem 0;
    text-align: center;
  }
  .cta-band h2 { font-size: clamp(1.25rem, 5vw, 1.625rem); }
  .cta-band .btn {
    width: 100%;
    max-width: none;
    min-height: 48px;
  }

  .whatsapp-float {
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero-gallery__item,
  .hero-gallery__item--lead {
    flex: 0 0 88%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
