/* ────────────────────────────────────────────
   BASE CSS — Ferretera Indumex (compartido)
──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');




*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --naranja:    #ff543f;
  --naranja-dk: #C05A0E;
  --naranja-lt: #FFF3EC;
  --azul:       #1A4FA0;
  --azul-dk:    #133C7A;
  --azul-mid:   #2B63C1;
  --azul-lt:    #EAF0FB;
  --negro:      #124a9f;
  --gris-dk:    #2E2E2E;
  --gris-md:    #6B6B6B;
  --gris-lt:    #F4F5F7;
  --borde:      rgba(0,0,0,0.09);
  --blanco:     #FFFFFF;
  --font-d:     'Bebas', sans-serif;
  --font-b:     'Bebas', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-b); font-size: 16px; color: var(--negro); background: var(--blanco); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── TOPBAR ── */
.topbar { background: var(--azul-dk); padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar p, .topbar a { font-size: 11px; color: rgba(255,255,255,.65); }
.topbar a:hover { color: #fff; }
.topbar .sep { margin: 0 8px; opacity: .3; }

/* ── NAVBAR ── */
.navbar { background: var(--negro); border-bottom: 3px solid var(--naranja); position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon { width: 40px; height: 40px; background: transparent; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 16px; font-weight: 700; color: #fff; }
.nav-logo-text .brand { font-family: var(--font-d); font-size: 16px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.nav-logo-text .brand em { color: var(--naranja); font-style: normal; }
.nav-logo-text .sub { font-size: 9px; color: rgba(255,255,255,.38); letter-spacing: 2px; display: block; margin-top: 1px; }

.nav-links { display: flex; gap: 28px; }
.nav-links li a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65); transition: color .15s; position: relative; padding-bottom: 4px; }
.nav-links li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--naranja); transition: width .2s; }
.nav-links li a:hover { color: #fff; }
.nav-links li a:hover::after { width: 100%; }
.nav-links li a.active { color: var(--naranja); }
.nav-links li a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 6px; font-family: var(--font-b); font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all .2s ease; }
.btn-primary { background: var(--naranja); color: #fff; }
.btn-primary:hover { background: var(--naranja-dk); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-secondary:hover { border-color: rgba(255,255,255,.7); }
.btn-azul { background: var(--azul-mid); color: #fff; }
.btn-azul:hover { background: var(--azul-dk); }
.btn-outline { background: transparent; color: var(--negro); border: 1.5px solid rgba(0,0,0,.18); }
.btn-outline:hover { border-color: var(--azul); color: var(--azul); }

/* ── EYEBROW ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.eyebrow::before { content: ''; display: block; width: 24px; height: 3px; background: var(--naranja); border-radius: 2px; }
.eyebrow span { font-family: var(--font-d); font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--naranja); }

/* ── PAGE HEADER ── */
.page-header { background: var(--negro); padding: 56px 0; position: relative; overflow: hidden; }
.page-header::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, transparent 0, transparent 6px, rgba(255,255,255,.015) 6px, rgba(255,255,255,.015) 7px); }
.page-header .container { position: relative; z-index: 1; }
.page-header .breadcrumb { font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.page-header .breadcrumb a { color: rgba(255,255,255,.4); }
.page-header .breadcrumb a:hover { color: var(--naranja); }
.page-header .breadcrumb span { margin: 0 6px; }
.page-header h1 { font-family: var(--font-d); font-size: 44px; font-weight: 700; color: #fff; line-height: 1.1; }
.page-header h1 em { color: var(--naranja); font-style: normal; }
.page-header p { font-size: 15px; color: rgba(255,255,255,.55); margin-top: 12px; max-width: 560px; line-height: 1.6; }

/* ── SECTION ── */
.section { padding: 72px 0; }
.section-alt { background: var(--gris-lt); }
.section-dark { background: var(--negro); }
.section-azul { background: var(--azul); }

.section-title { font-family: var(--font-d); font-size: 32px; font-weight: 700; color: var(--negro); line-height: 1.15; margin-bottom: 32px; }
.section-title.white { color: #fff; }

/* ── TAGS ── */
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 4px; }
.tag-o { background: var(--naranja-lt); color: var(--naranja-dk); border: 1px solid rgba(232,110,26,.25); }
.tag-b { background: var(--azul-lt); color: var(--azul-dk); border: 1px solid rgba(26,79,160,.2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ── CTA BAND ── */
.cta-band { background: var(--azul); padding: 60px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-band::after { content: ''; position: absolute; left: 5%; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(232,110,26,.15); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-copy h2 { font-family: var(--font-d); font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cta-copy p { font-size: 15px; color: rgba(255,255,255,.6); }
.cta-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ── FOOTER ── */
footer { background: #0F0F0F; padding: 56px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 28px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-icon { width: 36px; height: 36px; border-radius: 7px; background: transparent; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 14px; font-weight: 700; color: #fff; }
.footer-logo span { font-family: var(--font-d); font-size: 15px; font-weight: 700; color: #fff; }
.footer-logo span em { color: transparent; font-style: normal; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.6; margin-bottom: 16px; }
.social-links { display: flex; gap: 8px; }
.social-btn { width: 32px; height: 32px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: background .2s; }
.social-btn:hover { background: rgba(255,255,255,.13); }
.footer-col h4 { font-family: var(--font-d); font-size: 11px; font-weight: 600; letter-spacing: 2px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .15s; }
.footer-col ul li a:hover { color: rgba(255,255,255,.75); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.2); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,.2); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.5); }

/* ── CARDS GENERICAS ── */
.card { background: var(--blanco); border: 1px solid var(--borde); border-radius: 12px; padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-3px); }

/* ── ANIMATE ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
.animate { opacity: 0; }
.animate.visible { animation: fadeUp .5s ease forwards; }
.animate[data-delay="1"] { animation-delay: .1s; }
.animate[data-delay="2"] { animation-delay: .2s; }
.animate[data-delay="3"] { animation-delay: .3s; }
.animate[data-delay="4"] { animation-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
}
