@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #D4921C;
  --gold-light: #F5A623;
  --gold-dark: #B8791A;
  --black: #111111;
  --dark: #1A1A1A;
  --white: #FFFFFF;
  --light-bg: #F8F7F4;
  --gray: #666666;
  --gray-light: #999999;
  --border: #E8E0D0;
  --font: 'Assistant', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 10px 48px rgba(0,0,0,0.16);
  --radius: 10px;
  --tr: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.7; font-size: 16px; overflow-x: hidden; direction: rtl; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ── TYPOGRAPHY ── */
.tag {
  display: inline-block;
  background: rgba(212,146,28,0.12);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tag-white {
  background: rgba(212,146,28,0.2);
  color: var(--gold-light);
}

.h-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
}
.h-title span, .h-title .gold { color: var(--gold); }
.h-title-white { color: var(--white); }
.h-sub {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 580px;
}
.h-sub-white { color: rgba(255,255,255,0.65); }
.center { text-align: center; }
.center .h-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--tr);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,146,28,0.35); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ── SVG ICON BOX ── */
.icon-box {
  width: 64px; height: 64px;
  background: rgba(212,146,28,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--tr);
}
.icon-box svg { width: 30px; height: 30px; }
.icon-box-sm { width: 48px; height: 48px; border-radius: 10px; }
.icon-box-sm svg { width: 22px; height: 22px; }
.icon-box-dark { background: rgba(212,146,28,0.15); }

/* ── HEADER ── */
#header {
  position: fixed; top: 0; right: 0; left: 0;
  z-index: 1000;
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,146,28,0.18);
  transition: var(--tr);
}
#header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { height: 52px; width: auto; flex-shrink: 0; object-fit: contain; }
.logo-fallback { display: none; align-items: center; font-size: 20px; font-weight: 800; color: var(--gold); white-space: nowrap; letter-spacing: -0.3px; flex-shrink: 0; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list a { color: rgba(255,255,255,0.8); font-size: 15px; font-weight: 600; position: relative; transition: color 0.25s; }
.nav-list a::after { content: ''; position: absolute; bottom: -3px; right: 0; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s; }
.nav-list a:hover, .nav-list a.active { color: var(--gold); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 16px; font-weight: 700; direction: ltr; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: var(--tr); }

/* ── MOBILE MENU ── */
#mobileMenu {
  display: none; position: fixed;
  top: 72px; right: 0; left: 0; bottom: 0;
  background: var(--black); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
#mobileMenu.open { display: flex; }
#mobileMenu a { color: var(--white); font-size: 22px; font-weight: 700; }
#mobileMenu a:hover, #mobileMenu a.active { color: var(--gold); }

/* ── PAGE BANNER (inner pages) ── */
.page-banner {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #221500 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(212,146,28,0.1), transparent 60%);
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.page-banner p { font-size: 18px; color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto; }

/* ── DIVIDER ── */
.divider { width: 60px; height: 4px; background: var(--gold); border-radius: 2px; margin: 20px auto 32px; }
.divider-right { margin-right: 0; }

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 4px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212,146,28,0.15); }
.card:hover::before { transform: scaleX(1); }

/* ── CHECKMARK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 500; }
.check-dot { width: 24px; height: 24px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-dot svg { width: 13px; height: 13px; }

/* ── FOOTER ── */
#footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.55);
  padding: 72px 0 28px;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to left, transparent 0%, var(--gold) 40%, var(--gold-light) 60%, transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-logo { height: 54px; margin-bottom: 20px; object-fit: contain; }
.footer-desc { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.4); max-width: 280px; margin-bottom: 22px; }
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--gold);
  background: rgba(212,146,28,0.1); border: 1px solid rgba(212,146,28,0.22);
  padding: 4px 11px; border-radius: 20px; letter-spacing: 0.3px;
}
.footer-tag svg { width: 10px; height: 10px; }

.footer-col h4 {
  font-size: 21px; font-weight: 700; color: var(--white);
  font-family: var(--font);
  margin-bottom: 22px; letter-spacing: normal; text-transform: none;
  position: relative; padding-bottom: 14px;
}
.footer-col h4::after {
  content: ''; position: absolute;
  bottom: 0; right: 0;
  width: 24px; height: 2px;
  background: var(--gold);
}
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: all 0.22s; display: block; padding: 4px 0; }
.footer-col ul li a:hover { color: var(--gold); }

/* Contact items with SVG icons */
.footer-contact-item {
  display: flex !important; align-items: center; gap: 12px;
  padding: 7px 0 !important;
  color: rgba(255,255,255,0.55) !important;
  font-size: 14px !important;
  transition: all 0.22s !important;
  text-decoration: none;
}
.footer-contact-item:hover { color: var(--gold) !important; }
.fci-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(212,146,28,0.1);
  border: 1px solid rgba(212,146,28,0.2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.22s;
}
.fci-icon svg { width: 15px; height: 15px; transition: all 0.22s; }
.footer-contact-item:hover .fci-icon {
  background: var(--gold);
  border-color: var(--gold);
}
.footer-contact-item:hover .fci-icon svg { stroke: var(--black) !important; fill: var(--black) !important; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.25); }
.htech-credit { display: flex; align-items: center; opacity: 0.55; transition: opacity 0.22s; }
.htech-credit:hover { opacity: 1; }
.htech-credit img { height: 30px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-social { display: flex; gap: 8px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--tr); border: 1px solid rgba(255,255,255,0.08); }
.social-btn svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); transition: fill 0.2s; }
.social-btn:hover { background: var(--gold); border-color: var(--gold); }
.social-btn:hover svg { fill: var(--black); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; left: 28px;
  width: 58px; height: 58px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 999; transition: var(--tr);
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
@keyframes wa-pulse { 0%,100%{box-shadow:0 6px 24px rgba(37,211,102,0.4)} 50%{box-shadow:0 6px 32px rgba(37,211,102,0.65),0 0 0 8px rgba(37,211,102,0.1)} }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s} .d4{transition-delay:.4s}

