/* ============================================================
   Ferretería Sánchez — Style
   Industrial / Robust · Safety Orange + Steel Gray + Tool Blue
   Fonts: Oswald (títulos) · Roboto (cuerpo)
   NAV: Top horizontal bar (NOT sidebar)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --orange: #FF6F00;
  --orange-light: #FFA040;
  --orange-dark: #E65100;
  --gray: #546E7A;
  --gray-light: #78909C;
  --gray-dark: #37474F;
  --blue: #1565C0;
  --blue-light: #1E88E5;
  --blue-dark: #0D47A1;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --warm-white: #FAFAFA;
  --gray-100: #ECEFF1;
  --gray-200: #CFD8DC;
  --gray-600: #607D8B;
  --gray-800: #455A64;
  --black: #263238;
  --font-display: 'Oswald', 'Impact', 'Arial Black', sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --container: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 3px;
  --transition: .25s ease;
  --header-h: 64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus-visible { color: var(--orange-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .02em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- Container --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* --- Industrial divider --- */
.ind-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 2.5rem 0; color: var(--gray-200);
}
.ind-divider::before, .ind-divider::after {
  content: ''; flex: 1; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-200) 0, var(--gray-200) 8px, transparent 8px, transparent 14px);
}
.ind-divider .bolt {
  width: 12px; height: 12px; background: var(--orange);
  border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 2px var(--orange-dark);
}

/* ============================================================
   TOP NAVIGATION BAR
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 1000;
  background: var(--gray-dark);
  display: flex; align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.topbar__stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--orange);
}
.topbar__inner {
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar__logo a { display: flex; align-items: center; }
.topbar__logo svg { height: 38px; width: auto; }
.topbar__nav {
  display: flex; align-items: center; gap: 0;
}
.topbar__nav a {
  display: block; padding: .5rem 1rem;
  color: rgba(255,255,255,.8); font-family: var(--font-display);
  font-size: .85rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; transition: all var(--transition);
  position: relative;
}
.topbar__nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--orange); transition: all var(--transition);
  transform: translateX(-50%);
}
.topbar__nav a:hover, .topbar__nav a.active {
  color: var(--white);
}
.topbar__nav a:hover::after, .topbar__nav a.active::after {
  width: 70%;
}
.topbar__phone {
  color: var(--orange-light); font-family: var(--font-display);
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
}
.topbar__phone:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none; position: fixed; top: 12px; right: 1rem;
  z-index: 1100; width: 44px; height: 44px;
  background: var(--orange); border-radius: var(--radius);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--white);
  transition: all var(--transition);
}
.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 menu overlay */
.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--gray-dark); z-index: 999;
  flex-direction: column; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: .85rem 0; color: rgba(255,255,255,.85);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--orange); }

.main-content { padding-top: var(--header-h); min-height: 100vh; }

@media (max-width: 900px) {
  .topbar__nav { display: none; }
  .topbar__phone { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   HERO — Full-width industrial banner
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--gray-dark) 0%, #263238 60%, var(--orange-dark) 100%);
  padding: clamp(4rem,10vw,7rem) 0 clamp(3rem,8vw,5rem);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,111,0,.06) 20px,
    rgba(255,111,0,.06) 22px
  );
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero__tag {
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase; color: var(--orange-light);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4rem); color: var(--white);
  line-height: 1.05; margin-bottom: 1.25rem;
}
.hero__accent {
  width: 60px; height: 4px; background: var(--orange);
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.15rem); color: rgba(255,255,255,.75);
  max-width: 44ch; margin-bottom: 2rem; line-height: 1.7;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em;
  border: 2px solid var(--orange); border-radius: var(--radius);
  transition: all var(--transition);
}
.hero__cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.hero__visual {
  position: relative;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__visual-text {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
  color: rgba(255,255,255,.85); text-align: center; padding: 2rem;
  text-transform: uppercase; letter-spacing: .1em;
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 400px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(3rem,6vw,5rem) 0; }
.section--alt { background: var(--gray-100); }
.section--dark { background: var(--gray-dark); color: var(--white); }
.section__tag {
  font-family: var(--font-display); font-size: .75rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--orange);
  margin-bottom: .5rem;
}
.section__title {
  font-size: clamp(1.75rem,4vw,2.5rem); margin-bottom: .5rem;
}
.section--dark .section__title { color: var(--white); }
.section__lead {
  font-size: 1.05rem; color: var(--gray-600); max-width: 60ch; margin-bottom: 2rem;
}
.section--dark .section__lead { color: rgba(255,255,255,.65); }

