/*
Theme Name: ABAQ ANAYFAT
Theme URI: https://abaq-n.com
Author: ABAQ ANAYFAT
Author URI: https://abaq-n.com
Description: Custom WordPress theme for ABAQ ANAYFAT (AAN) — IT Services, General Trading & Engineering.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abaq-anayfat
Tags: business, custom-menu, custom-logo, featured-images
*/

/* ══════════════════════════════════════════════════════════
   TOKENS
   ══════════════════════════════════════════════════════════ */
:root {
  --navy:    #0A1628;
  --navy-2:  #1E3A5F;
  --gold:    #C8922A;
  --gold-lt: #E8B84B;
  --cream:   #F7F4EE;
  --gray:    #6B7280;
  --light:   #E9E6DF;
  --white:   #ffffff;
  --ff-head: 'Playfair Display', serif;
  --ff-body: 'Inter', sans-serif;
  --radius:  4px;
  --shadow:  0 4px 24px rgba(10,22,40,0.12);
}

/* ══════════════════════════════════════════════════════════
   RESET
   ══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); color: var(--navy); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ══════════════════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════════════════ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  margin-bottom: 14px;
}
.section-head {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem,3.5vw,2.6rem);
  font-weight: 700;
  line-height: 1.2;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--ff-body); font-size: 0.875rem; font-weight: 600;
  border: none; cursor: pointer; transition: all .25s;
  text-transform: uppercase; letter-spacing: 0.08em;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.18);
  transform: translateX(-105%); transition: transform .35s ease;
}
.btn:hover::after { transform: translateX(0); }
.btn span.arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover span.arrow { transform: translateX(5px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cream); }

/* ══════════════════════════════════════════════════════════
   SLASH DIVIDER
   ══════════════════════════════════════════════════════════ */
.slash-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 40px; }
.slash-divider::before { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); }
.slash-divider::after { content: ''; display: block; flex: 1; height: 1px; background: var(--light); }
.slash-bar { width: 3px; height: 32px; background: var(--gold); transform: skewX(-12deg); }
.slash-bar + .slash-bar { background: rgba(200,146,42,0.4); }
.slash-bar + .slash-bar + .slash-bar { background: rgba(200,146,42,0.15); }

/* ══════════════════════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════════════════════ */
.topbar {
  background: var(--navy); font-size: 0.78rem; color: rgba(255,255,255,0.6);
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: rgba(255,255,255,0.7); }
.topbar a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.lang-toggle { display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; }
.lang-toggle span { padding: 2px 8px; font-size: 0.72rem; font-weight: 600; cursor: pointer; color: rgba(255,255,255,0.5); }
.lang-toggle span.active { background: var(--gold); color: var(--white); }

/* ══════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════ */
.nav {
  background: var(--white); border-bottom: 1px solid var(--light);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(10,22,40,0.07);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 6px 30px rgba(10,22,40,0.18); }
/*.nav .container { display: flex; align-items: center; justify-content: space-between; height: 70px; } */
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 88px; }

/* .logo-block { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 50px; height: 50px; position: relative;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.15; }
.logo-text small { display: block; font-family: var(--ff-body); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
*/

.logo-block { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 72px; height: 72px; position: relative;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.15; }
.logo-text small { display: block; font-family: var(--ff-body); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }

/* WordPress menu output */
.nav-links {
  display: flex; align-items: center; list-style: none; gap: 4px;
  margin: 0; padding: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; font-size: 0.82rem; font-weight: 500;
  color: var(--navy); transition: color .2s; white-space: nowrap;
  position: relative;
}
.nav-links > li > a:hover,
.nav-links > li.current-menu-item > a,
.nav-links > li.current-menu-ancestor > a { color: var(--gold); }
.nav-links > li > a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width .3s ease;
}
.nav-links > li > a:hover::after,
.nav-links > li.current-menu-item > a::after { width: 100%; }

/* WP sub-menu dropdown */
.nav-links .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white); border: 1px solid var(--light);
  border-top: 3px solid var(--gold); min-width: 220px;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: all .2s; list-style: none; padding: 0; margin: 0;
}
.nav-links > li:hover .sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-links .sub-menu li a {
  display: block; padding: 11px 18px;
  font-size: 0.8rem; font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--light);
  transition: background .15s, color .15s;
}
.nav-links .sub-menu li:last-child a { border-bottom: none; }
.nav-links .sub-menu li a:hover { background: var(--cream); color: var(--gold); }
.nav-links .menu-item-has-children > a .caret { font-size: 0.6rem; opacity: 0.6; margin-left: 2px; }

