:root {
  --ink: #102461;
  --ink-2: #334477;
  --muted: #65749b;
  --paper: #ffffff;
  --paper-2: #edf2fb;
  --line: #dce4f2;
  --red: #df2732;
  --red-dark: #b91b28;
  --green: #173d91;
  --white: #ffffff;
  --font: "Manrope", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 82px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 72px, 1320px); margin-inline: auto; }
.section-pad { padding-block: 104px; }

.preview-ribbon { min-height: 34px; background: var(--ink); color: #e9efff; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 18px; font: 700 11px/1.4 var(--font); letter-spacing: .06em; text-align: center; }
.preview-ribbon span { width: 6px; height: 6px; border-radius: 50%; background: #f0665e; flex: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); }
.header-main { min-height: 96px; display: flex; align-items: center; gap: 34px; }
.brand-pair { display: inline-flex; align-items: center; gap: 15px; flex: none; }
.feni-logo { width: 160px; height: 82px; object-fit: contain; image-rendering: auto; }
.brand-divider { width: 1px; height: 56px; background: #cad5e9; }
.sp-lockup { display: block; width: 102px; height: 76px; flex: none; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 31px; margin-inline: auto; }
.main-nav a, .header-contact { color: var(--ink-2); font: 700 13px/1.2 var(--font); transition: color .2s; }
.main-nav a:hover, .header-contact:hover { color: var(--red); }
.header-actions { display: flex; gap: 22px; align-items: center; }
.header-contact { color: var(--ink); white-space: nowrap; }
.header-contact span { color: var(--red); padding-left: 3px; }
.cart-trigger { position: relative; border: 0; background: none; color: var(--ink); padding: 8px 10px 8px 0; }
.cart-trigger svg { width: 24px; height: 24px; }
.cart-count { position: absolute; right: -6px; top: 0; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 20px; background: var(--red); color: #fff; font: 800 10px/18px var(--font); text-align: center; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 650px; overflow: hidden; background: #07194d; color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(5, 21, 69, .9) 0%, rgba(8, 31, 89, .72) 38%, rgba(9, 30, 82, .25) 76%, rgba(9, 30, 82, .12) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 130px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #526692; font: 800 10px/1.5 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 21px; height: 2px; background: var(--red); flex: none; }
.eyebrow-light { color: #e4ebff; }
.hero h1 { max-width: 900px; margin: 0; font: 800 clamp(46px, 5.5vw, 82px)/1.08 var(--font); letter-spacing: -.07em; }
.hero h1 em, h2 em { color: #a7bceb; font-style: normal; }
.hero h1 em { color: #ffffff; }
.hero-content > p:not(.eyebrow) { max-width: 520px; margin: 27px 0 36px; color: #f0f4ff; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-caption { position: absolute; right: max(36px, calc((100vw - 1320px) / 2)); bottom: 25px; z-index: 1; color: #edf2ff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hero-caption span { color: #ff857e; margin-right: 14px; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 22px; border: 1px solid transparent; border-radius: 3px; font: 800 12px/1.2 var(--font); transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-dark); }
.button-ghost { background: transparent; border-color: #c1d0f1; color: #fff; }
.button-ghost:hover { background: #ffffff1a; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: #e6edfc; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #1b3884; }

.value-strip { background: #eaf0fb; border-bottom: 1px solid var(--line); }
.value-grid { min-height: 76px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: center; }
.value-grid span { padding-left: 22px; border-left: 1px solid #c5d3e8; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.value-grid span:first-child { border: 0; padding-left: 0; }
.value-grid b { margin-right: 16px; color: var(--red); font: 800 11px var(--font); }

.intro { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 90px; }
.intro h2, .section-heading h2, .contact h2, .contact-band h2 { margin: 0; font: 800 clamp(36px, 3.7vw, 56px)/1.14 var(--font); letter-spacing: -.065em; }
.intro h2 em, .section-heading h2 em, .contact h2 em { color: #6983bb; }
.intro-copy { max-width: 430px; }
.intro-copy p, .section-heading > p, .contact-copy > p:not(.eyebrow) { margin: 0; color: #4a5d86; font-size: 15px; line-height: 1.82; }
.text-link { display: inline-flex; gap: 40px; margin-top: 24px; padding-bottom: 9px; border-bottom: 1px solid var(--red); color: var(--ink); font: 800 12px var(--font); }
.text-link span { color: var(--red); }

.catalogue { background: #eef3fc; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 39px; }
.section-heading > p { max-width: 390px; }
.catalogue-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid #cbd8ec; }
.catalogue-toolbar-label { color: #4b6092; font: 800 11px var(--font); letter-spacing: .1em; text-transform: uppercase; }
.catalogue-filter { width: 220px; height: 42px; }
.catalogue-filter select { width: 100%; height: 100%; padding: 0 11px; border: 1px solid #cbd8ec; background: #fff; color: var(--ink); font-size: 12px; }
.search-field { width: 285px; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #cbd8ec; background: #fff; }
.search-field svg { width: 17px; height: 17px; color: #65747a; }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #dce4f2; background: #fff; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 12px 28px #163e881b; transform: translateY(-2px); }
.product-image { position: relative; height: 265px; overflow: hidden; background: #f5f8ff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; mix-blend-mode: multiply; }
.product-image-empty { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #eef3fc, #e1e9f7); color: #7488b6; }
.product-image-empty span { display: grid; width: 72px; height: 72px; place-items: center; border: 1px solid #bdcbe5; border-radius: 50%; font: 700 28px var(--font); }
.product-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 0; }
.product-tag { color: var(--red); font: 800 9px var(--font); letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin: 12px 0 6px; font: 800 20px/1.3 var(--font); letter-spacing: -.04em; }
.product-card .product-code { margin: 0 0 24px; color: #6a7779; font-size: 11px; line-height: 1.6; }
.product-card-bottom { margin-top: auto; padding: 17px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e2e9f4; }
.product-card-bottom span { color: #84918e; font: 700 10px var(--font); }
.product-card-bottom button { padding: 6px 0; border: 0; background: none; color: var(--red); font: 800 11px var(--font); }
.product-card-bottom button:hover { text-decoration: underline; }
.catalogue-note { margin: 20px 0 0; color: #778581; font-size: 11px; }
.catalogue-note span { color: var(--red); padding-right: 6px; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed #b9c4bf; color: #637176; text-align: center; }
.empty-state strong { display: block; margin-bottom: 8px; color: var(--ink); font: 800 18px var(--font); }

.contact-band { position: relative; overflow: hidden; padding-block: 78px; background: var(--ink); color: #fff; }
.contact-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -210px; border: 1px solid #ffffff14; border-radius: 50%; box-shadow: 0 0 0 65px #ffffff08, 0 0 0 135px #ffffff05; }
.contact-band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.contact-band h2 { font-size: clamp(32px, 3.3vw, 50px); }
.contact-band h2 em { color: #b5c9f5; }
.contact-band-grid > div:last-child p { max-width: 360px; margin: 0 0 24px; color: #d1ddf7; font-size: 14px; line-height: 1.75; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; margin: 22px 0 36px; }
.contact-methods { border-top: 1px solid var(--line); }
.contact-methods > a { min-height: 82px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.contact-methods > a > span:last-child { margin-left: auto; color: var(--red); }
.method-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: none; background: #e9effb; color: var(--red); font-size: 18px; }
.contact-methods small { display: block; margin-bottom: 4px; color: #87938e; font-size: 10px; }
.contact-methods strong { font: 800 13px var(--font); }
.contact-form-card { padding: 34px; border: 1px solid #dce4f2; background: #fff; }
.form-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--red); font: 800 10px var(--font); letter-spacing: .12em; text-transform: uppercase; }
.form-demo { color: #8e9a95; letter-spacing: 0; text-transform: none; }
.contact-form-card h3 { margin: 14px 0 26px; font: 800 26px/1.2 var(--font); letter-spacing: -.05em; }
.contact form, .checkout-body form { display: grid; gap: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact label, .checkout-body label { display: grid; gap: 7px; color: #4b595e; font: 800 10px var(--font); letter-spacing: .04em; text-transform: uppercase; }
.contact label span { color: #99a5a0; font-weight: 500; letter-spacing: 0; text-transform: none; }
.contact input, .contact textarea, .checkout-body input, .checkout-body textarea { width: 100%; padding: 12px 13px; border: 1px solid #d3dff0; border-radius: 2px; outline: 0; background: #fbfcff; color: var(--ink); font: 400 12px var(--body); }
.contact input:focus, .contact textarea:focus, .checkout-body input:focus, .checkout-body textarea:focus { border-color: #7190cc; }
.form-submit { justify-self: start; margin-top: 3px; }
.form-disclaimer { margin: 0; color: #89958f; font-size: 10px; line-height: 1.5; }
.form-feedback, .order-feedback { min-height: 18px; margin: 0; color: var(--green); font-size: 12px; font-weight: 700; line-height: 1.5; }

.footer { padding: 54px 0 21px; background: #091948; color: #fff; }
.footer-top { display: flex; align-items: center; gap: 36px; padding-bottom: 50px; border-bottom: 1px solid #415487; }
.footer-feni { width: 150px; height: 78px; object-fit: contain; background: transparent; filter: grayscale(1) invert(1) contrast(4); mix-blend-mode: screen; }
.footer-top p { color: #c2d0ed; font-size: 13px; }
.back-top { margin-left: auto; font: 800 11px var(--font); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: #acbce0; font-size: 10px; }

.overlay { position: fixed; inset: 0; z-index: 90; background: #08194bb8; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(100%, 475px); overflow-y: auto; background: #f8faff; box-shadow: -20px 0 40px #0002; transform: translateX(102%); transition: transform .32s ease; }
.drawer[aria-hidden="false"] { transform: translateX(0); }
.drawer-close { width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font-size: 28px; line-height: 1; }
.product-drawer > .drawer-close { position: absolute; top: 18px; right: 16px; z-index: 2; border-radius: 50%; background: #fff; }
.detail-image { height: 320px; background: #f4f7ff; }
.detail-image img { width: 100%; height: 100%; padding: 28px; object-fit: contain; mix-blend-mode: multiply; }
.detail-content { padding: 32px; }
.detail-content h2 { margin: 10px 0; font: 800 31px/1.15 var(--font); letter-spacing: -.05em; }
.detail-content > p { margin: 14px 0 24px; color: #68777a; font-size: 13px; line-height: 1.75; }
.detail-specs { margin-bottom: 23px; border-top: 1px solid var(--line); }
.detail-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.detail-specs span { color: #7a8888; }
.detail-specs b { text-align: right; }
.detail-actions { display: flex; gap: 10px; }
.detail-actions .button { flex: 1; }
.detail-actions .outline { border-color: #bdc9c3; background: transparent; color: var(--ink); }
.detail-note { color: #8d9a95 !important; font-size: 10px !important; }
.unavailable-state { min-height: 100%; display: grid; align-content: center; padding: 70px 34px; text-align: center; }
.unavailable-state strong { font: 800 25px/1.25 var(--font); }
.unavailable-state p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.drawer-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 32px 28px 21px; border-bottom: 1px solid var(--line); }
.drawer-top .eyebrow { margin: 0 0 10px; }
.drawer-top h2 { margin: 0; font: 800 32px/1.2 var(--font); letter-spacing: -.05em; }
.cart-drawer { display: flex; flex-direction: column; }
.cart-items { flex: 1; padding: 10px 28px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr 28px; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 70px; height: 70px; padding: 6px; object-fit: contain; background: #eceeea; mix-blend-mode: multiply; }
.cart-item strong { display: block; font: 800 12px/1.4 var(--font); }
.cart-item small { display: block; margin: 5px 0; color: #778681; font-size: 10px; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-controls button, .remove-item { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #cbd6cf; background: #fff; font-size: 13px; }
.remove-item { border: 0; background: none; color: #98a6a0; font-size: 18px; }
.cart-empty { padding: 75px 20px; color: #71817b; text-align: center; }
.cart-empty strong { display: block; margin-bottom: 8px; color: var(--ink); font: 800 20px var(--font); }
.cart-bottom { padding: 22px 28px 28px; border-top: 1px solid var(--line); background: #fff; }
.cart-guidance { margin: 0 0 17px; color: #6d7c78; font-size: 11px; line-height: 1.65; }
.cart-next { width: 100%; }
.cart-next:disabled { background: #aab5af; cursor: not-allowed; transform: none; }
.drawer-disclaimer { display: block; margin-top: 10px; color: #89958f; font-size: 10px; text-align: center; }
.checkout-body { padding: 26px 28px; }
.checkout-body > p { margin: 0 0 20px; color: #677773; font-size: 13px; line-height: 1.7; }
.checkout-summary { margin-bottom: 24px; padding: 17px; background: #e9f0fd; font-size: 11px; }
.checkout-summary strong { display: block; margin-bottom: 7px; font: 800 11px var(--font); }
.checkout-summary span { display: block; line-height: 1.8; }
.checkout-body .button { width: 100%; }

.admin-page { min-height: 100vh; background: #eef3fc; }
.admin-header { border-bottom: 1px solid var(--line); background: #fff; }
.admin-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-main { padding-block: 72px; }
.admin-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; margin-bottom: 40px; }
.admin-intro h1 { margin: 0; font: 800 clamp(36px, 5vw, 60px)/1.05 var(--font); letter-spacing: -.065em; }
.admin-intro > p { max-width: 560px; margin: 0; color: #5f6d70; font-size: 14px; line-height: 1.75; }
.admin-panel { margin-bottom: 20px; border: 1px solid #dce4f2; background: #fff; }
.admin-panel-heading { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.admin-panel-heading h2 { margin: 0 0 5px; font: 800 20px var(--font); letter-spacing: -.035em; }
.admin-panel-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.status-chip { padding: 7px 10px; background: #e8ece8; color: #65736f; font: 800 9px var(--font); letter-spacing: .08em; text-transform: uppercase; }
.inventory-table-wrap { overflow-x: auto; }
.inventory-table { width: 100%; border-collapse: collapse; }
.inventory-table th { padding: 13px 20px; background: #f6f7f4; color: #788480; font: 800 9px var(--font); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.inventory-table td { padding: 18px 20px; border-top: 1px solid #ebeeea; font-size: 12px; vertical-align: middle; }
.inventory-product { display: flex; align-items: center; gap: 13px; min-width: 210px; }
.inventory-product img { width: 52px; height: 52px; padding: 5px; object-fit: contain; background: #f0f1ee; mix-blend-mode: multiply; }
.inventory-product strong { display: block; font: 800 12px var(--font); }
.inventory-product small { color: var(--muted); font-size: 9px; }
.visibility-state { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 700; }
.visibility-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25a068; }
.visibility-state.hidden::before { background: #c84740; }
.quantity-input { width: 78px; height: 38px; border: 1px solid #cbd5d0; background: #fff; color: var(--ink); text-align: center; }
.inventory-actions { display: flex; gap: 7px; }
.inventory-actions button { min-height: 36px; padding: 0 12px; border: 1px solid #c8d1cc; background: #fff; color: var(--ink); font: 800 10px var(--font); white-space: nowrap; }
.inventory-actions .save-stock { border-color: var(--ink); background: var(--ink); color: #fff; }
.history-list { padding: 0 26px; }
.history-item { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid #ebeeea; font-size: 11px; }
.history-item:last-child { border-bottom: 0; }
.history-item time { color: var(--muted); }
.history-item strong { font: 800 11px var(--font); }
.history-change { color: var(--red); font: 800 11px var(--font); }
.history-empty { padding: 44px 0; color: var(--muted); font-size: 12px; text-align: center; }

.portal-main { padding-block: 60px 90px; }
.portal-login { width: min(100%, 520px); margin: 54px auto; padding: 36px; }
.portal-login h1, .portal-intro h1 { margin: 0; font: 800 clamp(34px, 5vw, 54px)/1.05 var(--font); letter-spacing: -.055em; }
.portal-login > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.portal-card { border: 1px solid var(--line); background: var(--paper); padding: 25px; }
.portal-form { display: grid; gap: 17px; margin-top: 24px; }
.portal-form label { display: grid; gap: 7px; color: var(--ink-2); font-size: 12px; font-weight: 700; }
.portal-form input, .portal-section-heading select { min-height: 44px; border: 1px solid #cbd5e8; background: #fff; padding: 10px 12px; color: var(--ink); }
.portal-form .button { width: 100%; }
.portal-feedback { min-height: 18px; margin: 0; color: var(--red-dark); font-size: 12px; font-weight: 700; line-height: 1.5; }
.portal-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.portal-intro-action { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.portal-intro-action .button { min-height: 42px; }
.portal-warning { margin: 0 0 20px; padding: 14px 16px; border-left: 3px solid var(--red); background: var(--paper-2); color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.portal-kpis { display: grid; grid-template-columns: repeat(5, minmax(100px, 1fr)); gap: 12px; margin-bottom: 20px; }
.portal-kpi { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.portal-kpi span { color: var(--muted); font-size: 11px; }
.portal-kpi strong { font: 800 27px var(--font); }
.portal-orders, .portal-outbox { margin-bottom: 18px; }
.portal-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.portal-section-heading h2 { margin: 0 0 4px; font: 800 20px var(--font); letter-spacing: -.035em; }
.portal-section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.portal-section-heading label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.portal-section-heading select { min-height: 38px; min-width: 150px; padding-block: 7px; }
.portal-order-list { display: grid; gap: 12px; padding-top: 16px; }
.portal-order { padding: 18px; border: 1px solid var(--line); background: #fff; }
.portal-order-header, .portal-order-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.portal-order-header > div { display: grid; gap: 5px; }
.portal-order-ref { font: 800 14px var(--font); }
.portal-order time, .portal-order-footer small { color: var(--muted); font-size: 10px; }
.portal-order-status { padding: 7px 10px; background: #e9f0fd; color: var(--ink); font-size: 10px; font-weight: 800; }
.portal-order-status.status-cancelled { background: #fce9e9; color: var(--red-dark); }
.portal-order-customer { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 11px; }
.portal-order-customer a { text-decoration: underline; text-underline-offset: 2px; }
.portal-line-items { display: grid; gap: 7px; margin: 14px 0; padding: 0; list-style: none; }
.portal-line-items li { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; border-top: 1px solid var(--line); font-size: 11px; }
.portal-line-items li span { color: var(--muted); text-align: right; }
.portal-order-notes { padding: 10px 12px; background: #f5f7fc; color: var(--ink-2); font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; }
.portal-order-footer { padding-top: 12px; border-top: 1px solid var(--line); }
.portal-order-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.portal-action { min-height: 34px; padding: 0 11px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: 10px; font-weight: 700; }
.portal-action.is-muted { border-color: var(--line); background: white; color: var(--muted); }
.portal-action:disabled { opacity: .55; cursor: wait; }
.portal-notification-list { display: grid; }
.portal-notification { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.portal-notification summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; }
.portal-notification pre { margin: 12px 0 0; padding: 13px; background: var(--paper-2); color: var(--ink-2); font: 11px/1.7 var(--body); white-space: pre-wrap; overflow-wrap: anywhere; }
.portal-notification:last-child { border-bottom: 0; }
.portal-notification small { color: var(--muted); }
.portal-empty { padding: 26px 0; color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 1120px) {
  .main-nav { gap: 18px; }
  .header-main { gap: 22px; }
  .header-contact { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 1320px); }
  .section-pad { padding-block: 72px; }
  .preview-ribbon { font-size: 9px; }
  .header-main { min-height: 94px; }
  .feni-logo { width: 128px; height: 66px; }
  .brand-divider { height: 50px; }
  .sp-lockup { width: 78px; height: 58px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; justify-content: center; order: 3; margin-left: auto; padding: 10px; border: 0; background: none; }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .main-nav { position: absolute; top: 94px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; background: var(--paper); box-shadow: 0 14px 20px #0001; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
  .hero { min-height: 610px; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, #0b1416db, #0b1416a6 60%, #0b141647); }
  .hero-content { padding-top: 90px; padding-bottom: 120px; }
  .hero h1 { font-size: clamp(40px, 8vw, 65px); }
  .hero-content > p:not(.eyebrow) { max-width: 430px; font-size: 15px; }
  .hero-caption { right: 18px; bottom: 20px; }
  .value-grid { grid-template-columns: 1fr; gap: 0; padding-block: 14px; }
  .value-grid span { padding: 11px 0; border: 0; border-bottom: 1px solid #cbd5d0; font-size: 10px; }
  .value-grid span:last-child { border: 0; }
  .intro, .contact-band-grid, .contact, .admin-intro { grid-template-columns: 1fr; gap: 28px; }
  .intro h2, .section-heading h2, .contact h2, .contact-band h2 { font-size: clamp(34px, 7vw, 48px); }
  .section-heading { display: block; }
  .section-heading > p { max-width: 550px; margin-top: 18px; }
  .catalogue-toolbar { align-items: stretch; flex-direction: column; }
  .catalogue-filter, .search-field { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-image { height: 220px; }
  .contact-band { padding-block: 65px; }
  .contact-band-grid { gap: 25px; }
  .footer-top { flex-wrap: wrap; gap: 14px; }
  .footer-top p { width: 100%; order: 3; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom span { width: 100%; }
  .history-item { grid-template-columns: 1fr; gap: 5px; }
  .portal-main { padding-block: 42px 64px; }
  .portal-intro, .portal-section-heading, .portal-order-footer { align-items: stretch; flex-direction: column; }
  .portal-intro-action { justify-content: space-between; }
  .portal-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-order-actions { justify-content: start; }
  .admin-main { padding-block: 54px; }
}

@media (max-width: 520px) {
  section[id] { scroll-margin-top: 94px; }
  .brand-pair { gap: 8px; }
  .feni-logo { width: 108px; height: 56px; }
  .brand-divider { display: block; height: 42px; }
  .sp-lockup { width: 62px; height: 47px; }
  .hero { min-height: 620px; }
  .hero-content { padding-top: 78px; }
  .hero h1 { font-size: 44px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { justify-content: space-between; }
  .hero-caption span { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 250px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px; }
  .contact-methods strong { font-size: 11px; }
  .drawer { width: 100%; }
  .detail-actions { flex-direction: column; }
  .admin-header-inner .button { min-height: 42px; padding-inline: 14px; }
  .portal-card, .portal-login { padding: 20px; }
  .portal-order { padding: 14px; }
  .portal-order-customer { display: grid; }
  .portal-notification { flex-direction: column; gap: 5px; }
  .inventory-table th, .inventory-table td { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Portada institucional: el catálogo vive en Tienda. */
.main-nav a, .header-contact { color: #202938; font-size: 16px; line-height: 1.4; }
.main-nav a { padding-block: 13px; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 18px; padding: 14px 20px; background: #fff; border: 2px solid var(--red); color: var(--ink); }
.skip-link:focus { top: 12px; }
.feni-home .hero { min-height: 680px; }
.feni-home .hero-content { padding-top: 115px; }
.feni-home .hero-content > p:not(.eyebrow) { max-width: 570px; font-size: 18px; }
.feni-home .button { font-size: 14px; min-height: 54px; }
.feni-home .eyebrow { font-size: 11px; }
.feni-home .text-link { font-size: 14px; }
.home-solutions { background: var(--paper-2); }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.application-card { position: relative; display: block; min-height: 430px; overflow: hidden; background: var(--ink); color: white; }
.application-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.application-card.application-card-commercial > img { object-position: center 58%; }
.application-card.application-card-industrial > img { object-position: center 48%; }
.application-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #07194d00 15%, #07194d59 48%, #07194df0 100%); }
.application-card > div { position: absolute; z-index: 1; inset: auto 28px 28px; }
.application-card span { font: 700 11px/1.5 var(--font); letter-spacing: .04em; color: #e6ebf5; }
.application-card h3 { margin: 12px 0 10px; font: 800 30px/1.15 var(--font); letter-spacing: -.035em; }
.application-card p { margin: 0; max-width: 270px; color: #f1f4fb; font-size: 14px; line-height: 1.6; }
.application-card b { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-top: 20px; border: 1px solid #ffffff70; font-size: 21px; }
.application-card:hover > img { transform: scale(1.035); }
.editorial-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; align-items: center; }
.editorial-image { margin: 0; position: relative; }
.editorial-image img { width: 100%; aspect-ratio: 1 / 1.06; object-fit: cover; object-position: 42% center; }
.editorial-image figcaption { position: absolute; bottom: 24px; left: 24px; right: 24px; padding: 16px 20px; background: #fffffff0; color: var(--ink); font-size: 13px; }
.editorial-copy h2, .company-grid h2 { margin: 0 0 25px; font: 800 clamp(34px, 3.6vw, 54px)/1.15 var(--font); letter-spacing: -.055em; }
.editorial-copy h2 em, .company-grid h2 em { color: #6983bb; }
.editorial-copy > p:not(.eyebrow), .company-grid > div > p:not(.eyebrow) { color: #4a5d86; font-size: 16px; line-height: 1.8; }
.home-commercial { position: relative; min-height: 610px; background: var(--ink); color: white; overflow: hidden; }
.home-commercial > img, .commercial-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-commercial > img { object-position: center 22%; }
.commercial-shade { background: linear-gradient(90deg, #07194de8 0%, #07194d80 44%, #07194d0a 100%); }
.commercial-copy { position: relative; z-index: 1; padding-block: 105px; }
.commercial-copy h2 { margin: 0; font: 800 clamp(40px, 4.7vw, 68px)/1.1 var(--font); letter-spacing: -.06em; }
.commercial-copy > p:not(.eyebrow) { max-width: 490px; margin-block: 24px 32px; font-size: 17px; line-height: 1.8; color: #f3f5fb; }
.company-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 10%; }
.company-grid > div > p { max-width: 610px; }
.company-brand { min-height: 340px; display: grid; align-content: center; justify-items: center; padding: 40px; background: #f2f5fb; border-top: 3px solid var(--red); }
.company-brand img { width: 250px; height: 160px; object-fit: contain; }
.company-brand > p { max-width: 270px; text-align: center; }
.home-contact { align-items: center; }
.home-contact .contact-methods strong { font-size: 17px; }
.home-contact .contact-methods small { color: #526079; font-size: 12px; }
.home-whatsapp { position: fixed; z-index: 55; bottom: 22px; right: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 50px; background: var(--ink); color: white; font-size: 14px; font-weight: 700; box-shadow: 0 6px 22px #10246130; border: 1px solid #ffffff90; }
.home-whatsapp:hover { background: #1e3e8b; }
.home-whatsapp svg { width: 25px; height: 25px; }
@media (max-width: 1120px) {
  .application-card > div { inset: auto 20px 24px; }
  .application-card h3 { font-size: 26px; }
}
@media (max-width: 900px) {
  .application-grid { grid-template-columns: 1fr; }
  .application-card { min-height: 370px; }
  .application-card > img { object-position: center 58%; }
  .application-card > div { inset: auto 28px 28px; }
  .application-card p { max-width: 420px; }
  .editorial-grid, .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .editorial-image img { aspect-ratio: 4 / 3; }
  .company-brand { min-height: 270px; }
}
@media (max-width: 760px) {
  .feni-home .hero { min-height: 640px; }
  .feni-home .hero-content { padding-top: 78px; }
  .feni-home .hero-content > p:not(.eyebrow) { font-size: 16px; }
  .main-nav a { font-size: 18px; }
  .home-commercial { min-height: 560px; }
  .commercial-copy { padding-block: 75px; }
  .commercial-shade { background: linear-gradient(90deg, #07194dc9, #07194d58); }
  .home-contact .contact-methods strong { font-size: 15px; }
  .home-whatsapp { right: 16px; bottom: 16px; padding: 12px; }
  .home-whatsapp span { display: none; }
}
