/* ========================================
   NAFCO Aluminium — main stylesheet
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #f7f7f6;
  color: #2c2c2a;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
a:hover { color: inherit; }
ul { list-style: none; }

/* ============ SHARED ACCENT DIVIDER ============
   A thin gold hairline appears automatically under
   section eyebrow labels sitewide — no markup edits
   needed on individual pages. */
.vision-label, .products-label, .projects-label, .certificates-label,
.partners-label, .goals-label, .advantages-label, .qc-label, .dev-label,
.pw-label, .about-label, .page-hero-label, .hero-label {
  position: relative;
  padding-bottom: 14px;
}

.vision-label::after, .products-label::after, .projects-label::after,
.certificates-label::after, .partners-label::after, .goals-label::after,
.advantages-label::after, .qc-label::after, .dev-label::after,
.pw-label::after, .about-label::after, .page-hero-label::after, .hero-label::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #c9a24b, rgba(201,162,75,0.15));
}

[dir="rtl"] .vision-label::after, [dir="rtl"] .products-label::after,
[dir="rtl"] .projects-label::after, [dir="rtl"] .certificates-label::after,
[dir="rtl"] .partners-label::after, [dir="rtl"] .goals-label::after,
[dir="rtl"] .advantages-label::after, [dir="rtl"] .qc-label::after,
[dir="rtl"] .dev-label::after, [dir="rtl"] .pw-label::after,
[dir="rtl"] .about-label::after, [dir="rtl"] .page-hero-label::after,
[dir="rtl"] .hero-label::after {
  left: auto; right: 0;
  background: linear-gradient(270deg, #c9a24b, rgba(201,162,75,0.15));
}

.section-header .about-label::after { left: 50%; transform: translateX(-50%); }
[dir="rtl"] .section-header .about-label::after { right: 50%; left: auto; transform: translateX(50%); }

/* ============ HERO / HEADER ============ */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  background-size: cover;
  background-position: center bottom;
  background-color: #0f161e;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, rgba(15,22,30,0.35) 0%, rgba(15,22,30,0.62) 68%, rgba(15,22,30,0.8) 100%),
    linear-gradient(180deg, rgba(15,22,30,0.55) 0%, rgba(15,22,30,0.28) 42%, rgba(15,22,30,0.8) 100%);
}

.hero-text { display: none; }

.hero-text.active { display: block; }

.hero-text.active .hero-eyebrow { animation: heroFadeUp 0.7s ease both; }
.hero-text.active .hero-title { animation: heroFadeUp 0.9s ease 0.12s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-progress {
  position: absolute;
  bottom: 34px;
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
}

.hero-progress-bar {
  position: relative;
  width: 46px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-progress-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: #ffffff;
  border-radius: 2px;
}

.hero-progress-bar.passed .hero-progress-fill { width: 100%; }

.hero-progress-bar.active .hero-progress-fill {
  animation: heroProgressFill 5s linear forwards;
}

@keyframes heroProgressFill { from { width: 0%; } to { width: 100%; } }

.hero-progress:hover .hero-progress-bar.active .hero-progress-fill { animation-play-state: paused; }

.hero-scroll-cue {
  position: absolute;
  inset-inline-end: 40px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  animation: heroScrollBounce 2.4s ease-in-out infinite;
}

.hero-scroll-cue-line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); }
.hero-scroll-cue-arrow { width: 18px; height: 18px; }

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (max-width: 768px) {
  .hero { height: 100vh; height: 100dvh; }
  .hero-scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer { transition: none; }
  .hero-scroll-cue { animation: none; }
}

.nav {
  position: absolute;
  top: 0; right: 0; left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 14px 0 14px 24px;
  border-bottom: 2px solid rgba(255,255,255,0.7);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-name {
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  white-space: nowrap;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  margin-top: 5px;
  white-space: nowrap;
}

[dir="rtl"] .logo-sub {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

@media (max-width: 600px) {
  .logo-sub {
    font-size: 8.5px;
    letter-spacing: 0.5px;
    white-space: normal;
    max-width: 150px;
    line-height: 1.35;
    margin-top: 3px;
  }
  [dir="rtl"] .logo-sub { font-size: 10px; max-width: 160px; }
}

.logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  display: block;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2rem;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-left: 24px;
  margin-right: 24px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.navlinks li { white-space: nowrap; }
.navlinks a:hover { opacity: 0.8; }

.nav-spacer { flex: 1; }

.kebab {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 26px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}

.kebab span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  padding: 0 60px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  margin-bottom: 18px;
}

.hero-eyebrow-line {
  width: 28px;
  height: 2px;
  background: #9b1c2e;
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 768px) { .hero-title { font-size: 24px; } }

/* ============ MOBILE NAV ============ */
.nav-toggle { display: none; }

@media (max-width: 1300px) {
  .nav { flex-wrap: wrap; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    margin-inline-start: auto;
    margin-inline-end: 14px;
  }

  .nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 0 10px;
    background: rgba(15,22,30,0.97);
    border-bottom: 2px solid rgba(255,255,255,0.7);
    box-shadow: 0 14px 28px rgba(0,0,0,0.4);
  }

  .nav.nav-open .navlinks { display: flex; }

  .navlinks li { white-space: normal; }

  .navlinks a {
    display: block;
    padding: 14px 26px;
    font-size: 14px;
  }

  .navlinks a:hover { opacity: 1; background: rgba(255,255,255,0.08); }

  .logo-circle { width: 64px; height: 64px; }
  .logo-name { font-size: 18px; }
}