.nav-phone { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--navy); border-left: 1px solid var(--light); padding-left: 16px; }
.nav-phone .icon { color: var(--gold); font-size: 1rem; }

.hamburger { display: none; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: all .3s; }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV
   ══════════════════════════════════════════════════════════ */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 999; flex-direction: column; padding: 80px 30px 30px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav ul li a { display: block; padding: 14px 0; font-size: 1.1rem; font-weight: 500; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav ul li a:hover { color: var(--gold); }
.mobile-nav ul .sub-menu { padding-left: 20px; }
.mobile-nav ul .sub-menu a { font-size: 0.95rem; }

/* ══════════════════════════════════════════════════════════
   HERO (home)
   ══════════════════════════════════════════════════════════ */
.hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding: 100px 0 90px; min-height: 86vh; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0A1628 0%, #1a2e50 50%, #0f2040 100%); }
.topo-lines { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; opacity: 0.18; }
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,146,42,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,146,42,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-slash { position: absolute; right: 42%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); opacity: 0.4; transform: skewX(-6deg); }
.hero-slash-2 { position: absolute; right: 41.5%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(200,146,42,0.3), transparent); }
.hero-glow {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,146,42,0.22), transparent 70%);
  pointer-events: none; z-index: 1; filter: blur(10px);
  transform: translate(-50%,-50%);
  left: var(--gx, 50%); top: var(--gy, 30%);
  transition: left .4s cubic-bezier(.2,.8,.2,1), top .4s cubic-bezier(.2,.8,.2,1);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content .tag { color: var(--gold-lt); border-color: var(--gold-lt); }
.hero-content h1 { font-family: var(--ff-head); font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: 20px; }
.hero-content h1 em { color: var(--gold); font-style: normal; }
.hero-content p { font-size: 1rem; color: rgba(255,255,255,0.72); max-width: 480px; margin-bottom: 36px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; }
.hero-stat-num { font-family: var(--ff-head); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 0.73rem; color: rgba(255,255,255,0.5); margin-top: 4px; letter-spacing: 0.05em; }

.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--gold); padding: 20px 24px;
  backdrop-filter: blur(4px); transition: transform .3s, background .3s;
  position: relative; overflow: hidden;
}
.hero-card:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }
.hero-card-icon { font-size: 1.5rem; margin-bottom: 8px; }
.hero-card-title { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.hero-card-desc { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   PAGE HERO
   ══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy); padding: 60px 0;
  border-bottom: 3px solid var(--gold);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(200,146,42,0.12);
}
.page-hero h1 { font-family: var(--ff-head); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 700; color: var(--white); margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p { font-size: 0.95rem; color: rgba(255,255,255,0.6); max-width: 560px; position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 16px; position: relative; z-index: 1; }
.breadcrumb span { color: var(--gold); }
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   TRUST BAR / MARQUEE
   ══════════════════════════════════════════════════════════ */
.trust-bar { background: var(--cream); border-bottom: 1px solid var(--light); padding: 18px 0; overflow: hidden; position: relative; }
.trust-bar::before, .trust-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.trust-bar::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.trust-bar::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }
.trust-track { display: flex; gap: 20px; width: max-content; align-items: center; padding: 0 20px; animation: marquee 32s linear infinite; }
.trust-bar:hover .trust-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; color: var(--navy); letter-spacing: 0.03em; white-space: nowrap; }
.trust-icon { font-size: 1.1rem; color: var(--gold); }
.trust-sep { width: 1px; height: 24px; background: var(--light); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   PILLARS
   ══════════════════════════════════════════════════════════ */
.pillars { padding: 90px 0; background: var(--white); }
.section-intro { max-width: 560px; margin-bottom: 0; }
.pillars-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; gap: 20px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 10px; }
.pillar-card {
  background: var(--cream); padding: 40px 32px;
  position: relative; overflow: hidden; transition: all .3s;
  display: block; color: inherit;
}
.pillar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover { background: var(--navy); }
.pillar-card:hover .pillar-title,
.pillar-card:hover .pillar-body,
.pillar-card:hover .pillar-link { color: var(--white); }
.pillar-card:hover .pillar-icon { background: rgba(200,146,42,0.2); color: var(--gold); }
.pillar-card:hover .pillar-num { color: rgba(255,255,255,0.08); }
.pillar-num { position: absolute; top: 20px; right: 24px; font-family: var(--ff-head); font-size: 3.5rem; font-weight: 700; color: rgba(10,22,40,0.06); line-height: 1; transition: color .3s; }
.pillar-icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 22px; color: var(--navy); transition: all .3s; box-shadow: 0 2px 8px rgba(10,22,40,0.08); }
.pillar-title { font-family: var(--ff-head); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; transition: color .3s; }
.pillar-body { font-size: 0.85rem; line-height: 1.7; color: var(--gray); margin-bottom: 24px; transition: color .3s; }
.pillar-link { font-size: 0.78rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; transition: color .3s; }

