@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");

:root {
  --primary-color: #bb2725;
  --primary-dark: #9c1f1d;
  --primary-light: #f8eaea;
  --secondary-color: #62989d;
  --secondary-dark: #4a777b;
  --secondary-light: #edf4f5;
  --ink-color: #102d3a;
  --ink-soft: #1c4152;
  --page-bg: #f8f5f5;
  --surface: #ffffff;
  --text-color: #16232a;
  --muted-color: #5b6a72;
  --border-color: #dde2e4;
  --band-grey: #f8f5f5;
  --font: "Lato", ui-sans-serif, system-ui, sans-serif;
  --edge: 0px;
  --rule: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--primary-color) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f2f4f5; }
::-webkit-scrollbar-thumb { background: var(--primary-color); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text-color);
  background: var(--page-bg);
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ink-color);
  margin: 0 0 .5em;
  line-height: 1.2;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: 80rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .wrap { padding-left: 2rem; padding-right: 2rem; } }

.band { padding-top: 4rem; padding-bottom: 4rem; }
.band-grey { background: var(--band-grey); padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .band { padding-top: 5.5rem; padding-bottom: 5.5rem; } }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(1, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(1, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.text-center { text-align: center; }

/* top bar */
.topbar { background: var(--primary-color); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 48px; gap: 1rem; }
.topbar a { color: #fff; }
.topbar a:hover { opacity: .75; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.topbar-left > * + * { border-left: 1px solid rgba(255,255,255,.25); padding-left: 1rem; }
.topbar .icon { width: 16px; text-align: center; }
@media (max-width: 1023px) { .topbar .topbar-left span, .topbar .topbar-right .social { display: none; } }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 50; transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 2px 14px -6px rgba(16,45,58,.22); }
.site-header .wrap { display: flex; align-items: center; height: 72px; gap: 1rem; }
.brand img { height: 44px; width: auto; }
.main-nav { display: none; flex: 1; justify-content: flex-end; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a.nav-link { position: relative; padding: .75rem .75rem; font-family: var(--font); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-color); white-space: nowrap; }
.main-nav a.nav-link:hover { color: var(--primary-color); }
.main-nav a.nav-link.active { color: var(--primary-color); }
.main-nav a.nav-link.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 0; height: 3px; background: var(--primary-color); }
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-color); position: relative; }
.icon-btn:hover { color: var(--primary-color); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; background: var(--primary-color); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.header-quote { display: none; }
@media (min-width: 1024px) { .header-quote { display: inline-flex; margin-left: .5rem; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.5rem; font-family: var(--font); font-weight: 700; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; border: 2px solid transparent; transition: background .18s, color .18s, border-color .18s; text-decoration: none; }
.btn-primary { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: #fff; }
.btn-ink { background: var(--ink-color); color: #fff; border-color: var(--ink-color); }
.btn-ink:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink-color); border-color: var(--border-color); }
.btn-ghost:hover { border-color: var(--ink-color); }
.btn-sm { padding: .5rem 1rem; font-size: .7rem; }
.btn-lg { padding: .95rem 2rem; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--primary-color); }
.btn-white:hover { background: #f2f4f5; }

/* mobile menu */
.menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-menu.open { display: block; }
.mobile-menu .backdrop { position: absolute; inset: 0; background: rgba(16,45,58,.7); }
.mobile-menu .panel { position: absolute; top: 0; left: 0; height: 100%; width: 86%; max-width: 24rem; background: #fff; display: flex; flex-direction: column; animation: slideIn .2s ease; }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.mobile-menu .panel-head { background: var(--primary-color); color: #fff; height: 64px; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .panel-head img { height: 36px; width: auto; }
.mobile-menu .panel-links { flex: 1; overflow-y: auto; }
.mobile-menu .panel-links a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); font-weight: 600; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-color); }
.mobile-menu .panel-links a:hover { background: #f2f4f5; color: var(--primary-color); }
.mobile-menu .panel-foot { padding: 1.25rem; border-top: 1px solid var(--border-color); display: grid; gap: .75rem; }

/* hero */
.hero { position: relative; background: var(--primary-color); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(187,39,37,.9), rgba(187,39,37,.7), rgba(187,39,37,.4)); }
.hero-inner { position: relative; padding: 3.5rem 0; text-align: center; }
.hero h1 { color: #fff; font-size: 2rem; font-weight: 900; letter-spacing: -.02em; display: inline-block; position: relative; padding: 1rem 1.5rem; }
.hero h1::before, .hero h1::after { content: ""; position: absolute; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.8); }
.hero h1::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero h1::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero p.lead { color: rgba(255,255,255,.85); max-width: 40rem; margin: 1rem auto 0; }
@media (min-width: 768px) { .hero-inner { padding: 5rem 0; } .hero h1 { font-size: 3rem; } }

