/* =============================================================
   T-DURA — Premium static rebuild
   Archetype: Glassmorphism Modern → adapted to industrial red
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f4f5f7;   /* warm concrete off-white */
  --bg-2:      #eceef1;
  --paper:     #ffffff;
  --ink:       #0d141b;   /* near-black, slightly cool */
  --ink-soft:  #2b3640;
  --ink-mute:  #6a7682;
  --accent:    #f30f0a;   /* T-Dura red */
  --accent-2:  #c40d08;   /* deep red */
  --accent-tint: rgba(243,15,10,0.08);
  --line:      rgba(13,20,27,0.10);
  --line-2:    rgba(13,20,27,0.06);
  --shadow:    0 24px 60px -28px rgba(13,20,27,0.45);
  --shadow-sm: 0 12px 30px -18px rgba(13,20,27,0.4);

  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --r-card: 22px;            /* asymmetric brand radius */
  --r-asym: 22px 0 22px 0;   /* signature top-left / bottom-right */
  --gutter: clamp(1.2rem, 4vw, 3.5rem);
  --maxw: 1240px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: #fff; z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

.section { padding-block: clamp(3.6rem, 8vw, 7rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-top: .8rem; }
.section-head p { color: var(--ink-mute); margin-top: 1rem; font-size: 1.05rem; }
.section--alt { background: var(--paper); }

/* brand blocks (productos overview) */
.brand-block + .brand-block { margin-top: clamp(3rem, 7vw, 5rem); }
.brand-more-row { margin-top: clamp(1.8rem, 4vw, 2.6rem); display: flex; justify-content: center; }
.back-row { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }

/* product detail page */
.pd { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.pd-figure { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3; }
.pd-figure img { width: 100%; height: 100%; object-fit: cover; }
.pd-info > .prod-cat { font-size: .76rem; }
.pd-info h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-top: .5rem; }
.pd-desc { margin-top: 1.2rem; color: var(--ink-mute); font-size: 1.05rem; }
.pd-desc p + p { margin-top: .9rem; }
.pd-ficha { margin-top: 1.8rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); }
.pd-ficha h3 { font-size: 1.15rem; }
.pd-ficha p { color: var(--ink-mute); font-size: .95rem; margin: .5rem 0 1.1rem; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.pd-figure--ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-2), var(--bg)); }
.pd-figure--ph .pd-ph-label { color: var(--ink-mute); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.pd-figure--contain { background: #fff; }
.pd-figure--contain img { object-fit: contain; padding: clamp(14px, 3vw, 28px); box-sizing: border-box; }
@media (min-width: 860px) { .pd { grid-template-columns: 1.05fr 1fr; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }   /* defensive */
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.7rem; font-weight: 600; font-size: .98rem;
  border-radius: 16px 0 16px 0; transition: transform .35s var(--ease-out), background .35s, color .35s, box-shadow .35s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 26px -14px rgba(243,15,10,.7); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-3px); box-shadow: 0 20px 34px -14px rgba(243,15,10,.75); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* =============================================================
   5. Header / nav
   ============================================================= */
.topbar {
  background: var(--ink); color: #cdd6df;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color .3s; }
.topbar a:hover { color: #fff; }
.topbar .topbar-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.topbar-social { display: flex; gap: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .4s, background .4s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -20px rgba(13,20,27,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { position: relative; font-weight: 500; font-size: .98rem; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--accent-2); }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: .6rem; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s, opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px);
  background: var(--paper); z-index: 200; padding: 6rem 2rem 2rem;
  transform: translateX(100%); transition: transform .45s var(--ease-out);
  box-shadow: -30px 0 60px -30px rgba(13,20,27,.5); display: flex; flex-direction: column; gap: .3rem;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu a { padding: .9rem 0; font-size: 1.15rem; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 1.4rem; }
.menu-backdrop { position: fixed; inset: 0; background: rgba(13,20,27,.45); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 150; }
.menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,12,17,.92) 0%, rgba(8,12,17,.74) 42%, rgba(8,12,17,.30) 100%);
}
.hero-mesh {
  position: absolute; inset: -20%; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(40% 50% at 18% 30%, rgba(243,15,10,.55), transparent 70%);
  filter: blur(80px); animation: meshFloat 16s ease-in-out infinite;
}
@keyframes meshFloat { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6%,4%,0) scale(1.15); } }
.hero-inner { color: #fff; padding-block: 4rem; max-width: 720px; }
.hero .eyebrow { color: #ff7b77; }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); margin: 1.1rem 0 1.3rem; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: #ff5b56; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.84); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stat .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1; }
.hero-stat .num em { font-style: normal; color: #ff5b56; }
.hero-stat .lbl { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: .4rem; }

/* =============================================================
   7. About
   ============================================================= */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--r-card); box-shadow: var(--shadow); }
.about-media .badge {
  position: absolute; left: -10px; bottom: -18px; background: var(--accent); color: #fff;
  padding: 1.1rem 1.4rem; border-radius: 16px 0 16px 0; box-shadow: var(--shadow-sm); max-width: 220px;
}
.about-media .badge strong { display: block; font-size: 1.9rem; line-height: 1; }
.about-media .badge span { font-size: .82rem; opacity: .92; }
/* Partners card — ferreterías y aliados comerciales */
.partners-card {
  position: relative;
  background: linear-gradient(180deg, var(--paper), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-asym);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.4rem);
  overflow: hidden;
}
.partners-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.partners-title {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 2rem; text-align: center;
}
.partners-title span { color: var(--accent); display: block; }
.partners-grid {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(2, 1fr);
}
.partners-grid li {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 74px; padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em; line-height: 1.4;
  color: var(--ink-soft); text-transform: uppercase;
  text-wrap: balance;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), color .35s var(--ease-out);
}
.partners-grid li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 460px) { .partners-grid { grid-template-columns: 1fr; } }

