/* =========================================================
   Melamina para cada espacio - Hoja de estilos principal
   ========================================================= */
:root {
  --orange: #F26A1B;
  --orange-2: #F7931E;
  --orange-soft: #FDEEE3;
  --brown: #5A2D14;
  --brown-dark: #3A1C0C;
  --ink: #2B1A10;
  --text: #5B4A3F;
  --muted: #8A7262;
  --line: #EDE3DA;
  --cream: #FBF6F1;
  --white: #FFFFFF;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(58, 28, 12, .06);
  --shadow: 0 14px 40px rgba(58, 28, 12, .10);
  --shadow-lg: 0 24px 60px rgba(58, 28, 12, .16);
  --grad: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 100%);
  --header-h: 84px;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  touch-action: pan-x pan-y;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.ico, .ico-wa { flex-shrink: 0; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(242, 106, 27, .28); }
.btn--primary:hover { box-shadow: 0 14px 30px rgba(242, 106, 27, .38); }
.btn--outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--outline:hover { background: var(--brown); color: #fff; }
.btn--light { background: #fff; color: var(--brown); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .30); }
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 14px 30px rgba(37, 211, 102, .40); }
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ===== Encabezado ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(58, 28, 12, .08); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 54px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; font-family: var(--font-head); font-weight: 500;
  color: var(--ink); font-size: 16px; transition: color .2s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--orange); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px;
  width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--brown); cursor: pointer;
}

/* ===== Menú lateral móvil ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: rgba(43, 26, 16, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #fff;
  padding: 22px; display: flex; flex-direction: column; gap: 18px;
  transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__head img { height: 42px; width: auto; }
.menu-close { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--brown); cursor: pointer; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 17px;
}
.mobile-menu li a .ico { color: var(--orange); }
.mobile-menu li a.is-active { color: var(--orange); }

/* ===== Slider (solo imágenes, imagen completa) ===== */
.hero-slider { position: relative; width: 100%; overflow: hidden; background: var(--cream); transition: height .45s var(--ease); }
.hero-slider__track { display: flex; align-items: flex-start; transition: transform .9s var(--ease); will-change: transform; }
.hero-slider__slide { flex-shrink: 0; }
.hero-slider__slide img { width: 100%; height: auto; display: block; }

/* ===== Secciones ===== */
.section { padding: 96px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--brown { background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%); color: rgba(255, 255, 255, .85); }
.section--brown h2, .section--brown h3 { color: #fff; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.section-title__line { display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--grad); margin: 0 auto 18px; }
.section-title p { font-size: 17px; color: var(--muted); margin: 0; }
.section--brown .section-title p { color: rgba(255, 255, 255, .78); }
.section-actions { text-align: center; margin-top: 48px; }

/* ===== Quiénes somos ===== */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about__text h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.about__sub { font-family: var(--font-head); color: var(--orange); font-weight: 600; font-size: 18px; margin-bottom: 14px; }
.about__line { display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--grad); margin: 0 0 22px; }
.about__text .rich p { font-size: 16.5px; }
.about__text .btn { margin-top: 10px; }
.section--wood { overflow: hidden; }
.section--wood__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.section--wood__overlay { position: absolute; inset: 0; }
.section--wood > .container { position: relative; z-index: 2; }
.section--wood .about__text h2 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.section--wood .about__sub { color: #FFD6B0; }
.section--wood .about__line { background: linear-gradient(120deg, #FFB067, #FFFFFF); }
.section--wood .about__text .rich p { color: rgba(255, 255, 255, .92); }
.section--wood .btn--light { color: var(--brown); box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.section--wood .btn--light:hover { background: var(--orange); color: #fff; }
.section--wood .about__media img { box-shadow: 0 28px 60px rgba(0, 0, 0, .4); }
.about__media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 5; }

/* ===== Tarjetas de servicio (sin íconos) ===== */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.scard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(242, 106, 27, .35); }
.scard__link { display: flex; flex-direction: column; height: 100%; }
.scard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.06); }
.scard__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.scard__body h3 { font-size: 20px; margin-bottom: 10px; }
.scard__body p { font-size: 15px; color: var(--muted); flex: 1; }
.scard__more, .pcard__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--orange); font-size: 15px; }
.scard__more .ico, .pcard__more .ico { transition: transform .3s var(--ease); }
.scard:hover .scard__more .ico, .pcard:hover .pcard__more .ico { transform: translateX(5px); }

