@charset "utf-8";

/* =========================================================
RESET
========================================================= */

{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}

body {
font-family: "B NAZANIN";
background: #F3F3F2;
color: #292B2F;
overflow-x: hidden;
}

a {
color: inherit;
text-decoration: none;
}

img {
max-width: 100%;
display: block;
}

button {
font-family: inherit;
}

:root {
--accent: #8A6067;
--accent-dark: #70474F;
--accent-light: #B68189;

--black: #292B2F;
--dark: #34363A;
--dark-2: #45474B;

--gray: #696C71;
--gray-2: #77797D;

--light-gray: #D9DADC;
--light-gray-2: #E4E5E7;

--background: #F3F3F2;

--white: #FFFFFF;

--border-light: #E6E6E6;
--border-dark: #4A4C50;

--shadow: #D9D9D9;

}

/* =========================================================
HEADER
========================================================= */

.header {
position: absolute;
top: 28px;
left: 4%;
right: 4%;
z-index: 100;
height: 78px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24px 0 14px;
background: #FFFFFF;
border: 1px solid #EEEEEE;
border-radius: 22px;
box-shadow: 0 15px 50px #D9D9D9;
animation: headerIn .8s ease both;
}

.logo {
display: flex;
flex-direction: column;
line-height: 1;
}

.logo img {
font-family: Arial, sans-serif;
font-size: 32px;
width: 100px;
height: 75px;
object-fit: contain;
letter-spacing: 5px;
color: #34363A;
}

.logo span {
margin-top: 6px;
color: #8A6067;
font-size: 17px;
letter-spacing: 1px;
}

.nav {
display: flex;
align-items: center;
gap: 34px;
}

.nav a {
position: relative;
color: #55575B;
font-size: 17px;
transition: color .4s ease;
}

.nav a::after {
content: "";
position: absolute;
right: 0;
bottom: -12px;
width: 0;
height: 2px;
background: #8A6067;
transition: width .4s ease;
}

.nav a:hover,
.nav a.active {
color: #8A6067;
}

.nav a:hover::after,
.nav a.active::after {
width: 100%;
}

.header-btn {
display: flex;
align-items: center;
gap: 14px;
padding: 13px 21px;
border-radius: 13px;
color: #FFFFFF;
background: #8A6067;
font-size: 13px;
transition:
transform .4s ease,
background .4s ease,
box-shadow .4s ease;
}

.header-btn b {
font-size: 18px;
font-weight: 400;
}

.header-btn:hover {
background: #70474F;
transform: translateY(-3px);
box-shadow: 0 12px 30px #C9B0B4;
}

.menu-btn {
display: none;
width: 44px;
height: 44px;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 5px;
border: 1px solid #DDDDDD;
border-radius: 50%;
background: #FFFFFF;
cursor: pointer;
}

.menu-btn span {
width: 18px;
height: 1px;
background: #34363A;
}

/* =========================================================
HERO
========================================================= */

.hero {
min-height: 820px;
position: relative;
display: flex;
align-items: center;
overflow: hidden;
background:
radial-gradient(
circle at 80% 50%,
#E3D7D9,
#E8E9EA 30%,
#F8F8F7 58%,
#DCDDDE 100%
);
}

.hero::before {
content: "";
position: absolute;
width: 600px;
height: 600px;
left: 48%;
top: 18%;
border: 1px solid #D2BFC3;
border-radius: 50%;
animation: slowRotate 18s linear infinite;
}

.hero::after {
content: "";
position: absolute;
width: 900px;
height: 1px;
right: -200px;
top: 30%;
background: #D5C4C7;
transform: rotate(-30deg);
}

.hero-content {
width: 45%;
margin-right: 8%;
position: relative;
z-index: 5;
animation: heroText 1s .2s both;
}

.eyebrow {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 25px;
color: #8A6067;
font-size: 14px;
font-weight: 600;
}

.eyebrow span {
width: 35px;
height: 2px;
background: #8A6067;
}

.hero h1 {
font-size: clamp(48px, 5vw, 82px);
line-height: 1.2;
font-weight: 900;
letter-spacing: -2px;
}

.hero h1 em {
color: #8A6067;
font-style: normal;
}

