/* ════════════════════════════════════
   CORPERSA — Estilos principales
   ════════════════════════════════════ */

:root {
  --primary: #1a4a5a;
  --accent: #c9a84c;
  --light: #f7f4ef;
  --white: #fff;
  --dark: #1e1e1e;
  --gray: #6b6b6b;
  --border: #e0d8cc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--dark); overflow-x: hidden; }

/* ── CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 99999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--accent); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid rgba(201,168,76,0.5);
  transition: width .3s, height .3s, border-color .3s;
}
body.cur-hover .cursor-ring { width: 54px; height: 54px; border-color: var(--accent); }

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; z-index: 99997; background: var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; transition: opacity .7s, visibility .7s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #fff; letter-spacing: .12em; }
.loader-logo span { color: var(--accent); }
.loader-sub { color: rgba(255,255,255,.45); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.loader-prog { height: 100%; background: var(--accent); width: 0%; border-radius: 2px; animation: loadProg 1.4s ease forwards; }
@keyframes loadProg { to { width: 100%; } }

/* ── NAV ── */
nav {
  background: rgba(255,255,255,.88); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(224,216,204,.5);
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
  transition: background .3s, box-shadow .3s;
}
nav.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 4px 30px rgba(0,0,0,.09); }
.nav-logo img { height: 58px; object-fit: contain; filter: brightness(0) saturate(100%); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--dark); font-size: .87rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0%; height: 2px; background: var(--accent); transition: width .3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
  padding: 20px 5% 30px; z-index: 199;
  border-bottom: 1px solid var(--border);
  transform: translateY(-10px); opacity: 0; transition: transform .3s, opacity .3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a {
  display: block; padding: 13px 0; font-weight: 500; color: var(--dark);
  text-decoration: none; border-bottom: 1px solid var(--border); font-size: .95rem;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(140deg, #0d2f3b 0%, var(--primary) 45%, #1e5f75 100%);
  color: #fff; padding: 130px 5% 110px;
  min-height: 92vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
}
.hero-lines {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px,
    rgba(201,168,76,.03) 40px, rgba(201,168,76,.03) 41px);
}
.hero-grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .04; }
.hero-grid-lines::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent) 1px, transparent 1px) 0 0 / 80px 80px,
              linear-gradient(var(--accent) 1px, transparent 1px) 0 0 / 80px 80px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.18) 0%, transparent 70%);
  animation: orbPulse 6s ease-in-out infinite;
}
.hero-orb-1 { width: 620px; height: 620px; top: -160px; right: -160px; }
.hero-orb-2 { width: 420px; height: 420px; bottom: -110px; left: -110px; animation-delay: 3s; }
@keyframes orbPulse { 0%,100%{transform:scale(1);opacity:.7} 50%{transform:scale(1.12);opacity:1} }
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle { position: absolute; background: var(--accent); border-radius: 50%; animation: floatUp linear infinite; opacity: 0; }
@keyframes floatUp { 0%{transform:translateY(110%);opacity:0} 10%{opacity:.2} 90%{opacity:.15} 100%{transform:translateY(-10%);opacity:0} }
.hero-logo-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(820px,95%); height: auto; opacity: .22;
  filter: blur(3px) brightness(10); pointer-events: none; z-index: 1;
  user-select: none; animation: logoPulse 8s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100%{opacity:.22; transform:translate(-50%,-50%) scale(1)}
  50%{opacity:.30; transform:translate(-50%,-50%) scale(1.04)}
}
.hero-content { position: relative; z-index: 2; max-width: 840px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.45);
  color: var(--accent); padding: 7px 22px; border-radius: 50px;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 32px; animation: fadeInDown .7s ease both;
}
.hero-badge::before { content: '✦'; }
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.6rem,5.5vw,4.4rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 24px;
  animation: fadeInUp .8s ease .2s both;
}
.hero h1 em { font-style: normal; color: var(--accent); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px;
}
.hero p {
  font-size: 1.12rem; line-height: 1.9; color: rgba(255,255,255,.78);
  margin-bottom: 44px; animation: fadeInUp .8s ease .4s both;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp .8s ease .6s both; }