/* ══════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════ */
.about { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.about::after { content: ''; position: absolute; right: -100px; top: 50%; transform: translateY(-50%); width: 500px; height: 500px; border: 1px solid rgba(200,146,42,0.1); border-radius: 50%; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.about-tag { color: var(--gold-lt) !important; border-color: var(--gold-lt) !important; }
.about h2 { color: var(--white); margin-bottom: 20px; }
.about p { color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: 16px; font-size: 0.95rem; }
.about-btn { margin-top: 12px; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); padding: 28px 20px; text-align: center; }
.about-stat:first-child { border-top: 3px solid var(--gold); }
.about-stat-num { font-family: var(--ff-head); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.about-stat-lbl { font-size: 0.73rem; color: rgba(255,255,255,0.45); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.about-map { grid-column: span 2; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 20px; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ══════════════════════════════════════════════════════════
   VALUES
   ══════════════════════════════════════════════════════════ */
.values { padding: 90px 0; background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; margin-top: 10px; }
.value-card { background: var(--white); padding: 30px 22px; text-align: center; transition: all .3s; }
.value-card:hover { background: var(--gold); }
.value-card:hover .value-title, .value-card:hover .value-desc { color: var(--white); }
.value-icon { font-size: 1.8rem; margin-bottom: 14px; }
.value-title { font-family: var(--ff-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; transition: color .3s; }
.value-desc { font-size: 0.75rem; color: var(--gray); line-height: 1.6; transition: color .3s; }

/* ══════════════════════════════════════════════════════════
   SERVICES DETAIL / ENG GRID
   ══════════════════════════════════════════════════════════ */
.services-detail { padding: 100px 0; background: var(--white); }
.eng-intro { max-width: 820px; margin-bottom: 40px; }
.eng-intro p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.eng-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--light); margin-bottom: 70px; }
.eng-card { background: var(--white); padding: 34px 36px; position: relative; }
.eng-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.eng-card-num { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.eng-card-icon { font-size: 1.5rem; }
.eng-card h4 { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.eng-card-list { list-style: none; column-count: 1; padding: 0; }
.eng-card-list li { font-size: 0.8rem; color: var(--navy); line-height: 1.7; padding-left: 16px; position: relative; margin-bottom: 4px; }
.eng-card-list li::before { content: '▸'; color: var(--gold); position: absolute; left: 0; }

.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--light); }
.service-block:last-child { border-bottom: none; }
.service-block h3 { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.service-block p { font-size: 0.9rem; color: var(--gray); line-height: 1.8; margin-bottom: 20px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; padding: 0; }
.service-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--navy); }
.service-features li::before { content: '▸'; color: var(--gold); font-size: 0.8rem; margin-top: 1px; flex-shrink: 0; }
.service-visual { background: var(--navy); position: relative; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
.service-visual-label { font-size: 0.72rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.12em; }
.service-visual-accent { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); }
.service-visual-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,146,42,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(200,146,42,0.06) 1px, transparent 1px); background-size: 30px 30px; }