/* --- Product cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  border-color: var(--orange); box-shadow: 0 4px 20px rgba(255,111,0,.12);
}
.product-card__img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.9); text-align: center;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 1rem;
}
.product-card__img--herramientas {
  background: linear-gradient(135deg, var(--gray) 0%, var(--gray-dark) 100%);
}
.product-card__img--construccion {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}
.product-card__img--electrico {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}
.product-card__img--pintura {
  background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
}
.product-card__img--plomeria {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
}
.product-card__img--seguridad {
  background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black) 100%);
}
.product-card__body { padding: 1.25rem; }
.product-card__cat {
  font-family: var(--font-display); font-size: .7rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--orange);
  margin-bottom: .25rem;
}
.product-card__name {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--black); margin-bottom: .25rem;
  text-transform: uppercase;
}
.product-card__desc { font-size: .82rem; color: var(--gray-600); margin-bottom: .5rem; }
.product-card__price {
  font-family: var(--font-display); font-size: 1.35rem;
  font-weight: 700; color: var(--orange);
}
.product-card__price small { font-size: .6em; font-weight: 400; color: var(--gray-600); }
.product-card__cta {
  display: inline-block; margin-top: .75rem; padding: .45rem 1.1rem;
  border: 2px solid var(--orange); color: var(--orange);
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  border-radius: var(--radius); transition: all var(--transition);
}
.product-card__cta:hover { background: var(--orange); color: var(--white); }

/* --- Price board (industrial style) --- */
.price-board {
  background: var(--gray-dark); color: var(--white); padding: 2.5rem;
  border-radius: var(--radius); position: relative; overflow: hidden;
  border-left: 4px solid var(--orange);
}
.price-board__title {
  font-family: var(--font-display); color: var(--orange-light);
  font-size: 1.3rem; margin-bottom: 1.5rem; text-transform: uppercase;
  letter-spacing: .1em;
}
.price-board__list { display: flex; flex-direction: column; gap: .6rem; }
.price-board__item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.price-board__item-name { font-size: .9rem; color: rgba(255,255,255,.8); }
.price-board__item-price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; color: var(--orange-light); white-space: nowrap;
}

/* Catalog controls */
.catalog-controls {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
  align-items: center;
}
.catalog-search {
  flex: 1; min-width: 200px; padding: .65rem 1rem;
  border: 2px solid var(--gray-200); border-radius: var(--radius);
  font-size: .95rem; font-family: var(--font-body);
  transition: border-color var(--transition);
}
.catalog-search:focus { outline: none; border-color: var(--orange); }
.catalog-filter, .catalog-sort {
  padding: .65rem 1rem; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: .9rem;
  font-family: var(--font-body); background: var(--white); cursor: pointer;
}
.catalog-filter:focus, .catalog-sort:focus { outline: none; border-color: var(--orange); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow var(--transition);
  background: var(--white);
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.blog-card__img {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.9); text-align: center;
  text-transform: uppercase; letter-spacing: .08em; padding: 1rem;
}
.blog-card__body { padding: 1.25rem; }
.blog-card__date {
  font-size: .75rem; color: var(--gray-600); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: .35rem;
}
.blog-card__title {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--black); margin-bottom: .5rem; text-transform: uppercase;
}
.blog-card__excerpt { font-size: .9rem; color: var(--gray-600); margin-bottom: .75rem; line-height: 1.6; }
.blog-card__link { font-weight: 600; font-size: .85rem; color: var(--orange); text-transform: uppercase; font-family: var(--font-display); letter-spacing: .04em; }

