/* همم — التصميم المشترك */
:root {
  --velvet: oklch(0.13 0.005 260);
  --velvet-surface: oklch(0.18 0.008 260);
  --velvet-elevated: oklch(0.22 0.01 260);
  --copper: oklch(0.74 0.09 60);
  --copper-sheen: oklch(0.82 0.085 65);
  --copper-muted: oklch(0.55 0.08 55);
  --silk: oklch(0.96 0.005 80);
  --slate-soft: oklch(0.62 0.01 250);
  --border: oklch(0.3 0.01 260 / 60%);
  --gradient-velvet: radial-gradient(ellipse at top right, oklch(0.22 0.01 260) 0%, oklch(0.13 0.005 260) 60%);
  --gradient-copper-text: linear-gradient(135deg, var(--copper-sheen), var(--copper));
  --shadow-copper: 0 18px 50px -18px oklch(0.74 0.09 60 / 0.45);
  --shadow-deep: 0 30px 80px -25px oklch(0.05 0.005 260 / 0.9);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --thread: linear-gradient(90deg, transparent, var(--copper) 50%, transparent);
}
* { box-sizing: border-box; border-color: var(--border); margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--velvet); }
body {
  background: var(--velvet); color: var(--silk);
  font-family: "Cairo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
h1,h2,h3,h4,h5 { font-family: "Cairo", sans-serif; font-weight: 800; letter-spacing: -0.02em; color: var(--silk); }
::selection { background: var(--copper); color: var(--velvet); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

.container-x { max-width: 1320px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container-x { padding-inline: 2.5rem; } }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--copper); color: var(--velvet);
  padding: 0.95rem 1.85rem; border-radius: 0.4rem;
  font-weight: 700; font-size: 0.875rem; letter-spacing: 0.04em;
  text-transform: uppercase; box-shadow: var(--shadow-copper);
  transition: all 0.4s var(--transition-smooth);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, oklch(1 0 0 / 0.25) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.7s var(--transition-smooth);
}
.btn-primary:hover { background: var(--copper-sheen); transform: translateY(-2px); box-shadow: 0 22px 60px -18px oklch(0.74 0.09 60 / 0.6); }
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--silk); padding: 0.95rem 1.75rem;
  border-radius: 0.4rem; font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--copper-muted);
  background: oklch(0.18 0.008 260 / 0.4);
  transition: all 0.35s var(--transition-smooth);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); background: oklch(0.74 0.09 60 / 0.05); }