.hero-content > p {
max-width: 540px;
margin-top: 28px;
color: #696C71;
font-size: 17px;
line-height: 2.1;

/* بدون محدودیت 3 خط */
height: auto;
max-height: none;
overflow: visible;

}

.hero-actions {
display: flex;
align-items: center;
gap: 25px;
margin-top: 38px;
}

.primary-btn {
display: inline-flex;
align-items: center;
gap: 22px;
padding: 16px 23px;
border-radius: 13px;
color: #FFFFFF;
background: #8A6067;
font-size: 14px;
font-weight: 600;
transition:
transform .45s ease,
background .45s ease,
box-shadow .45s ease;
}

.primary-btn:hover {
background: #70474F;
transform: translateY(-5px);
box-shadow: 0 18px 40px #C9B0B4;
}

.primary-btn span {
font-size: 20px;
transition: transform .4s ease;
}

.primary-btn:hover span {
transform: translateX(-5px);
}

.text-btn {
display: flex;
align-items: center;
gap: 12px;
color: #696C71;
font-size: 14px;
transition: color .4s ease;
}

.text-btn:hover {
color: #8A6067;
}

/* =========================================================
HERO PRODUCT
========================================================= */

.hero-product {
position: absolute;
width: 52%;
height: 650px;
left: -3%;
top: 150px;
display: flex;
align-items: center;
justify-content: center;
animation: productIn 1.2s .25s both;
}

.product-glow {
position: absolute;
width: 500px;
height: 500px;
border-radius: 50%;
background: #E3D3D6;
filter: blur(15px);
}

.valve-img {
width: 550px;
height: 550px;
max-width: none;
border-radius: 50%;
object-fit: cover;
position: relative;
z-index: 3;
filter: drop-shadow(0 35px 30px #BDBDBD);
animation: floating 5s ease-in-out infinite;
}

.orbit {
position: absolute;
border: 1px solid #CDB7BB;
border-radius: 50%;
}

.orbit-1 {
width: 520px;
height: 520px;
animation: slowRotate 15s linear infinite;
}

.orbit-2 {
width: 650px;
height: 650px;
border-style: dashed;
animation: slowRotate 25s linear infinite reverse;
}

.product-label {
position: absolute;
left: 12%;
bottom: 70px;
z-index: 4;
display: flex;
flex-direction: column;
padding: 14px 20px;
border-right: 3px solid #8A6067;
background: #F8F8F8;
}

.product-label small {
color: #8A6067;
font-size: 12px;
letter-spacing: 2px;
}

.product-label strong {
margin-top: 10px;
font-family: Arial, sans-serif;
	font-size: 20px;
color: #34363A;
}

.hero-side-info {
position: absolute;
left: 3%;
top: 42%;
z-index: 5;
display: flex;
flex-direction: column;
gap: 25px;
}

.hero-side-info div {
display: flex;
align-items: center;
gap: 12px;
writing-mode: vertical-rl;
}

.hero-side-info strong {
color: #8A6067;
font-size: 12px;
}

.hero-side-info span {
color: #77797D;
font-size: 10px;
}

/* =========================================================
PRODUCTS
========================================================= */

.products-section,
.clients-section,
.certificates-section {
width: 86%;
margin: auto;
padding: 130px 0;
}

.section-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
margin-bottom: 55px;
}

.section-number {
color: #8A6067;
font-size: 10px;
letter-spacing: 2px;
}

.section-heading h2 {
margin-top: 18px;
color: #292B2F;
font-size: 52px;
line-height: 1.3;
}

.section-heading h2 em {
color: #8A6067;
font-style: normal;
}

.section-heading > p {
max-width: 360px;
color: #696C71;
font-size: 14px;
line-height: 2;

/* متن بدون محدودیت 3 خط */
height: auto;
max-height: none;
overflow: visible;

}

.products-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.product-card {
position: relative;
overflow: hidden;
min-height: 520px;
border-radius: 25px;
background: #E4E5E7;
transition:
transform .5s ease,
box-shadow .5s ease;
}

.product-card:hover {
transform: translateY(-8px);
box-shadow: 0 25px 50px #D1D1D1;
}

.product-image {
height: 320px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 30px;
}

.product-image img {
width: 80%;
height: 100%;
object-fit: contain;
transition: transform .6s ease;
}

.product-card:hover .product-image img {
transform: scale(1.06);
}

