/* ==========================================================================
   Hasas Najd — design tokens & reset
   ========================================================================== */
:root {
  --color-dark: #232a2f;
  --color-dark-2: #171c1f;
  --color-green: #1c7a3e;
  --color-green-dark: #145c2f;
  --color-green-light: #2fa35a;
  --color-green-pale: #eaf7ef;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8f7;
  --color-border: #e6e9e7;
  --color-text: #333c40;
  --color-text-light: #6b7478;
  --color-white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(23, 28, 31, .06);
  --shadow-md: 0 14px 34px rgba(23, 28, 31, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --container-width: 1180px;
  --font-main: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--color-dark); line-height: 1.35; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--color-green);
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
}
.skip-link:focus { inset-inline-start: 10px; top: 10px; }

.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.icon { width: 22px; height: 22px; }
.btn-icon { width: 18px; height: 18px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .95em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-green-dark); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--color-border); color: var(--color-dark); background: transparent; }
.btn-outline:hover { border-color: var(--color-green); color: var(--color-green); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-white { background: #fff; color: var(--color-green-dark); }
.btn-white:hover { background: var(--color-green-pale); }
.btn-sm { padding: .65em 1.3em; font-size: .9rem; }
.btn-lg { padding: 1.05em 2.2em; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-mark .icon { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text strong { font-size: 1.25rem; color: var(--color-dark); font-weight: 800; }
.logo-text small { font-size: .68rem; color: var(--color-text-light); font-weight: 500; }

.main-nav ul { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-weight: 600;
  font-size: .96rem;
  color: var(--color-dark);
  position: relative;
  padding-block: 6px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-green);
  transition: width .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-green); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  font-weight: 700;
  font-size: .88rem;
  padding: .5em 1em;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
}
.lang-switch:hover { border-color: var(--color-green); color: var(--color-green); }
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--color-dark);
  padding: 6px;
}
.nav-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 1100px) {
  .main-nav {
    position: absolute;
    top: 100%; inset-inline: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
  .main-nav a { display: block; padding-block: 12px; }
  .header-call { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23,28,31,.93) 0%, rgba(23,28,31,.90) 55%, rgba(20,92,47,.86) 130%),
    var(--hero-bg, url('../uploads/proj-ops-room.jpg')) center 30%/cover no-repeat;
  color: #fff;
  padding-block: 110px 150px;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,163,90,.35), transparent 70%);
}
.hero::before { width: 520px; height: 520px; top: -220px; inset-inline-end: -160px; }
.hero::after { width: 380px; height: 380px; bottom: -220px; inset-inline-start: -120px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); }
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(47,163,90,.18);
  border: 1px solid rgba(47,163,90,.4);
  color: #8be3ac;
  padding: .4em 1em;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; color: #fff; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px; position: relative; z-index: 2; }
.hero-pillar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  padding: .6em 1.1em;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
}
.hero-pillar .icon { width: 18px; height: 18px; color: #6fd695; }

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  margin-bottom: 30px;
}
.stats-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 34px 16px;
  border-inline-start: 1px solid var(--color-border);
}
.stat-item:first-child { border-inline-start: none; }
.stat-icon { color: var(--color-green); margin-bottom: 10px; display: flex; justify-content: center; }
.stat-number { font-size: 2.1rem; font-weight: 800; color: var(--color-dark); }
.stat-label { color: var(--color-text-light); font-size: .9rem; margin-top: 4px; }