/* ============ VISION ============ */
.vision {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 20px;
  padding: 70px 60px;
  background: #f7f7f6;
}

.vision-text-col { max-width: 540px; }

.vision-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 22px;
}

.vision-text {
  font-size: 26px;
  line-height: 1.5;
  color: #1c2530;
  margin-bottom: 32px;
  font-weight: 400;
}

.vision-btn {
  display: inline-block;
  background: #9b1c2e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 38px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(155,28,46,0.35);
}

.vision-btn:hover { background: #7e1624; }
.vision-map-col { display: flex; justify-content: center; }
.world-dots { width: 100%; max-width: 720px; height: auto; }

@media (max-width: 900px) {
  .vision { grid-template-columns: 1fr; padding: 50px 30px; gap: 36px; }
  .vision-text { font-size: 20px; }
  .vision-text-col { max-width: none; }
}

/* ============ 3 FEATURE CARDS ============ */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 60px 60px 70px;
}

.card { display: flex; align-items: flex-start; gap: 18px; }

.card-icon {
  width: 60px; height: 60px;
  flex-shrink: 0;
  color: #0c2f5a;
  margin-top: 4px;
}

.card-icon svg { width: 100%; height: 100%; }

.card-title {
  font-size: 21px;
  font-weight: 600;
  color: #1c2530;
  margin-bottom: 10px;
}

.card-sub {
  font-size: 14px;
  line-height: 1.65;
  color: #888;
  margin-bottom: 18px;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1c2530;
}

.card-more .arrow { display: inline-block; transition: transform 0.2s ease; }
.card-more:hover .arrow { transform: translateX(5px); }

@media (max-width: 900px) {
  .cards3 { grid-template-columns: 1fr; gap: 36px; padding: 40px 30px; }
}

/* ============ PRODUCTS ============ */
.products-band { background: #8b1a26; padding: 70px 60px 0; }

.products-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 60px;
}

.products-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.products-heading {
  font-size: 34px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 32px;
}

.products-text {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 60px 60px;
}

.product-tile {
  position: relative;
  display: block;
  height: 230px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 10px;
}

.product-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
  transition: background 0.25s ease;
}

.product-tile:hover::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%);
}

.product-tile-label {
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .products-band { padding: 50px 30px 0; }
  .products-heading { font-size: 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-tile { height: 220px; }
}

/* ============ QUALITY CONTROL DETAIL ============ */
.qc-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  background: #f7f7f6;
  padding: 80px 60px;
  gap: 60px;
}

.qc-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
}

.qc-heading {
  font-size: 32px;
  font-weight: 400;
  color: #1c2530;
  line-height: 1.4;
  margin-bottom: 28px;
}

.qc-body {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 32px;
}

.qc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}

.qc-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #555;
}

.qc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3a3aa0;
}

.qc-img-col {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.18);
  height: 420px;
}

.qc-img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.5s ease;
}

.qc-img-col:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .qc-section { grid-template-columns: 1fr; padding: 50px 30px; gap: 40px; }
  .qc-heading { font-size: 24px; }
  .qc-list { grid-template-columns: 1fr; }
  .qc-img-col { height: 300px; }
}

/* ============ OUR PROJECTS ============ */
.projects-section { padding: 80px 60px; background: #ffffff; }

.projects-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 56px;
}

.projects-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9b1c2e;
  margin-bottom: 22px;
}

.projects-heading {
  font-size: 34px;
  font-weight: 400;
  color: #1c2530;
  line-height: 1.4;
  margin-bottom: 24px;
}