.product-number {
position: absolute;
top: 20px;
right: 20px;
color: #8A6067;
font-size: 11px;
}

.product-content {
padding: 30px;
}

.product-content small {
color: #8A6067;
font-size: 14px;
letter-spacing: 2px;
}

.product-content h3 {
margin-top: 10px;
color: #292B2F;
font-size: 28px;
}

.product-content p {
max-width: 480px;
margin-top: 12px;
color: #696C71;
font-size: 13px;
line-height: 2;

/* متن بدون محدودیت 3 خط */
height: auto;
max-height: none;
overflow: visible;

}

.card-link {
display: inline-flex;
align-items: center;
gap: 15px;
margin-top: 20px;
color: #8A6067;
font-size: 12px;
transition: gap .4s ease;
}

.card-link:hover {
gap: 20px;
}

.section-bottom {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 35px;
padding-top: 30px;
border-top: 1px solid #D9DADC;
}

.section-bottom > span {
color: #77797D;
font-size: 12px;
}

/* =========================================================
ABOUT
========================================================= */

.about-section {
width: 86%;
margin: auto;
padding: 130px 0;
display: grid;
grid-template-columns: 1.1fr .9fr;
align-items: center;
gap: 100px;
}

.about-image {
position: relative;
height: 560px;
overflow: hidden;
border-radius: 28px;
background: #D9DADC;
}

.about-image img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(20%);
transition: transform .8s ease;
}

.about-image:hover img {
transform: scale(1.04);
}

.about-image::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
0deg,
#292B2F,
#292B2F 12%,
transparent 70%
);
opacity: .72;
}

.image-number {
position: absolute;
top: 25px;
right: 25px;
z-index: 3;
color: #FFFFFF;
font-size: 12px;
}

.image-caption {
position: absolute;
right: 30px;
bottom: 30px;
z-index: 3;
display: flex;
flex-direction: column;
color: #FFFFFF;
}

.image-caption small {
color: #B68189;
font-size: 9px;
letter-spacing: 2px;
}

.image-caption strong {
margin-top: 8px;
font-size: 20px;
}

.about-content > h2 {
margin-top: 20px;
color: #292B2F;
font-size: 52px;
line-height: 1.4;
}

.about-content h2 em {
color: #8A6067;
font-style: normal;
}

.about-content > p {
margin-top: 20px;
color: #696C71;
font-size: 14px;
line-height: 2.2;

/* متن بدون محدودیت 3 خط */
height: auto;
max-height: none;
overflow: visible;

}

.about-stats {
display: flex;
gap: 45px;
margin: 35px 0;
}

.about-stat {
display: flex;
flex-direction: column;
}

.about-stat strong {
color: #8A6067;
font-family: Arial, sans-serif;
font-size: 30px;
}

.about-stat span {
margin-top: 6px;
color: #77797D;
font-size: 11px;
}

/* =========================================================
CLIENTS
========================================================= */

.clients-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}

.client-card {
height: 360px;
position: relative;
overflow: hidden;
border-radius: 22px;
background: #D9DADC;
cursor: pointer;
transition:
transform .5s ease,
box-shadow .5s ease;
}

.client-card:hover {
transform: translateY(-8px);
box-shadow: 0 25px 50px #D1D1D1;
}

.client-card img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform .8s ease;
}

.client-card:hover img {
transform: scale(1.08);
}

.client-card::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
0deg,
#292B2F,
transparent 65%
);
opacity: .68;
}

.client-overlay {
position: absolute;
right: 20px;
left: 20px;
bottom: 20px;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
}

.client-overlay > span {
width: 35px;
height: 35px;
display: grid;
place-items: center;
border: 1px solid #B68189;
border-radius: 50%;
font-size: 10px;
}


.client-overlay small {
display: block;
margin-bottom: 5px;
color: #B68189;
font-size: 8px;
letter-spacing: 2px;
}

.client-overlay strong {
font-size: 14px;
font-weight: 500;
}

/* =========================================================
CERTIFICATES
========================================================= */

.certificates-grid {
display: flex;
justify-content: center;
grid-template-columns: repeat(6, 1fr);
gap: 14px;
}

.certificate-card {
height: 260px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 14px;
border: 1px solid #D9DADC;
border-radius: 18px;
background: #FFFFFF;
transition:
transform .45s ease,
border-color .45s ease,
box-shadow .45s ease;
}

