/* ============================================================
   EXEN — Energía Solar Profesional | Sistema de diseño
   Marca: dark #080808 · rojo #E00019 · sol #FFB020 · Inter
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --dark:        #080808;
  --dark-2:      #0e0e0f;
  --dark-3:      #141416;
  --text:        #e8edf5;
  --muted:       #8a8f99;
  --muted-2:     #6b7079;

  --red:         #E00019;
  --red-dark:    #8B0010;
  --red-glow:    rgba(224, 0, 25, 0.35);
  --sun:         #FFB020;
  --sun-soft:    #FFD36B;

  --glass:       rgba(255, 255, 255, 0.04);
  --glass-2:     rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.09);
  --border-r:    rgba(224, 0, 25, 0.25);

  --radius:      16px;
  --radius-lg:   24px;
  --radius-sm:   10px;

  --maxw:        1240px;
  --nav-h:       74px;

  --shadow:      0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-red:  0 20px 50px rgba(224, 0, 25, 0.28);

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --grad-red:    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  --grad-sun:    linear-gradient(135deg, var(--sun) 0%, var(--red) 100%);
  --grad-dark:   linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.85) 60%, var(--dark) 100%);

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
p  { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #b8bec9; line-height: 1.7; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.grid { display: grid; gap: 24px; }
.center { text-align: center; }
@media (max-width: 720px){ .container { padding: 0 18px; } }

/* ---------- Eyebrow / encabezados de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-sun); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(224,0,25,0.45); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--glass-2); border-color: var(--border-r); transform: translateY(-3px); }
.btn-sun { background: var(--grad-sun); color: #1a0e00; }
.btn-sun:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(255,176,32,0.4); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8,8,8,0.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: background .4s, border-color .4s;
}
.nav.scrolled { background: rgba(8,8,8,0.9); border-bottom-color: var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; color: #fff; }
.brand .logo-mark { display: none; }
.brand b { color: #fff; font-weight: 800; }
.brand span { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 15px; border-radius: 8px; font-size: 0.94rem; font-weight: 500;
  color: #cfd4dd; transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: var(--glass); }
.nav-links a.active { color: var(--sun); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.menu-btn span:nth-child(1){ top: 14px; } .menu-btn span:nth-child(2){ top: 20px; } .menu-btn span:nth-child(3){ top: 26px; }
.menu-btn.open span:nth-child(1){ top: 20px; transform: rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity: 0; }
.menu-btn.open span:nth-child(3){ top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999; background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px); padding: 28px 24px; transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 15px 8px; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu a.active { color: var(--sun); }
.mobile-menu .btn { margin-top: 18px; }

@media (max-width: 940px){
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.6) 45%, rgba(8,8,8,0.25) 100%),
  linear-gradient(180deg, rgba(8,8,8,0.4) 0%, rgba(8,8,8,0) 30%, rgba(8,8,8,0.85) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 780px; padding: 40px 0; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 .hl { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-size: 1.7rem; font-weight: 900; color: #fff; }
.hero-trust .t span { font-size: 0.82rem; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--border-r); font-size: 0.85rem; font-weight: 600; color: #fff;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px var(--sun); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ opacity:1; transform: scale(1);} 50%{ opacity:.5; transform: scale(1.3);} }

/* ---------- Page header (páginas internas) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 70px; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero::before { content:""; position:absolute; inset:0; background:
  radial-gradient(1000px 500px at 80% -10%, rgba(224,0,25,0.18), transparent 60%),
  radial-gradient(700px 400px at 0% 120%, rgba(255,176,32,0.10), transparent 60%); z-index:0; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb span { color: var(--muted-2); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero .lead { max-width: 640px; margin-top: 18px; }

/* ---------- Cards ---------- */
.card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .4s var(--ease), border-color .4s, background .4s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-r); background: var(--glass-2); }
.card .ic {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; font-size: 26px;
  background: rgba(224,0,25,0.12); border: 1px solid var(--border-r); margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; color: #fff; }
.card p { font-size: 0.96rem; }
.card .tag { display: inline-block; margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--sun); }
.card-link::after { content: "→"; margin-left: 6px; transition: margin .3s; display: inline-block; }
.card:hover .card-link::after { margin-left: 12px; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px){ .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Card con imagen */
.card-img { padding: 0; }
.card-img .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.card-img .thumb img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-img:hover .thumb img { transform: scale(1.06); }
.card-img .thumb.placeholder { background:
  linear-gradient(135deg, var(--dark-3), var(--dark-2)); display: grid; place-items: center; }
.card-img .thumb.placeholder::after { content: attr(data-ph); color: var(--muted-2); font-size: .8rem; padding: 12px; text-align:center; }
.card-img .body { padding: 26px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .ic { font-size: 30px; margin-bottom: 10px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1; background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 0.88rem; color: var(--muted); margin-top: 8px; display: block; }
@media (max-width: 620px){ .stats { grid-template-columns: repeat(2,1fr); } }

/* ---------- Split (imagen + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.placeholder { background: linear-gradient(135deg, var(--dark-3), var(--dark-2)); display: grid; place-items: center; }
.split-media.placeholder::after { content: attr(data-ph); color: var(--muted-2); font-size: .85rem; padding: 20px; text-align: center; }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,176,32,0.14); color: var(--sun); display: grid; place-items: center; font-size: 15px; margin-top: 2px; }
.feature-list b { color: #fff; display: block; margin-bottom: 3px; }
.feature-list p { font-size: 0.94rem; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 34px; } .split.rev .split-media { order: 0; } }

/* ---------- Proceso (timeline) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 22px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.step .num { font-size: 2.4rem; font-weight: 900; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }
@media (max-width: 960px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .steps { grid-template-columns: 1fr; } }

/* ---------- Slider ---------- */
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.slides { display: flex; transition: transform .7s var(--ease); }
.slide { min-width: 100%; position: relative; aspect-ratio: 16/9; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide.placeholder { background: linear-gradient(135deg, var(--dark-3), var(--dark-2)); display: grid; place-items: center; }
.slide.placeholder::after { content: attr(data-ph); color: var(--muted-2); font-size: .9rem; padding: 24px; text-align:center; }
.slide .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 34px 30px; background: var(--grad-dark); }
.slide .caption h3 { color: #fff; } .slide .caption p { color: #cfd4dd; }
.slider-dots { position: absolute; bottom: 18px; right: 24px; display: flex; gap: 8px; z-index: 3; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; transition: .3s; padding: 0; }
.slider-dots button.active { background: var(--sun); width: 26px; border-radius: 5px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: rgba(8,8,8,0.72); color: #fff; cursor: pointer; font-size: 20px; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.slider-arrow:hover { background: var(--red); border-color: var(--red); }
.slider-arrow.prev { left: 18px; } .slider-arrow.next { right: 18px; }

/* ---------- Logos / clientes ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-size: 1.5rem; font-weight: 800; color: #4a4f58; white-space: nowrap; letter-spacing: -0.02em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.calc-panel { background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.calc-panel label { font-size: 0.9rem; font-weight: 600; color: #fff; display: block; margin-bottom: 12px; }
.calc-input { display: flex; align-items: center; gap: 12px; background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 6px 6px 18px; }
.calc-input input { flex: 1; background: none; border: none; font-size: 1.6rem; font-weight: 800; color: #fff; outline: none; width: 100%; }
.calc-input .unit { color: var(--muted); font-size: 0.85rem; font-weight: 600; white-space: nowrap; padding-right: 8px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-res { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.calc-res .ic { font-size: 24px; margin-bottom: 10px; }
.calc-res b { display: block; font-size: 1.8rem; font-weight: 900; color: #fff; line-height: 1; }
.calc-res span { font-size: 0.82rem; color: var(--muted); margin-top: 8px; display: block; }
.calc-note { grid-column: 1/-1; font-size: 0.86rem; color: var(--muted); background: rgba(255,176,32,0.06); border: 1px solid rgba(255,176,32,0.2); border-radius: var(--radius-sm); padding: 16px 18px; }
.calc-note b { color: var(--sun); }
@media (max-width: 860px){ .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px){ .calc-results { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 70px); text-align: center; border: 1px solid var(--border-r); background: radial-gradient(600px 300px at 50% -20%, rgba(224,0,25,0.25), transparent), var(--dark-2); }
.cta-band h2 { color: #fff; max-width: 640px; margin: 0 auto 18px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-item .ic { width: 46px; height: 46px; border-radius: 11px; background: rgba(224,0,25,0.12); border: 1px solid var(--border-r); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-item b { color: #fff; display: block; margin-bottom: 3px; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--sun); }
.form-card { background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: #cfd4dd; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; color: #fff; outline: none; transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 110px; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .brand { margin-bottom: 18px; }
.footer-about p { font-size: 0.94rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: var(--glass); border: 1px solid var(--border); display: grid; place-items: center; font-size: 17px; transition: .3s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #b8bec9; font-size: 0.94rem; transition: color .25s; }
.footer-col a:hover { color: var(--sun); }
.footer-bottom { padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--muted-2); }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Certificaciones / trust ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; background: var(--glass); border: 1px solid var(--border); border-radius: 100px; font-size: 0.9rem; font-weight: 600; }
.chip .ok { color: var(--sun); }

/* ---------- Animaciones scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } * { scroll-behavior: auto; } }

/* ---------- Glow decorativo ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; z-index: 0; pointer-events: none; }
.glow-red { background: rgba(224,0,25,0.35); }
.glow-sun { background: rgba(255,176,32,0.22); }

/* ---------- Sistema de íconos SVG ---------- */
.i { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card .ic, .stat .ic, .contact-item .ic { color: var(--sun); }
.card .ic .i, .stat .ic .i, .contact-item .ic .i { width: 1em; height: 1em; }
.footer-social a { color: #cfd4dd; }
.footer-social a:hover { color: #fff; }
.btn .i { width: 1.05em; height: 1.05em; }
.chip .i, .feature-list .fi .i, .breadcrumb .i { width: 1em; height: 1em; }
#icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Optimización móvil / touch ---------- */
@media (max-width: 768px){
  .nav { backdrop-filter: none; background: rgba(8,8,8,0.95); }
  .hero-bg::after { background:
    linear-gradient(180deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0.35) 40%, rgba(8,8,8,0.92) 100%); }
  .section { padding: 60px 0; }
}
@media (hover: none){
  .card:hover, .card-img:hover .thumb img, .btn:hover, .btn-primary:hover,
  .btn-ghost:hover, .btn-sun:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { box-shadow: var(--shadow-red); }
}

/* ---------- Utilidades ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:12px}.mt-2{margin-top:24px}.mt-3{margin-top:36px}.mt-4{margin-top:48px}
.rel{position:relative;z-index:1}
.text-sun{color:var(--sun)} .text-white{color:#fff}
.hide-mobile{} @media(max-width:620px){.hide-mobile{display:none}}
