/* =========================================================
   Al Sayad Group — Front Page (Industrial Style)
   Palette: Navy #0B1E33 / Gold #C9A24B / Steel Gray #4B5563 / Off-white #F4F5F7
   ========================================================= */

:root {
  --asg-navy: #0b1e33;
  --asg-navy-light: #14314f;
  --asg-gold: #c9a24b;
  --asg-gold-dark: #a9822f;
  --asg-steel: #4b5563;
  --asg-off-white: #f4f5f7;
  --asg-radius: 6px;
}

.asg-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.asg-eyebrow {
  display: inline-block;
  color: var(--asg-gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.asg-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--asg-radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease;
}
.asg-btn--gold {
  background: var(--asg-gold);
  color: var(--asg-navy);
}
.asg-btn--gold:hover { background: var(--asg-gold-dark); transform: translateY(-2px); }
.asg-btn--outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.asg-btn--outline:hover { background: rgba(255,255,255,0.1); }
.asg-btn--sm { padding: 10px 20px; font-size: 0.88rem; }

.asg-link-arrow {
  color: var(--asg-navy);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.asg-link-arrow::after { content: "\2190"; margin-inline-start: 6px; }
[dir="ltr"] .asg-link-arrow::after { content: "\2192"; }

/* ---------- HERO ---------- */
.asg-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.asg-hero__media { position: absolute; inset: 0; }
.asg-hero__img { width: 100%; height: 100%; object-fit: cover; }
.asg-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,30,51,0.75) 0%, rgba(11,30,51,0.92) 100%);
}
.asg-hero__content { position: relative; z-index: 2; text-align: center; max-width: 780px; margin-inline: auto; }
.asg-hero__actions { justify-content: center; }
.asg-hero__stats { justify-content: center; text-align: center; }
.asg-hero__stat { align-items: center; }
.asg-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 20px;
}
.asg-hero__subtitle {
  max-width: 620px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.asg-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.asg-hero__scroll {
  position: absolute; bottom: 28px; inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px; z-index: 2;
}
.asg-hero__scroll span {
  display: block; width: 4px; height: 8px; background: var(--asg-gold);
  border-radius: 2px; margin: 6px auto; animation: asg-scroll 1.6s infinite;
}
@keyframes asg-scroll { 0% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- STATS ---------- */
.asg-stats { background: var(--asg-navy-light); color: #fff; padding: 48px 0; }
.asg-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.asg-stat__num { display: block; font-size: 2.4rem; font-weight: 700; color: var(--asg-gold); }
.asg-stat__label { font-size: 0.95rem; color: rgba(255,255,255,0.75); }

/* ---------- ABOUT ---------- */
.asg-about { padding: 96px 0; background: var(--asg-off-white); text-align: center; }
.asg-about__grid { justify-items: center; }
.asg-checklist { display: inline-block; text-align: start; }
.asg-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.asg-about__media img { width: 100%; border-radius: var(--asg-radius); }
.asg-about h2 { font-size: 2rem; color: var(--asg-navy); margin-bottom: 16px; }
.asg-about p { color: var(--asg-steel); line-height: 1.8; margin-bottom: 20px; }
.asg-checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.asg-checklist li {
  padding-inline-start: 28px; position: relative; margin-bottom: 10px; color: var(--asg-navy); font-weight: 500;
}
.asg-checklist li::before {
  content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--asg-gold); font-weight: 700;
}

/* ---------- SECTORS ---------- */
.asg-sectors { padding: 96px 0; }
.asg-section-head { text-align: center; margin-bottom: 48px; }
.asg-section-head h2 { font-size: 2rem; color: var(--asg-navy); }
.asg-section-head--split { text-align: start; display: flex; justify-content: space-between; align-items: flex-end; }
.asg-sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.asg-sector-card {
  display: block; background: #fff; border: 1px solid #e6e8eb; border-radius: var(--asg-radius);
  padding: 32px; text-decoration: none; transition: box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.asg-sector-card__icon { display: flex; justify-content: center; }
.asg-sector-card:hover { border-color: var(--asg-gold); box-shadow: 0 12px 32px rgba(11,30,51,0.08); }
.asg-sector-card h3 { color: var(--asg-navy); margin: 12px 0 8px; }
.asg-sector-card p { color: var(--asg-steel); font-size: 0.95rem; line-height: 1.6; }

/* ---------- PROJECTS ---------- */
.asg-projects { padding: 96px 0; background: var(--asg-off-white); }
.asg-projects__slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 8px; }
.asg-project-card { position: relative; display: block; border-radius: var(--asg-radius); overflow: hidden; text-decoration: none; }
.asg-project-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.asg-project-card__caption {
  position: absolute; inset: auto 0 0 0; padding: 16px;
  background: linear-gradient(0deg, rgba(11,30,51,0.9), transparent);
}
.asg-project-card__caption h3 { color: #fff; font-size: 1rem; margin: 0; }

/* ---------- WHY US ---------- */
.asg-why { padding: 80px 0; background: var(--asg-navy); color: #fff; }
.asg-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.asg-why__item { text-align: center; }
.asg-why__item h3 { color: var(--asg-gold); margin-bottom: 10px; }
.asg-why__item p { color: rgba(255,255,255,0.75); line-height: 1.7; }
.asg-why__icon { display: flex; justify-content: center; }

/* ---------- CTA ---------- */
.asg-cta { padding: 88px 0; background: var(--asg-gold); text-align: center; }
.asg-cta__inner h2 { color: var(--asg-navy); font-size: 2rem; margin-bottom: 12px; }
.asg-cta__inner p { color: rgba(11,30,51,0.8); margin-bottom: 28px; }
.asg-cta .asg-btn--gold { background: var(--asg-navy); color: #fff; }
.asg-cta .asg-btn--gold:hover { background: var(--asg-navy-light); }

/* ---------- SCREEN READER / SKIP LINK ---------- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.asg-skip-link {
  position: fixed; top: -100px; inset-inline-start: 10px; z-index: 999;
  background: var(--asg-gold); color: var(--asg-navy); padding: 12px 20px;
  border-radius: var(--asg-radius); font-weight: 600; transition: top 0.2s ease;
}
.asg-skip-link:focus { top: 10px; width: auto; height: auto; clip: auto; }

/* ---------- SITE HEADER ---------- */
.asg-site-header {
  background: var(--asg-navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.asg-site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px;
}
.asg-logo { color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; display: flex; align-items: center; }
.asg-logo img { max-height: 56px; width: auto; display: block; }
.asg-logo__text { color: var(--asg-gold); }

.asg-nav { flex: 1; display: flex; justify-content: center; }
.asg-nav__list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.asg-nav__list a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.15s ease; }
.asg-nav__list a:hover, .asg-nav__list .current-menu-item > a { color: var(--asg-gold); }

.asg-header-phone {
  color: var(--asg-gold); font-weight: 700; text-decoration: none; white-space: nowrap;
}

.asg-nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: none; cursor: pointer;
}
.asg-nav-toggle__bar { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.asg-nav-toggle.is-active .asg-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.asg-nav-toggle.is-active .asg-nav-toggle__bar:nth-child(2) { opacity: 0; }
.asg-nav-toggle.is-active .asg-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- SITE FOOTER ---------- */
.asg-site-footer { background: var(--asg-navy); color: rgba(255,255,255,0.65); padding: 72px 0 0; }
.asg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.asg-footer__col { text-align: center; }
.asg-footer-widget__title, .asg-footer__col > h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.asg-footer__col p { line-height: 1.8; font-size: 0.92rem; }
.asg-footer-nav, .asg-footer-contact { align-items: center; }
.asg-footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.asg-footer-nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; }
.asg-footer-nav a:hover { color: var(--asg-gold); }
.asg-footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.asg-footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; }
.asg-footer-contact a:hover { color: var(--asg-gold); }
.asg-footer__bottom { text-align: center; padding: 20px 0; font-size: 0.85rem; }

/* ---------- HERO STATS (inline) ---------- */
.asg-hero__stats {
  display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
}
.asg-hero__stat { display: flex; flex-direction: column; }
.asg-hero__stat .asg-stat__num { font-size: 2rem; font-weight: 700; color: var(--asg-gold); }
.asg-hero__stat span:last-child { color: rgba(255,255,255,0.75); font-size: 0.88rem; }

/* ---------- SECTOR CARD ICON (emoji) ---------- */
.asg-sector-card__icon { font-size: 2.2rem; margin-bottom: 8px; }

/* ---------- PROJECTS GRID (tiles, replaces slider) ---------- */
.asg-projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.asg-project-tile {
  display: block; background: #fff; border-radius: var(--asg-radius);
  padding: 28px; text-decoration: none; border: 1px solid #e6e8eb;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.asg-project-tile:hover { border-color: var(--asg-gold); box-shadow: 0 12px 32px rgba(11,30,51,0.08); }
.asg-project-tile__tag {
  display: inline-block; background: rgba(201,162,75,0.15); color: var(--asg-gold-dark);
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.asg-project-tile h3 { color: var(--asg-navy); margin-bottom: 8px; }
.asg-project-tile p { color: var(--asg-steel); font-size: 0.92rem; line-height: 1.6; margin-bottom: 12px; }
.asg-project-tile__meta { font-size: 0.82rem; color: var(--asg-gold-dark); font-weight: 600; }

/* ---------- DIVIDER STAT ---------- */
.asg-divider-stat { background: var(--asg-navy); padding: 40px 0; text-align: center; }
.asg-divider-stat p { color: rgba(255,255,255,0.85); font-size: 1.3rem; margin: 0; }
.asg-divider-stat strong { color: var(--asg-gold); font-size: 1.8rem; }

/* ---------- WHY US — 4 col icon grid ---------- */
.asg-why__grid--4 { grid-template-columns: repeat(4, 1fr); }
.asg-why__icon { font-size: 2rem; margin-bottom: 10px; }

/* ---------- CONTACT SECTION ---------- */
.asg-contact { padding: 96px 0; background: var(--asg-off-white); }
.asg-contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; margin-top: 40px; }
.asg-contact__info { display: flex; flex-direction: column; gap: 24px; }
.asg-contact__item { display: flex; gap: 16px; align-items: flex-start; }
.asg-contact__icon { font-size: 1.4rem; }
.asg-contact__item strong { display: block; color: var(--asg-navy); margin-bottom: 4px; }
.asg-contact__item p, .asg-contact__item a { color: var(--asg-steel); text-decoration: none; margin: 0; }
.asg-contact__item a:hover { color: var(--asg-gold-dark); }

.asg-contact__form { background: #fff; padding: 32px; border-radius: var(--asg-radius); border: 1px solid #e6e8eb; }
.asg-form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.asg-form-row label { font-weight: 600; color: var(--asg-navy); font-size: 0.9rem; }
.asg-form-row input, .asg-form-row textarea {
  padding: 12px 14px; border: 1px solid #d7dbe0; border-radius: var(--asg-radius);
  font-family: inherit; font-size: 0.95rem; width: 100%;
}
.asg-form-row input:focus, .asg-form-row textarea:focus { outline: none; border-color: var(--asg-gold); }
.asg-contact__form .asg-btn { border: none; cursor: pointer; width: 100%; text-align: center; }
.asg-form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.asg-form-status.is-success { color: #2f7d4f; }
.asg-form-status.is-error { color: #b3311f; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .asg-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .asg-about__grid { grid-template-columns: 1fr; }
  .asg-sectors__grid { grid-template-columns: 1fr; }
  .asg-why__grid { grid-template-columns: 1fr; }
  .asg-why__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .asg-section-head--split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .asg-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .asg-projects__grid { grid-template-columns: 1fr; }
  .asg-contact__grid { grid-template-columns: 1fr; }
  .asg-hero__stats { gap: 24px; }

  .asg-nav-toggle { display: flex; }
  .asg-nav {
    position: absolute; top: 100%; inset-inline: 0; background: var(--asg-navy);
    flex-direction: column; max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .asg-nav.is-open { max-height: 400px; }
  .asg-nav__list { flex-direction: column; gap: 0; padding: 12px 24px; }
  .asg-nav__list li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .asg-nav__list a { display: block; padding: 14px 0; }
  .asg-header-phone { display: none; }
}