.btn-hero {
  background: var(--accent); color: #fff; padding: 16px 44px; border-radius: 6px;
  text-decoration: none; font-weight: 600; letter-spacing: .05em; font-size: .94rem;
  transition: all .25s; display: inline-block;
}
.btn-hero:hover { background: #b8922e; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,168,76,.4); }
.btn-hero-outline {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45);
  padding: 16px 44px; border-radius: 6px; text-decoration: none;
  font-weight: 500; font-size: .94rem; transition: all .25s; display: inline-block;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-3px); }
.hero-features { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 52px; animation: fadeInUp .8s ease .8s both; }
.hero-feat { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: .84rem; }
.hero-feat .feat-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.4); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; animation: fadeIn 1.2s 1s both;
}
.scroll-line { width: 1px; height: 42px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollAnim 1.6s ease-in-out infinite; }
@keyframes scrollAnim { 0%,100%{opacity:.4;height:42px} 50%{opacity:1;height:52px} }

/* ── STATS ── */
.stats-section { background: var(--primary); padding: 52px 5%; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 32px; max-width: 940px; margin: 0 auto; text-align: center; }
.stat-item { color: #fff; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.7rem; font-weight: 700; color: var(--accent); display: block; line-height: 1; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }

/* ── SECTIONS ── */
section { padding: 90px 5%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; color: var(--accent); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--primary); margin-bottom: 14px; }
.section-header p { color: var(--gray); font-size: 1rem; max-width: 580px; margin: 0 auto; line-height: 1.78; }
.divider { width: 50px; height: 3px; background: linear-gradient(90deg, var(--accent), #e8c96a); margin: 18px auto 0; border-radius: 2px; }
.bg-light { background: var(--light); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-38px); transition: opacity .7s, transform .7s; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(38px); transition: opacity .7s, transform .7s; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── GRIDS ── */
.productos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 28px; max-width: 1200px; margin: 0 auto; }
.telas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 20px; max-width: 1300px; margin: 0 auto; }

/* ── CARD ── */
.prod-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: box-shadow .4s, transform .4s;
  position: relative; display: flex; flex-direction: column; cursor: pointer;
}
.prod-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; transition: opacity .3s;
  z-index: 1; pointer-events: none;
}
.prod-card:hover::before { opacity: 1; }
.prod-card:hover { box-shadow: 0 22px 55px rgba(26,74,90,.13); transform: translateY(-6px); }
.prod-img-wrap { overflow: hidden; height: 220px; position: relative; }
.telas-grid .prod-img-wrap { height: 170px; }
.prod-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.prod-card:hover .prod-img-wrap img { transform: scale(1.08); }
.prod-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; padding: 4px 13px; border-radius: 50px; font-size: .71rem; font-weight: 600; letter-spacing: .08em; z-index: 2; }
.prod-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }
.prod-body p { font-size: .84rem; color: var(--gray); line-height: 1.75; flex: 1; margin-bottom: 16px; }
.prod-footer { display: flex; gap: 8px; }
.btn-ver {
  flex: 1; text-align: center; background: linear-gradient(135deg, var(--primary), #2a6a80);
  color: #fff; padding: 10px 14px; border-radius: 6px; font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; border: none; cursor: pointer; transition: opacity .2s, transform .2s;
  font-family: 'Inter', sans-serif;
}
.btn-ver:hover { opacity: .88; transform: translateY(-1px); }
.btn-cotizar-mini {
  background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 6px;
  font-size: .82rem; font-weight: 600; white-space: nowrap; border: none; cursor: pointer;
  transition: background .2s, transform .2s; font-family: 'Inter', sans-serif;
}
.btn-cotizar-mini:hover { background: #b8922e; transform: translateY(-1px); }

/* ── VER MÁS TELAS ── */
.telas-cat { margin-bottom: 64px; }
.telas-cat-title {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--primary);
  padding-bottom: 12px; border-bottom: 2px solid var(--accent);
  display: inline-block; margin-bottom: 24px;
}
.telas-collapsed .prod-card:nth-child(n+5) { display: none; }
.ver-mas-wrap { text-align: center; margin-top: 24px; }
.btn-ver-mas {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid var(--primary); color: var(--primary);
  padding: 10px 28px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: all .25s; font-family: 'Inter', sans-serif; letter-spacing: .04em;
}
.btn-ver-mas:hover { background: var(--primary); color: #fff; }
.btn-ver-mas .arrow { transition: transform .3s; display: inline-block; }
.btn-ver-mas.open .arrow { transform: rotate(180deg); }

/* ── RESULTADOS — SCROLL HORIZONTAL ── */
.resultados-track-wrap {
  position: relative; overflow: hidden;
  max-width: 1300px; margin: 0 auto;
}
.resultados-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-behavior: smooth; padding: 10px 4px 24px;
  scrollbar-width: none;
}
.resultados-track::-webkit-scrollbar { display: none; }
.resultado-card {
  flex-shrink: 0; width: 300px; height: 220px; border-radius: 14px;
  overflow: hidden; border: 1px solid var(--border);
  background: var(--light); position: relative;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.resultado-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(26,74,90,.14); }
.resultado-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.resultado-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--border); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
}
.resultado-placeholder .ph-icon { font-size: 2.2rem; opacity: .4; }
.scroll-btns { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.scroll-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; cursor: pointer; font-size: 1.2rem; display: flex;
  align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
  color: var(--primary);
}
.scroll-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.08); }