/* home hero */
.home-hero { display: grid; grid-template-columns: 1fr; background: var(--ink-color); position: relative; }
@media (min-width: 1024px) { .home-hero { grid-template-columns: 1fr 1fr; } }
.home-hero .left { position: relative; padding: 5rem 0; overflow: hidden; background: var(--primary-color); color: #fff; display: flex; align-items: center; }
.home-hero .left .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.home-hero .left .veil { position: absolute; inset: 0; background: rgba(187,39,37,.85); }
.home-hero .left .content { position: relative; padding: 0 1.25rem; max-width: 34rem; }
@media (min-width: 768px) { .home-hero .left .content { padding: 0 2rem; } }
.home-hero h1 { color: #fff; font-size: 2rem; line-height: 1.08; font-weight: 900; border-left: 4px solid #fff; padding-left: 1.5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .home-hero h1 { font-size: 3rem; } }
.home-hero .left p { color: rgba(255,255,255,.85); }
.home-hero .right { display: none; position: relative; overflow: hidden; }
@media (min-width: 1024px) { .home-hero .right { display: block; } }
.home-hero .right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border-color); border-top: var(--rule) solid transparent; display: flex; flex-direction: column; transition: border-color .18s, box-shadow .18s, background .18s; }
.card:hover { border-top-color: var(--primary-color); box-shadow: 0 10px 28px -14px rgba(16,45,58,.28); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: #f2f4f5; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1rem; margin: 0; }
.card h3 a:hover { color: var(--primary-color); }

.price { font-size: 1.15rem; font-weight: 800; color: var(--primary-color); }
.price-unit { font-size: .75rem; color: var(--muted-color); font-weight: 500; }
.badge { display: inline-block; padding: .25rem .6rem; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.badge-primary { background: var(--primary-color); color: #fff; }
.badge-red { background: #ee212b; color: #fff; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head h2 { color: var(--primary-color); font-size: 1.5rem; margin: 0; }
@media (min-width: 768px) { .section-head h2 { font-size: 1.875rem; } }

/* panels/inputs */
.panel { background: var(--surface); border: 1px solid var(--border-color); }
.panel-head { padding: .875rem 1.25rem; border-bottom: 1px solid var(--border-color); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-color); }
.panel-body { padding: 1.25rem; }
.input, .select, .textarea { width: 100%; padding: .7rem .85rem; font-family: var(--font); font-size: .9rem; color: var(--text-color); background: var(--surface); border: 1px solid var(--border-color); transition: border-color .15s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary-color); outline: none; box-shadow: inset 0 -2px 0 0 var(--primary-color); }
.label { display: block; font-weight: 600; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-color); margin-bottom: .4rem; }

/* footer */
.site-footer { background: var(--ink-color); color: #b9c6cc; border-top: 4px solid var(--primary-color); margin-top: 5rem; }
.site-footer a { color: #b9c6cc; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .wrap { padding-top: 3.5rem; padding-bottom: 3.5rem; display: grid; gap: 2.5rem; grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 640px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .site-footer .wrap { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.footer-heading { font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 .6rem; }
.footer-rule { display: block; width: 32px; height: 3px; background: var(--primary-color); margin-bottom: 1rem; }
.footer-list li { padding: .3125rem 0; font-size: .875rem; }
.footer-contact li { display: flex; gap: .75rem; padding: .5rem 0; font-size: .875rem; }
.footer-contact i { color: var(--primary-color); margin-top: .2rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary-color); background: rgba(255,255,255,.08); transition: background .15s, color .15s; }
.footer-social a:hover { background: var(--secondary-color); color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 1.25rem 0; font-size: .75rem; color: rgba(255,255,255,.5); }

/* whatsapp */
.wa-btn { position: fixed; right: 1rem; bottom: 1rem; z-index: 9990; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 10px 28px -14px rgba(16,45,58,.6); }
.wa-btn:hover { background: #1fb958; }
.wa-panel { position: fixed; right: 1rem; bottom: 5rem; z-index: 9991; width: calc(100% - 2rem); max-width: 20rem; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -12px rgba(0,0,0,.25); display: none; }
.wa-panel.open { display: block; }
.wa-head { background: #128c7e; color: #fff; padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.wa-head .name { font-weight: 700; font-size: .875rem; line-height: 1.2; }
.wa-head .status { font-size: .7rem; opacity: .8; }
.wa-body { padding: 1rem; background: #e5ddd3; }
.wa-msg { background: #fff; padding: .75rem; border-radius: 12px; border-top-left-radius: 0; font-size: .875rem; }
.wa-compose { padding: .75rem; border-top: 1px solid var(--border-color); display: flex; gap: .5rem; align-items: flex-end; }
.wa-compose textarea { flex: 1; padding: .5rem .75rem; font-size: .875rem; resize: none; border: 1px solid var(--border-color); border-radius: 12px; font-family: var(--font); }
.wa-send { width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.wa-send:hover { background: #1fb958; }

/* search */
.search-bar { display: none; border-top: 1px solid var(--border-color); background: #f2f4f5; }
.search-bar.open { display: block; }
.search-bar form { padding: 1.25rem; display: flex; gap: .5rem; }

/* utility */
.muted { color: var(--muted-color); }
.small { font-size: .875rem; }
.stack-3 > * + * { margin-top: .75rem; }
.stack-4 > * + * { margin-top: 1rem; }
.stack-6 > * + * { margin-top: 1.5rem; }

/* gallery */
.gallery-tab { padding: .55rem .9rem; border: 1px solid var(--border-color); background: #fff; font-weight: 700; font-size: .8rem; }
.gallery-tab.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.gallery-item { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f2f4f5; border: 1px solid var(--border-color); padding: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(16,45,58,.4); }
.gallery-play span { width: 56px; height: 56px; background: var(--primary-color); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(16,45,58,.92); display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox .close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; background: var(--primary-color); color: #fff; display: flex; align-items: center; justify-content: center; }

.hb { position: relative; display: inline-block; padding: 1rem 1.5rem; }
.hb::before, .hb::after { content: ""; position: absolute; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.8); }
.hb::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hb::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.overlay { position: relative; overflow: hidden; }
.overlay img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay .veil { position: absolute; inset: 0; background: var(--primary-color); opacity: .92; }
.overlay .inner { position: relative; padding: 3.5rem 0; }