@media (max-width: 760px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2n+1) { border-inline-start: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--color-border); }
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.section { padding-block: 90px; }
.section-alt { background: var(--color-bg-alt); }
.section-header { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.section-header.align-start { margin-inline: 0; text-align: start; }
.section-label {
  display: inline-block;
  background: var(--color-green-pale);
  color: var(--color-green-dark);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  padding: .35em 1em;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; margin-bottom: 14px; }
.section-subtitle { color: var(--color-text-light); font-size: 1.05rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-visual-box {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-dark-2), var(--color-green-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about-visual-box img { width: 100%; height: 100%; object-fit: cover; }
.about-visual-box .icon { width: 110px; height: 110px; color: rgba(255,255,255,.85); }
.about-floating-card {
  position: absolute;
  bottom: -24px; inset-inline-end: -20px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 18px 24px;
  text-align: center;
}
.about-floating-card .stat-number { font-size: 1.7rem; }
.about-text .section-label { margin-bottom: 14px; }
.about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 18px; }
.about-text > p { color: var(--color-text-light); font-size: 1.05rem; margin-bottom: 26px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.about-feature .icon { width: 20px; height: 20px; color: var(--color-green); flex-shrink: 0; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { margin-bottom: 20px; }
  .about-features { grid-template-columns: 1fr; }
  .gm-message { flex-direction: column; text-align: center; padding: 30px 22px; }
}

/* ==========================================================================
   Cards grid — services / cards generic
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--color-green-pale);
  color: var(--color-green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--color-text-light); font-size: .95rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  color: var(--color-green);
  font-weight: 700;
  font-size: .9rem;
}
.card-link .icon { width: 16px; height: 16px; }

.category-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-green-dark);
  background: var(--color-green-pale);
  padding: .3em .9em;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ==========================================================================
   General manager's message
   ========================================================================== */
.gm-message {
  display: flex; gap: 44px; align-items: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
}
.gm-message-photo { flex-shrink: 0; }
.gm-message-photo img {
  width: 160px; height: 160px; object-fit: cover;
  border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow-md);
}
.gm-avatar-placeholder {
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-dark-2));
  border: 4px solid #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.gm-avatar-placeholder .icon { width: 60px; height: 60px; color: rgba(255,255,255,.85); }
.gm-quote { font-size: 1.02rem; line-height: 2; color: var(--color-text); white-space: pre-line; }
.gm-signature { margin-top: 18px; }
.gm-signature strong { display: block; font-size: 1.05rem; color: var(--color-dark); }
.gm-signature span { font-size: .88rem; color: var(--color-green); font-weight: 600; }

/* ==========================================================================
   Locations grid
   ========================================================================== */
.locations-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.location-card {
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  text-align: center;
}
.location-card.is-hq { border-color: var(--color-green-light); }
.location-badge {
  position: absolute; top: 16px; inset-inline-end: 16px;
  background: var(--color-green-pale); color: var(--color-green-dark);
  font-size: .72rem; font-weight: 700;
  padding: .3em .8em; border-radius: 999px;
}
.location-icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--color-green-pale); color: var(--color-green);
  display: flex; align-items: center; justify-content: center;
}
.location-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.location-card p { color: var(--color-text-light); font-size: .9rem; margin-bottom: 12px; }
.location-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--color-green); font-weight: 700; font-size: .92rem; }

/* ==========================================================================
   Why us — row style card
   ========================================================================== */
.why-item { display: flex; align-items: flex-start; gap: 18px; }
.why-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--color-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.why-icon .icon { width: 26px; height: 26px; }
.why-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.why-item p { color: var(--color-text-light); font-size: .93rem; }

/* ==========================================================================
   Certifications strip
   ========================================================================== */