/* ── PROCESO ── */
.proceso-section { max-width: 900px; margin: 0 auto; }
.proceso-step { display: flex; gap: 28px; align-items: flex-start; position: relative; padding-bottom: 40px; }
.proceso-step:last-child { padding-bottom: 0; }
.proceso-step::before { content: ''; position: absolute; left: 24px; top: 54px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), transparent); }
.proceso-step:last-child::before { display: none; }
.paso-num { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #2a6a80); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; border: 3px solid var(--accent); box-shadow: 0 4px 16px rgba(26,74,90,.25); }
.paso-content { padding-top: 10px; }
.paso-content h4 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--primary); margin-bottom: 6px; }
.paso-content p { font-size: .88rem; color: var(--gray); line-height: 1.75; }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, var(--primary), #0d2f3b); color: #fff; text-align: center; padding: 100px 5%; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(201,168,76,.1) 0%, transparent 60%); }
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: 16px; }
.cta-section p { opacity: .82; font-size: 1rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.78; }
.btn-cta { background: var(--accent); color: #fff; padding: 16px 46px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .04em; transition: all .25s; display: inline-block; }
.btn-cta:hover { background: #b8922e; transform: translateY(-3px); box-shadow: 0 12px 36px rgba(201,168,76,.35); }

/* ── FOOTER ── */
footer { background: #0d1f26; color: rgba(255,255,255,.5); text-align: center; padding: 32px 5%; font-size: .82rem; }
footer strong { color: var(--accent); }

/* ── WA FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 998; background: #25D366; width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 28px rgba(37,211,102,.45); text-decoration: none; transition: transform .3s; animation: pulse-wa 2.5s infinite; }
.wa-float:hover { transform: scale(1.12); animation: none; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse-wa { 0%,100%{box-shadow:0 6px 28px rgba(37,211,102,.45)} 50%{box-shadow:0 6px 42px rgba(37,211,102,.78)} }
.wa-tooltip { position: absolute; right: 74px; bottom: 12px; background: #0d1f26; color: #fff; padding: 7px 16px; border-radius: 20px; font-size: .8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-float:hover .wa-tooltip { opacity: 1; }
.back-top { position: fixed; bottom: 28px; left: 28px; z-index: 998; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(26,74,90,.3); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; }
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: #2a6a80; }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; backdrop-filter: blur(4px); }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(780px,100%); background: #fff; z-index: 1001; transform: translateX(100%); transition: transform .4s cubic-bezier(.25,.46,.45,.94); overflow-y: auto; display: flex; flex-direction: column; }
.modal-panel.open { transform: translateX(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 10; }
.modal-header .m-tag { font-size: .72rem; color: var(--accent); letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }
.modal-header h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--primary); margin-top: 4px; }
.modal-close { width: 38px; height: 38px; border-radius: 50%; background: var(--light); border: 1px solid var(--border); cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; flex-shrink: 0; }
.modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }
.modal-body { padding: 28px; flex: 1; }
.m-gallery-main { border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #f0ede8; margin-bottom: 14px; }
.m-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.m-gallery-main img.fade { opacity: 0; }
.m-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.m-thumb { width: 64px; height: 50px; border-radius: 6px; overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: border-color .2s, transform .2s; flex-shrink: 0; }
.m-thumb.active, .m-thumb:hover { border-color: var(--accent); transform: translateY(-2px); }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.m-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 22px; }
.m-tab { padding: 10px 20px; font-size: .84rem; font-weight: 500; color: var(--gray); background: transparent; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; font-family: 'Inter', sans-serif; transition: color .2s, border-color .2s; }
.m-tab.active { color: var(--primary); border-bottom-color: var(--accent); font-weight: 600; }
.m-panel { display: none; }
.m-panel.active { display: block; }
.m-bloque { margin-bottom: 20px; }
.m-bloque h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--primary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.m-bloque h4::before { content: ''; width: 4px; height: 16px; background: var(--accent); border-radius: 2px; display: block; }
.m-bloque p { font-size: .87rem; color: var(--gray); line-height: 1.8; }
.m-list { list-style: none; }
.m-list li { font-size: .85rem; color: var(--gray); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 8px; }
.m-list li:last-child { border-bottom: none; }
.m-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.m-cotizar { background: var(--light); border: 1px solid var(--border); border-radius: 12px; padding: 24px; position: sticky; top: 80px; }
.m-cotizar h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--primary); margin-bottom: 6px; }
.m-cotizar .sub { font-size: .8rem; color: var(--gray); margin-bottom: 18px; }
.m-feat { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .83rem; }
.m-feat .ico { width: 32px; height: 32px; background: rgba(26,74,90,.08); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.m-divider { height: 1px; background: var(--border); margin: 16px 0; }
.btn-wa-full { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--accent); color: #fff; padding: 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .04em; transition: all .25s; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-wa-full:hover { background: #b8922e; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,168,76,.35); }
.btn-wa-full svg { width: 18px; height: 18px; fill: #fff; }
.garantia { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; background: rgba(26,74,90,.06); border-radius: 8px; font-size: .78rem; color: var(--primary); }
.m-medir { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 32px; }
.m-medir-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--primary); margin-bottom: 6px; }
.m-medir-sub { font-size: .85rem; color: var(--gray); margin-bottom: 22px; line-height: 1.7; }
.m-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 14px; margin-bottom: 22px; }
.m-step { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 14px; text-align: center; transition: transform .3s, box-shadow .3s; }
.m-step:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,74,90,.08); }
.m-step-ico { font-size: 1.8rem; margin-bottom: 8px; }
.m-step-num { width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 50%; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.m-step h5 { font-size: .83rem; color: var(--primary); font-weight: 600; margin-bottom: 5px; }
.m-step p { font-size: .76rem; color: var(--gray); line-height: 1.6; }
.m-tip { background: linear-gradient(135deg, var(--primary), #2a6a80); border-radius: 10px; padding: 18px 22px; color: #fff; display: flex; gap: 14px; align-items: flex-start; font-size: .84rem; line-height: 1.75; }
.m-tip strong { color: var(--accent); }

/* ── KEYFRAMES GLOBALES ── */
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  .nav-links { display: none; } .hamburger { display: flex; } .mobile-menu { display: block; }
  .productos-grid { grid-template-columns: 1fr; }
  .telas-grid { grid-template-columns: repeat(2,1fr); }
  .hero { min-height: 75vh; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .m-layout { grid-template-columns: 1fr; }
  .m-cotizar { position: static; }
  .resultado-card { width: 240px; height: 180px; }
}
@media(max-width:480px) {
  .telas-grid { grid-template-columns: 1fr 1fr; }
  .prod-footer { flex-direction: column; }
  .btn-ver, .btn-cotizar-mini { width: 100%; text-align: center; }
  .resultado-card { width: 200px; height: 160px; }
}
