
:root {
  --graphite: #1c1f22;
  --ink: #333230;
  --steel: #616e76;
  --blue: #18446f;
  --blue-2: #12375b;
  --blue-soft: #e8eef4;
  --mist: #f3f5f6;
  --line: #d5dce1;
  --white: #ffffff;
  --accent: #18446f;
  --accent-soft: #edf2f6;
  --whatsapp: #18446f;
  --whatsapp-dark: #1c1f22;
  --shadow: 0 20px 54px rgba(28, 31, 34, .16);
  --soft-shadow: 0 12px 30px rgba(28, 31, 34, .09);
  --radius: 8px;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg, #ffffff 0, #f3f5f6 460px, #ffffff 920px); font: 16px/1.55 "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.sr-only, .honeypot { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 20; padding: 10px 14px; background: var(--graphite); color: white; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(24, 68, 111, .16); box-shadow: 0 10px 28px rgba(28,31,34,.04); }
.header-inner { max-width: 1220px; margin: 0 auto; min-height: 76px; padding: 0 24px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 22px; }
.brand img { width: 190px; }
.main-nav { display: flex; gap: 22px; justify-content: center; color: var(--graphite); font-weight: 700; font-size: 14px; }
.main-nav a { padding: 12px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.main-nav a:hover, .main-nav a:focus { color: var(--blue); border-color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); padding: 10px 12px; border-radius: var(--radius); font-weight: 800; font-size: 14px; background: white; box-shadow: 0 6px 18px rgba(28,31,34,.04); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cart-link:hover, .cart-link:focus { transform: translateY(-1px); border-color: rgba(24,68,111,.4); box-shadow: var(--soft-shadow); }
.cart-link [data-cart-count] { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; color: white; background: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: var(--radius); }
.menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--graphite); }
.btn { position: relative; overflow: hidden; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(110deg, transparent, rgba(255,255,255,.18), transparent); transition: transform .55s ease; pointer-events: none; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover::after, .btn:focus::after { transform: translateX(120%); }
.btn img { width: 20px; height: 20px; object-fit: contain; }
.btn-whatsapp img { display: none; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: white; }
.btn-dark { background: linear-gradient(135deg, var(--graphite), var(--ink)); color: white; }
.btn-light { background: white; color: var(--graphite); }
.btn-ghost { background: white; border-color: var(--line); color: var(--graphite); }
.btn-whatsapp { background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark)); color: white; box-shadow: 0 10px 24px rgba(24,68,111,.22); }
.whatsapp-mark { position: relative; flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; }
.whatsapp-mark::after { content: ""; position: absolute; left: 1px; bottom: -3px; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-18deg); background: transparent; }
.btn-small { min-height: 40px; padding: 9px 12px; font-size: 14px; }
.hero { position: relative; isolation: isolate; min-height: min(680px, calc(100svh - 108px)); padding: clamp(52px, 7vw, 86px) 24px 44px; display: flex; align-items: center; overflow: hidden; background: url("/assets/productos/perfiles.webp") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(28,31,34,.9) 0%, rgba(28,31,34,.76) 42%, rgba(24,68,111,.5) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .38; background: linear-gradient(120deg, transparent 0 42%, rgba(97,110,118,.34) 42% 43%, transparent 43% 100%), repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 96px); animation: steelDrift 18s ease-in-out infinite alternate; }
.hero-copy { width: min(100%, 1220px); margin: 0 auto; color: white; animation: fadeUp .7s ease both; }
.hero-copy h1 { max-width: 800px; margin: 12px 0 18px; color: white; font-size: clamp(42px, 5.9vw, 74px); line-height: .98; letter-spacing: 0; text-shadow: 0 16px 42px rgba(0,0,0,.28); }
.page-hero h1 { margin: 12px 0 18px; color: var(--graphite); font-size: clamp(42px, 5.4vw, 68px); line-height: 1; letter-spacing: 0; }
.hero-copy p { color: #edf3f6; max-width: 680px; font-size: 20px; }
.page-hero p { color: #4b565f; max-width: 720px; font-size: 19px; }
.hero .eyebrow { color: white; opacity: .72; }
.eyebrow { color: var(--blue); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.product-hero-media { border-radius: var(--radius); box-shadow: var(--shadow); background: linear-gradient(135deg, #ffffff, #eef3f6); border: 1px solid var(--line); }
.product-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; }
.category-detail img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); background: linear-gradient(135deg, #ffffff, #eef3f6); border: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.trust-row { max-width: 860px; }
.trust-row span { padding: 14px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); background: rgba(255,255,255,.1); color: white; font-size: 14px; font-weight: 800; backdrop-filter: blur(10px); box-shadow: inset 3px 0 0 rgba(255,255,255,.28); }
.section { max-width: 1220px; margin: 0 auto; padding: 72px 24px; }
.section-muted { max-width: none; background: var(--mist); }
.section-muted > * { max-width: 1220px; margin-left: auto; margin-right: auto; }
.section-heading { display: grid; gap: 8px; margin-bottom: 26px; animation: fadeUp .55s ease both; }
.section-heading h2, .quote-band h2, .detail-block h2, .quote-panel h2, .form-card h2 { margin: 0; color: var(--graphite); font-size: clamp(28px, 3.5vw, 46px); line-height: 1.05; }
.section-heading p { margin: 0; color: var(--steel); max-width: 760px; }
.category-grid { display: grid; grid-template-columns: repeat( auto-fit, minmax(250px, 1fr)); gap: 18px; }
.category-card { position: relative; display: grid; gap: 12px; padding: 12px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); background: white; box-shadow: var(--soft-shadow); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; animation: fadeUp .55s ease both; }
.category-card::before { content: ""; position: absolute; top: 0; right: 16px; width: 42px; height: 4px; background: var(--steel); }
.category-card:hover { transform: translateY(-4px); border-color: rgba(24,68,111,.45); box-shadow: var(--shadow); }
.category-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 12px; border-radius: 6px; background: linear-gradient(135deg, #ffffff, #eef3f6); border: 1px solid var(--line); transition: transform .28s ease, filter .28s ease; }
.category-card:hover img { transform: scale(1.025); filter: saturate(1.04) contrast(1.03); }
.category-card span { color: var(--blue); font-size: 13px; font-weight: 900; }
.category-card h2 { margin: 0; font-size: 21px; color: var(--graphite); }
.category-card p { margin: 0 0 4px; color: #56626b; }
.quote-band { position: relative; overflow: hidden; max-width: 1220px; margin: 28px auto; padding: 42px; border-radius: var(--radius); background: linear-gradient(135deg, var(--graphite), var(--ink) 56%, var(--blue)); color: white; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--shadow); }
.quote-band::after { content: ""; position: absolute; inset: 0; opacity: .3; background: repeating-linear-gradient(120deg, transparent 0 36px, rgba(255,255,255,.12) 36px 37px); pointer-events: none; }
.quote-band > * { position: relative; z-index: 1; }
.quote-band h2, .quote-band p { color: white; }
.quote-band p { max-width: 720px; color: #dce2e6; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; min-height: 100%; box-shadow: var(--soft-shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; animation: fadeUp .55s ease both; }
.product-card:hover, .product-card.is-search-match { transform: translateY(-4px); border-color: rgba(24,68,111,.45); box-shadow: var(--shadow); }
.product-card.is-search-match { outline: 3px solid rgba(24,68,111,.18); }
.product-media { background: linear-gradient(135deg, #ffffff, var(--blue-soft)); }
.product-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 12px; transition: transform .28s ease, filter .28s ease; }
.product-card:hover .product-media img { transform: scale(1.025); filter: saturate(1.04) contrast(1.03); }
.product-body { padding: 18px; }
.product-body h2 { margin: 8px 0; font-size: 21px; line-height: 1.15; color: var(--graphite); }
.product-body h2 a { display: inline-flex; align-items: center; min-height: 34px; }
.product-body p { margin: 0; color: #5c6870; }
.product-actions { padding: 0 18px 18px; display: grid; grid-template-columns: 1fr; gap: 10px; align-items: stretch; }
.product-actions .btn { width: 100%; min-width: 0; white-space: normal; }
.card-whatsapp { background: linear-gradient(135deg, #ffffff, var(--blue-soft)); border-color: rgba(24,68,111,.24); color: var(--graphite); box-shadow: 0 8px 18px rgba(24,68,111,.12); }
.card-whatsapp .whatsapp-mark { color: var(--blue); }
.icon-action { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--radius); background: var(--blue-soft); border: 1px solid rgba(24,68,111,.24); color: var(--blue); box-shadow: 0 8px 18px rgba(24,68,111,.12); }
.icon-action .whatsapp-mark { width: 18px; height: 18px; }
.assist-label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.benefit-grid article { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 22px; background: white; box-shadow: var(--soft-shadow); animation: fadeUp .55s ease both; }
.benefit-grid img { width: 38px; height: 38px; object-fit: contain; }
.benefit-grid h2 { font-size: 21px; margin: 18px 0 8px; color: var(--graphite); }
.benefit-grid p { color: var(--steel); margin: 0; }
.page-hero { max-width: 1220px; margin: 0 auto; padding: 72px 24px 36px; }
.page-hero.compact h1 { font-size: clamp(40px, 5vw, 66px); }
.page-hero.center { text-align: center; }
.center-actions { justify-content: center; }
.category-detail, .contact-hero { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: center; }
.catalog-shell { max-width: 1220px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.filters, .quote-panel, .form-card, .contact-card { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); background: white; padding: 22px; box-shadow: var(--soft-shadow); }
.filters { position: sticky; top: 96px; display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 800; color: var(--graphite); }
input, textarea, select { width: 100%; border: 1px solid #cfd7dc; border-radius: var(--radius); padding: 12px; background: white; color: var(--ink); }
input:focus, textarea:focus, select:focus, .btn:focus, a:focus, button:focus { outline: 3px solid rgba(24,68,111,.24); outline-offset: 2px; }
.result-bar { margin-bottom: 16px; padding: 12px 14px; border: 1px solid rgba(24,68,111,.16); border-radius: var(--radius); color: var(--steel); font-weight: 800; background: linear-gradient(135deg, #ffffff, var(--blue-soft)); }
.result-summary { display: block; margin-top: 4px; color: var(--graphite); font-size: 14px; font-weight: 700; }
.result-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.result-links a { padding: 7px 10px; border: 1px solid rgba(24,68,111,.18); border-radius: 999px; background: white; color: var(--blue); font-size: 13px; font-weight: 800; }
.result-links a:hover, .result-links a:focus { border-color: var(--blue); background: var(--blue-soft); }
.empty-state, .empty-cart { padding: 28px; border: 1px dashed #b7c2c9; border-radius: var(--radius); background: var(--mist); }
.breadcrumbs { max-width: 1220px; margin: 0 auto; padding: 22px 24px 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--steel); font-size: 14px; }
.breadcrumbs a { color: var(--blue); font-weight: 800; }
.product-hero { max-width: 1220px; margin: 0 auto; padding: 42px 24px 46px; display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 36px; align-items: center; }
.product-hero h1 { margin: 10px 0 16px; color: var(--graphite); font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.product-hero p { color: #4f5a62; font-size: 18px; }
.product-detail-grid, .quote-layout { max-width: 1220px; margin: 0 auto; padding: 28px 24px 72px; display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.detail-block { margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: white; box-shadow: var(--soft-shadow); }
.technical-image-block img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--mist); }
.check-list, .pill-list { padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 999px; background: var(--blue); }
.pill-list { display: flex; flex-wrap: wrap; }
.pill-list li { padding: 9px 12px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.spec-table { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.spec-table div:last-child { border-bottom: 0; }
.spec-table dt, .spec-table dd { margin: 0; padding: 13px; }
.spec-table dt { background: var(--mist); font-weight: 900; }
.spec-table dd { overflow-wrap: anywhere; }
.quote-panel { display: grid; gap: 14px; }
.sheet-box { padding-top: 14px; border-top: 1px solid var(--line); }
.sheet-box h3 { margin: 0 0 6px; }
.quote-layout { grid-template-columns: 1fr 430px; }
.cart-items { display: grid; gap: 12px; margin-bottom: 16px; }
.cart-item { display: grid; grid-template-columns: 1fr 90px 110px auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: white; box-shadow: var(--soft-shadow); }
.cart-item strong { color: var(--graphite); }
.form-card { display: grid; gap: 14px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.checkbox input { width: 18px; margin-top: 4px; }
.sheet-list { display: grid; gap: 12px; }
.sheet-search-panel { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-bottom: 14px; padding: 18px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); background: white; box-shadow: var(--soft-shadow); }
.sheet-search-panel label { grid-column: 1 / -1; }
.sheet-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.sheet-row.is-search-match { border-color: rgba(24,68,111,.38); outline: 3px solid rgba(24,68,111,.16); box-shadow: var(--soft-shadow); }
.sheet-row h2 { margin: 4px 0 0; font-size: 20px; }
.sheet-row span { color: var(--steel); font-size: 13px; font-weight: 800; }
.content-page { max-width: 820px; margin: 0 auto; padding: 24px 24px 84px; }
.content-page h1 { display: none; }
.content-page h2 { margin-top: 34px; color: var(--graphite); }
.content-page p { color: #4f5a62; }
.site-footer { background: var(--graphite); color: white; padding: 56px 24px 26px; }
.footer-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.footer-logo { width: 210px; margin-bottom: 16px; }
.site-footer h2 { font-size: 16px; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: #d4dce1; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer p { color: #d4dce1; }
.footer-bottom { max-width: 1220px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 18px; color: #c7d0d6; font-size: 14px; }
.floating-whatsapp { position: fixed; z-index: 12; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--graphite)); color: white; font-weight: 900; box-shadow: 0 14px 35px rgba(24,68,111,.34); }
.floating-whatsapp .whatsapp-mark { width: 20px; height: 20px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes steelDrift {
  from { transform: translateX(-16px); }
  to { transform: translateX(16px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .header-actions { display: flex; }
  .header-actions .btn-whatsapp { display: none; }
  .main-nav.is-open { display: grid; position: absolute; left: 18px; right: 18px; top: 76px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); justify-content: stretch; }
  .product-hero, .category-detail, .contact-hero, .catalog-shell, .product-detail-grid, .quote-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 52px; }
  .filters { position: static; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(38px, 11vw, 58px); }
  .trust-row, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .header-inner { min-height: 68px; padding: 0 12px; }
  .brand img { width: 132px; }
  .main-nav.is-open { top: 68px; left: 12px; right: 12px; }
  .cart-label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cart-link { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .hero, .section, .page-hero, .catalog-shell, .product-hero, .product-detail-grid, .quote-layout { padding-left: 16px; padding-right: 16px; }
  .hero-actions, .quote-band, .sheet-row, .footer-bottom { flex-direction: column; align-items: stretch; }
  .sheet-search-panel { grid-template-columns: 1fr; }
  .quote-band { margin: 18px 16px; padding: 26px; }
  .spec-table div, .cart-item { grid-template-columns: 1fr; }
  .floating-whatsapp { display: none; }
}