.about-copy h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: .8rem 0 1.1rem; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-points { display: grid; gap: .8rem; margin-top: 1.6rem; }
.about-points li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.about-points svg, .about-points .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: .2rem; }

/* =============================================================
   8. Product grid
   ============================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.prod-card {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-card);
  overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s; will-change: transform;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.prod-figure { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.prod-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.prod-card:hover .prod-figure img { transform: scale(1.07); }
.prod-body { padding: 1.1rem 1.2rem 1.3rem; }
.prod-cat { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.prod-body h3 { font-size: 1.08rem; margin-top: .4rem; }
.prod-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-weight: 600; font-size: .9rem; color: var(--ink); transition: gap .3s, color .3s; }
.prod-card:hover .prod-link { color: var(--accent); gap: .7rem; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.cat-tabs h3 { width: 100%; font-size: 1.2rem; margin-top: 1.4rem; }

/* =============================================================
   9. Benefits
   ============================================================= */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.benefit-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 2rem 1.7rem; transition: transform .4s var(--ease-out), box-shadow .4s; }
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.benefit-icon {
  width: 76px; height: 76px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; margin-bottom: 1.3rem; box-shadow: 0 14px 26px -14px rgba(243,15,10,.7);
}
.benefit-icon img { width: 38px; height: 38px; filter: brightness(0) invert(1); }
.benefit-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.benefit-card p { color: var(--ink-mute); font-size: .96rem; }

/* =============================================================
   10. Distributors band
   ============================================================= */
