/* ═══════════════════════════════════════════════
   Trujillo Mundo Cerámica — Main Stylesheet
   ═══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal:    #009BAB;
  --teal-d:  #007A88;
  --teal-dd: #005F6B;
  --teal-l:  #E0F5F7;
  --dark:    #0F1B1D;
  --charcoal:#1C2B2D;
  --mid:     #4A5568;
  --muted:   #8A9BA0;
  --border:  #E2EAec;
  --bg:      #F7FAFA;
  --white:   #fff;
  --accent:  #E8612A;
  --fw:      1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #fff;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.wrap {
  max-width: var(--fw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--teal-dd);
  padding: 7px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 20px; }
.topbar span, .topbar a {
  font-size: 12px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: .01em;
}
.topbar a:hover { color: #fff; }
.topbar-sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
.topbar svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── NAV ── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.nav-w {
  max-width: var(--fw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 66px;
  padding: 0 28px;
  gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 220px;
}
.logo-sq {
  width: 40px; height: 40px;
  background: var(--teal);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.logo-sq svg { width: 26px; height: 26px; }
.logo-name { line-height: 1.1; }
.logo-name b { display: block; font-size: 15px; font-weight: 800; color: var(--charcoal); letter-spacing: .04em; }
.logo-name small { font-size: 9.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--mid);
  text-decoration: none; padding: 7px 13px;
  border-radius: 6px; transition: .15s; white-space: nowrap;
}
.nav-links a:hover { background: var(--teal-l); color: var(--teal-d); }
.nav-links a.act { color: var(--teal); background: var(--teal-l); }

/* Dropdown */
.nav-dd {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}
.nav-dd > a { cursor: pointer; user-select: none; }
.dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
  z-index: 200;
}
.nav-dd:hover .dd-menu,
.nav-dd:focus-within .dd-menu { display: block; }
.dd-menu a {
  display: block; padding: 8px 12px;
  border-radius: 6px; font-size: 13.5px;
  color: var(--mid); text-decoration: none;
  transition: .12s; font-weight: 500;
}
.dd-menu a:hover { background: var(--teal-l); color: var(--teal-d); }

.nav-r { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1.5px solid var(--teal);
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: .15s;
}
.shop-btn:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.shop-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.search-wrap {
  display: flex; align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px; background: var(--bg); overflow: hidden; transition: .2s;
}
.search-wrap:focus-within { border-color: var(--teal); }
.search-wrap input {
  border: none; background: none; outline: none;
  padding: 8px 12px; font-size: 13px; color: var(--charcoal);
  font-family: inherit; width: 190px;
}
.search-wrap input::placeholder { color: var(--muted); }
.search-wrap button {
  background: var(--teal); border: none;
  padding: 8px 13px; cursor: pointer; color: #fff;
  display: flex; align-items: center;
}
.search-wrap button svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }

.ico-btn {
  width: 38px; height: 38px;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; transition: .15s; color: var(--mid);
}
.ico-btn:hover { border-color: var(--teal); color: var(--teal); }
.ico-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--accent); color: #fff;
  border-radius: 10px; font-size: 10px; font-weight: 700;
  padding: 1px 5px; line-height: 1.4;
  display: none;
}
.cart-badge.visible { display: block; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 38px; height: 38px;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: #fff; cursor: pointer; padding: 9px 10px;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--charcoal); border-radius: 2px;
  transition: .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; top: 66px;
  background: #fff; z-index: 99;
  flex-direction: column; padding: 20px 24px;
  gap: 4px; overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px; font-weight: 500; color: var(--charcoal);
  text-decoration: none; padding: 12px 14px;
  border-radius: 8px; border-bottom: 1px solid var(--border);
  transition: .12s;
}
.mobile-nav a.mobile-subnav {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  padding-left: 28px;
}
.mobile-nav a:hover { background: var(--teal-l); color: var(--teal); }