.surface {
  background: var(--velvet-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all 0.5s var(--transition-smooth);
}
.surface-hover:hover {
  border-color: oklch(0.74 0.09 60 / 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.section { padding: 6rem 0; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.section-head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.25rem; max-width: 42rem; margin: 0 auto 4rem;
}
.section-title {
  font-family: "Instrument Serif", "Cairo", serif;
  font-weight: 400; letter-spacing: -0.025em;
  line-height: 1.05; font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}
.section-sub { color: var(--slate-soft); font-size: 1rem; line-height: 1.7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--copper);
}
.eyebrow::before {
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--copper); box-shadow: 0 0 10px oklch(0.74 0.09 60 / 0.6);
}

.display-h { font-family: "Instrument Serif","Cairo",serif; font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
.text-copper-grad {
  background: var(--gradient-copper-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-copper { color: var(--copper); }
.text-silk { color: var(--silk); }
.text-slate-soft { color: var(--slate-soft); }
.bg-velvet-surface { background: var(--velvet-surface); }
.bg-velvet-elevated { background: var(--velvet-elevated); }
.bg-gradient-velvet { background: var(--gradient-velvet); }

.thread { height: 1px; background: var(--thread); opacity: 0.4; }
.num { font-family: "Instrument Serif", serif; font-weight: 400; font-style: italic; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.animate-float { animation: float 7s ease-in-out infinite; }
@keyframes fade-up { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.animate-fade-up { animation: fade-up 0.9s var(--transition-smooth) both; }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.shimmer-line {
  background: linear-gradient(90deg, transparent, var(--copper) 50%, transparent);
  background-size: 200% 100%; animation: shimmer 4s linear infinite;
}

/* ===== HEADER ===== */
header.site { position: sticky; top: 0; z-index: 50; transition: all 0.5s; background: transparent; }
header.site.scrolled { background: oklch(0.13 0.005 260 / 0.85); backdrop-filter: blur(16px); border-bottom: 1px solid oklch(0.3 0.01 260 / 0.6); }
header.site .row { display:flex; align-items:center; justify-content:space-between; height:5rem; }
header.site nav { display:none; gap:2.25rem; }
@media (min-width: 768px) { header.site nav { display:flex; align-items:center; } }
header.site nav a { font-size:13px; font-weight:600; color: oklch(0.96 0.005 80 / 0.75); transition:color .2s; }
header.site nav a:hover, header.site nav a.active { color: var(--copper); }
header.site .cta { padding: 0.65rem 1.25rem !important; font-size: 0.75rem !important; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; background: var(--gradient-velvet); }
.hero .grid-bg {
  position: absolute; inset: 0; opacity: 0.025; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 32px 32px;
}
.hero .glow { position: absolute; top: 25%; right: -160px; width: 600px; height: 600px; border-radius: 50%; background: oklch(0.74 0.09 60 / 0.1); filter: blur(120px); pointer-events: none; }
.hero-grid { display:grid; gap: 3rem; align-items:center; padding: 4rem 0 6rem; position: relative; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 4rem; padding: 6rem 0 8rem; } }
.hero h1 { font-family: "Instrument Serif","Cairo",serif; font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; font-size: 2.5rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero h1 span { display:block; } .hero h1 span + span { margin-top: 0.5rem; }
.hero p.lead { margin-top: 1.75rem; font-size: 1rem; color: var(--slate-soft); max-width: 32rem; line-height: 1.7; font-weight: 300; }
@media (min-width: 640px) { .hero p.lead { font-size: 1.125rem; } }
.hero .actions { margin-top: 2.5rem; display:flex; flex-wrap:wrap; gap: 1rem; }
.hero .stats { margin-top: 3.5rem; display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 32rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.hero .stats .n { font-family:"Instrument Serif",serif; font-style:italic; font-size: 1.875rem; color: var(--silk); line-height:1; }
@media (min-width: 640px) { .hero .stats .n { font-size: 2.25rem; } }
.hero .stats .u { font-size: 1.125rem; color: var(--copper); margin-right: 0.25rem; }
.hero .stats .l { font-size: 10px; text-transform:uppercase; letter-spacing: 0.2em; color: var(--slate-soft); margin-top:0.5rem; }

/* ===== MACHINES & GRIDS ===== */
.grid-3 { display:grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.machine-card { display:flex; flex-direction:column; padding: 1.75rem; }
.machine-card .top { display:flex; justify-content:space-between; align-items:center; margin-bottom: 1.5rem; }
.machine-card .code { color: var(--copper); font-size: 1.5rem; font-family:"Instrument Serif",serif; font-style:italic; }
.machine-card .tag { font-size: 10px; letter-spacing: 0.2em; text-transform:uppercase; color: var(--slate-soft); border:1px solid var(--border); padding: 0.25rem 0.75rem; border-radius: 9999px; }
.machine-card .img-wrap { position:relative; height: 18rem; margin-bottom: 1.75rem; display:flex; align-items:center; justify-content:center; }
.machine-card img { max-height:100%; width:auto; object-fit:contain; transition: transform 0.7s; }
.machine-card:hover img { transform: scale(1.05); }
.machine-card h3 { font-size: 1.875rem; font-weight: 800; margin-bottom: 0.5rem; }
.machine-card .desc { font-size: 0.875rem; color: var(--slate-soft); margin-bottom: 1.5rem; line-height: 1.7; min-height: 3rem; }
.machine-card dl { display:flex; flex-direction:column; gap: 0.75rem; font-size: 0.875rem; margin-bottom: 1.75rem; flex: 1; }
.machine-card dl > div { display:flex; justify-content:space-between; align-items:baseline; border-bottom: 1px solid oklch(0.3 0.01 260 / 0.4); padding-bottom: 0.5rem; }
.machine-card dt { color: var(--slate-soft); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.machine-card dd { font-weight: 600; color: var(--silk); }
.machine-card .btn-primary { width:100%; justify-content:center; }

/* ===== SPECS TABLE ===== */
.spec-table { width:100%; text-align:right; font-size: 0.875rem; border-collapse: collapse; }
.spec-table thead tr { border-bottom: 1px solid var(--border); }
.spec-table th { padding: 1.25rem; font-weight: 600; }
.spec-table th.label { color: var(--copper); font-size: 11px; text-transform:uppercase; letter-spacing: 0.2em; }
.spec-table th.silk { color: var(--silk); font-weight: 700; }
.spec-table th.hl, .spec-table td.hl { background: oklch(0.22 0.01 260 / 0.5); }
.spec-table tbody tr { border-bottom: 1px solid oklch(0.3 0.01 260 / 0.4); transition: background .2s; }
.spec-table tbody tr:last-child { border-bottom: 0; }
.spec-table tbody tr:hover { background: oklch(0.22 0.01 260 / 0.3); }
.spec-table td { padding: 1.25rem; color: var(--silk); }
.spec-table td.label { color: var(--slate-soft); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.spec-wrap { overflow-x:auto; }

/* ===== WHY ===== */
.bento { display:grid; gap:1px; background: oklch(0.3 0.01 260 / 0.6); border:1px solid oklch(0.3 0.01 260 / 0.6); border-radius: 0.5rem; overflow:hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3,1fr); } }
.bento .cell { background: var(--velvet); padding: 2rem; display:flex; flex-direction:column; gap: 1.25rem; transition: background 0.5s; }
@media (min-width: 1024px) { .bento .cell { padding: 2.5rem; } }
.bento .cell:hover { background: var(--velvet-surface); }
.bento .cell .top { display:flex; justify-content:space-between; align-items:baseline; }
.bento .cell .n { font-family:"Instrument Serif",serif; font-style:italic; color: var(--copper); font-size: 1.875rem; }
.bento .cell .bar { width: 2.5rem; height: 1px; background: oklch(0.74 0.09 60 / 0.4); transition: all 0.5s; }
.bento .cell:hover .bar { width: 4rem; background: var(--copper); }
.bento .cell h3 { font-size: 1.5rem; font-weight: 700; margin-top: 0.5rem; }
.bento .cell p { color: var(--slate-soft); line-height: 1.7; }

/* ===== HOW STEPS ===== */
.steps-card { padding: 2.5rem; height: 100%; }
.steps-card .top { display:flex; align-items:baseline; gap: 1rem; margin-bottom: 1.5rem; }
.steps-card .roman { font-family:"Instrument Serif",serif; font-style:italic; color: var(--copper); font-size: 3rem; line-height: 1; }
.steps-card .line { flex:1; height:1px; background: oklch(0.74 0.09 60 / 0.3); }
.steps-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.steps-card p { color: var(--slate-soft); line-height: 1.7; }

/* ===== INDUSTRIES ===== */
.industries { display:grid; gap:1px; background: oklch(0.3 0.01 260 / 0.6); border:1px solid oklch(0.3 0.01 260 / 0.6); border-radius: 0.5rem; overflow:hidden; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .industries { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .industries { grid-template-columns: repeat(6,1fr); } }
.industries .ind { background: var(--velvet); padding: 1.75rem; text-align:center; display:flex; flex-direction:column; align-items:center; gap:1rem; transition: background 0.5s; }
.industries .ind:hover { background: var(--velvet-surface); }
.industries .ind .ico { width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid oklch(0.74 0.09 60 / 0.3); display:flex; align-items:center; justify-content:center; color: var(--copper); transition: all 0.5s; }
.industries .ind:hover .ico { border-color: var(--copper); background: oklch(0.74 0.09 60 / 0.05); }
.industries .ind h3 { font-size: 0.875rem; color: var(--silk); font-weight: 600; }

/* ===== TESTIMONIALS / REVIEWS ===== */
.quote { display:flex; flex-direction:column; padding: 2rem; }
.quote svg.q { color: var(--copper); margin-bottom: 1.5rem; opacity: 0.7; }
.quote p.txt { color: oklch(0.96 0.005 80 / 0.9); line-height: 1.7; margin-bottom: 1.5rem; flex:1; font-size: 1rem; }
.quote footer { border-top:1px solid var(--border); padding-top: 1.25rem; margin-top: auto; }
.quote .name { font-weight: 700; color: var(--silk); }
.quote .role { font-size: 0.75rem; color: var(--slate-soft); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }

.stars { display:flex; gap: 0.375rem; direction: ltr; }
.stars .star { color: oklch(0.62 0.01 250 / 0.4); transition: color .2s, transform .15s; }
.stars .star.on { color: var(--copper); }
.stars button.star:hover { transform: scale(1.1); }

/* ===== CONTACT ===== */
.contact-grid { display:grid; gap: 3rem; align-items:start; position: relative; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact section { position: relative; overflow: hidden; }
.contact .glow { position: absolute; top: -160px; left: -160px; width: 500px; height: 500px; background: oklch(0.74 0.09 60 / 0.1); filter: blur(120px); border-radius: 50%; pointer-events: none; }

.info-card { padding: 1.25rem; display:flex; align-items:center; gap: 1rem; transition: border-color .2s; }
.info-card:hover { border-color: oklch(0.74 0.09 60 / 0.5); }
.info-card .ico { width: 2.75rem; height: 2.75rem; border-radius: 0.375rem; background: oklch(0.74 0.09 60 / 0.1); border: 1px solid oklch(0.74 0.09 60 / 0.3); display:flex; align-items:center; justify-content:center; color: var(--copper); flex-shrink: 0; transition: all 0.2s; }
.info-card:hover .ico { background: var(--copper); border-color: var(--copper); color: var(--velvet); }
.info-card .lbl { font-size: 10px; text-transform:uppercase; letter-spacing: 0.2em; color: var(--slate-soft); }
.info-card .val { font-size: 1.125rem; font-weight: 700; color: var(--silk); margin-top: 0.125rem; }
.info-card .val.sm { font-size: 1rem; }

.form { padding: 2rem; }
@media (min-width: 1024px) { .form { padding: 2.5rem; } }
.form .head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom: 2rem; }
.form .head h3 { font-size: 1.5rem; font-weight: 800; }
@media (min-width: 1024px) { .form .head h3 { font-size: 1.875rem; } }
.form-grid { display:grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-grid .full { grid-column: 1 / -1; }
.form label { display:block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; color: var(--slate-soft); margin-bottom: 0.5rem; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--velvet); border: 1px solid var(--border);
  border-radius: 0.375rem; padding: 0.875rem 1rem; color: var(--silk);
  outline: none; transition: border-color .2s;
}
.form input::placeholder, .form textarea::placeholder { color: oklch(0.62 0.01 250 / 0.5); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--copper); }
.form textarea { resize: none; }
.form .err { font-size: 0.75rem; color: var(--copper); margin-top: 0.375rem; }
.form button[type=submit] { width: 100%; justify-content: center; margin-top: 2rem; }
.form button[type=submit]:disabled { opacity: 0.6; }
.form .ok-msg { margin-top: 1.25rem; font-size: 0.875rem; color: var(--copper); font-weight: 600; text-align: center; }

/* ===== FOOTER ===== */
footer.site { border-top: 1px solid var(--border); background: var(--velvet-surface); }
footer.site .row { display:grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { footer.site .row { grid-template-columns: repeat(3, 1fr); } }
footer.site .col p { font-size: 0.875rem; color: var(--slate-soft); line-height: 1.7; max-width: 20rem; margin-top: 1.25rem; }
footer.site .col h4 { font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--copper); margin-bottom: 1rem; font-weight: 700; }
footer.site .col ul { list-style: none; display:flex; flex-direction:column; gap: 0.625rem; font-size: 0.875rem; }
footer.site .col ul a { color: oklch(0.96 0.005 80 / 0.8); transition: color .2s; }
footer.site .col ul a:hover { color: var(--copper); }
footer.site .bottom { margin-top: 3rem; padding-top: 1.5rem; border-top:1px solid var(--border); display:flex; flex-direction:column; gap: 0.75rem; align-items:center; justify-content:space-between; font-size: 0.75rem; color: var(--slate-soft); }
@media (min-width: 640px) { footer.site .bottom { flex-direction: row; } }

/* ===== PAGE HEADER (\u0644\u0644\u0635\u0641\u062d\u0627\u062a \u0627\u0644\u062f\u0627\u062e\u0644\u064a\u0629) ===== */
.page-hero { background: var(--gradient-velvet); padding: 6rem 0 4rem; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: "Instrument Serif","Cairo",serif; font-weight: 400; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin: 1rem 0; }
.page-hero p { color: var(--slate-soft); max-width: 36rem; margin: 0 auto; line-height: 1.7; }

.hidden { display: none; }