.certificate-card:hover {
transform: translateY(-7px);
border-color: #B68189;
box-shadow: 0 20px 40px #D9D9D9;
}

.certificate-card img {
width: 100%;
height: 100%;
object-fit: contain;
transition: transform .5s ease;
}

.certificate-card:hover img {
transform: scale(1.04);
}

.certificate-card > span {
position: absolute;
top: 10px;
right: 12px;
color: #8A6067;
font-size: 9px;
}

/* =========================================================
BUTTONS
========================================================= */

.section-btn {
display: inline-flex;
align-items: center;
gap: 20px;
padding: 15px 22px;
border-radius: 12px;
color: #FFFFFF;
background: #8A6067;
font-size: 13px;
transition:
transform .4s ease,
background .4s ease,
box-shadow .4s ease;
}

.section-btn span {
font-size: 20px;
transition: transform .4s ease;
}

.section-btn:hover {
background: #70474F;
transform: translateY(-4px);
box-shadow: 0 15px 35px #C9B0B4;
}

.section-btn:hover span {
transform: translateX(-5px);
}

/* =========================================================
CONTACT
========================================================= */

.contact-section {
width: 86%;
margin: auto;
padding: 100px 0;
}

.contact-box {
min-height: 320px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
padding: 60px;
overflow: hidden;
position: relative;
border-radius: 30px;
background:
linear-gradient(
120deg,
#30272A,
#403238
);
color: #FFFFFF;
}

.contact-box::before {
content: "";
position: absolute;
width: 450px;
height: 450px;
left: -100px;
top: -200px;
border: 1px solid #70474F;
border-radius: 50%;
}

.contact-text {
position: relative;
z-index: 2;
}

.contact-text h2 {
margin-top: 20px;
font-size: 46px;
line-height: 1.4;
}

.contact-text h2 em {
color: #B68189;
font-style: normal;
}

.contact-text p {
max-width: 550px;
margin-top: 15px;
color: #C7C8CA;
font-size: 13px;
line-height: 2;

/* متن بدون محدودیت 3 خط */
height: auto;
max-height: none;
overflow: visible;

}

.contact-btn {
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
gap: 20px;
padding: 17px 25px;
flex-shrink: 0;
border-radius: 13px;
background: #8A6067;
color: #FFFFFF;
font-size: 13px;
transition:
transform .4s ease,
background .4s ease;
}

.contact-btn:hover {
background: #70474F;
transform: translateY(-5px);
}

/* =========================================================
FOOTER
========================================================= */

.footer {
margin-top: 40px;
padding: 75px 7% 30px;
background: #aa5f6d;
color: #FFFFFF;
}

.footer-main {
display: grid;
grid-template-columns:
1.5fr
.8fr
.8fr
1.2fr;
gap: 60px;
padding-bottom: 55px;
border-bottom: 1px solid #45474B;
}

.footer-brand {
max-width: 320px;
}