.projects-text { font-size: 16px; line-height: 1.85; color: #666; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.project-tile {
  position: relative;
  display: block;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #1c2530;
  box-shadow: 0 10px 26px rgba(20,22,30,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(20,22,30,0.22);
}

.project-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.project-tile:hover .project-tile-bg { transform: scale(1.08); }

.project-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,16,22,0) 40%, rgba(12,16,22,0.82) 100%);
  transition: background 0.35s ease;
}

.project-tile:hover::before {
  background: linear-gradient(180deg, rgba(12,16,22,0.08) 28%, rgba(12,16,22,0.9) 100%);
}

.project-tile-info {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.35s ease;
}

.project-tile:hover .project-tile-info { transform: translateY(-4px); }

.project-tile-city {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-tile-name {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.project-tile-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}

.project-tile-arrow .arrow { display: inline-block; transition: transform 0.25s ease; }
.project-tile:hover .project-tile-arrow { opacity: 1; max-height: 20px; transform: translateY(2px); }
.project-tile:hover .project-tile-arrow .arrow { transform: translateX(4px); }

@media (max-width: 1100px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .projects-section { padding: 50px 30px; } .projects-heading { font-size: 24px; } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } .project-tile { height: 300px; } }

/* ============ PROJECT MODAL ============ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.project-modal.open { display: flex; }

.pm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,22,30,0.86);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.pm-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  animation: pmIn 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes pmIn { from { opacity: 0; transform: translateY(22px) scale(0.98); } to { opacity: 1; transform: none; } }

.pm-image { position: relative; background: #0f161e; min-height: 320px; }
.pm-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pm-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.pm-close:hover { background: #ffffff; transform: scale(1.06); }
.pm-close svg { width: 18px; height: 18px; color: #1c2530; }

.pm-body { padding: 2.5rem; overflow-y: auto; }

.pm-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pm-city { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #9b1c2e; }
.pm-cat {
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #999;
  padding-inline-start: 12px; border-inline-start: 1px solid #ddd;
}

.pm-title { font-size: 1.85rem; font-weight: 800; color: #1c2530; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1rem; }
.pm-desc { font-size: 0.95rem; color: #555; line-height: 1.95; margin-bottom: 1.75rem; }

.pm-specs { display: flex; flex-direction: column; gap: 0.9rem; border-top: 1px solid #eee; padding-top: 1.5rem; }
.pm-spec { display: flex; gap: 1rem; }
.pm-spec-l { flex: 0 0 92px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9b1c2e; padding-top: 2px; }
.pm-spec-v { font-size: 0.9rem; color: #1c2530; font-weight: 600; line-height: 1.5; }

@media (max-width: 760px) {
  .pm-dialog { grid-template-columns: 1fr; max-height: 90vh; }
  .pm-image { min-height: 200px; max-height: 230px; }
  .pm-body { padding: 1.75rem 1.5rem; }
  .pm-title { font-size: 1.45rem; }
  .pm-spec-l { flex-basis: 78px; }
}

/* ============ COMPETITIVE ADVANTAGES ============ */
.advantages-section { background: #1c2530; padding: 80px 60px; color: #ffffff; }
.advantages-inner { max-width: 820px; margin: 0 auto; }

.advantages-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.advantages-heading { font-size: 30px; font-weight: 400; line-height: 1.4; margin-bottom: 28px; color: #ffffff; }
.advantages-text { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.advantages-list { display: grid; gap: 18px; }

.advantages-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.advantages-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #9b1c2e;
}

@media (max-width: 900px) { .advantages-section { padding: 50px 30px; } .advantages-heading { font-size: 22px; } }

/* ============ CERTIFICATES ============ */
.certificates-section {
  padding: 80px 60px;
  background: #ffffff;
}

.certificates-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.certificates-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9b1c2e;
  margin-bottom: 18px;
}

.certificates-heading {
  font-size: 28px;
  font-weight: 400;
  color: #1c2530;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.certificates-sub {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.cert-card {
  background: #f7f7f6;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  padding: 2.5rem 3rem;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e4e4e4;
}

.cert-badge-icon { width: 60px; height: 60px; flex-shrink: 0; }
.cert-badge-icon svg { width: 100%; height: 100%; }

.cert-standard {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #1c2530;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.cert-issuer {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.25rem;
}

.cert-details { display: grid; gap: 0; margin-bottom: 2rem; }

.cert-detail-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eeeeee;
  align-items: baseline;
}

.cert-detail-row:last-child { border-bottom: none; }

.cert-detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
}