.band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle, rgba(243,15,10,.35), transparent 65%); filter: blur(60px); }
.band .eyebrow { color: #ff7b77; }
.band h2 { color: #fff; }
.band .section-head p { color: rgba(255,255,255,.7); }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.channel-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-card); padding: 1.8rem 1.6rem; transition: transform .4s var(--ease-out), background .4s; }
.channel-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.channel-card .n { font-size: .85rem; font-weight: 700; color: var(--accent); }
.channel-card h3 { color: #fff; font-size: 1.3rem; margin: .5rem 0 .6rem; }
.channel-card p { color: rgba(255,255,255,.66); font-size: .96rem; }

/* =============================================================
   11. Promo numbered list
   ============================================================= */
.promo-list { display: grid; gap: 1rem; }
.promo-item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.6rem 1.8rem; transition: transform .4s var(--ease-out), box-shadow .4s; }
.promo-item:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.promo-item .n { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.promo-item h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.promo-item p { color: var(--ink-mute); }

/* =============================================================
   12. CTA + form
   ============================================================= */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; border-radius: var(--r-card); padding: clamp(2.4rem, 6vw, 4.5rem); }
.cta::after { content: ""; position: absolute; right: -8%; bottom: -60%; width: 50%; height: 160%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.8rem); max-width: 18ch; }
.cta p { color: rgba(255,255,255,.86); margin-top: 1rem; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.contact-info { display: grid; gap: 1.3rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; }
.contact-line .ico { flex: none; width: 46px; height: 46px; border-radius: 14px 0 14px 0; background: var(--accent-tint); display: grid; place-items: center; }
.contact-line .ico img, .contact-line .ico svg { width: 20px; height: 20px; }
.contact-line h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: .15rem; }
.contact-line p, .contact-line a { color: var(--ink-soft); font-weight: 500; }
.contact-line a:hover { color: var(--accent); }

.form { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; margin-top: .4rem; }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: .9rem; text-align: center; }
.form-success { display: none; align-items: center; gap: .6rem; background: var(--accent-tint); color: var(--accent-2); padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; margin-bottom: 1rem; }
.form-success.is-on { display: flex; }
.form-error { display: none; align-items: center; gap: .6rem; background: #fdecec; color: #b42318; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; margin-bottom: 1rem; }
.form-error.is-on { display: flex; }

/* =============================================================
   13. Newsletter strip + footer
   ============================================================= */
.site-footer { background: var(--ink); color: #aeb8c2; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; gap: 2.4rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 42px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .95rem; max-width: 32ch; }
.footer-brand .socials { display: flex; gap: .8rem; margin-top: 1.3rem; }
.footer-brand .socials a { width: 40px; height: 40px; border-radius: 12px 0 12px 0; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .3s, transform .3s; }
.footer-brand .socials a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-brand .socials svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .35rem 0; font-size: .95rem; transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: #fff; padding-left: .3rem; }
.newsletter p { font-size: .95rem; margin-bottom: 1rem; }
.newsletter form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 180px; padding: .8rem 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff; font: inherit; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter button { padding: .8rem 1.4rem; background: var(--accent); color: #fff; border-radius: 12px 0 12px 0; font-weight: 600; transition: background .3s, transform .3s; }
.newsletter button:hover { background: #fff; color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: .85rem; }

/* =============================================================
   14. Breadcrumb / page hero (inner pages)
   ============================================================= */
.page-hero { position: relative; background: var(--ink); color: #fff; padding-block: clamp(3rem, 8vw, 5.5rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -5%; top: -60%; width: 50%; height: 200%; background: radial-gradient(circle, rgba(243,15,10,.4), transparent 65%); filter: blur(70px); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-top: .8rem; }
.page-hero .crumbs { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 1rem; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs span { color: var(--accent); margin-inline: .5rem; }

/* =============================================================
   14b. Business lines (3 cards)
   ============================================================= */
.lines-grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); grid-template-columns: 1fr; }
.line-card {
  position: relative; min-height: 320px; border-radius: var(--r-card); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem;
  color: #fff; isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .5s;
}
.line-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.line-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease-out); }
.line-card:hover img { transform: scale(1.07); }
.line-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,12,17,.15) 0%, rgba(8,12,17,.55) 55%, rgba(8,12,17,.92) 100%); }
.line-card .line-tag { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ff7b77; }
.line-card h3 { color: #fff; font-size: 1.6rem; margin: .5rem 0 .5rem; }
.line-card p { color: rgba(255,255,255,.82); font-size: .96rem; }
.line-card .line-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-weight: 600; font-size: .95rem; color: #fff; transition: gap .3s; }
.line-card:hover .line-link { gap: .8rem; }
.line-card .line-link::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

/* =============================================================
   14c. Machinery cards
   ============================================================= */
.maq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.maq-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s; }
.maq-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.maq-figure { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); position: relative; }
.maq-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.maq-figure a { display: block; width: 100%; height: 100%; }
.maq-figure--contain { background: #fff; }
.maq-figure--contain img { object-fit: contain; padding: 14px; box-sizing: border-box; }
.maq-body h3 a { color: inherit; text-decoration: none; }
.maq-card:hover .maq-body h3 a { color: var(--accent); }
.maq-figure--ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-2), var(--bg)); }
.maq-ph-label { color: var(--ink-mute); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.maq-card:hover .maq-figure img { transform: scale(1.06); }
.maq-figure .tag { position: absolute; z-index: 2; top: .8rem; left: .8rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 10px 0 10px 0; }
.maq-body { padding: 1.2rem 1.3rem 1.4rem; }
.maq-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.maq-body p { color: var(--ink-mute); font-size: .94rem; }
.maq-specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.maq-specs span { font-size: .78rem; color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line-2); padding: .25rem .6rem; border-radius: 8px; }
.maq-body .prod-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--ink); transition: gap .3s, color .3s; }
.maq-card:hover .prod-link { color: var(--accent); gap: .7rem; }
.placeholder-note { font-size: .82rem; color: var(--ink-mute); background: var(--accent-tint); border-radius: 12px; padding: .8rem 1.1rem; display: inline-flex; gap: .5rem; align-items: center; }