.footer-logo {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.footer-logo img {
width: 180px;
height: 115px;
object-fit: contain;
}

.footer-logo strong {
font-family: Arial, sans-serif;
color: #FFFFFF;
font-size: 30px;
font-weight: 800;
letter-spacing: 5px;
}

.footer-logo span {
margin-top: 7px;
color: #B68189;
font-size: 11px;
}

.footer-brand p {
margin-top: 22px;
color: #ECEEF2;
font-size: 15px;
line-height: 2.1;

/* متن بدون محدودیت 3 خط */
height: auto;
max-height: none;
overflow: visible;

}

.footer-column {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.footer-column h3,
.footer-column h4 {
margin-bottom: 22px;
color: #FFFFFF;
font-size: 14px;
font-weight: 600;
}

.footer-column a,
.footer-column span {
margin-bottom: 13px;
color: سس;
font-size: 15px;
transition:
color .3s ease,
transform .3s ease;
}

.footer-column a:hover {
color: #B68189;
transform: translateX(-4px);
}

.footer-contact span {
direction: rtl;
}

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 25px;
color: #77797D;
font-size: 10px;
}

.footer-bottom span:last-child {
color: #8A6067;
font-family: Arial, sans-serif;
letter-spacing: 2px;
}

/* =========================================================
ANIMATIONS
========================================================= */

@keyframes headerIn {
from {
opacity: 0;
transform: translateY(-30px);
}

to {
    opacity: 1;
    transform: translateY(0);
}

}

@keyframes heroText {
from {
opacity: 0;
transform: translateX(40px);
}

to {
    opacity: 1;
    transform: translateX(0);
}

}

@keyframes productIn {
from {
opacity: 0;
transform:
translateX(-50px)
scale(.95);
}

to {
    opacity: 1;
    transform:
        translateX(0)
        scale(1);
}

}

@keyframes floating {
0%,
100% {
transform: translateY(0);
}

50% {
    transform: translateY(-18px);
}

}

@keyframes slowRotate {
from {
transform: rotate(0deg);
}

to {
    transform: rotate(360deg);
}

}

/* =========================================================
TABLET
1024px
========================================================= */

@media (max-width: 1024px) {

.header {
    left: 3%;
    right: 3%;
    padding-right: 18px;
    padding-left: 12px;
}

.nav {
    gap: 18px;
}

.nav a {
    font-size: 13px;
}

.header-btn {
    padding: 11px 15px;
    font-size: 12px;
}

/* HERO */

.hero {
    min-height: 760px;
}

.hero-content {
    width: 48%;
    margin-right: 5%;
}

.hero h1 {
    font-size: clamp(44px, 5vw, 65px);
}

.hero-content > p {
    font-size: 15px;
}

.hero-product {
    width: 50%;
    height: 560px;
    left: -1%;
    top: 150px;
}

.valve-img {
    width: 420px;
    height: 420px;
}

.product-glow {
    width: 390px;
    height: 390px;
}

.orbit-1 {
    width: 430px;
    height: 430px;
}

.orbit-2 {
    width: 530px;
    height: 530px;
}

.product-label {
    left: 4%;
    bottom: 30px;
}

/* SECTIONS */

.products-section,
.clients-section,
.certificates-section,
.about-section,
.contact-section {
    width: 90%;
}

.products-section,
.clients-section,
.certificates-section,
.about-section {
    padding: 100px 0;
}

.section-heading h2 {
    font-size: 44px;
}

/* PRODUCTS */

.products-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* ABOUT */

.about-section {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-image {
    height: 500px;
}

.about-content > h2 {
    font-size: 43px;
}

/* CLIENTS */

.clients-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* CERTIFICATES */

.certificates-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* FOOTER */

.footer {
    padding: 65px 5% 25px;
}

.footer-main {
    grid-template-columns:
        1.3fr
        1fr
        1fr
        1.4fr;
    gap: 35px;
}

}

/* =========================================================
MOBILE
768px
========================================================= */

@media (max-width: 768px) {

/* HEADER */

.header {
    top: 15px;
    left: 4%;
    right: 4%;
    height: 65px;
    padding: 0 12px;
}

.logo img {
    width: 95px;
    height: 65px;
}

.logo span {
    display: none;
}

.nav {
    display: none;
}


.header-btn {
    display: none;
}

.menu-btn {
    display: flex;
}

/* HERO */

.hero {
    min-height: auto;
    padding: 130px 20px 60px;
    flex-direction: column;
    align-items: center;
}

.hero::before {
    width: 430px;
    height: 430px;
    left: 50%;
    top: 48%;
    transform: translateX(-50%);
}

.hero::after {
    width: 600px;
    right: -250px;
    top: 58%;
}

.hero-content {
    width: 100%;
    margin-right: 0;
    text-align: center;
}

.eyebrow {
    justify-content: center;
    font-size: 12px;
}

.eyebrow span {
    width: 25px;
}

.hero h1 {
    font-size: clamp(36px, 9vw, 50px);
    letter-spacing: -1px;
}

.hero-content > p {
    max-width: 600px;
    margin: 22px auto 0;
    font-size: 14px;
    line-height: 2;
}

.hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 28px;
}

.primary-btn {
    padding: 14px 19px;
    font-size: 13px;
}

.text-btn {
    font-size: 13px;
}

/* HERO PRODUCT */

.hero-product {
    position: relative;
    width: 100%;
    height: 430px;
    left: auto;
    top: auto;
    margin-top: 20px;
}

.valve-img {
    width: 330px;
    height: 330px;
}

.product-glow {
    width: 300px;
    height: 300px;
}

.orbit-1 {
    width: 350px;
    height: 350px;
}

.orbit-2 {
    width: 410px;
    height: 410px;
}

.product-label {
    left: 5%;
    bottom: 15px;
    padding: 10px 14px;
}

.hero-side-info {
    display: none;
}

/* SECTIONS */

.products-section,
.clients-section,
.certificates-section,
.about-section,
.contact-section {
    width: 90%;
}

.products-section,
.clients-section,
.certificates-section {
    padding: 75px 0;
}

.about-section {
    padding: 75px 0;
}

.contact-section {
    padding: 60px 0;
}

.section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-top: 12px;
    font-size: 36px;
}

.section-heading > p {
    max-width: 100%;
    font-size: 13px;
}

/* PRODUCTS */

.products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.product-card {
    min-height: auto;
    border-radius: 20px;
}

.product-image {
    height: 300px;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 25px;
}

/* ABOUT */

.about-section {
    grid-template-columns: 1fr;
    gap: 45px;
}

.about-image {
    height: 430px;
    border-radius: 22px;
}

.about-content > h2 {
    font-size: 38px;
}

.about-content > p {
    font-size: 13px;
}

.about-stats {
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.about-stat strong {
    font-size: 27px;
}

/* CLIENTS */

.clients-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.client-card {
    height: 350px;
}

/* CERTIFICATES */

.certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.certificate-card {
    height: 230px;
    border-radius: 15px;
}

/* SECTION BOTTOM */

.section-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.section-bottom > span {
    font-size: 11px;
}

/* CONTACT */

.contact-box {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 25px;
    border-radius: 24px;
}

.contact-text h2 {
    font-size: 36px;
}

.contact-text p {
    font-size: 12px;
}

.contact-btn {
    padding: 14px 20px;
}

/* FOOTER */

.footer {
    padding: 60px 7% 25px;
}

.footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 35px;
}

.footer-brand {
    max-width: 100%;
}

.footer-column {
    width: 100%;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 15px;
}

.footer-contact span {
    display: block;
    line-height: 2;
    word-break: break-word;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 11px;
    line-height: 1.8;
}

}

