/* Shared page chrome and language-specific typography — 1.0.3. */
body.hp-lang-en { font-family: Arial, Helvetica, sans-serif; }
.hp-lang-en .metric b, .hp-lang-en .fact-card b, .hp-lang-en .line-number,
.hp-lang-en .step b { font-family: Arial, Helvetica, sans-serif; font-variant-numeric: lining-nums tabular-nums; direction: ltr; unicode-bidi: isolate; }
.site-shell { overflow: clip; }
body .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; row-gap: 10px; padding-block: 16px; }
body.hp-lang-fa .site-header, body.hp-lang-en .site-header { grid-template-columns: minmax(0, 1fr) auto; }
body .site-header .brand { justify-self: start; min-width: 0; gap: 0; }
.brand > span { max-width: 290px; display: none; }
.brand strong { font-size: 14px; line-height: 1.7; }
.brand small { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .08em; line-height: 1.5; }
body .site-header .language-switch { grid-column: 2; grid-row: 1; justify-self: end; direction: ltr; white-space: nowrap; }
.header-navigation { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.site-header .main-nav { flex-wrap: wrap; margin: 0; padding: 0; list-style: none; line-height: 1.5; }
.main-nav > li { position: relative; list-style: none; }
.main-nav a { display: inline-block; white-space: nowrap; }
.main-nav .sub-menu { display: none; position: absolute; inset-inline-start: 0; top: 100%; z-index: 30; min-width: 210px; padding: 10px 16px; margin: 0; list-style: none; background: white; color: var(--navy); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px #1036521a; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu .sub-menu { top: 0; inset-inline-start: 100%; }
body.admin-bar .site-header { top: 32px; }
body .hero-lockup { width: 100%; max-width: 100%; }
body .hero-lockup > .hero-tagline { position: static; display: block; width: auto; text-align: left; text-align-last: auto; word-spacing: normal; font-family: Arial, Helvetica, sans-serif; font-weight: 700; line-height: 1.8; white-space: normal; text-wrap: balance; }
body.hp-lang-fa .hero-lockup > .hero-tagline { text-align: right; font-size: 13px; letter-spacing: .035em; margin-bottom: 14px; }
body.hp-lang-en .hero-lockup > .hero-tagline { text-align: left; font-size: 12px; letter-spacing: .08em; margin-bottom: 16px; }
body .hero-lockup > h1 { width: auto; padding-top: 0; margin-top: 0; }
body .site-footer { padding-block: 52px 24px; }
.footer-grid { grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.footer-logo { display: inline-block; opacity: 1 !important; }
.footer-logo img { width: 240px; height: 60px; object-fit: contain; border-radius: 0; background: transparent; }
.site-footer h3 { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }
.site-footer p, .site-footer li, .site-footer a { opacity: 1; }
.site-footer p, .site-footer li a { color: #c7d5de; font-size: 13px; line-height: 1.9; }
.site-footer li + li { margin-top: 10px; }
.footer-brand p { max-width: 290px; margin: 16px 0 0; }
.copyright { margin-top: 32px; padding-top: 20px; line-height: 1.8; opacity: 1; color: #b6c8d3; }
@media (min-width: 1500px) {
 body.hp-lang-fa .site-header, body.hp-lang-en .site-header { grid-template-columns: minmax(340px, 1fr) auto minmax(90px, 1fr); }
 .header-navigation { grid-row: 1; grid-column: 2; }
 body .site-header .language-switch { grid-column: 3; }
}
@media (max-width: 980px) { .brand > span { display: none; } .footer-grid { gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-header .main-nav { display: flex; } body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Natural spacing inside the green image captions, in both languages. */
body.hp-lang-fa .about-note, body.hp-lang-en .about-note {
    text-align: start;
    text-align-last: auto;
    text-justify: auto;
    word-spacing: normal;
    letter-spacing: normal;
    white-space: normal;
    overflow-wrap: break-word;
    width: 260px;
    max-width: calc(100% - 20px);
    padding: 22px 24px;
}
body.hp-lang-fa .about-note { direction: rtl; font-size: 15px; line-height: 1.95; }
body.hp-lang-en .about-note { direction: ltr; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.7; }

/* 1.0.5: slightly larger Persian section labels; English remains unchanged. */
body.hp-lang-fa .hp-section-eyebrow {
    font-size: calc(var(--hp-eyebrow-size, 15px) + 3px);
    line-height: 1.8;
    letter-spacing: normal;
}
/* About hero: sharp, expansive photograph fading into the navy background. */
.page-hero.page-hero--about {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 64px 6%;
    overflow: hidden;
}
.page-hero--about > .page-hero-glass {
    position: absolute;
    z-index: 0;
    inset-block: 0;
    inset-inline-end: 0;
    width: 70%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-size: cover;
    background-position: center;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 48%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 48%, transparent 100%);
}
body.hp-lang-fa .page-hero--about > .page-hero-glass {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 48%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 48%, transparent 100%);
}
.page-hero--about > .page-hero-glass::before,
.page-hero--about > .page-hero-glass::after { content: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.page-hero--about > .page-hero-copy {
    position: relative;
    z-index: 1;
    width: 62%;
    min-width: 0;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(12,41,61,.90);
    background: color-mix(in srgb, var(--navy-deep) 90%, transparent);
    box-shadow: 0 12px 40px rgba(3,19,32,.12);
}
.page-hero--about .page-hero-copy h1 { color: #fff; line-height: 1.55; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.page-hero--about .page-hero-copy p { color: #fff; opacity: 1; line-height: 1.9; }
.page-hero--about .breadcrumbs { color: #e4eef3; opacity: 1; }
@media (max-width: 980px) {
    .page-hero--about > .page-hero-copy { width: 70%; padding: 26px; }
}
@media (max-width: 760px) {
    .page-hero.page-hero--about { display: flex; flex-direction: column; gap: 24px; padding: 40px 6%; }
    .page-hero--about > .page-hero-copy { width: 100%; padding: 24px; }
    .page-hero--about > .page-hero-glass,
    body.hp-lang-fa .page-hero--about > .page-hero-glass {
        position: relative; inset: auto; width: 100%; min-height: 300px;
        border-radius: 18px; -webkit-mask-image: none; mask-image: none;
    }
}

/* 1.0.6: same clear photographic treatment for the product gallery. */
/* About hero: sharp, expansive photograph fading into the navy background. */
.page-hero.page-hero--products {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 64px 6%;
    overflow: hidden;
}
.page-hero--products > .page-hero-glass {
    position: absolute;
    z-index: 0;
    inset-block: 0;
    inset-inline-end: 0;
    width: 70%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-size: cover;
    background-position: center;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 48%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 48%, transparent 100%);
}
body.hp-lang-fa .page-hero--products > .page-hero-glass {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 48%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 48%, transparent 100%);
}
.page-hero--products > .page-hero-glass::before,
.page-hero--products > .page-hero-glass::after { content: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.page-hero--products > .page-hero-copy {
    position: relative;
    z-index: 1;
    width: 62%;
    min-width: 0;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(12,41,61,.90);
    background: color-mix(in srgb, var(--navy-deep) 90%, transparent);
    box-shadow: 0 12px 40px rgba(3,19,32,.12);
}
.page-hero--products .page-hero-copy h1 { color: #fff; line-height: 1.55; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.page-hero--products .page-hero-copy p { color: #fff; opacity: 1; line-height: 1.9; }
.page-hero--products .breadcrumbs { color: #e4eef3; opacity: 1; }
@media (max-width: 980px) {
    .page-hero--products > .page-hero-copy { width: 70%; padding: 26px; }
}
@media (max-width: 760px) {
    .page-hero.page-hero--products { display: flex; flex-direction: column; gap: 24px; padding: 40px 6%; }
    .page-hero--products > .page-hero-copy { width: 100%; padding: 24px; }
    .page-hero--products > .page-hero-glass,
    body.hp-lang-fa .page-hero--products > .page-hero-glass {
        position: relative; inset: auto; width: 100%; min-height: 300px;
        border-radius: 18px; -webkit-mask-image: none; mask-image: none;
    }
}

.page-hero--products .product-hero-dots {
    inset-inline-start: auto;
    inset-inline-end: 24px;
    bottom: 24px;
    width: max-content;
    max-width: calc(100% - 48px);
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
}

/* Contact hero and verified contact/location cards — 1.0.7. */
/* About hero: sharp, expansive photograph fading into the navy background. */
.page-hero.page-hero--contact {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 64px 6%;
    overflow: hidden;
}
.page-hero--contact > .page-hero-glass {
    position: absolute;
    z-index: 0;
    inset-block: 0;
    inset-inline-end: 0;
    width: 70%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-size: cover;
    background-position: center;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 48%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 48%, transparent 100%);
}
body.hp-lang-fa .page-hero--contact > .page-hero-glass {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 48%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 48%, transparent 100%);
}
.page-hero--contact > .page-hero-glass::before,
.page-hero--contact > .page-hero-glass::after { content: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.page-hero--contact > .page-hero-copy {
    position: relative;
    z-index: 1;
    width: 62%;
    min-width: 0;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(12,41,61,.90);
    background: color-mix(in srgb, var(--navy-deep) 90%, transparent);
    box-shadow: 0 12px 40px rgba(3,19,32,.12);
}
.page-hero--contact .page-hero-copy h1 { color: #fff; line-height: 1.55; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.page-hero--contact .page-hero-copy p { color: #fff; opacity: 1; line-height: 1.9; }
.page-hero--contact .breadcrumbs { color: #e4eef3; opacity: 1; }
@media (max-width: 980px) {
    .page-hero--contact > .page-hero-copy { width: 70%; padding: 26px; }
}
@media (max-width: 760px) {
    .page-hero.page-hero--contact { display: flex; flex-direction: column; gap: 24px; padding: 40px 6%; }
    .page-hero--contact > .page-hero-copy { width: 100%; padding: 24px; }
    .page-hero--contact > .page-hero-glass,
    body.hp-lang-fa .page-hero--contact > .page-hero-glass {
        position: relative; inset: auto; width: 100%; min-height: 300px;
        border-radius: 18px; -webkit-mask-image: none; mask-image: none;
    }
}


.hp-channel { display: block; min-height: 190px; transition: border-color .2s, box-shadow .2s; }
.hp-channel:hover { border-color: var(--aqua); box-shadow: 0 8px 24px #10365214; }
.hp-channel h3 { margin: 20px 0 12px; font-size: 17px; }
.hp-contact-value { display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: 17px; unicode-bidi: isolate; overflow-wrap: anywhere; color: var(--navy); }
.hp-location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.hp-location-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; }
.hp-location-copy { padding: 30px; }
.hp-location-copy > svg { color: var(--aqua); }
.hp-location-copy h3 { margin: 14px 0; font-size: 24px; }
.hp-location-copy address { font-style: normal; min-height: 72px; line-height: 1.9; color: var(--muted); }
.hp-location-phone { display: block; width: max-content; margin: 16px 0; }
.hp-location-card iframe { display: block; width: 100%; height: 320px; border: 0; }
@media (max-width:760px) { .hp-location-grid { grid-template-columns: 1fr; } }

/* 1.0.9: translucent teal glass panels and a clipped, scroll-pinned visual layer. */
.page-hero:is(.page-hero--about, .page-hero--products, .page-hero--contact) > .page-hero-copy {
    background: rgba(8, 77, 78, .62);
    background: color-mix(in srgb, var(--aqua) 30%, rgba(5, 39, 49, .46));
    -webkit-backdrop-filter: blur(8px) saturate(115%);
    backdrop-filter: blur(8px) saturate(115%);
    border-color: rgba(255,255,255,.38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 40px rgba(3,19,32,.16);
}
.page-hero:is(.page-hero--about, .page-hero--products, .page-hero--contact) .page-hero-copy :is(h1, p, .breadcrumbs) {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,20,30,.5);
    opacity: 1;
}
.page-hero:is(.page-hero--about, .page-hero--products, .page-hero--contact) .breadcrumbs a {
    color: inherit;
}
.page-hero .hp-scroll-visual {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.page-hero .hp-scroll-clip { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    .page-hero .hp-scroll-layer { will-change: transform; }
}