/* ══════════════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════════════ */
.process { padding: 90px 0; background: var(--cream); }
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 10px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); z-index: 0; }
.process-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--gold); }
.step-title { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.step-desc { font-size: 0.73rem; color: var(--gray); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   GALLERY / PROJECTS
   ══════════════════════════════════════════════════════════ */
.projects { padding: 100px 0; background: var(--white); }
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery-filter {
  padding: 9px 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--light); background: var(--white); color: var(--navy);
  cursor: pointer; transition: all .25s ease; text-transform: uppercase;
}
.gallery-filter:hover { border-color: var(--gold); color: var(--gold); }
.gallery-filter.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; background: var(--navy-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; filter: saturate(0.92); }
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.1); }
.gallery-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(0deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.1) 55%, transparent 100%); opacity: 0; transition: opacity .35s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item-div { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 4px; }
.gallery-item-title { color: var(--white); font-family: var(--ff-head); font-size: 1rem; font-weight: 700; }
.gallery-item-loc { color: rgba(255,255,255,0.6); font-size: 0.72rem; margin-top: 4px; }
.gallery-expand { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; opacity: 0; transform: scale(.7); transition: all .3s ease; }
.gallery-item:hover .gallery-expand { opacity: 1; transform: scale(1); }
.gallery-placeholder-note { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: rgba(255,255,255,0.35); text-align: center; padding: 16px; font-size: 0.7rem; letter-spacing: 0.04em; }
.gallery-placeholder-note .icon { font-size: 1.8rem; opacity: 0.5; }

/* ══════════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════════ */
.lightbox { position: fixed; inset: 0; background: rgba(6,12,22,0.94); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; }
.lightbox-caption { color: var(--white); text-align: center; margin-top: 16px; }
.lightbox-caption .div { color: var(--gold-lt); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox-caption .title { font-family: var(--ff-head); font-size: 1.2rem; margin-top: 4px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: var(--white); font-size: 1.8rem; background: none; border: none; cursor: pointer; opacity: 0.7; transition: opacity .2s; }
.lightbox-close:hover { opacity: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: none; color: var(--white); width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; } .lightbox-next { right: 24px; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonials { padding: 90px 0; background: var(--navy); }
.testi-carousel { position: relative; max-width: 760px; margin: 0 auto; min-height: 260px; }
.testi-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.testi-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.testi-quote-mark { font-family: var(--ff-head); font-size: 3.5rem; color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 8px; }
.testi-body { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 24px; }
.testi-divider { width: 30px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.testi-name { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.testi-role { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.testi-dots { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: all .3s ease; }
.testi-dot.active { background: var(--gold); width: 26px; border-radius: 5px; }

/* ══════════════════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════════════════ */
.cta-band { background: var(--gold); padding: 60px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--ff-head); font-size: 1.8rem; font-weight: 700; color: var(--navy); max-width: 500px; }
.cta-band h2 small { display: block; font-family: var(--ff-body); font-size: 0.85rem; font-weight: 400; color: rgba(10,22,40,0.65); margin-top: 4px; letter-spacing: 0.02em; }

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contact-section { padding: 90px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.03em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--light); background: var(--cream);
  font-family: var(--ff-body); font-size: 0.85rem; color: var(--navy);
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-icon { width: 40px; height: 40px; background: var(--cream); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1rem; margin-top: 2px; }
.contact-info-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 3px; }
.contact-info-value { font-size: 0.85rem; color: var(--navy); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer { background: #060f1c; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 50px; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.7; margin: 14px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; color: rgba(255,255,255,0.5); transition: all .2s; cursor: pointer; }
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-heading { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.footer-links li a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color .2s; }
.footer-links li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.5; margin-bottom: 12px; }
.footer-contact-item .icon { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.73rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }
.footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-badge { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.05em; padding: 3px 8px; border: 1px solid rgba(200,146,42,0.3); color: rgba(200,146,42,0.6); }

/* ══════════════════════════════════════════════════════════
   FLOATING BUTTONS
   ══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--gold); border: none; cursor: pointer; z-index: 900;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(10,22,40,0.3);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

.whatsapp-btn {
  position: fixed; bottom: 28px; left: 28px; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 900; text-decoration: none;
  animation: waPulse 2.4s ease-in-out infinite;
}
@keyframes waPulse { 0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); } 50% { box-shadow: 0 8px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); } }
.whatsapp-btn:hover { animation-play-state: paused; transform: scale(1.06); }

/* ══════════════════════════════════════════════════════════
   CHATBOT
   ══════════════════════════════════════════════════════════ */
.chatbot-launcher {
  position: fixed; bottom: 92px; left: 28px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; box-shadow: 0 8px 24px rgba(10,22,40,0.35); z-index: 900;
  transition: transform .25s ease;
}
.chatbot-launcher:hover { transform: scale(1.06); }
.chatbot-panel {
  position: fixed; bottom: 92px; left: 28px; width: 340px; max-width: calc(100vw - 40px);
  height: 460px; max-height: calc(100vh - 140px);
  background: var(--white); border-radius: 12px; box-shadow: 0 20px 60px rgba(10,22,40,0.35);
  display: none; flex-direction: column; overflow: hidden; z-index: 1000;
}
.chatbot-panel.open { display: flex; }
.chatbot-header { background: var(--navy); color: var(--white); padding: 16px 18px; display: flex; align-items: flex-start; justify-content: space-between; }
.chatbot-title { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; }
.chatbot-subtitle { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.chatbot-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1rem; cursor: pointer; }
.chatbot-close:hover { color: var(--white); }
.chatbot-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.chat-msg { max-width: 84%; padding: 10px 14px; border-radius: 12px; font-size: 0.82rem; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--light); border-bottom-left-radius: 3px; }
.chat-msg.user { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 3px; }
.chatbot-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--cream); }
.chatbot-quick-btn { font-size: 0.7rem; padding: 6px 12px; border: 1px solid var(--gold); color: var(--navy); background: var(--white); border-radius: 20px; cursor: pointer; transition: all .2s ease; }
.chatbot-quick-btn:hover { background: var(--gold); color: var(--white); }
.chatbot-input-row { display: flex; border-top: 1px solid var(--light); }
.chatbot-input-row input { flex: 1; border: none; padding: 12px 14px; font-size: 0.82rem; outline: none; font-family: var(--ff-body); }
.chatbot-input-row button { background: var(--gold); border: none; color: var(--white); width: 46px; cursor: pointer; font-size: 1rem; }
.chatbot-input-row button:hover { background: var(--navy); }

/* ══════════════════════════════════════════════════════════
   SCROLL PROGRESS
   ══════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  z-index: 2000; transition: width .08s linear;
  box-shadow: 0 0 8px rgba(200,146,42,0.6);
}
/* Footer logo — smaller than header */
.footer .logo-mark {
  width: 60px;
  height: 60px;
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: fadeUp .6s ease forwards; opacity: 0; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .25s; }
.anim-d3 { animation-delay: .4s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .15s ease-out, box-shadow .3s ease; }
.tilt:hover { box-shadow: 0 24px 48px rgba(10,22,40,0.18); }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.35), transparent 55%); transition: opacity .25s ease; mix-blend-mode: overlay; }
.tilt:hover .tilt-glare { opacity: 1; }