/* Blog article */
.article-header { margin-bottom: 2rem; }
.article-header__date { font-size: .8rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: .1em; }
.article-header__title { font-size: clamp(1.75rem,4vw,2.5rem); margin: .5rem 0; }
.article-body { max-width: 680px; }
.article-body p { margin-bottom: 1.25rem; }
.article-body h2 { font-size: 1.35rem; margin: 2rem 0 1rem; }
.article-body h3 { font-size: 1.1rem; margin: 1.5rem 0 .75rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.25rem 1.5rem; }
.article-body li { margin-bottom: .4rem; list-style: disc; }
.article-body .article-img-placeholder {
  margin: 1.5rem 0; border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.9); text-transform: uppercase; letter-spacing: .08em;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  cursor: pointer; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.9); text-align: center;
  text-transform: uppercase; letter-spacing: .08em;
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  border: none; padding: 0; background: rgba(0,0,0,.92);
  max-width: 90vw; max-height: 90vh; border-radius: var(--radius);
}
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox__content {
  display: flex; align-items: center; justify-content: center;
  min-width: 300px; min-height: 200px;
  padding: 2rem;
  font-family: var(--font-display); font-size: 1rem;
  color: rgba(255,255,255,.8); text-transform: uppercase;
}
.lightbox__close {
  position: absolute; top: .5rem; right: .5rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: var(--white);
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-family: var(--font-display); font-size: .85rem;
  font-weight: 500; color: var(--black); margin-bottom: .35rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .7rem 1rem; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: .95rem; transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-privacy {
  font-size: .8rem; color: var(--gray-600); margin-bottom: 1rem;
}
.btn-submit {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em;
  border: 2px solid var(--orange);
  border-radius: var(--radius); transition: all var(--transition);
}
.btn-submit:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; text-align: left; padding: 1.25rem 0;
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 600; color: var(--black); text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer;
}
.faq-question::after {
  content: '+'; font-size: 1.4rem; color: var(--orange);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  font-size: .95rem; color: var(--gray-600); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 1.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-dark); color: rgba(255,255,255,.7);
  padding: clamp(2.5rem,5vw,4rem) 0 1.5rem; font-size: .88rem; line-height: 1.7;
  border-top: 4px solid var(--orange);
}
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: var(--orange-light); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.footer__heading {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--orange-light); margin-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.footer__social {
  display: flex; gap: .75rem; margin-top: .75rem;
}
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); transition: all var(--transition);
}
.footer__social a:hover { border-color: var(--orange); background: var(--orange); }
.footer__social svg { width: 18px; height: 18px; fill: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem; font-size: .78rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
}
.footer__legal a { margin-right: 1rem; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--gray-dark); color: var(--off-white);
  padding: 1rem var(--pad); z-index: 9000;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 1rem;
  font-size: .88rem; box-shadow: 0 -2px 12px rgba(0,0,0,.25);
  border-top: 3px solid var(--orange);
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--orange-light); text-decoration: underline; }
.cookie-btn {
  padding: .55rem 1.5rem; font-family: var(--font-display);
  font-weight: 600; font-size: .85rem; text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: var(--radius); border: 2px solid; transition: all var(--transition);
}
.cookie-btn--accept { background: var(--orange); color: var(--white); border-color: var(--orange); }
.cookie-btn--accept:hover { background: var(--orange-dark); }
.cookie-btn--reject { background: transparent; color: var(--off-white); border-color: rgba(255,255,255,.3); }
.cookie-btn--reject:hover { border-color: var(--white); color: var(--white); }

/* ============================================================
   FLOATING BUTTONS (WhatsApp + Phone)
   ============================================================ */