/* =========================================================
SMALL MOBILE
480px
========================================================= */

@media (max-width: 480px) {

.header {
    left: 15px;
    right: 15px;
    padding: 0 10px;
}

.logo img {
    width: 95px;
    height: 65px;
}

.menu-btn {
    width: 40px;
    height: 40px;
}

/* HERO */

.hero {
    padding: 120px 15px 45px;
}

.hero::before {
    width: 330px;
    height: 330px;
    top: 55%;
}

.hero h1 {
    font-size: 34px;
    line-height: 1.35;
}

.eyebrow {
    font-size: 11px;
    gap: 8px;
}

.hero-content > p {
    font-size: 13px;
    line-height: 2.1;
}

.hero-actions {
    flex-direction: column;
    width: 100%;
}

.primary-btn,
.text-btn {
    justify-content: center;
    width: 100%;
}

.hero-product {
    height: 350px;
    margin-top: 10px;
}

.valve-img {
    width: 270px;
    height: 270px;
}

.product-glow {
    width: 245px;
    height: 245px;
}

.orbit-1 {
    width: 290px;
    height: 290px;
}

.orbit-2 {
    width: 330px;
    height: 330px;
}

.product-label {
    left: 2%;
    bottom: 5px;
    padding: 8px 12px;
}

.product-label small {
    font-size: 8px;
}

.product-label strong {
    font-size: 12px;
}

/* SECTIONS */

.products-section,
.clients-section,
.certificates-section,
.about-section,
.contact-section {
    width: calc(100% - 30px);
}

.products-section,
.clients-section,
.certificates-section {
    padding: 55px 0;
}

.about-section {
    padding: 55px 0;
}

.contact-section {
    padding: 45px 0;
}

.section-heading h2 {
    font-size: 29px;
}

.section-heading > p {
    font-size: 12px;
    line-height: 2;
}

/* PRODUCTS */

.product-image {
    height: 260px;
    padding: 20px;
}

.product-content {
    padding: 22px;
}

.product-content h3 {
    font-size: 23px;
}

.product-content p {
    font-size: 12px;
    line-height: 2;
}

/* ABOUT */

.about-image {
    height: 350px;
    border-radius: 20px;
}

.about-content > h2 {
    font-size: 30px;
}

.about-content > p {
    font-size: 12px;
    line-height: 2;
}

.about-stats {
    gap: 20px;
    justify-content: space-between;
}

.about-stat strong {
    font-size: 23px;
}

.about-stat span {
    font-size: 10px;
}

/* CLIENTS */

.client-card {
    height: 300px;
}

/* CERTIFICATES */

.certificates-grid {
    grid-template-columns: 1fr;
}

.certificate-card {
    height: 300px;
}

/* BUTTONS */

.primary-btn,
.text-btn,
.section-btn,
.contact-btn {
    min-height: 50px;
    font-size: 12px;
}

.section-btn {
    padding: 13px 17px;
}

/* CONTACT */

.contact-box {
    padding: 35px 20px;
}

.contact-text h2 {
    font-size: 29px;
}

.contact-text p {
    font-size: 11px;
    line-height: 2;
}

/* FOOTER */

.footer {
    padding: 50px 20px 20px;
}

.footer-logo img {
    width: 180px;
    height: 115px;
}

.footer-brand p {
    font-size: 11px;
}

}