.cert-detail-value { font-size: 0.95rem; color: #333; line-height: 1.5; }
.cert-valid { color: #1a7a3c; font-weight: 700; }

.cert-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.cert-btn svg { width: 18px; height: 18px; }
.cert-btn-primary { background: #9b1c2e; color: #ffffff; }
.cert-btn-primary:hover { background: #7e1624; }
.cert-btn-secondary { background: #ffffff; color: #1c2530; border: 1px solid #e4e4e4; }
.cert-btn-secondary:hover { background: #f0f0f0; }

@media (max-width: 900px) {
  .certificates-section { padding: 50px 30px; }
  .cert-card { padding: 2rem 1.5rem; }
  .cert-detail-row { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ============ OUR SUCCESS PARTNERS ============ */
.partners-section { padding: 70px 60px; background: #f7f7f6; text-align: center; }

.partners-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 18px;
}

.partners-heading { font-size: 34px; font-weight: 400; color: #1c2530; margin-bottom: 1rem; letter-spacing: -0.01em; }

.partners-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 940px;
  margin: 0 auto 2.5rem;
}

.partner-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e9e9e7;
  border-radius: 14px;
  padding: 2.4rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20,24,30,0.03);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  cursor: default;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9b1c2e, #c9a24b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
[dir="rtl"] .partner-card::before { transform-origin: right; }

.partner-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 50px rgba(20,24,30,0.12);
  border-color: #ececea;
}
.partner-card:hover::before { transform: scaleX(1); }

.partner-index {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #d8d8d4;
  transition: color 0.4s ease;
}
[dir="rtl"] .partner-index { right: auto; left: 18px; }
.partner-card:hover .partner-index { color: #9b1c2e; }

.partner-logo-wrap {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.partner-logo-wrap img {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.partner-card:hover .partner-logo-wrap img { filter: grayscale(0%); opacity: 1; transform: scale(1.04); }

.partner-divider {
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: #ececea;
  transition: background 0.4s ease, width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.partner-card:hover .partner-divider { background: linear-gradient(90deg, #9b1c2e, #c9a24b); width: 48px; }

.partner-name-fallback {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1c2530;
  display: none;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 100%;
}

.partner-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b1c2e;
}

.partners-strip {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-left: 4px solid #9b1c2e;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.75rem;
  text-align: left;
}

.strip-inner { display: flex; align-items: flex-start; gap: 1rem; }
.strip-icon { flex-shrink: 0; width: 36px; height: 36px; margin-top: 2px; }
.strip-icon svg { width: 100%; height: 100%; }
.strip-text { font-size: 0.875rem; color: #555; line-height: 1.7; }
.strip-text strong { color: #1c2530; font-weight: 700; }

@media (max-width: 900px) { .partners-section { padding: 50px 30px; } .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partners-grid { grid-template-columns: 1fr; } }

/* ============ GOALS CTA ============ */
.goals-cta {
  background: linear-gradient(135deg, #9b1c2e 0%, #7e1624 100%);
  padding: 80px 60px;
  text-align: center;
  color: #ffffff;
}

.goals-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}

.goals-heading {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto 32px;
  color: #ffffff;
}

.goals-btn {
  display: inline-block;
  background: #ffffff;
  color: #9b1c2e;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 38px;
  border-radius: 30px;
}

.goals-btn:hover { background: #f1f1f1; }

@media (max-width: 900px) { .goals-cta { padding: 50px 30px; } .goals-heading { font-size: 22px; } }

/* ============ FOOTER ============ */
.site-footer { background: #11161d; color: rgba(255,255,255,0.7); padding: 70px 60px 0; }

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.6fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.footer-brand .logo-circle { width: 56px; height: 56px; flex-shrink: 0; }
.footer-brand-name { font-size: 17px; font-weight: 600; color: #ffffff; line-height: 1.4; }
.footer-map-frame { border-radius: 10px; overflow: hidden; filter: grayscale(0.15) contrast(1.05); }
.footer-map-frame iframe { display: block; }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}

.footer-info-block { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-info-block--last { margin-bottom: 0; }
.footer-info-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; }
.footer-info-icon svg { width: 19px; height: 19px; color: #c98890; }
.footer-info-block a { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85); transition: color 0.2s ease; }
.footer-info-block a:hover { color: #ffffff; }

.footer-map-link { display: inline-flex; align-items: flex-start; gap: 6px; text-decoration: none; }
.footer-map-link::before { content: '📍'; font-size: 13px; line-height: 1.6; flex-shrink: 0; }
.footer-map-link:hover { text-decoration: underline; }

.footer-social { display: flex; gap: 14px; margin-top: 4px; }

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-credit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 20px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 900px) {
  .site-footer { padding: 50px 30px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}