/* ===== Tarjetas de producto ===== */
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(242, 106, 27, .35); }
.pcard__link { display: flex; flex-direction: column; height: 100%; }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__cat { font-size: 13px; font-weight: 600; color: var(--orange); }
.pcard__body h3 { font-size: 18px; margin: 0; flex: 1; }

/* ===== Categorías ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; display: block; box-shadow: var(--shadow-sm); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 28, 12, 0) 35%, rgba(58, 28, 12, .86) 100%); transition: background .4s; }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile:hover::after { background: linear-gradient(180deg, rgba(242, 106, 27, .15) 20%, rgba(58, 28, 12, .9) 100%); }
.cat-tile__name { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-tile__name h3 { color: #fff; font-size: 20px; margin: 0; }
.cat-tile__name small { display: block; font-size: 13px; opacity: .85; font-family: var(--font-body); font-weight: 500; }
.cat-tile__name .ico { width: 38px; height: 38px; padding: 9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); transition: background .3s, border-color .3s; }
.cat-tile:hover .cat-tile__name .ico { background: var(--orange); border-color: var(--orange); }

/* ===== Recuadros con ícono (sin fondo, centrados) ===== */
.feature {
  text-align: center; padding: 38px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; height: 100%;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(242, 106, 27, .4); }
.feature__icon { display: flex; justify-content: center; color: var(--orange); margin-bottom: 18px; }
.feature__icon .ico { transition: transform .4s var(--ease); }
.feature:hover .feature__icon .ico { transform: scale(1.1); }
.feature h3 { font-size: 20px; margin-bottom: 10px; text-align: center; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; text-align: center; }
.section--brown .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.section--brown .feature:hover { background: rgba(255, 255, 255, .09); border-color: rgba(247, 147, 30, .7); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.section--brown .feature__icon { color: var(--orange-2); }
.section--brown .feature p { color: rgba(255, 255, 255, .75); }

/* ===== Llamado a la acción de ancho completo ===== */
.cta { position: relative; padding: 110px 0; overflow: hidden; color: #fff; text-align: center; }
.cta__bg { position: absolute; inset: -20px; background-size: cover; background-position: center; transform: scale(1.04); }
.cta__overlay { position: absolute; inset: 0; }
.cta__inner { position: relative; z-index: 2; max-width: 820px; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 14px; }
.cta p { font-size: 18px; color: rgba(255, 255, 255, .9); margin-bottom: 32px; }

/* ===== Encabezado de páginas internas ===== */
.page-hero { position: relative; padding: 110px 0 100px; color: #fff; overflow: hidden; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: heroZoom 14s ease-out both; }
.page-hero__overlay { position: absolute; inset: 0; }
.page-hero__inner { position: relative; z-index: 2; max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 14px; }
.page-hero p { font-size: 18px; color: rgba(255, 255, 255, .9); margin: 0 auto; max-width: 680px; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 500; }

/* ===== Nosotros ===== */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ===== Catálogo ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filters a {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500;
  font-size: 15px; color: var(--ink); transition: all .25s;
}
.filters a:hover { border-color: var(--orange); color: var(--orange); }
.filters a.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(242, 106, 27, .25); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); }

/* ===== Detalle de producto / servicio ===== */
.detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.gallery__main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.gallery__main img { width: 100%; height: auto; transition: opacity .25s; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumbs button {
  width: 88px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--line);
  padding: 0; cursor: pointer; background: none; transition: border-color .2s;
}
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--orange); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail__info { position: sticky; top: calc(var(--header-h) + 24px); }
.detail__cat { display: inline-block; font-size: 14px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.detail__info h1 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.detail__lead { font-size: 17px; color: var(--text); }
.detail__price { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--brown); margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check-list .ico { color: var(--orange); margin-top: 2px; }
.detail__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.detail__box h2 { font-size: 20px; margin-bottom: 16px; }
.detail__note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.detail__desc { margin-top: 64px; max-width: 860px; }
.detail__desc h2 { font-size: 26px; }
.rich p { margin-bottom: 1em; }
.rich h2 { font-size: 22px; margin: 1.6em 0 .5em; }
.rich ul { padding-left: 20px; margin: 0 0 1em; }
.rich li { margin-bottom: 6px; }
.packages { display: grid; gap: 16px; margin: 24px 0; }
.package { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.package h3 { font-size: 17px; margin: 0 0 4px; }
.package p { margin: 0; font-size: 14.5px; color: var(--muted); }
.package strong { font-family: var(--font-head); color: var(--orange); white-space: nowrap; }

/* ===== Carrusel infinito ===== */
.marquee { overflow: hidden; position: relative; padding: 10px 0 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 24px; padding-right: 24px; }
.marquee__item { width: 300px; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Contacto y formularios ===== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.contact-item:hover { border-color: rgba(242, 106, 27, .4); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-item .ico, .contact-item .ico-wa { color: var(--orange); margin-top: 2px; }
.contact-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; }
.contact-item span, .contact-item a { font-size: 15px; color: var(--text); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242, 106, 27, .12); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--orange); flex-shrink: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-card { flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; background: var(--cream); }
.radio-card input { accent-color: var(--orange); margin-top: 5px; }
.radio-card strong { display: block; color: var(--ink); }
.radio-card small { color: var(--muted); font-size: 13px; line-height: 1.5; display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 15px; border: 1px solid; display: flex; gap: 12px; align-items: flex-start; }
.alert--ok { background: #EEF9F1; border-color: #BFE6CB; color: #1E6B3A; }
.alert--error { background: #FDF0EC; border-color: #F3C7B6; color: #9A3412; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0 0 24px; background: #fff; }
.fieldset legend { font-family: var(--font-head); font-weight: 700; color: var(--brown); font-size: 18px; padding: 0 10px; }
.provider-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; font-size: 15px; }
.provider-data strong { display: block; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* ===== Textos legales ===== */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }

/* ===== Pie de página ===== */
.site-footer { background: var(--brown-dark); color: rgba(255, 255, 255, .72); padding-top: 80px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.site-footer h3 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.site-footer__brand img { height: 62px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 340px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--orange-2); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico, .footer-contact .ico-wa { color: var(--orange-2); margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: #fff; transition: background .25s, border-color .25s, transform .25s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.libro-link { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; transition: transform .25s var(--ease), box-shadow .25s; }
.libro-link:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.libro-link img { width: 130px; height: auto; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-links a:hover { color: var(--orange-2); }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease), background .25s;
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waPulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ===== Barra inferior tipo app ===== */
.app-bar { display: none; }

/* ===== Aviso de cookies ===== */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 430px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; gap: 16px; align-items: center;
  transform: translateY(20px); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.cookie-bar.is-visible { transform: none; opacity: 1; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.55; }
.cookie-bar a { color: var(--orange); font-weight: 600; }

/* ===== Animaciones al hacer scroll ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track, .page-hero__bg, .wa-float::before { animation: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .main-nav a { padding: 10px 10px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .main-nav, .header-wa { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 44px; }
  .section { padding: 72px 0; }
  .about, .detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail__info { position: static; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .provider-data { grid-template-columns: 1fr; }

  .app-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(58, 28, 12, .08);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .app-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; font-size: 12px; font-weight: 600; color: var(--muted); border-radius: 12px; transition: color .2s; position: relative; }
  .app-bar a.is-active { color: var(--orange); }
  .app-bar a.is-active::before { content: ''; position: absolute; top: -9px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
  .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); right: 16px; width: 54px; height: 54px; }
  .cookie-bar { left: 12px; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); max-width: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 38px; }
  .grid--2, .grid--3, .grid--4, .mv-grid { grid-template-columns: 1fr; }
  .grid--products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid--products .pcard__body { padding: 14px; }
  .grid--products .pcard__body h3 { font-size: 15px; }
  .grid--products .pcard__more { font-size: 13.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .fieldset { padding: 22px 18px; }
  .page-hero { padding: 76px 0 70px; }
  .page-hero p, .cta p { font-size: 16px; }
  .cta { padding: 80px 0; }
  .btn--lg { padding: 16px 24px; font-size: 16px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .site-footer__bottom-inner { flex-direction: column; text-align: center; }
  .legal-links { justify-content: center; }
  .marquee__item { width: 250px; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { flex-shrink: 0; }
  .detail__desc { margin-top: 44px; }
}