/* =============================================================
   14d. Project gallery
   ============================================================= */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.proj-card { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3; isolation: isolate; }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease-out); }
.proj-card:hover img { transform: scale(1.08); }
.proj-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8,12,17,.85) 100%); }
.proj-card .proj-meta { position: absolute; left: 0; bottom: 0; padding: 1.4rem; color: #fff; transform: translateY(8px); opacity: .96; transition: transform .4s var(--ease-out); }
.proj-card:hover .proj-meta { transform: none; }
.proj-card .proj-cat { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ff7b77; }
.proj-card h3 { color: #fff; font-size: 1.25rem; margin-top: .3rem; }
.proj-card .proj-loc { color: rgba(255,255,255,.78); font-size: .88rem; margin-top: .2rem; }

/* =============================================================
   14e. Process steps (turnkey)
   ============================================================= */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); counter-reset: step; }
.step-card { position: relative; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 2rem 1.6rem 1.6rem; }
.step-card .step-n { width: 44px; height: 44px; border-radius: 12px 0 12px 0; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step-card p { color: var(--ink-mute); font-size: .94rem; }

@media (min-width: 720px) { .lines-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   15. WhatsApp float
   ============================================================= */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 120; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .35s var(--ease-out); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 300; transition: width .1s linear; }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .about-grid { grid-template-columns: 1fr 1.1fr; }
  .about-grid.rev .about-media { order: 2; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .footer-top { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; }
  .cta-flex { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .wa-float::after { animation: none; }
  .band::before { animation: none; }
}

/* Lista de fichas por variante (productos con múltiples variantes) */
.pd-ficha .doc-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem;}
.pd-ficha .doc-list a{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:600;padding:.42rem .75rem;border:1px solid var(--line-2);border-radius:9px;color:var(--ink-soft);transition:border-color .2s,color .2s;}
.pd-ficha .doc-list a:hover{border-color:var(--accent);color:var(--accent);}