.certs-section {
  background: linear-gradient(135deg, var(--color-dark-2), var(--color-dark));
  color: #fff;
}
.certs-section .section-subtitle { color: rgba(255,255,255,.65); }
.cert-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
}
.cert-card .card-icon { background: rgba(47,163,90,.2); color: #6fd695; margin-inline: auto; }
.cert-card h3 { color: #fff; font-size: 1.02rem; }

.cert-card.light { background: #fff; border-color: var(--color-border); }
.cert-card.light h3 { color: var(--color-dark); }
.cert-card.light .card-icon { background: var(--color-green-pale); color: var(--color-green); }
.cert-image { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; aspect-ratio: 4/3; background: var(--color-bg-alt); cursor: zoom-in; }
.cert-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cert-image:hover img { transform: scale(1.04); }

/* Certificate lightbox */
.cert-lightbox {
  position: fixed; inset: 0;
  background: rgba(10,14,12,.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.cert-lightbox.active { display: flex; }
.cert-lightbox-img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.cert-lightbox-close {
  position: absolute; top: 20px; inset-inline-end: 24px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.cert-lightbox-close:hover { background: rgba(255,255,255,.22); }

/* ==========================================================================
   Projects
   ========================================================================== */
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: box-shadow .2s ease, transform .2s ease; }
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.project-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-dark-2));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb .icon { width: 54px; height: 54px; color: rgba(255,255,255,.5); }
.project-body { padding: 22px 24px; }
.project-body h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.project-body p { color: var(--color-text-light); font-size: .92rem; }

/* ==========================================================================
   Clients
   ========================================================================== */
.client-badge {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 26px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--color-dark);
  display: flex; align-items: center; justify-content: center;
  min-height: 100px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.client-badge img { max-height: 60px; }
.client-badge:hover { box-shadow: var(--shadow-md); border-color: var(--color-green); }

/* ==========================================================================
   Process steps
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.process-grid::before {
  content: '';
  position: absolute;
  top: 30px; inset-inline: 12%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--color-text-light); font-size: .9rem; }

@media (max-width: 860px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--color-green-dark), var(--color-green));
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  padding: 64px 30px;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-dark-2); color: rgba(255,255,255,.78); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { margin-bottom: 18px; }
.footer-logo .logo-text strong { color: #fff; }
.footer-brand p { font-size: .92rem; line-height: 1.9; opacity: .8; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: .92rem; color: rgba(255,255,255,.68); }
.footer-col ul li a:hover { color: var(--color-green-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--color-green-light); flex-shrink: 0; margin-top: 2px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-links a .icon { width: 17px; height: 17px; }
.social-links a:hover { background: var(--color-green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; text-align: center; font-size: .85rem; opacity: .65; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; inset-inline-end: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 200;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--color-dark-2), var(--color-dark) 60%, var(--color-green-dark) 140%);
  color: #fff;
  padding-block: 70px;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.78); max-width: 560px; margin-inline: auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 14px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .card-icon { margin-inline: auto; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card a, .contact-card span { color: var(--color-text-light); }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 50px; border: 1px solid var(--color-border); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-placeholder {
  height: 380px;
  background: var(--color-bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: var(--color-text-light);
}
.map-placeholder .icon { width: 40px; height: 40px; color: var(--color-green); }

@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Profile page — company facts table
   ========================================================================== */
.profile-facts { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.profile-fact-row { display: flex; border-bottom: 1px solid var(--color-border); }
.profile-fact-row:last-child { border-bottom: none; }
.profile-fact-label { flex: 0 0 40%; background: var(--color-bg-alt); padding: 16px 22px; font-weight: 700; color: var(--color-dark); font-size: .94rem; }
.profile-fact-value { flex: 1; padding: 16px 22px; color: var(--color-text-light); font-size: .94rem; }
@media (max-width: 620px) {
  .profile-fact-row { flex-direction: column; }
  .profile-fact-label { flex: none; }
}

/* ==========================================================================
   Category filter (services page)
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: .55em 1.4em;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-dark);
}
.filter-btn.active, .filter-btn:hover { background: var(--color-green); color: #fff; border-color: var(--color-green); }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { text-align: center; padding-block: 130px; }
.error-page .icon-wrap {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--color-green-pale);
  color: var(--color-green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px;
}
.error-page .icon-wrap .icon { width: 46px; height: 46px; }
.error-page h1 { font-size: 1.8rem; margin-bottom: 14px; }
.error-page p { color: var(--color-text-light); margin-bottom: 30px; }

/* ==========================================================================
   Forms (contact / admin)
   ========================================================================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 700; font-size: .92rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85em 1em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px var(--color-green-pale);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { font-size: .82rem; color: var(--color-text-light); margin-top: 5px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; margin-bottom: 22px; }
.alert-success { background: var(--color-green-pale); color: var(--color-green-dark); border: 1px solid #b7e3c6; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f6c7c5; }

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-body { background: var(--color-bg-alt); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px; flex-shrink: 0;
  background: var(--color-dark-2);
  color: rgba(255,255,255,.85);
  padding: 26px 18px;
}
.admin-sidebar .logo-text strong { color: #fff; font-size: 1.1rem; }
.admin-nav { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: .8em 1em;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .92rem;
  color: rgba(255,255,255,.72);
}
.admin-nav a .icon { width: 18px; height: 18px; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { flex: 1; padding: 30px 36px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.admin-topbar h1 { font-size: 1.4rem; }
.admin-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); padding: 26px; }
.content-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.content-tabs a {
  padding: .55em 1.1em; border-radius: 999px; font-size: .86rem; font-weight: 600;
  background: #fff; border: 1px solid var(--color-border); color: var(--color-text-light);
}
.content-tabs a.active { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }
.content-tabs a:hover:not(.active) { border-color: var(--color-green); color: var(--color-green); }
.content-field { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.content-field:last-of-type { border-bottom: none; }
.content-field-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.content-field-label code { font-weight: 400; font-size: .74rem; color: var(--color-text-light); background: var(--color-bg-alt); padding: .15em .5em; border-radius: 4px; margin-inline-start: 6px; }
.form-group input.eng, .form-group textarea.eng { direction: ltr; text-align: left; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.admin-table th { color: var(--color-text-light); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.admin-table img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }
.admin-table tr:hover td { background: var(--color-bg-alt); }
.admin-actions { display: flex; gap: 8px; }
.admin-actions a, .admin-actions button {
  padding: .4em .7em;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-size: .82rem;
  font-weight: 600;
  background: #fff;
  color: var(--color-dark);
}
.admin-actions a:hover { border-color: var(--color-green); color: var(--color-green); }
.admin-actions .danger:hover { border-color: #d5433a; color: #d5433a; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.admin-stat-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.admin-stat-card .stat-number { color: var(--color-green); }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-bg-alt); padding: 20px; }
.admin-login-card { width: 100%; max-width: 400px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px 34px; text-align: center; }
.admin-login-card .logo { justify-content: center; margin-bottom: 24px; }
.badge-active { color: var(--color-green-dark); background: var(--color-green-pale); padding: .25em .8em; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge-inactive { color: #888; background: #eee; padding: .25em .8em; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.current-image { margin-bottom: 12px; }
.current-image img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--color-border); }

@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-text-light); }