/* =========================================================
VERY SMALL DEVICES
360px
========================================================= */

@media (max-width: 360px) {

.header {
    top: 10px;
    height: 60px;
}

.logo img {
    width: 95px;
    height: 65px;
}

.menu-btn {
    width: 38px;
    height: 38px;
}

.hero {
    padding: 110px 12px 35px;
}

.hero h1 {
    font-size: 29px;
}

.hero-content > p {
    font-size: 12px;
}

.hero-product {
    height: 320px;
}

.valve-img {
    width: 235px;
    height: 235px;
}

.product-glow {
    width: 215px;
    height: 215px;
}

.orbit-1 {
    width: 255px;
    height: 255px;
}

.orbit-2 {
    width: 290px;
    height: 290px;
}

.product-label {
    left: 0;
    bottom: 0;
}

.section-heading h2 {
    font-size: 25px;
}

.about-content > h2 {
    font-size: 26px;
}

.contact-text h2 {
    font-size: 25px;
}

.about-stats {
    flex-direction: column;
    gap: 15px;
}

.about-stat {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding-bottom: 10px;
}

.about-stat strong {
    font-size: 22px;
}

.about-stat span {
    font-size: 10px;
}

.product-image {
    height: 230px;
}

.client-card {
    height: 270px;
}

.certificate-card {
    height: 270px;
}

.footer {
    padding: 45px 15px 20px;
}

}

/* =========================================================
LANGUAGE SWITCHER
فقط مربوط به زبان — بدون تغییر رنگ‌های اصلی
========================================================= */

.language-switcher {
display: flex;
align-items: center;
gap: 4px;
padding: 4px;
border: 1px solid #EEEEEE;
border-radius: 10px;
background: #FFFFFF;
direction: ltr;
flex-shrink: 0;
}

.language-switcher button {
border: 0;
outline: none;
cursor: pointer;
padding: 7px 10px;
border-radius: 7px;
background: transparent;
color: #696C71;
font-size: 11px;
font-weight: 500;
transition:
color .3s ease,
background .3s ease;
}

.language-switcher button:hover {
color: #8A6067;
}

.language-switcher button.active {
color: #FFFFFF;
background: #8A6067;
}

/* =========================================================
ENGLISH MODE
========================================================= */

html[lang="en"] body {
direction: ltr;
text-align: left;
}

html[lang="en"] .hero-content {
margin-right: 0;
margin-left: 8%;
text-align: left;
}

html[lang="en"] .eyebrow {
justify-content: flex-start;
}

html[lang="en"] .hero-actions {
justify-content: flex-start;
}

html[lang="en"] .section-heading {
text-align: left;
}

html[lang="en"] .about-content {
text-align: left;
}

html[lang="en"] .product-number {
right: auto;
left: 20px;
}

html[lang="en"] .card-link,
html[lang="en"] .section-btn,
html[lang="en"] .primary-btn,
html[lang="en"] .text-btn,
html[lang="en"] .header-btn,
html[lang="en"] .contact-btn {
direction: ltr;
}

html[lang="en"] .hero-side-info {
left: auto;
right: 3%;
}

html[lang="en"] .hero-side-info div {
writing-mode: vertical-rl;
}