/* ── HERO ── */
.hero {
  position: relative; height: 520px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,35,45,.78) 0%, rgba(0,35,45,.4) 60%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 60px; max-width: 580px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px; padding: 5px 14px;
  font-size: 11.5px; color: rgba(255,255,255,.9);
  letter-spacing: .07em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px;
}
.hero-pill span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: 16px; letter-spacing: -.5px; }
.hero h1 em { color: #7EEBF5; font-style: normal; }
.hero p { font-size: 15px; color: rgba(255,255,255,.75); font-weight: 300; line-height: 1.75; margin-bottom: 32px; max-width: 420px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.18); }
.hstat-n { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.hstat-l { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .04em; margin-top: 3px; }

/* ── BUTTONS ── */
.btn-wh {
  background: #fff; color: var(--teal-dd);
  padding: 12px 26px; border-radius: 8px;
  font-weight: 700; font-size: 13.5px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: .2s; border: none; cursor: pointer; font-family: inherit; letter-spacing: .01em;
}
.btn-wh:hover { background: var(--teal-l); transform: translateY(-1px); }
.btn-gh {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  padding: 12px 26px; border-radius: 8px;
  font-weight: 400; font-size: 13.5px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px; transition: .2s;
}
.btn-gh:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-teal {
  background: var(--teal); color: #fff;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 13.5px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: .2s; border: none; cursor: pointer; font-family: inherit;
}
.btn-teal:hover { background: var(--teal-d); }
.btn-wh-outline {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid rgba(255,255,255,.5); color: #fff;
  padding: 11px 24px; border-radius: 8px;
  font-size: 13px; font-weight: 500; text-decoration: none; transition: .2s;
}
.btn-wh-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 6px;
  background: #25D366; color: #fff;
  padding: 9px 16px; border-radius: 7px;
  font-size: 12.5px; font-weight: 600; text-decoration: none; transition: .2s;
}
.btn-wa:hover { background: #1EB85A; }

/* ── TRUST BAR ── */
.trust-wrap {
  padding: 0 24px;
  margin: 32px auto;
  max-width: calc(var(--fw) + 48px);
}
.trust {
  background: #fff;
  box-shadow: 0 4px 28px rgba(0,0,0,0.10);
  border-radius: 14px;
  overflow: hidden;
}
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.titem {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 28px;
}
.titem:last-child { border-right: none; }
.titem-ico {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.titem-ico svg { width: 32px; height: 32px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.titem b { display: block; font-size: 13px; font-weight: 600; color: var(--charcoal); }
.titem span { font-size: 11.5px; color: var(--muted); }

/* ── SECTIONS ── */
section { padding: 60px 0; }
.sh { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.stag {
  display: inline-block; background: var(--teal-l); color: var(--teal-d);
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 20px; margin-bottom: 7px;
}
.stitle { font-size: 28px; font-weight: 800; color: var(--charcoal); line-height: 1.2; letter-spacing: -.2px; }
.stitle em { color: var(--teal); font-style: normal; }
.va {
  font-size: 13px; color: var(--teal); text-decoration: none;
  font-weight: 600; display: flex; align-items: center; gap: 4px;
  white-space: nowrap; padding-bottom: 2px;
  border-bottom: 1px solid transparent; transition: .15s;
}
.va:hover { border-bottom-color: var(--teal); }
.va svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── CATEGORIES ── */
.cats-bg { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.ccard {
  text-decoration: none; color: inherit;
  background: #fff; border-radius: 12px;
  border: 1.5px solid var(--border); overflow: hidden;
  transition: .22s; display: flex; flex-direction: column;
}
.ccard:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,155,171,.12); }
.ccard-img { height: 110px; overflow: hidden; position: relative; }
.ccard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ccard:hover .ccard-img img { transform: scale(1.07); }
.ccard-body { padding: 10px 12px 12px; text-align: center; }
.ccard-body b { display: block; font-size: 12px; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.ccard-body small { font-size: 11px; color: var(--muted); }

/* ── COLLECTIONS BANNER ── */
.col-ban { background: var(--teal-dd); overflow: hidden; position: relative; }
.col-ban-in {
  max-width: var(--fw); margin: 0 auto;
  display: grid; grid-template-columns: 340px 1fr; min-height: 260px;
}
.col-text {
  padding: 52px 48px; display: flex; flex-direction: column;
  justify-content: center; position: relative; z-index: 2;
}
.col-text .eyebrow { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 12px; }
.col-text h2 { font-size: 28px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 12px; letter-spacing: -.2px; }
.col-text p { font-size: 13.5px; color: rgba(255,255,255,.6); font-weight: 300; margin-bottom: 28px; }
.col-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.col-img { overflow: hidden; position: relative; }
.col-img img { width: 100%; height: 260px; object-fit: cover; transition: transform .5s; }
.col-img:hover img { transform: scale(1.05); }
.col-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,40,50,.5) 0%, transparent 60%); }

/* ── PRODUCTS ── */
.prod-bg { background: #fff; }
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pcard {
  border: 1.5px solid var(--border); border-radius: 12px;
  overflow: hidden; background: #fff; transition: .22s; cursor: pointer;
}
.pcard:hover { border-color: var(--teal); box-shadow: 0 8px 28px rgba(0,155,171,.1); }
.pcard-img { height: 170px; overflow: hidden; position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pbadge {
  position: absolute; top: 9px; left: 9px;
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; letter-spacing: .04em; text-transform: uppercase;
}
.pbadge.pop { background: var(--teal); color: #fff; }
.pbadge.new { background: var(--accent); color: #fff; }
.pbadge.sale { background: #C9A84C; color: #fff; }
.pcard-help {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 20px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-l) 0%, #F0FAFB 100%);
}
.pcard-help-icon { width: 36px; height: 36px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; margin-bottom: 10px; }
.btn-wa-icon { width: 18px; height: 18px; flex-shrink: 0; display: block; fill: #fff; stroke: none; margin: 0; }
.pcard-help h4 { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; line-height: 1.3; }
.pcard-help p { font-size: 11.5px; color: var(--mid); margin-bottom: 14px; line-height: 1.5; }
.pinfo { padding: 13px 14px; }
.pbrand { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; }
.pinfo h3 { font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 3px; line-height: 1.35; }
.pdims { font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.pfoot { display: flex; align-items: center; justify-content: space-between; }
.pprice { font-size: 17px; font-weight: 800; color: var(--teal-d); }
.pprice small { font-size: 11px; font-weight: 400; color: var(--muted); }
.add-btn {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--teal); border: none; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s;
}
.add-btn:hover { background: var(--teal-d); transform: scale(1.06); }
.add-btn svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(90deg, var(--teal-dd) 0%, var(--teal) 100%);
  padding: 32px 28px; display: flex;
  align-items: center; justify-content: space-between; gap: 24px;
  max-width: 100%;
}
.cta-strip-inner {
  max-width: var(--fw); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-strip h2 { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.1px; }
.cta-strip p { color: rgba(255,255,255,.65); font-size: 13.5px; margin-top: 3px; }
.cta-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ── PROJECTS ── */
.proj-bg { background: var(--bg); }
.proj-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 12px;
}
.prj { border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; }
.prj:first-child { grid-row: span 2; }
.prj img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.prj:hover img { transform: scale(1.05); }
.prj-over {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,35,45,.7) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px 20px;
}
.prj-cat { font-size: 10px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.prj-t { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }

/* ── BRANDS ── */
.brands-bg { background: #fff; }
.brands-row {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden; background: #fff;
}
.br-item {
  min-width: 0;
  min-height: 128px;
  padding: 22px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  position: relative;
  border-right: 1px solid var(--border);
  text-decoration: none;
  background:
    radial-gradient(circle at top, rgba(0, 153, 171, .08), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.br-item:last-child { border-right: none; }
.br-item:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(0, 153, 171, .14);
  background:
    radial-gradient(circle at top, rgba(0, 153, 171, .12), transparent 58%),
    linear-gradient(180deg, #fff 0%, #f3fbfc 100%);
}
.br-logo {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.br-name {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--charcoal);
  line-height: 1.2;
  text-align: center;
}

/* ── QUOTE SECTION ── */
.quote-bg { background: var(--teal-l); border-top: 3px solid var(--teal); }
.quote-in {
  max-width: var(--fw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; padding: 64px 28px;
}
.qinfo h2 { font-size: 32px; font-weight: 800; color: var(--charcoal); line-height: 1.15; margin-bottom: 14px; letter-spacing: -.3px; }
.qinfo h2 em { color: var(--teal); font-style: normal; }
.qinfo p { color: var(--mid); font-size: 14.5px; font-weight: 300; line-height: 1.8; margin-bottom: 28px; }
.qfeats { display: flex; flex-direction: column; gap: 14px; }
.qf { display: flex; align-items: center; gap: 12px; }
.qf-i { width: 36px; height: 36px; border-radius: 8px; background: rgba(0,155,171,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qf-i svg { width: 17px; height: 17px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qf-tx b { display: block; font-size: 13.5px; font-weight: 600; color: var(--charcoal); }
.qf-tx span { font-size: 12px; color: var(--muted); }
.qform {
  background: #fff; border-radius: 16px; padding: 34px;
  border: 1.5px solid var(--border); box-shadow: 0 4px 24px rgba(0,155,171,.07);
}
.qform h3 { font-size: 21px; font-weight: 800; color: var(--charcoal); margin-bottom: 4px; }
.qform .sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 11px; }
.fg { display: flex; flex-direction: column; gap: 4px; }
.fg label { font-size: 11.5px; font-weight: 600; color: var(--mid); letter-spacing: .03em; }
.fg input, .fg select, .fg textarea {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 9px 13px; font-size: 13.5px; font-family: inherit;
  color: var(--charcoal); transition: .15s; background: var(--bg); outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--teal); background: #fff; }
.fg textarea { resize: vertical; min-height: 76px; }
.btn-submit {
  width: 100%; background: var(--teal); color: #fff;
  border: none; padding: 13px; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: .15s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--teal-d); }

/* ── FOOTER ── */
footer { background: var(--dark); color: #fff; padding: 52px 0 0; }
.foot-in {
  max-width: var(--fw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1.8fr 1fr 1fr;
  gap: 44px; padding: 0 28px;
}
.footer-logo-img { max-height: 81px; width: auto; display: block; }
.foot-desc { color: rgba(255,255,255,.38); font-size: 13px; line-height: 1.8; margin: 14px 0 22px; font-weight: 300; }
.soc { display: flex; gap: 7px; }
.soc a {
  width: 32px; height: 32px; border-radius: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); text-decoration: none; transition: .15s;
}
.soc a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.soc a svg { width: 14px; height: 14px; fill: currentColor; }
.fcol-2col .fcol-links { columns: 2; column-gap: 18px; }
.fcol h4 { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 14px; letter-spacing: .04em; }
.fcol a { display: block; color: rgba(255,255,255,.38); font-size: 13px; text-decoration: none; margin-bottom: 7px; transition: .15s; font-weight: 300; }
.fcol a:hover { color: var(--teal); }
.nl-form { display: flex; gap: 7px; margin-top: 11px; }
.nl-form input {
  flex: 1; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px; padding: 9px 13px;
  font-size: 13px; color: #fff; font-family: inherit; outline: none;
}
.nl-form input::placeholder { color: rgba(255,255,255,.28); }
.nl-form input:focus { border-color: var(--teal); }
.nl-form button {
  background: var(--teal); border: none; color: #fff;
  border-radius: 7px; padding: 9px 14px; cursor: pointer; transition: .15s;
  display: flex; align-items: center;
}
.nl-form button:hover { background: var(--teal-d); }
.nl-form button svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.foot-bot {
  padding: 22px 28px; border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 44px;
  max-width: var(--fw); margin-left: auto; margin-right: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.foot-bot p { color: rgba(255,255,255,.25); font-size: 11.5px; }
.pays { display: flex; gap: 6px; align-items: center; }
.pay {
  background: #fff; border: 1px solid #e0e0e0;
  border-radius: 6px; padding: 0 10px;
  height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pay-visa { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-style: italic; font-weight: 900; font-size: 17px; color: #1A1F71; letter-spacing: -0.5px; padding: 0 8px; }
.pay-amex { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 800; font-size: 11px; color: #016FD0; letter-spacing: 1.5px; padding: 0 8px; }
.pay-deuna { gap: 5px; font-size: 11px; font-weight: 700; color: #1a1a2e; padding: 0 9px; }

/* ── CART PANEL ── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 150;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.overlay.on { opacity: 1; pointer-events: all; }
.cart-pan {
  position: fixed; right: 0; top: 0; height: 100vh; width: 375px;
  background: #fff; z-index: 200;
  box-shadow: -6px 0 40px rgba(0,0,0,.14);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.cart-pan.on { transform: translateX(0); }
.cart-hd {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-hd h3 { font-size: 17px; font-weight: 800; color: var(--charcoal); display: flex; align-items: center; gap: 8px; }
.cart-hd h3 svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-cls {
  width: 30px; height: 30px; border-radius: 7px;
  border: 1.5px solid var(--border); background: none;
  cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--mid); transition: .15s;
}
.cart-cls:hover { border-color: var(--teal); color: var(--teal); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px 22px; }
.cart-loading { text-align: center; padding: 40px; color: var(--muted); font-size: 13px; }
.cart-ft { padding: 18px 22px; border-top: 1px solid var(--border); }
.cart-note { font-size: 11px; color: var(--muted); text-align: center; margin: 14px 0 12px; line-height: 1.5; }
.btn-chk {
  width: 100%; background: var(--teal); color: #fff;
  border: none; padding: 14px; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: .15s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-chk:hover { background: var(--teal-d); }
.ec-cart-items {
  display: grid;
  gap: .85rem;
}
.ec-cart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: .85rem;
  padding: .85rem;
  border-radius: 16px;
  background: #f7fbfb;
  border: 1px solid #dbe7e7;
}
.ec-cart-thumb {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
  background: #e6efef;
}
.ec-cart-main {
  min-width: 0;
}
.ec-cart-item h6 {
  margin: 0 0 .15rem 0;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  color: #16363a;
}
.ec-cart-sku {
  color: #6b7c80;
  font-size: .78rem;
  margin-bottom: .5rem;
}
.ec-inline-note {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #0f766e;
  font-size: .78rem;
  margin-bottom: .5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ec-cart-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  grid-column: 1 / -1;
  margin-top: .2rem;
}
.ec-cart-metrics span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .55rem .4rem;
  border-radius: 10px;
  background: #e7f4f2;
  border: 1px solid #c5e4e0;
  text-align: center;
  overflow: hidden;
}
.ec-cart-metrics strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0c5f59;
  line-height: 1.1;
}
.ec-cart-metrics small {
  font-size: .75rem;
  color: #4a9490;
  line-height: 1;
}
.ec-qty-control {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border-radius: 12px;
  padding: .25rem;
  border: 1px solid rgba(15,118,110,.14);
}
.ec-qty-control button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #eef7f6;
  color: #0f766e;
  font-weight: 700;
  cursor: pointer;
}
.ec-qty-control button:hover {
  background: #dff2ef;
}
.ec-qty-control span {
  min-width: 24px;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: #18363a;
}
.ec-cart-side {
  min-width: 88px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.ec-cart-side > strong {
  font-size: .95rem;
  color: #16363a;
}
.ec-price-compare {
  color: #7b8b90;
  text-decoration: line-through;
  font-size: .82rem;
}
.ec-cart-saving {
  color: #15803d;
  font-size: .75rem;
  margin-top: .15rem;
}
.ec-cart-remove {
  margin-top: .45rem;
  border: 0;
  background: transparent;
  color: #dc2626;
  padding: 0;
  font-size: .8rem;
  cursor: pointer;
}
.ec-cart-remove:hover {
  color: #b91c1c;
}
.ec-cart-totals {
  display: grid;
  gap: .45rem;
}
.ec-cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
  color: #38545b;
}
.ec-cart-total-row.total {
  margin-top: .2rem;
  padding-top: .65rem;
  border-top: 1px solid #dbe7e7;
  font-size: 1rem;
  font-weight: 700;
  color: #16363a;
}
.ec-cart-empty {
  padding: 1.2rem;
  border-radius: 16px;
  background: #f7fbfb;
  border: 1px solid #dbe7e7;
  text-align: center;
  color: #6b7c80;
}
.ec-cart-empty svg {
  width: 46px;
  height: 46px;
  margin: 0 auto .65rem;
  display: block;
  opacity: .32;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ── PROMOTIONAL MODAL ── */
.promo-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.promo-box {
  background: #fff; border-radius: 18px;
  max-width: 480px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  overflow: hidden; position: relative;
}
.promo-header {
  background: linear-gradient(135deg, var(--teal-dd) 0%, var(--teal) 100%);
  padding: 28px 28px 22px; text-align: center;
}
.promo-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.promo-header h2 { font-size: 28px; font-weight: 800; color: #fff; line-height: 1.15; }
.promo-body { padding: 22px 28px 28px; text-align: center; }
.promo-body p { color: var(--mid); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.promo-expires { font-size: 12px; color: var(--muted); margin-top: 14px; }
.promo-close {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; cursor: pointer;
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: .15s;
}
.promo-close:hover { background: rgba(255,255,255,.35); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  cursor: pointer; transition: .2s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── PAGE HEADER (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dd) 0%, var(--teal-d) 100%);
  padding: 52px 28px;
}
.page-hero-in { max-width: var(--fw); margin: 0 auto; }
.page-hero .breadcrumb { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 10px; display: flex; gap: 6px; align-items: center; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 8px; font-weight: 300; }

/* ── BLOG CARDS ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bcard { border-radius: 14px; overflow: hidden; border: 1.5px solid var(--border); background: #fff; transition: .22s; text-decoration: none; color: inherit; display: block; }
.bcard:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,155,171,.1); }
.bcard-img { height: 190px; overflow: hidden; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bcard:hover .bcard-img img { transform: scale(1.05); }
.bcard-body { padding: 18px; }
.bcard-tag { display: inline-block; background: var(--teal-l); color: var(--teal-d); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.bcard-body h3 { font-size: 16px; font-weight: 700; color: var(--charcoal); line-height: 1.35; margin-bottom: 8px; }
.bcard-body p { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 14px; }
.bcard-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }

/* ── CATALOG CARDS ── */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.catcard { border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; transition: .22s; }
.catcard:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(0,155,171,.1); }
.catcard-head { background: var(--teal-l); padding: 28px; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.catcard-head img { max-height: 70px; object-fit: contain; }
.catcard-head .brand-name { font-size: 22px; font-weight: 800; color: var(--teal-dd); letter-spacing: .05em; }
.catcard-body { padding: 18px; }
.catcard-body h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.catcard-body p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.pdf-list { display: flex; flex-direction: column; gap: 8px; }
.pdf-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  text-decoration: none; color: var(--charcoal); font-size: 13px; transition: .15s;
}
.pdf-item:hover { border-color: var(--teal); background: var(--teal-l); color: var(--teal-d); }
.pdf-item-l { display: flex; align-items: center; gap: 8px; }
.pdf-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── BRANCH CARDS ── */
/* Branch block layout (info card + map side by side) */
.branch-block {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 0;
}
.branch-info-card {
  border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px;
  background: #fff;
}
.branch-info-card h2 { font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 18px; }
.branch-map {
  border-radius: 14px; overflow: hidden;
  border: 1.5px solid var(--border);
  min-height: 320px;
}
.branch-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; }
.branch-divider { border: none; border-top: 1.5px solid var(--border); margin: 40px 0; }
.brcard-info { display: flex; flex-direction: column; gap: 12px; }
.br-row { display: flex; gap: 10px; font-size: 13.5px; color: var(--mid); align-items: flex-start; }
.br-row svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.brcard-actions { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }

/* ── BRAND PAGE ── */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brandcard {
  border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden;
  background: #fff; text-decoration: none; color: inherit; transition: .22s; display: block;
}
.brandcard:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,155,171,.1); }
.brandcard-head {
  background:
    radial-gradient(circle at top, rgba(0, 153, 171, .08), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
  padding: 28px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 176px;
}
.brandcard-logo {
  max-width: 100%;
  max-height: 74px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.brandcard-head .bname { font-size: 16px; font-weight: 800; color: var(--charcoal); letter-spacing: .05em; text-align: center; }
.brandcard-body { padding: 18px; border-top: 1px solid var(--border); }
.brandcard-body p { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 12px; }
.brandcard-tag { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }

/* ── NOTIFICATION TOAST ── */
.toast {
  position: fixed; bottom: 90px; right: 26px; z-index: 250;
  background: var(--charcoal); color: #fff;
  padding: 12px 18px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transform: translateY(20px); opacity: 0;
  transition: .3s ease; pointer-events: none;
  display: flex; align-items: center; gap: 9px;
  max-width: 280px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #1a7a4a; }
.toast.error { background: #b91c1c; }

/* ════════════════════════════════════════
   MODAL ENVÍOS
   ════════════════════════════════════════ */
.topbar-envios-btn {
  cursor: pointer;
  transition: color .15s, opacity .15s;
}
.topbar-envios-btn:hover { color: #fff !important; opacity: 1; }
.topbar-envios-arrow { opacity: .65; margin-left: -2px; }

.env-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.58); z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.env-box {
  background: #fff; border-radius: 20px;
  max-width: 620px; width: 100%;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  max-height: calc(100vh - 40px);
}
.env-header {
  background: linear-gradient(135deg, var(--teal-dd) 0%, var(--teal) 100%);
  padding: 32px 32px 26px; text-align: center; position: relative; flex-shrink: 0;
}
.env-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: none; cursor: pointer;
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: .15s;
}
.env-close:hover { background: rgba(255,255,255,.32); }
.env-header-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.15); margin: 0 auto 14px; color: #fff;
}
.env-header h2 { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 6px; line-height: 1.2; }
.env-subtitle { font-size: 13px; color: rgba(255,255,255,.78); margin: 0; }
.env-body {
  padding: 24px 28px 20px;
  display: flex; flex-direction: column; gap: 22px;
  overflow-y: auto; flex: 1;
}
.env-section { display: flex; flex-direction: column; gap: 14px; }
.env-section + .env-section {
  padding-top: 22px;
  border-top: 1.5px solid var(--border);
}
.env-section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
  width: fit-content;
}
.env-label-teal { background: var(--teal-l); color: var(--teal-dd); }
.env-label-accent { background: #FEF0EA; color: #C04A18; }
.env-meta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.env-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--charcoal);
}
.env-meta-item svg { color: var(--teal); flex-shrink: 0; }
.env-zonas { display: flex; flex-direction: column; gap: 8px; }
.env-zonas-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.env-zona-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.env-zona-tags span {
  background: var(--teal-l); color: var(--teal-dd);
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: 999px; border: 1px solid rgba(0,155,171,.18);
}
.env-xpress-card {
  background: var(--teal-l); border: 1.5px solid var(--teal);
  border-radius: 12px; padding: 14px 16px;
}
.env-xpress-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--teal-dd); margin-bottom: 5px;
}
.env-xpress-title svg { color: var(--teal); flex-shrink: 0; }
.env-xpress-card p { font-size: 12.5px; color: var(--mid); margin: 0; line-height: 1.55; }
.env-caps-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--charcoal);
  text-transform: uppercase; letter-spacing: .08em;
}
.env-caps-title svg { color: var(--teal); flex-shrink: 0; }
.env-caps { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.env-cap-card {
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 14px 10px; text-align: center;
  transition: border-color .15s, box-shadow .15s;
}
.env-cap-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(0,155,171,.1);
}
.env-cap-card--accent {
  border-color: var(--teal-l);
  background: linear-gradient(135deg, var(--teal-l) 0%, #F0FAFB 100%);
}
.env-cap-num { font-size: 22px; font-weight: 800; color: var(--teal-dd); line-height: 1; }
.env-cap-unit { font-size: 12px; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.env-cap-label { font-size: 11px; color: var(--muted); font-weight: 500; }
.env-free-banner {
  background: linear-gradient(90deg, #E8F7F2 0%, #D4F0E8 100%);
  border: 1.5px solid #52C28A; border-radius: 12px;
  padding: 13px 16px; display: flex; align-items: center; gap: 13px;
}
.env-free-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(82,194,138,.2); display: flex; align-items: center; justify-content: center;
  color: #2D8A5E;
}
.env-free-banner strong { display: block; font-size: 13.5px; font-weight: 700; color: #1a5c3c; }
.env-free-banner span { font-size: 12px; color: #2D8A5E; }
.env-nacional-card {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 18px 20px; display: flex; align-items: flex-start; gap: 16px;
}
.env-nacional-logo {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-l); display: flex; align-items: center; justify-content: center;
  color: var(--teal-dd);
}
.env-nacional-info h4 {
  font-size: 14.5px; font-weight: 700; color: var(--charcoal); margin: 0 0 10px;
}
.env-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.env-check-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--mid); line-height: 1.5;
}
.env-check-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.env-check-list li:nth-child(2) svg { color: var(--muted); }
.env-footer {
  border-top: 1.5px solid var(--border);
  padding: 16px 28px; display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); flex-shrink: 0; gap: 16px;
}
.env-footer p { margin: 0; font-size: 13px; color: var(--mid); font-weight: 500; }
.env-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; padding: 9px 18px;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .15s; white-space: nowrap;
  flex-shrink: 0;
}
.env-wa-btn:hover { background: #1fba59; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (768px–1023px)
   ════════════════════════════════════════ */
@media (max-width: 1023px) {
  .topbar-l .topbar-sep:first-of-type,
  .topbar-l span:last-child { display: none; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .search-wrap { display: none; }

  .hero { height: 440px; }
  .hero-content { padding: 0 32px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 24px; }

  .cat-grid { grid-template-columns: repeat(4, 1fr); }

  .col-ban-in { grid-template-columns: 1fr; }

  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .proj-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .prj:first-child { grid-row: span 1; }

  .foot-in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fcol-2col .fcol-links { columns: 1; }

  .quote-in { gap: 36px; }
  .qinfo h2 { font-size: 26px; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brandcard-head { min-height: 160px; }
  .brandcard-logo { max-height: 62px; }

  .cart-pan { width: 100%; }
  .branch-block { grid-template-columns: 1fr; }
  .branch-map { min-height: 300px; }
  .env-caps { grid-template-columns: repeat(2, 1fr); }
  .ccard-img { height: 95px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (<768px)
   ════════════════════════════════════════ */
@media (max-width: 767px) {
  .topbar { padding: 6px 16px; }
  .topbar-r { gap: 12px; }
  .topbar-r .topbar-sep { display: none; }
  .topbar-r a:not(:last-child) { display: none; }

  .nav-w { padding: 0 16px; gap: 12px; }
  .shop-btn {
    padding: 0 10px;
    gap: 6px;
    font-size: 12px;
  }
  .shop-btn span { display: none; }

  .hero { height: 380px; }
  .hero-content { padding: 0 20px; max-width: 100%; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13.5px; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .hstat-n { font-size: 22px; }
  .hero-pill { font-size: 10px; }

  .trust-wrap { padding: 0 16px; margin: 20px auto; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .titem { padding: 16px 18px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .col-ban-in { grid-template-columns: 1fr; }
  .col-text { padding: 32px 24px; }
  .col-imgs { grid-template-columns: repeat(3, 1fr); }
  .col-img img { height: 140px; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard-img { height: 140px; }
  .brands-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-item { min-height: 108px; }
  .br-logo { max-height: 50px; }
  .br-name { font-size: 12px; }

  .cta-strip { padding: 24px 20px; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-strip h2 { font-size: 18px; }

  .proj-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .prj { height: 200px; }
  .prj:first-child { grid-row: span 1; }

  .quote-in { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px; }
  .qinfo h2 { font-size: 24px; }
  .frow { grid-template-columns: 1fr; }

  .foot-in { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .foot-bot { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }

  .cart-pan { width: 100%; }
  .cart-body { padding: 14px 16px 18px; }
  .cart-ft { padding: 16px; }
  .ec-cart-item {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: .7rem;
  }
  .ec-cart-thumb {
    width: 66px;
    height: 66px;
  }
  .ec-cart-side {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .3rem .75rem;
    min-width: 0;
  }
  .ec-cart-side > strong {
    width: 100%;
    text-align: left;
  }
  .ec-price-compare,
  .ec-cart-saving {
    text-align: left;
  }
  .ec-cart-remove {
    margin-top: 0;
    margin-left: auto;
  }

  .blog-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .branch-block { grid-template-columns: 1fr; }
  .branch-map { min-height: 260px; }
  .branch-map iframe { min-height: 260px; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brandcard-head { min-height: 140px; padding: 22px 16px; }
  .brandcard-logo { max-height: 50px; }
  .brandcard-head .bname { font-size: 14px; }

  .sh { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stitle { font-size: 22px; }

  .promo-box { margin: 10px; }
  .promo-header h2 { font-size: 22px; }

  .env-box { border-radius: 16px; }
  .env-body { padding: 18px 18px 16px; gap: 18px; }
  .env-header { padding: 24px 20px 20px; }
  .env-header h2 { font-size: 19px; }
  .env-header-icon { width: 52px; height: 52px; margin-bottom: 10px; }
  .env-caps { gap: 7px; }
  .env-cap-num { font-size: 18px; }
  .env-footer { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 18px; }
  .env-wa-btn { width: 100%; justify-content: center; }

  section { padding: 40px 0; }
  .wrap { padding: 0 16px; }
}

/* ═══════════════════════════════════════════
   CATALOG REDESIGN V2 — MAGAZINE GALLERY
   ═══════════════════════════════════════════ */

/* Filter bar */
.cat-filter-wrap {
  position: sticky; top: 64px; z-index: 90;
  background: rgba(247,250,250,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.cat-filter-scroll {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 0;
  scrollbar-width: none;
}
.cat-filter-scroll::-webkit-scrollbar { display: none; }
.cat-filter-btn {
  flex-shrink: 0; padding: 7px 18px; border-radius: 999px;
  border: 1.5px solid var(--border); background: #fff;
  font: 600 12.5px/1 'Plus Jakarta Sans', sans-serif;
  color: var(--mid); cursor: pointer; transition: .18s; white-space: nowrap;
}
.cat-filter-btn.active, .cat-filter-btn:hover {
  background: var(--teal); border-color: var(--teal); color: #fff;
}

/* Main section */
.cat-main-section { padding: 0 0 64px; }

/* Brand group */
.cat-brand-group {
  margin-bottom: 52px;
  scroll-margin-top: 150px;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.cat-brand-group-focus {
  background: linear-gradient(180deg, rgba(0,155,171,.08) 0%, rgba(0,155,171,0) 100%);
  box-shadow: 0 0 0 1px rgba(0,155,171,.14);
  border-radius: 16px;
}
.cat-brand-hdr { padding: 36px 0 0; margin-bottom: 24px; }
.cat-brand-hdr-name {
  font-size: 28px; font-weight: 800; letter-spacing: .07em;
  color: var(--charcoal); text-transform: uppercase;
}
.cat-brand-hdr-desc { font-size: 13.5px; color: var(--muted); margin-top: 4px; max-width: 560px; }
.cat-brand-hdr-line { height: 2px; background: var(--border); margin-top: 20px; }

/* Books grid */
.cat-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px; margin-top: 4px;
}

/* Book card */
.cat-book {
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
}
.cat-book:hover { transform: translateY(-7px); box-shadow: 0 18px 44px rgba(0,0,0,.14); }

/* Cover area (ratio 3:4) */
.cat-book-cover {
  position: relative; padding-top: 133.3%; overflow: hidden;
  background: linear-gradient(145deg, var(--bc, #1a3a4a) 0%, #000 100%);
}
.cat-book-cover img, .cat-book-cover canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .35s;
}
.cat-book-cover canvas { opacity: 0; }

/* Skeleton placeholder */
.cat-thumb-skeleton {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px);
}
.cat-thumb-sk-brand {
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 14px;
}
.cat-thumb-sk-name { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.3; }

/* Overlay CTAs */
.cat-book-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,22,.88) 0%, rgba(10,20,22,.3) 60%, transparent 100%);
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end;
  gap: 8px; padding: 16px; opacity: 0; transition: opacity .22s;
}
.cat-book:hover .cat-book-overlay { opacity: 1; }
.cbo-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 16px; border-radius: 8px; font-size: 12.5px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: .15s;
}
.cbo-ver { background: var(--teal); color: #fff; }
.cbo-ver:hover { background: var(--teal-d); }
.cbo-dl { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.cbo-dl:hover { background: rgba(255,255,255,.28); }

/* Info strip */
.cat-book-info { padding: 12px 14px 14px; }
.cat-book-year { font-size: 10.5px; font-weight: 700; color: var(--teal); letter-spacing: .1em; }
.cat-book-title { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-top: 3px; line-height: 1.35; }

/* WhatsApp CTA */
.cat-wa-cta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 32px; padding: 28px; background: var(--teal-l); border-radius: 14px;
}
.cat-wa-cta-text { flex: 1; min-width: 200px; }
.cat-wa-cta-text strong { display: block; font-size: 17px; color: var(--charcoal); margin-bottom: 4px; }
.cat-wa-cta-text span { font-size: 13.5px; color: var(--mid); }

/* ═══════════════════════════════════════════
   PDF VIEWER MODAL
   ═══════════════════════════════════════════ */
.pdf-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.pdf-modal-backdrop {
  position: absolute; inset: 0; background: rgba(8,16,18,.88); cursor: pointer;
}
.pdf-modal-box {
  position: relative; z-index: 1; background: var(--dark);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  width: min(96vw, 1480px); height: min(94vh, 1200px); max-width: none; max-height: none;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.pdf-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: rgba(255,255,255,.05); flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pdf-modal-title { display: flex; flex-direction: column; gap: 2px; }
.pdf-modal-brand { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--teal); text-transform: uppercase; }
.pdf-modal-catname { font-size: 15px; font-weight: 700; color: #fff; }
.pdf-modal-actions { display: flex; align-items: center; gap: 10px; }
.pdf-modal-dl-btn {
  display: flex; align-items: center; gap: 6px; padding: 7px 14px;
  background: var(--teal); color: #fff; border-radius: 7px;
  font-size: 12px; font-weight: 700; text-decoration: none; transition: .15s;
}
.pdf-modal-dl-btn:hover { background: var(--teal-d); }
.pdf-modal-close {
  width: 34px; height: 34px; border-radius: 8px; border: none;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s;
}
.pdf-modal-close:hover { background: rgba(255,255,255,.2); color: #fff; }
.pdf-modal-viewer {
  display: flex; align-items: center; flex: 1; overflow: hidden; min-height: 0;
  padding: 16px 18px 10px; gap: 14px;
}
.pdf-canvas-wrap {
  flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: center;
  position: relative; min-height: 100%;
}
.pdf-canvas-wrap canvas {
  max-width: none;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
  border-radius: 8px;
}
.pdf-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: rgba(255,255,255,.5); font-size: 13px; background: var(--dark);
}
.pdf-spinner {
  width: 32px; height: 32px; border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--teal); border-radius: 50%; animation: pdfSpin .8s linear infinite;
}
@keyframes pdfSpin { to { transform: rotate(360deg); } }
.pdf-nav {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  border: none; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: .15s; align-self: center;
}
.pdf-nav:hover:not(:disabled) { background: rgba(255,255,255,.22); color: #fff; }
.pdf-nav:disabled { opacity: .25; cursor: not-allowed; }
.pdf-modal-footer {
  padding: 10px 20px; display: flex; align-items: center; gap: 14px;
  border-top: 1px solid rgba(255,255,255,.08); flex-shrink: 0;
}
#pdfPageInfo { font-size: 12px; color: rgba(255,255,255,.45); white-space: nowrap; }
.pdf-progress { flex: 1; height: 3px; background: rgba(255,255,255,.1); border-radius: 99px; }
.pdf-progress-bar { height: 100%; background: var(--teal); border-radius: 99px; transition: width .2s; }

/* Catalog V2 responsive */
@media (max-width: 1023px) {
  .cat-books-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
/* ════════════════════════════════════════
   MODAL NOSOTROS
   ════════════════════════════════════════ */
.nos-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(15,27,29,.72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.nos-box {
  background: #fff; border-radius: 18px;
  width: 100%; max-width: 700px; max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.25);
}
.nos-header {
  background: linear-gradient(135deg, var(--teal-dd) 0%, var(--teal) 100%);
  padding: 32px 28px 24px; text-align: center; position: relative; flex-shrink: 0;
}
.nos-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,.1); border: none; color: rgba(255,255,255,.7);
  width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: .15s;
}
.nos-close:hover { background: rgba(255,255,255,.2); color: #fff; }
.nos-title { font-size: 24px; font-weight: 800; color: #fff !important; margin: 0 0 6px; letter-spacing: .04em; }
.nos-subtitle { color: rgba(255,255,255,.7); font-size: 13px; margin: 0; font-weight: 300; }
.nos-body {
  overflow-y: auto; padding: 28px; flex: 1;
  display: flex; flex-direction: column; gap: 24px;
}
.nos-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nos-mv-card {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .2s;
}
.nos-mv-card:hover { box-shadow: 0 4px 20px rgba(0,155,171,.1); border-color: var(--teal); }
.nos-mv-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nos-icon-teal { background: var(--teal-l); color: var(--teal); }
.nos-icon-gold { background: #FFF7E6; color: #D97706; }
.nos-mv-card h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin: 0; }
.nos-mv-card p { font-size: 13.5px; color: var(--mid); line-height: 1.7; margin: 0; }
.nos-valores-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--charcoal);
  letter-spacing: .04em; text-transform: uppercase;
}
.nos-valores-header svg { color: var(--teal); }
.nos-valores-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nos-valor-card {
  background: var(--bg); border-radius: 12px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 8px;
  border: 1.5px solid transparent; transition: .2s;
}
.nos-valor-card:hover { border-color: var(--teal); background: var(--teal-l); }
.nos-valor-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.nos-valor-card h4 { font-size: 13.5px; font-weight: 700; color: var(--charcoal); margin: 0; }
.nos-valor-card p { font-size: 12.5px; color: var(--mid); line-height: 1.6; margin: 0; }
.nos-footer {
  border-top: 1.5px solid var(--border);
  padding: 16px 28px; display: flex; align-items: center;
  justify-content: space-between; background: var(--bg); flex-shrink: 0; gap: 16px;
}
.nos-footer p { margin: 0; font-size: 13px; color: var(--mid); font-weight: 500; }
.nos-footer-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff; padding: 9px 18px;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .15s; white-space: nowrap; flex-shrink: 0;
}
.nos-footer-btn:hover { background: var(--teal-d); }
@media (max-width: 600px) {
  .nos-mv-grid, .nos-valores-grid { grid-template-columns: 1fr; }
  .nos-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 767px) {
  .cat-filter-wrap { top: 56px; }
  .cat-books-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-brand-hdr-name { font-size: 22px; }
  .cat-book-overlay { opacity: 1; }
  .pdf-modal { padding: 0; }
  .pdf-modal-box { border-radius: 0; width: 100vw; height: 100dvh; }
  .pdf-nav { display: none; }
}
