/*
Theme Name: Isunparse Corporate
Theme URI: https://isunparse.com/
Author: Isunparse Migration Project
Description: قالب سبک، RTL و واکنش‌گرا برای سایت شرکتی و کاتالوگ محصولات آیسان پارسه.
Version: 1.12.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: isunparse-corporate
*/

@font-face {
    font-family: "Vazirmatn";
    src: url("assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --navy: #102d4e;
    --navy-deep: #071d33;
    --blue: #075f9f;
    --blue-bright: #117ebc;
    --teal: #168d88;
    --gold: #f3bd20;
    --ink: #17212b;
    --muted: #637382;
    --bg: #f4f7f9;
    --line: #dbe4ea;
    --white: #fff;
    --radius: 15px;
    --shadow: 0 14px 40px rgba(13, 42, 67, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    direction: rtl;
    background: var(--white);
    color: var(--ink);
    font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    text-rendering: optimizeLegibility;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: "Vazirmatn", Tahoma, sans-serif; font-weight: 800; }
strong, b { font-weight: 700; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    position: fixed !important;
    top: 8px;
    right: 8px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 18px;
    margin: 0;
    clip: auto;
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(8, 35, 58, .05);
    backdrop-filter: blur(12px);
}
body.admin-bar .site-header { top: 32px; }
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
}
.brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    color: var(--navy);
    font-weight: 800;
}
.brand img, .brand .custom-logo {
    width: auto;
    max-width: 310px;
    max-height: 68px;
    object-fit: contain;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: block;
    padding: 9px 13px;
    border-radius: 999px;
    color: #344758;
    font-size: .94rem;
    font-weight: 650;
    transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
}
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--navy);
    font-weight: 650;
    cursor: pointer;
}
.menu-toggle:hover, .menu-toggle:focus-visible {
    border-color: var(--teal);
    outline: 2px solid rgba(22, 141, 136, .17);
    outline-offset: 2px;
}
.menu-toggle-icon { display: grid; gap: 4px; width: 20px; }
.menu-toggle-icon span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Home slider */
.home-hero { padding: 16px 0 18px; background: #edf3f7; }
.hero-slider {
    position: relative;
    min-height: clamp(360px, 32vw, 410px);
    overflow: hidden;
    border-radius: 15px;
    background: var(--navy-deep);
    box-shadow: 0 16px 34px rgba(7, 29, 51, .2);
    isolation: isolate;
}
.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .65s ease, visibility .65s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 25, 43, .15) 0%, rgba(5, 25, 43, .46) 50%, rgba(5, 25, 43, .88) 100%);
    pointer-events: none;
}
.hero-copy {
    position: relative;
    z-index: 2;
    width: min(590px, 66%);
    padding: clamp(30px, 3.8vw, 46px) clamp(34px, 4.2vw, 52px) 58px;
    color: var(--white);
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #dceaf4;
    font-size: .9rem;
    font-weight: 700;
}
.hero-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.hero-copy h1, .hero-copy h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: clamp(1.7rem, 2.55vw, 2.35rem);
    line-height: 1.38;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .25);
}
.hero-copy p { max-width: 545px; margin: 0; color: #edf5fa; font-size: clamp(.88rem, 1.15vw, .96rem); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
}
.button:hover { filter: brightness(.97); text-decoration: none; }
.button.alt { background: var(--teal); }
.button.gold { background: var(--gold); color: var(--navy-deep); }
.button.ghost { border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(4, 24, 42, .52);
    color: var(--white);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    direction: ltr;
}
.slider-arrow:hover, .slider-arrow:focus-visible { background: var(--navy); outline: 2px solid var(--white); outline-offset: 2px; }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; right: 0; bottom: 18px; left: 0; z-index: 4; display: flex; justify-content: center; gap: 7px; }
.slider-dot { width: 10px; height: 10px; padding: 0; border: 1px solid var(--white); border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dot.is-active { width: 28px; border-radius: 999px; background: var(--white); }

/* Home content */
.home-intro { padding: 38px 0 24px; background: var(--white); }
.intro-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 26px; }
.intro-panel h2 { margin: 0 0 9px; color: var(--navy); font-size: clamp(1.55rem, 2.8vw, 2.3rem); }
.intro-panel p { max-width: 930px; margin: 0; color: #4d5f6e; text-align: justify; }
.section { padding: 50px 0; }
.section.alt { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 24px; }
.section-head h2, .section h2 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 2.2vw, 2rem); }
.section-subtitle { margin-top: 5px; color: var(--muted); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.solution-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid #ccd9e1;
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: 0 8px 25px rgba(13, 42, 67, .08);
}
.solution-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .45s ease; }
.solution-card::after { content: ""; position: absolute; inset: 36% 0 0; background: linear-gradient(0deg, rgba(4, 24, 42, .92), rgba(4, 24, 42, 0)); }
.solution-card h3 { position: absolute; right: 20px; bottom: 14px; left: 20px; z-index: 2; margin: 0; color: var(--white); font-size: 1rem; line-height: 1.7; }
.solution-card a { position: absolute; inset: 0; z-index: 3; }
.solution-card:hover img { transform: scale(1.045); }
.solution-card:hover { border-color: var(--teal); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 5px 18px rgba(21, 43, 61, .05);
}
.card h3 { margin: .2em 0 .4em; color: var(--navy); }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; margin: -8px -8px 16px; border-radius: 11px; background: #eef3f6; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; background: #f7f9fa; }
.product-card h3 { margin-top: 0; }
.product-card p { margin-bottom: 0; }
.tax-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tax-list a { padding: 6px 12px; border: 1px solid #d4e7ea; border-radius: 999px; background: #edf6f7; color: var(--navy); font-size: .9rem; }
.partners-strip { padding: 22px 0; border-top: 1px solid var(--line); background: #eef2f5; }
.partners-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.partners-copy { color: var(--navy); font-weight: 700; }
.partner-logos { display: flex; align-items: center; gap: 12px; direction: ltr; }
.partner-logo { display: grid; place-items: center; min-height: 68px; padding: 8px 14px; border: 1px solid #cfd9df; background: var(--white); }
.partner-logos a.partner-logo { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.partner-logos a.partner-logo:hover, .partner-logos a.partner-logo:focus-visible { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 7px 18px rgba(13, 42, 67, .12); outline: none; }
.partner-logo img { width: auto; max-width: 172px; max-height: 52px; }

/* Inner pages and products */
.content { padding: 48px 0; }
.content h1 { color: var(--navy); font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.45; }
.breadcrumbs { margin-bottom: 12px; color: var(--muted); font-size: .9rem; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; }
.product-side { position: sticky; top: 112px; align-self: start; }
.specs { display: grid; gap: 14px; margin-top: 28px; }
.spec { overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.spec h2 { margin: 0 0 7px; color: var(--navy); font-size: 1.05rem; }
.datasheets a { display: flex; margin: 8px 0; }
.entry-content { overflow-wrap: anywhere; }
.entry-content img { border-radius: 10px; }
.entry-content table, .spec table { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--white); }
.entry-content th, .entry-content td, .spec th, .spec td { padding: 9px 11px; border: 1px solid var(--line); vertical-align: middle; }
.spec > div { max-width: 100%; overflow-x: auto; }
.isun-has-datasheet .entry-content > .wp-block-buttons:last-child { display: none; }
.empty { padding: 28px; border-radius: 12px; background: var(--bg); color: var(--muted); }
.catalog-header { margin-bottom: 26px; }
.catalog-header h1 { margin: 0 0 5px; }
.catalog-header p { margin: 0; }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; direction: ltr; }
.catalog-results { grid-column: 1; min-width: 0; direction: rtl; }
.catalog-results .grid { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.catalog-sidebar { grid-column: 2; grid-row: 1; position: sticky; top: 106px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 8px 28px rgba(13, 42, 67, .07); direction: rtl; }
.catalog-sidebar-head { padding: 18px 20px 15px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--navy), #174c72); }
.catalog-sidebar-head h2 { margin: 0 0 5px; color: var(--white); font-size: 1.1rem; }
.catalog-sidebar-head > a { color: #d9ebf5; font-size: .85rem; }
.catalog-category-list { margin: 0; padding: 0; list-style: none; }
.catalog-sidebar > .catalog-category-list { padding: 8px 12px 14px; }
.catalog-category-item { border-bottom: 1px solid #dfe8ed; }
.catalog-category-item:last-child { border-bottom: 0; }
.catalog-category-row { display: flex; align-items: center; gap: 9px; }
.catalog-category-row > a { display: block; flex: 1; padding: 12px 7px; color: #0879b2; font-weight: 750; line-height: 1.65; }
.catalog-category-row > a:hover, .catalog-category-item.is-current > .catalog-category-row > a { color: var(--teal); text-decoration: none; }
.catalog-category-toggle { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #e8f2f5; color: var(--teal); font-size: 1rem; font-weight: 800; cursor: pointer; }
.catalog-category-toggle:hover, .catalog-category-toggle:focus-visible { background: var(--teal); color: var(--white); outline: none; }
.catalog-category-level-1 { margin: 0 10px 9px 0; padding: 0 13px 0 0; border-right: 2px solid #dbe9ed; }
.catalog-category-level-1 .catalog-category-item { border-bottom: 0; }
.catalog-category-level-1 .catalog-category-row > a { position: relative; padding: 7px 15px 7px 3px; color: #4b6070; font-size: .9rem; font-weight: 500; line-height: 1.75; }
.catalog-category-level-1 .catalog-category-row > a::before { content: "‹"; position: absolute; right: 0; top: 7px; color: #8b989f; font-weight: 800; }
.catalog-category-level-1 .catalog-category-toggle { width: 21px; height: 21px; flex-basis: 21px; font-size: .85rem; }
.catalog-category-level-2 { margin-right: 10px; padding-right: 10px; }
.catalog-category-list[hidden] { display: none; }

/* Standard pages */
.page-content-area { background: linear-gradient(180deg, #fff 0, #f7f9fb 100%); }
.page-wrap { width: min(1040px, calc(100% - 40px)); }
.page-article { padding: clamp(26px, 4vw, 46px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 36px rgba(13, 42, 67, .07); }
.page-header { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.page-header h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.7rem); }
.page-content { color: #263746; font-size: 1rem; line-height: 2.05; }
.page-content::after { content: ""; display: table; clear: both; }
.page-content > :first-child { margin-top: 0; }
.page-content > :last-child { margin-bottom: 0; }
.page-content p { margin: 0 0 1.25em; text-align: justify; }
.page-content h2, .page-content h3 { margin: 1.6em 0 .55em; color: var(--navy); line-height: 1.55; }
.page-content h2 { font-size: 1.45rem; }
.page-content h3 { font-size: 1.18rem; }
.page-content span[style*="font-size"], .page-content span[style*="line-height"] { font-size: inherit !important; line-height: inherit !important; }
.page-content img.alignright, .page-content img[style*="float: right"] { float: right !important; width: min(34%, 320px); margin: 4px 0 22px 28px; }
.page-content img.alignleft, .page-content img[style*="float: left"] { float: left !important; width: min(34%, 320px); margin: 4px 28px 22px 0; }

/* Contact form */
.contact-form-shell { clear: both; margin-top: 38px; padding: clamp(22px, 3.5vw, 34px); border: 1px solid #d8e4ea; border-radius: 15px; background: var(--bg); }
.contact-form-heading { margin-bottom: 22px; }
.contact-form-heading h2 { margin: 0 0 5px; color: var(--navy); font-size: 1.55rem; }
.contact-form-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.required { color: #b42318; font-weight: 800; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--navy); font-size: .93rem; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 13px; border: 1px solid #c9d6de; border-radius: 9px; outline: 0; background: var(--white); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.form-field textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22, 141, 136, .13); }
.form-checkbox { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: #3d5060; cursor: pointer; }
.form-checkbox input { width: 17px; height: 17px; accent-color: var(--teal); }
.contact-form-actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.form-privacy { color: var(--muted); font-size: .82rem; }
.form-notice { margin-bottom: 20px; padding: 12px 15px; border-radius: 9px; }
.form-notice ul { margin: 0; padding-right: 20px; }
.form-success { border: 1px solid #aad8c4; background: #eaf8f1; color: #176344; }
.form-error { border: 1px solid #efb5b0; background: #fff1f0; color: #8f2720; }
.contact-hp { position: absolute !important; right: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 38px 0; background: var(--navy-deep); color: #d7e5ef; }
.site-footer a { color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: grid; gap: 2px; }
.copyright { color: #c8d9e6; font-size: .9rem; }

@media (max-width: 850px) {
    body.admin-bar .site-header { top: 46px; }
    .wrap { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 70px; flex-wrap: wrap; gap: 12px; padding: 8px 0; }
    .brand { min-width: 0; flex: 1; }
    .brand img, .brand .custom-logo { max-width: min(245px, 72vw); max-height: 54px; }
    .menu-toggle { display: inline-flex; }
    .main-nav { width: 100%; order: 3; border-top: 1px solid var(--line); }
    .js .main-nav { display: none; }
    .js .main-nav.is-open { display: block; }
    .main-nav ul { display: grid; gap: 0; padding-top: 6px; }
    .main-nav li + li { border-top: 1px solid #edf2f5; }
    .main-nav a { padding: 9px 2px; border-radius: 0; }
    .main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { padding-inline: 10px; border-radius: 8px; }
    .hero-slider { min-height: 410px; border-radius: 14px; }
    .hero-copy { width: 82%; padding: 38px 34px 56px; }
    .hero-shade { background: linear-gradient(90deg, rgba(5, 25, 43, .28), rgba(5, 25, 43, .88)); }
    .intro-panel { grid-template-columns: 1fr; gap: 18px; }
    .solutions-grid, .grid { grid-template-columns: 1fr 1fr; }
    .product-layout { grid-template-columns: 1fr; gap: 24px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar, .catalog-results { grid-column: 1; }
    .catalog-sidebar { grid-row: auto; position: static; }
    .catalog-results .grid { grid-template-columns: 1fr 1fr; }
    .product-side { position: static; width: min(100%, 420px); margin-inline: auto; }
    .content { padding: 36px 0; }
    .partners-inner { align-items: flex-start; flex-direction: column; }
    .page-wrap { width: min(100% - 28px, 1040px); }
    .page-content img.alignright, .page-content img[style*="float: right"], .page-content img.alignleft, .page-content img[style*="float: left"] { width: min(40%, 280px); }
}

@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

@media (max-width: 560px) {
    body { font-size: 15px; }
    .wrap { width: calc(100% - 24px); }
    .home-hero { padding-top: 12px; }
    .hero-slider { min-height: 440px; }
    .hero-slide img { object-position: center; }
    .hero-shade { background: linear-gradient(0deg, rgba(5, 25, 43, .92), rgba(5, 25, 43, .32)); }
    .hero-copy { display: flex; width: 100%; min-height: 100%; padding: 72px 20px 56px; flex-direction: column; justify-content: flex-end; }
    .hero-copy h1, .hero-copy h2 { font-size: clamp(1.45rem, 7vw, 1.7rem); line-height: 1.42; }
    .hero-copy p { font-size: .88rem; line-height: 1.8; }
    .slider-arrow { top: 36px; width: 36px; height: 36px; transform: none; }
    .slider-prev { left: 14px; }
    .slider-next { right: 14px; }
    .home-intro { padding: 34px 0 18px; }
    .section { padding: 40px 0; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .solutions-grid, .grid { grid-template-columns: 1fr; }
    .catalog-results .grid { grid-template-columns: 1fr; }
    .solution-card, .solution-card img { min-height: 205px; }
    .card { padding: 18px; border-radius: 13px; }
    .tax-list { gap: 7px; }
    .tax-list a { padding: 6px 10px; font-size: .86rem; }
    .entry-content th, .entry-content td, .spec th, .spec td { padding: 8px; font-size: .88rem; }
    .page-wrap { width: calc(100% - 24px); }
    .page-article { padding: 22px 18px; border-radius: 14px; }
    .page-header { margin-bottom: 20px; padding-bottom: 14px; }
    .page-header h1 { font-size: 1.85rem; }
    .page-content { line-height: 1.95; }
    .page-content img.alignright, .page-content img[style*="float: right"], .page-content img.alignleft, .page-content img[style*="float: left"] { float: none !important; width: min(100%, 340px); margin: 0 auto 22px; }
    .contact-form-shell { margin-top: 28px; padding: 20px 16px; }
    .contact-form-grid { grid-template-columns: 1fr; gap: 15px; }
    .form-field-wide { grid-column: auto; }
    .contact-form-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
    .contact-form-actions .button { width: 100%; }
    .partner-logos { width: 100%; flex-wrap: wrap; }
    .partner-logo { min-height: 60px; flex: 1 1 130px; }
    .partner-logo img { max-width: 145px; }
    .footer-inner { align-items: flex-start; gap: 16px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-slide, .solution-card img, .menu-toggle-icon span { transition: none; }
}

/* Slider motion and product pagination */
.hero-slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity 1.2s ease-in-out, transform 1.8s ease-out, visibility 0s linear 1.2s !important;
}
.hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition-delay: 0s !important;
}
.hero-slide img { transition: transform 8s ease-out !important; }
.hero-slide.is-active img { transform: scale(1.025); }
.slider-prev { right: auto; left: 18px; }
.slider-next { right: 18px; left: auto; }

.catalog-results .navigation.pagination {
    display: flex;
    width: 100%;
    margin: 42px auto 10px;
    justify-content: center;
    clear: both;
    direction: rtl;
}
.catalog-results .nav-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f7fafb;
    box-shadow: 0 6px 18px rgba(13, 42, 67, .07);
}
.catalog-results .page-numbers {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #405668;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.catalog-results a.page-numbers:hover {
    transform: translateY(-1px);
    border-color: #c8dde3;
    background: #eaf4f6;
    color: var(--teal);
    text-decoration: none;
}
.catalog-results .page-numbers.current {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(16, 45, 78, .2);
}
.catalog-results .page-numbers.prev,
.catalog-results .page-numbers.next {
    min-width: 78px;
    background: var(--white);
    color: var(--blue);
}
.catalog-results .page-numbers.dots {
    min-width: 28px;
    padding-inline: 4px;
    color: #82919c;
}

/* Dynamic corporate header */
.site-header {
    overflow: visible;
    transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 4%, var(--teal) 38%, var(--gold) 58%, transparent 96%);
    opacity: 0;
    transform: scaleX(.55);
    transition: opacity .28s ease, transform .45s ease;
    pointer-events: none;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(199, 215, 225, .8);
    box-shadow: 0 10px 30px rgba(7, 29, 51, .13);
}
.site-header.is-scrolled::after { opacity: .75; transform: scaleX(1); }
.header-inner { transition: min-height .28s ease, padding .28s ease; }
.site-header.is-scrolled .header-inner { min-height: 66px; }
.brand img, .brand .custom-logo { transition: max-height .28s ease, transform .28s ease, filter .28s ease; }
.brand:hover img, .brand:hover .custom-logo { transform: translateY(-1px); filter: saturate(1.08); }
.site-header.is-scrolled .brand img,
.site-header.is-scrolled .brand .custom-logo { max-height: 58px; }
.main-nav > ul {
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(210, 223, 231, .85);
    border-radius: 999px;
    background: rgba(245, 248, 250, .82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 14px rgba(13, 42, 67, .04);
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled .main-nav > ul {
    border-color: rgba(196, 214, 224, .9);
    background: rgba(255, 255, 255, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 6px 18px rgba(13, 42, 67, .07);
}
.main-nav li { position: relative; }
.main-nav a {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 8px 14px;
    transition: color .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.main-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transform: translateX(50%) scale(0);
    transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.main-nav a:hover {
    transform: translateY(-1px);
    background: rgba(16, 45, 78, .08);
    color: var(--navy);
    text-decoration: none;
}
.main-nav a:hover::after { opacity: 1; transform: translateX(50%) scale(1); }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
    background: linear-gradient(135deg, var(--navy), #174f78);
    color: var(--white);
    box-shadow: 0 7px 18px rgba(16, 45, 78, .2);
    transform: none;
}
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after { opacity: 1; transform: translateX(50%) scale(1); }
@keyframes isunparseNavReveal {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: translateY(0); }
}
.main-nav > ul > li { animation: isunparseNavReveal .42s ease both; }
.main-nav > ul > li:nth-child(2) { animation-delay: .04s; }
.main-nav > ul > li:nth-child(3) { animation-delay: .08s; }
.main-nav > ul > li:nth-child(4) { animation-delay: .12s; }
.main-nav > ul > li:nth-child(5) { animation-delay: .16s; }
.menu-toggle { transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.menu-toggle:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(13, 42, 67, .09); }

@media (max-width: 850px) {
    .site-header.is-scrolled .header-inner { min-height: 64px; }
    .main-nav > ul,
    .site-header.is-scrolled .main-nav > ul {
        gap: 0;
        padding: 7px 0 2px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .main-nav a { padding: 10px 9px; border-radius: 9px; }
    .main-nav a::after { right: auto; bottom: 50%; left: 9px; transform: translateY(50%) scale(0); }
    .main-nav a:hover::after,
    .main-nav .current-menu-item > a::after,
    .main-nav .current-menu-ancestor > a::after { transform: translateY(50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .site-header, .header-inner, .brand img, .brand .custom-logo, .main-nav a, .main-nav > ul > li { animation: none; transition-duration: .01ms; }
}