.floating-btns {
  position: fixed; bottom: 5.5rem; right: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem; z-index: 8000;
}
.floating-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,.25); transition: transform var(--transition);
}
.floating-btn:hover { transform: scale(1.1); }
.floating-btn--wa { background: #25D366; }
.floating-btn--phone { background: var(--blue); }
.floating-btn svg { width: 26px; height: 26px; fill: var(--white); }

/* ============================================================
   CHATBOT
   ============================================================ */
.chatbot-toggle {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,.3); z-index: 8500;
  font-size: 1.5rem; transition: background var(--transition);
}
.chatbot-toggle:hover { background: var(--orange-dark); }
.chatbot-panel {
  position: fixed; bottom: 5rem; right: 1.25rem;
  width: 350px; max-height: 480px; background: var(--white);
  border: 2px solid var(--gray-200); border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15); z-index: 8500;
  display: none; flex-direction: column; overflow: hidden;
}
.chatbot-panel.open { display: flex; }
.chatbot-header {
  background: var(--gray-dark); color: var(--white);
  padding: .85rem 1rem; display: flex; align-items: center;
  justify-content: space-between; font-family: var(--font-display);
  font-weight: 600; text-transform: uppercase; font-size: .9rem;
  letter-spacing: .04em; border-top: 3px solid var(--orange);
}
.chatbot-header button { color: var(--white); font-size: 1.2rem; }
.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: .75rem;
  max-height: 300px;
}
.chat-msg {
  max-width: 85%; padding: .6rem .9rem; border-radius: 8px;
  font-size: .88rem; line-height: 1.5;
}
.chat-msg--bot {
  align-self: flex-start; background: var(--gray-100);
  color: var(--black); border-bottom-left-radius: 2px;
}
.chat-msg--user {
  align-self: flex-end; background: var(--orange);
  color: var(--white); border-bottom-right-radius: 2px;
}
.chatbot-quick {
  padding: .5rem 1rem; display: flex; flex-wrap: wrap; gap: .4rem;
  border-top: 1px solid var(--gray-200);
}
.chatbot-quick button {
  padding: .35rem .75rem; font-size: .78rem;
  border: 1px solid var(--gray-200); border-radius: 20px;
  background: var(--white); color: var(--gray);
  font-family: var(--font-body);
  transition: all var(--transition);
}
.chatbot-quick button:hover { border-color: var(--orange); color: var(--orange); }
.chatbot-input {
  display: flex; border-top: 1px solid var(--gray-200);
}
.chatbot-input input {
  flex: 1; padding: .7rem 1rem; border: none; font-size: .9rem;
  font-family: var(--font-body);
}
.chatbot-input input:focus { outline: none; }
.chatbot-input button {
  padding: 0 1rem; background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  text-transform: uppercase;
}

/* ============================================================
   LEGAL / INFO PAGES
   ============================================================ */
.legal-content { max-width: 760px; }
.legal-content h1 { font-size: clamp(1.75rem,4vw,2.5rem); margin-bottom: 1.5rem; }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; color: var(--black); }
.legal-content h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.legal-content p { margin-bottom: 1rem; color: var(--gray-800); }
.legal-content ul, .legal-content ol { margin: .75rem 0 1rem 1.5rem; }
.legal-content li { margin-bottom: .35rem; list-style: disc; color: var(--gray-800); }
.legal-content a { text-decoration: underline; }

/* ============================================================
   404
   ============================================================ */
.page-404 {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 3rem var(--pad);
}
.page-404__code { font-family: var(--font-display); font-size: 7rem; color: var(--orange); line-height: 1; font-weight: 700; }
.page-404__title { font-size: 1.5rem; margin: 1rem 0; }
.page-404__link { margin-top: 1rem; }

/* ============================================================
   MAP
   ============================================================ */
.map-container { position: relative; width: 100%; padding-top: 56.25%; margin: 1.5rem 0; }
.map-container iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0; border-radius: var(--radius);
}
.map-fallback {
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gray-100); border-radius: var(--radius);
  font-size: .95rem; color: var(--gray-600); text-align: center; padding: 1rem;
}

/* ============================================================
   QUOTER (cotizador)
   ============================================================ */
.quoter {
  background: var(--gray-100); border: 2px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
}
.quoter__title {
  font-family: var(--font-display); font-size: 1.2rem; color: var(--black);
  text-transform: uppercase; margin-bottom: 1rem;
}
.quoter__row {
  display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem;
  flex-wrap: wrap;
}
.quoter__row label {
  font-size: .9rem; font-weight: 500; min-width: 180px;
}
.quoter__row input[type="number"] {
  width: 80px; padding: .45rem .6rem; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: .9rem; text-align: center;
}
.quoter__row input[type="number"]:focus { outline: none; border-color: var(--orange); }
.quoter__row .quoter__price {
  font-family: var(--font-display); font-weight: 700; color: var(--orange);
  font-size: 1rem; min-width: 80px;
}
.quoter__total {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 2px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: baseline;
}
.quoter__total-label { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; text-transform: uppercase; }
.quoter__total-amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--orange); }
.quoter__wa {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem; padding: .7rem 1.5rem;
  background: #25D366; color: var(--white);
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  border-radius: var(--radius); font-size: .85rem;
  transition: background var(--transition);
}
.quoter__wa:hover { background: #1da851; color: var(--white); }

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .chatbot-panel { width: calc(100vw - 2rem); right: 1rem; left: 1rem; }
  .floating-btns { bottom: 5rem; right: 1rem; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .quoter__row { flex-direction: column; align-items: flex-start; gap: .4rem; }
}
