:root {
  --navy: #101c29;
  --navy-2: #1b2b3d;
  --orange: #f39200;
  --orange-d: #d97f00;
  --ink: #1f2933;
  --muted: #5b6673;
  --line: #e3e6ea;
  --bg: #ffffff;
  --alt: #f4f5f7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 28, 41, .08);
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: #fff; padding: 8px 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--orange-d); margin-bottom: .6em; }
.eyebrow.light { color: var(--orange); }
.lead { font-size: 1.2rem; max-width: 60ch; }
.lead-sm { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-lg { width: 34px; height: 34px; color: var(--orange); }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--orange); color: #fff; border: 2px solid var(--orange); padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; font-family: inherit; }
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); transform: translateY(-1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-sm { padding: .5em 1.1em; font-size: .95rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 50px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu > a, .dropdown > a { text-decoration: none; font-weight: 600; color: var(--navy); }
.menu > a[aria-current], .menu > a:hover, .dropdown > a:hover { color: var(--orange-d); }
.menu .btn { color: #fff; }
.dropdown { position: relative; }
.dropdown-panel { position: absolute; top: 100%; left: -16px; min-width: 250px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.dropdown-panel a:hover, .dropdown-panel a[aria-current] { background: var(--alt); color: var(--orange-d); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span:not(.sr) { display: block; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(90deg, rgba(16,28,41,.92) 0%, rgba(16,28,41,.75) 45%, rgba(16,28,41,.25) 100%), var(--hero) center/cover no-repeat, var(--navy); }
.hero-inner { padding: clamp(80px, 12vw, 150px) 0; max-width: 720px; margin-left: max(20px, calc((100% - 1160px) / 2)); }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); }

.strip { background: var(--navy); color: #fff; border-top: 3px solid var(--orange); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px 0; }
.strip-grid > div { display: flex; gap: 14px; align-items: flex-start; }
.strip-grid strong { display: block; font-size: 1.05rem; }
.strip-grid span { color: rgba(255,255,255,.75); font-size: .95rem; }

/* Secciones */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section.alt { background: var(--alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--navy); box-shadow: var(--shadow); aspect-ratio: 1; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat:hover img { transform: scale(1.05); }
.cat-body { position: absolute; inset: auto 0 0 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(16,28,41,.95) 55%); color: #fff; }
.cat-body strong { display: block; font-size: 1.12rem; line-height: 1.25; }
.cat-body .more { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--orange); font-weight: 600; margin-top: 4px; }
.cat-body .more .ico { width: 16px; height: 16px; }

.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.pilares { display: grid; gap: 16px; }
.pilar { position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px 26px 22px; color: #fff; background: var(--navy); border-left: 4px solid var(--orange); }
.pilar h3 { color: var(--orange); margin-bottom: .3em; }
.pilar p { margin: 0; color: rgba(255,255,255,.9); }

/* Página de categoría */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 50px; border-bottom: 3px solid var(--orange); }
.page-head h1 { color: #fff; }
.page-head .lead-sm { color: rgba(255,255,255,.8); }
.crumbs { font-size: .92rem; color: rgba(255,255,255,.65); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.prod img { width: 100%; height: auto; background: var(--alt); }
.prod-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-body h2 { font-size: 1.25rem; }
.prod-body p { color: var(--muted); flex: 1; }
.prod-body .btn { align-self: flex-start; }
.note { margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; color: var(--navy); }
.chips a:hover { border-color: var(--orange); color: var(--orange-d); }

/* Contacto */
.contact { background: linear-gradient(180deg, #fff, var(--alt)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.contact-list .ico { color: var(--orange); margin-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--orange-d); }
.contact-list.big { font-size: 1.08rem; margin-top: 1.4em; }
.card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card { padding: clamp(22px, 3vw, 34px); }
.lead-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; color: var(--navy); }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfd5db; border-radius: 10px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.lead-form [aria-invalid="true"] { border-color: #c62828; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #1b7f3b; }
.form-status.err { color: #c62828; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 60px 0 24px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.logo-chip { display: inline-block; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.logo-chip img { height: 40px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .88rem; color: rgba(255,255,255,.6); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.wa-float svg { width: 32px; height: 32px; }

/* Animación */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu > a, .dropdown > a { padding: 12px 0; display: block; border-bottom: 1px solid var(--line); }
  .dropdown-panel { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .menu .btn { margin-top: 14px; justify-content: center; }
  .strip-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-body { padding: 40px 12px 12px; }
  .cat-body strong { font-size: .98rem; }
  .prod-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  body { font-size: 16px; }
}