.pulse-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--gold); animation: pulseRing 2.6s ease-out infinite; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.pulse-ring.d2 { animation-delay: .9s; }
.pulse-ring.d3 { animation-delay: 1.8s; }
@keyframes pulseRing { 0% { width: 6px; height: 6px; margin: -3px 0 0 -3px; opacity: .9; } 100% { width: 90px; height: 90px; margin: -45px 0 0 -45px; opacity: 0; } }
.seismic-line { stroke-dasharray: 6 6; animation: dashFlow 6s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -240; } }
.topo-drift { animation: topoDrift 40s ease-in-out infinite alternate; transform-origin: center; }
@keyframes topoDrift { from { transform: translateX(0) scale(1); } to { transform: translateX(-2%) scale(1.03); } }

.count-num { font-variant-numeric: tabular-nums; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3,1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: block; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .about .container { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-visual { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .topbar .container { flex-direction: column; gap: 6px; }
  .trust-sep { display: none; }
  .pillars-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cta-band .container { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .eng-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 1rem; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .whatsapp-btn { bottom: 20px; left: 20px; width: 50px; height: 50px; }
  .chatbot-launcher { bottom: 82px; left: 20px; width: 50px; height: 50px; }
  .chatbot-panel { bottom: 0; left: 0; right: 0; width: 100%; max-width: 100%; height: 78vh; border-radius: 16px 16px 0 0; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .anim, .reveal, .pulse-ring, .seismic-line, .topo-drift, .trust-track { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