html[lang="en"] .product-label {
left: auto;
right: 12%;
border-right: 0;
border-left: 3px solid #8A6067;
}

html[lang="en"] .image-number {
right: auto;
left: 25px;
}

html[lang="en"] .image-caption {
right: auto;
left: 30px;
}

html[lang="en"] .client-overlay {
right: 20px;
left: 20px;
}

html[lang="en"] .certificate-card > span {
right: auto;
left: 12px;
}

html[lang="en"] .footer-column {
align-items: flex-start;
}

html[lang="en"] .footer-contact span {
direction: ltr;
text-align: left;
}

/* =========================================================
ENGLISH FONT
========================================================= */

html[lang="en"] body {
font-family: Arial, "Vazirmatn", sans-serif;
}

html[lang="en"] .product-label strong,
html[lang="en"] .footer-bottom span:last-child {
font-family: Arial, sans-serif;
}

/* =========================================================
ENGLISH HERO - SWAP TEXT & IMAGE
========================================================= */

html[lang="en"] .hero {
direction: ltr;
}

html[lang="en"] .hero-content {
order: 1;
width: 45%;
margin-right: 0;
margin-left: 8%;
text-align: left;
}

html[lang="en"] .hero-product {
order: 2;
left: auto;
right: -3%;
}

html[lang="en"] .hero-side-info {
left: auto;
right: 3%;
}

html[lang="en"] .product-label {
left: auto;
right: 12%;
border-right: none;
border-left: 3px solid #8A6067;
}

html[lang="en"] .hero-content {
direction: ltr;
}

html[lang="en"] .eyebrow {
justify-content: flex-start;
}

html[lang="en"] .hero-actions {
justify-content: flex-start;
}

/* =========================================================
MOBILE LANGUAGE
========================================================= */

@media (max-width: 768px) {

.language-switcher {
    margin-left: auto;
    margin-right: 10px;
}

.language-switcher button {
    padding: 6px 8px;
    font-size: 10px;
}

html[lang="en"] .hero-content {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

html[lang="en"] .eyebrow {
    justify-content: center;
}

html[lang="en"] .hero-actions {
    justify-content: center;
}

html[lang="en"] .product-label {
    left: auto;
    right: 5%;
}

html[lang="en"] .hero-side-info {
    display: none;
}

html[lang="en"] .image-number {
    left: 25px;
    right: auto;
}

html[lang="en"] .image-caption {
    left: 30px;
    right: auto;
}

/* Header logo on mobile */
.logo img {
    width: 95px;
    height: 65px;
}

}

/* =========================================================
SMALL MOBILE LANGUAGE
========================================================= */

@media (max-width: 480px) {

.language-switcher {
    gap: 2px;
    padding: 3px;
}

.language-switcher button {
    padding: 5px 7px;
    font-size: 9px;
}

html[lang="en"] .product-label {
    left: auto;
    right: 2%;
}

/* Header logo */
.logo img {
    width: 95px;
    height: 65px;
}

/* Footer logo */
.footer-logo img {
    width: 180px;
    height: 115px;
}

}

/* =========================================================
VERY SMALL MOBILE LANGUAGE
========================================================= */

@media (max-width: 360px) {

.language-switcher {
    margin-right: 5px;
}

.language-switcher button {
    padding: 4px 6px;
    font-size: 8px;
}

/* Header logo */
.logo img {
    width: 95px;
    height: 65px;
}

/* Footer logo */
.footer-logo img {
    width: 180px;
    height: 115px;
}

}

/* =========================================================
TEXT OVER 3 LINES
هیچ محدودیت ارتفاعی برای متن‌ها وجود نداشته باشد
========================================================= */

.hero-content > p,
.section-heading > p,
.product-content > p,
.about-content > p,
.contact-text > p,
.footer-brand > p {
height: auto;
max-height: none;
min-height: 0;
overflow: visible;
display: block;
-webkit-line-clamp: unset;
-webkit-box-orient: unset;
text-overflow: clip;
white-space: normal;
}

/* =========================================================
LOGO FINAL SIZE
========================================================= */

/* Header: 95 × 65 */
.logo img {
width: 95px;
height: 65px;
object-fit: contain;
}

/* Footer: 180 × 115 */
.footer-logo img {
width: 180px;
height: 115px;
object-fit: contain;
}