/* ── STATS BAR ── */
.stats-bar { background: var(--gold); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-cell { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.22); }
.stat-cell:last-child { border-right: none; }
.stat-num { font-size: 42px; font-weight: 800; color: var(--black); line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-size: 12px; font-weight: 700; color: rgba(17,17,17,0.7); text-transform: uppercase; letter-spacing: 1.5px; }

/* ── TESTIMONIAL SLIDER ── */
.t-slider { position: relative; }
.t-slide { display: none; animation: fadeSlide 0.5s ease; }
.t-slide.active { display: block; }
@keyframes fadeSlide { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.t-card { background: var(--light-bg); border-radius: 14px; padding: 36px 32px; border: 1px solid var(--border); position: relative; max-width: 760px; margin: 0 auto; }
.t-quote { position: absolute; top: 20px; left: 28px; font-size: 72px; color: rgba(212,146,28,0.13); font-family: Georgia,serif; line-height: 1; }
.t-stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.t-text { font-size: 17px; color: var(--dark); line-height: 1.85; font-style: italic; margin-bottom: 24px; }
.t-author { display: flex; align-items: center; gap: 16px; }
.t-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--black); font-size: 20px; font-weight: 800; flex-shrink: 0; }
.t-name { font-size: 16px; font-weight: 700; color: var(--black); }
.t-role { font-size: 13px; color: var(--gray); }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.t-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--tr); }
.t-btn:hover { background: var(--gold); border-color: var(--gold); }
.t-btn svg { width: 18px; height: 18px; stroke: var(--dark); }
.t-btn:hover svg { stroke: var(--white); }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: var(--tr); padding: 0; }
.t-dot.active { background: var(--gold); transform: scale(1.25); }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px,3vw,38px); font-weight: 800; color: var(--black); margin-bottom: 6px; }
.cta-inner p { font-size: 17px; color: rgba(17,17,17,0.7); }

/* ── CONTACT FORM ── */
.contact-form-wrap { background: var(--white); border-radius: 16px; padding: 44px; box-shadow: var(--shadow); }
.form-title { font-size: 22px; font-weight: 800; color: var(--black); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 15px; color: var(--dark);
  background: var(--white); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,146,28,0.1); }
.form-group textarea { height: 130px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; background: var(--gold); color: var(--black); font-family: var(--font); font-size: 16px; font-weight: 800; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--tr); margin-top: 6px; }
.form-submit:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,146,28,0.4); }
.form-note { text-align: center; font-size: 13px; color: var(--gray-light); margin-top: 12px; }

/* ── RESPONSIVE ── */
html, body { overflow-x: hidden; }

@media(max-width:1024px){
  .footer-grid { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
}

@media(max-width:768px){
  .section { padding: 60px 0; }
  .nav-list, .header-phone { display: none; }
  .header-right { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:14px; text-align:center; }
  .cta-inner { flex-direction:column; text-align:center; }
  .cta-inner a.btn { width:100%; justify-content:center; text-align:center; }
  .form-row { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .about-badge { left:8px !important; bottom:8px !important; right:auto !important; }
  .hero-trust { gap: 12px; }
  .trust-item { font-size: 13px; }
  .stat-num { font-size: 30px; }
  .stat-cell { padding: 22px 12px; }
  .stat-lbl { font-size: 10px; }
  .t-card { padding: 26px 20px; }
  .contact-form-wrap { padding: 28px 20px; }
  .page-banner { padding: 110px 0 56px; }
  .icon-box { width: 52px; height: 52px; }
  .wa-float { bottom: 16px; left: 16px; width: 50px; height: 50px; }
  .process-line { display: none; }
  .services-grid, .guarantees-grid, .values-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .logos-grid { grid-template-columns: repeat(2,1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-split { flex-direction: column; }
  .contact-info-box { width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
  .timeline-item { flex-direction: column; gap: 12px; }
  .timeline-line { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-img { display: none; }
}

@media(max-width:480px){
  .container { padding:0 18px; }
  .btn-lg { padding:14px 28px; font-size:16px; }
  .logo { height: 34px; }
  .section { padding: 48px 0; }
  .stat-num { font-size: 26px; }
  .stat-cell { padding: 18px 8px; }
  .page-banner { padding: 100px 0 50px; }
  .page-banner h1 { font-size: 28px; }
  .page-banner p { font-size: 16px; }
  .t-text { font-size: 15px; }
  .t-card { padding: 22px 14px; }
  .contact-form-wrap { padding: 22px 14px; }
  .form-title { font-size: 18px; }
  .section-title { font-size: 24px; }
  .wa-float { width: 46px; height: 46px; }
}
