/* ============================================================
   HIGHMAST INDIA — MAIN STYLESHEET
   Deep Charcoal + Electric Yellow | Industrial Dark Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Orbitron:wght@700;900&display=swap');

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --charcoal-dk:  #0F0F0F;
  --charcoal:     #1A1A1A;
  --charcoal-md:  #242424;
  --charcoal-lt:  #2E2E2E;
  --charcoal-soft:#3A3A3A;
  --steel:        #4A4A4A;
  --steel-lt:     #606060;
  --yellow:       #F5C518;
  --yellow-bright:#FFD700;
  --yellow-lt:    #FFE566;
  --yellow-dk:    #D4A800;
  --yellow-glow:  rgba(245,197,24,0.15);
  --yellow-soft:  rgba(245,197,24,0.08);
  --white:        #FFFFFF;
  --off-white:    #F8F6F0;
  --light-gray:   #E8E6E0;
  --mid-gray:     #999080;
  --dark-gray:    #666055;
  --border:       rgba(245,197,24,0.15);
  --border-steel: rgba(255,255,255,0.08);
  --font-head:    'Rajdhani', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --shadow-yellow: 0 0 30px rgba(245,197,24,0.2);
  --shadow-dark:   0 8px 32px rgba(0,0,0,0.5);
  --radius:        4px;
  --radius-lg:     8px;
  --trans:         all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--charcoal-dk);
  color: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--trans); }
ul, ol { list-style: none; }
p { margin-bottom: 0; }

/* ─── WORDPRESS ALIGNMENT HELPERS ───────────────────────── */
.alignnone, .alignleft, .alignright, .aligncenter { margin: 0; }
.wp-caption { max-width: 100%; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.hm-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hm-section { padding: 90px 0; }
.hm-section-sm { padding: 60px 0; }
.hm-centered { text-align: center; }
.hm-centered .hm-sub { margin: 0 auto; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.hm-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-soft); border: 1px solid var(--border);
  color: var(--yellow); font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 16px; border-radius: 2px; margin-bottom: 16px;
}
.hm-tag::before { content: ''; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; flex-shrink: 0; }
.hm-title {
  font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700; color: var(--white); line-height: 1.1;
  letter-spacing: 0.5px; margin-bottom: 18px;
}
.hm-title span { color: var(--yellow); }
.hm-title-sm {
  font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 14px;
}
.hm-title-sm span { color: var(--yellow); }
.hm-sub { color: var(--mid-gray); font-size: 1.05rem; line-height: 1.75; max-width: 640px; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.hm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.8px; text-transform: uppercase;
  transition: var(--trans); cursor: pointer; border: 2px solid transparent;
  text-decoration: none !important;
}
.hm-btn-yellow { background: var(--yellow); color: var(--charcoal-dk) !important; border-color: var(--yellow); }
.hm-btn-yellow:hover { background: var(--yellow-bright); transform: translateY(-2px); box-shadow: var(--shadow-yellow); }
.hm-btn-outline { background: transparent; color: var(--yellow) !important; border-color: var(--yellow); }
.hm-btn-outline:hover { background: var(--yellow-glow); transform: translateY(-2px); }
.hm-btn-steel { background: var(--charcoal-lt); color: var(--white) !important; border-color: var(--border-steel); }
.hm-btn-steel:hover { background: var(--charcoal-soft); border-color: var(--yellow); color: var(--yellow) !important; }
.hm-btn-lg { padding: 18px 40px; font-size: 0.95rem; }
.hm-btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.hm-btn-white-outline { background: transparent; color: var(--white) !important; border-color: rgba(255,255,255,0.5); }
.hm-btn-white-outline:hover { background: white; color: var(--charcoal-dk) !important; }

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(15,15,15,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: var(--trans); }
.header-top { background: var(--yellow); padding: 7px 0; }
.header-top .hm-container { display: flex; justify-content: space-between; align-items: center; }
.header-top-info { display: flex; gap: 24px; }
.header-top-info a { color: var(--charcoal-dk); font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.header-top-info a:hover { opacity: 0.7; }
.header-top-right { font-size: 0.78rem; font-weight: 700; color: var(--charcoal-dk); letter-spacing: 0.5px; }
.header-main { padding: 14px 0; }
.header-main .hm-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.logo-icon { width: 48px; height: 48px; background: var(--yellow); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 28px; height: 28px; }
.logo-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 1px; line-height: 1; }
.logo-name span { color: var(--yellow); }
.logo-tagline { font-family: var(--font-body); font-size: 0.68rem; color: var(--steel-lt); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }

/* ─── NAVIGATION ─────────────────────────────────────────── */
#primary-nav { display: flex; align-items: center; gap: 2px; }
#primary-nav li { position: relative; list-style: none; }
#primary-nav a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 15px; font-family: var(--font-body);
  font-weight: 600; font-size: 0.875rem; color: var(--light-gray);
  border-radius: var(--radius); transition: var(--trans); white-space: nowrap;
}
#primary-nav a:hover, #primary-nav .current-menu-item > a,
#primary-nav .current-page-ancestor > a { color: var(--yellow); background: var(--yellow-soft); }
#primary-nav .menu-item-has-children > a::after { content: ' ▾'; font-size: 0.7rem; }
#primary-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--charcoal-md); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-dark);
  min-width: 220px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: var(--trans); z-index: 200; padding: 10px;
}
#primary-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
#primary-nav .sub-menu a {
  display: block; padding: 9px 12px; font-size: 0.875rem;
  color: var(--mid-gray); border-radius: var(--radius);
}
#primary-nav .sub-menu a:hover { color: var(--yellow); background: var(--yellow-soft); padding-left: 16px; }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--yellow); border-radius: 2px; transition: var(--trans); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--charcoal); z-index: 2000;
  overflow-y: auto; padding: 28px 24px;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  border-left: 2px solid var(--yellow);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.mobile-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--yellow); }
#mobile-menu { display: flex; flex-direction: column; }
#mobile-menu li { list-style: none; }
#mobile-menu a { display: block; padding: 13px 0; font-weight: 600; font-size: 1rem; color: var(--light-gray); border-bottom: 1px solid var(--border); transition: var(--trans); }
#mobile-menu a:hover { color: var(--yellow); padding-left: 8px; }
#mobile-menu .sub-menu a { padding: 9px 0 9px 20px; font-size: 0.9rem; color: var(--mid-gray); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero-section { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,10,10,0.97) 0%, rgba(15,15,15,0.85) 45%, rgba(15,15,15,0.4) 100%); }
.hero-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(245,197,24,0.015) 3px, rgba(245,197,24,0.015) 4px); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 100px 0 80px; width: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--yellow); }
.hero-eyebrow-line { width: 40px; height: 2px; background: var(--yellow); }
.hero-title { font-family: var(--font-head); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; color: var(--white); line-height: 1.0; letter-spacing: 1px; margin-bottom: 24px; }
.hero-title span { color: var(--yellow); display: block; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px rgba(245,197,24,0.5); }
.hero-desc { color: var(--mid-gray); font-size: 1.1rem; line-height: 1.8; max-width: 560px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--border); padding-top: 40px; flex-wrap: wrap; }
.hstat { flex: 1; min-width: 120px; padding-right: 32px; border-right: 1px solid var(--border); margin-right: 32px; }
.hstat:last-child { border-right: none; margin-right: 0; }
.hstat-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: var(--yellow); line-height: 1; margin-bottom: 4px; }
.hstat-label { font-size: 0.8rem; color: var(--dark-gray); letter-spacing: 0.8px; text-transform: uppercase; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dark-gray); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--yellow), transparent); animation: scroll-anim 2s ease-in-out infinite; }
@keyframes scroll-anim { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.4;transform:scaleY(0.7)} }

/* ─── TICKER ─────────────────────────────────────────────── */
.ticker-strip { background: var(--yellow); padding: 12px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 56px; animation: ticker 30s linear infinite; width: max-content; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-weight: 700; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal-dk); }
.ticker-dot { width: 5px; height: 5px; background: var(--charcoal-dk); border-radius: 50%; opacity: 0.5; flex-shrink: 0; }

/* ─── SERVICE CARDS ──────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px; margin-top: 56px; background: var(--border); }
.service-card { background: var(--charcoal-md); padding: 40px 36px; position: relative; overflow: hidden; transition: var(--trans); }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--yellow); transition: width 0.4s ease; }
.service-card:hover::before { width: 100%; }
.service-card:hover { background: var(--charcoal-lt); }
.service-num { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; color: var(--yellow); letter-spacing: 2px; margin-bottom: 20px; opacity: 0.7; }
.service-icon { width: 60px; height: 60px; background: var(--yellow-soft); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; transition: var(--trans); }
.service-card:hover .service-icon { background: var(--yellow-glow); border-color: var(--yellow); transform: scale(1.05); }
.service-card h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: 0.3px; }
.service-card p { font-size: 0.9rem; color: var(--mid-gray); line-height: 1.7; margin-bottom: 20px; }
.service-link { display: flex; align-items: center; gap: 6px; color: var(--yellow); font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transition: var(--trans); }
.service-link:hover { gap: 12px; }

/* ─── PRODUCT CARDS ──────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.product-card { background: var(--charcoal-md); border: 1px solid var(--border-steel); border-radius: var(--radius-lg); overflow: hidden; transition: var(--trans); display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--yellow); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(245,197,24,0.12); }
.product-img { height: 240px; position: relative; overflow: hidden; background: var(--charcoal-lt); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.85) contrast(1.1); }
.product-card:hover .product-img img { transform: scale(1.06); filter: brightness(0.9) contrast(1.1); }
.product-tag { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--charcoal-dk); font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 2px; letter-spacing: 1px; text-transform: uppercase; }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.product-body p { font-size: 0.875rem; color: var(--mid-gray); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.product-specs { background: var(--charcoal-lt); border-radius: var(--radius); padding: 14px; margin-bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec-item .spec-k { font-size: 0.72rem; color: var(--dark-gray); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; }
.spec-item .spec-v { font-size: 0.85rem; font-weight: 700; color: var(--yellow); }
.product-actions { display: flex; gap: 10px; }
.product-actions .hm-btn { flex: 1; justify-content: center; }

/* ─── WHY CHOOSE US ──────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 56px; }
.why-item { padding: 40px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); transition: var(--trans); position: relative; overflow: hidden; }
.why-item:nth-child(even) { border-right: none; }
.why-item:nth-last-child(-n+2) { border-bottom: none; }
.why-item::after { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--yellow); transition: height 0.4s ease; }
.why-item:hover::after { height: 100%; }
.why-item:hover { background: var(--yellow-soft); }
.why-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.why-item h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-item p { font-size: 0.875rem; color: var(--mid-gray); line-height: 1.7; }

/* ─── INDUSTRY CARDS ─────────────────────────────────────── */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 3px; margin-top: 56px; background: var(--border-steel); }
.industry-card { background: var(--charcoal-md); padding: 0; text-align: center; transition: var(--trans); position: relative; overflow: hidden; display: block; text-decoration: none !important; }
.industry-card::before { content: ''; position: absolute; inset: 0; background: var(--yellow-glow); opacity: 0; transition: opacity 0.3s; z-index: 1; }
.industry-card:hover::before { opacity: 1; }
.industry-card:hover { transform: translateY(-3px); }
.ind-img { height: 140px; overflow: hidden; position: relative; }
.ind-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7) saturate(0.8); transition: var(--trans); }
.industry-card:hover .ind-img img { filter: brightness(0.9) saturate(1); transform: scale(1.05); }
.ind-icon-wrap { position: absolute; bottom: 8px; right: 8px; background: var(--yellow); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 2; }
.ind-content { padding: 16px 14px; position: relative; z-index: 2; }
.ind-name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: 0.3px; }

/* ─── PROJECT CARDS ──────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 3px; margin-top: 56px; background: var(--border-steel); }
.project-card { position: relative; height: 320px; overflow: hidden; cursor: pointer; display: block; text-decoration: none !important; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.6) contrast(1.1); }
.project-card:hover img { transform: scale(1.06); filter: brightness(0.5) contrast(1.1); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.project-tag { background: var(--yellow); color: var(--charcoal-dk); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 2px; display: inline-block; margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; align-self: flex-start; }
.project-card h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.project-card p { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ─── BLOG CARDS ──────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; margin-top: 56px; }
.blog-card { background: var(--charcoal-md); border: 1px solid var(--border-steel); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: var(--trans); text-decoration: none !important; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-dark); }
.blog-img { height: 200px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.85) saturate(0.9); }
.blog-card:hover .blog-img img { transform: scale(1.06); filter: brightness(1) saturate(1); }
.blog-tag { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--charcoal-dk); font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; letter-spacing: 1px; text-transform: uppercase; }
.blog-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 0.75rem; color: var(--mid-gray); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px; }
.blog-body h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--white); line-height: 1.35; margin-bottom: 12px; }
.blog-card:hover .blog-body h3 { color: var(--yellow); }
.blog-body p { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.blog-link { font-size: 0.82rem; font-weight: 700; color: var(--yellow); letter-spacing: 0.3px; }

/* ─── BLOG ARCHIVE (all-articles page) ───────────────────── */
.blog-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; margin-top: 40px; }
.blog-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 56px; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--border-steel); border-radius: var(--radius); color: var(--off-white); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; transition: var(--trans); }
.blog-pagination a:hover { border-color: var(--yellow); color: var(--yellow); }
.blog-pagination span.current { background: var(--yellow); color: var(--charcoal-dk); border-color: var(--yellow); }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 56px; }
.testi-card { background: var(--charcoal-md); border: 1px solid var(--border-steel); border-radius: var(--radius-lg); padding: 32px; position: relative; transition: var(--trans); }
.testi-card:hover { border-color: var(--yellow); }
.testi-card::before { content: '"'; position: absolute; top: 20px; right: 24px; font-family: Georgia, serif; font-size: 5rem; color: var(--yellow); opacity: 0.12; line-height: 1; }
.testi-stars { color: var(--yellow); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 3px; }
.testi-text { font-size: 0.95rem; color: var(--mid-gray); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; color: var(--charcoal-dk); font-family: var(--font-head); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.testi-role { font-size: 0.78rem; color: var(--dark-gray); margin-top: 2px; }

/* ─── PROCESS STEPS ──────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: 56px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); opacity: 0.3; }
.process-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; background: var(--charcoal-dk); border: 2px solid var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--yellow); margin: 0 auto 20px; }
.process-step h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; color: var(--mid-gray); line-height: 1.6; }

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-section { background: var(--charcoal-md); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-text h2 { font-family: var(--font-head); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-text h2 span { color: var(--yellow); }
.cta-text p { color: var(--mid-gray); font-size: 1rem; max-width: 500px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── FORM STYLES ────────────────────────────────────────── */
.hm-form-wrap { background: var(--charcoal-md); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; border-top: 3px solid var(--yellow); }
.hm-form-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.hm-form-sub { font-size: 0.875rem; color: var(--mid-gray); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 0.78rem; font-weight: 700; color: var(--dark-gray); letter-spacing: 0.8px; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 16px; background: var(--charcoal-lt); border: 1px solid var(--border-steel);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.9rem;
  color: var(--white); outline: none; transition: var(--trans); width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,197,24,0.08); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--steel); }
.form-field select option { background: var(--charcoal-md); }
.form-field textarea { resize: vertical; min-height: 110px; }

/* WPForms / CF7 override for dark theme */
.wpcf7 input, .wpcf7 select, .wpcf7 textarea,
.wpforms-field input, .wpforms-field select, .wpforms-field textarea {
  background: var(--charcoal-lt) !important; border: 1px solid var(--border-steel) !important;
  color: var(--white) !important; border-radius: var(--radius) !important;
  font-family: var(--font-body) !important; padding: 12px 16px !important;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus,
.wpforms-field input:focus, .wpforms-field select:focus, .wpforms-field textarea:focus {
  border-color: var(--yellow) !important; outline: none !important;
}
.wpcf7 label, .wpforms-field label { color: var(--dark-gray) !important; font-size: 0.78rem !important; text-transform: uppercase !important; letter-spacing: 0.8px !important; }
.wpcf7-submit, .wpforms-submit { background: var(--yellow) !important; color: var(--charcoal-dk) !important; border: none !important; padding: 14px 32px !important; font-family: var(--font-body) !important; font-weight: 700 !important; font-size: 0.9rem !important; letter-spacing: 0.8px !important; text-transform: uppercase !important; cursor: pointer !important; border-radius: var(--radius) !important; transition: var(--trans) !important; width: 100% !important; margin-top: 10px !important; }
.wpcf7-submit:hover, .wpforms-submit:hover { background: var(--yellow-bright) !important; transform: translateY(-2px) !important; }

/* ─── MODAL (Inquiry Popup) ──────────────────────────────── */
.hm-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 9999; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.hm-modal-overlay.open { display: flex; }
.hm-modal-box { background: var(--charcoal-md); border: 1px solid var(--border); border-top: 3px solid var(--yellow); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-dark); }
.hm-modal-header { padding: 24px 28px 20px; border-bottom: 1px solid var(--border-steel); display: flex; justify-content: space-between; align-items: center; }
.hm-modal-header h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--white); }
.hm-modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--mid-gray); }
.hm-modal-close:hover { color: var(--yellow); }
.hm-modal-body { padding: 28px; }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-btn { width: 62px; height: 62px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: var(--trans); text-decoration: none !important; animation: wa-pulse 3s ease-in-out infinite; }
@keyframes wa-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
.wa-btn:hover { transform: scale(1.15) !important; animation: none; }
.wa-btn svg { width: 30px; height: 30px; fill: white; }
.wa-tooltip { background: var(--charcoal-lt); border: 1px solid var(--border); color: var(--white); padding: 7px 14px; border-radius: var(--radius); font-size: 0.8rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: var(--trans); pointer-events: none; }
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero { background: var(--charcoal-dk); padding: 80px 0 60px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; overflow: hidden; opacity: 0.2; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 50%; background: radial-gradient(ellipse at right, rgba(245,197,24,0.06) 0%, transparent 70%); z-index: 1; }
.page-hero .hm-container { position: relative; z-index: 2; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.8rem; color: var(--dark-gray); flex-wrap: wrap; }
.breadcrumbs a { color: var(--dark-gray); }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { color: var(--yellow); opacity: 0.5; }
.breadcrumbs .current { color: var(--mid-gray); }

/* ─── SINGLE SERVICE/PRODUCT/PROJECT ──────────────────────── */
.single-content { max-width: 860px; }
.single-content h1, .single-content h2, .single-content h3 { font-family: var(--font-head); color: var(--white); margin-bottom: 14px; }
.single-content p { color: var(--mid-gray); line-height: 1.8; margin-bottom: 18px; }
.single-content ul li { color: var(--mid-gray); font-size: 0.95rem; padding: 6px 0; display: flex; align-items: flex-start; gap: 10px; }
.single-content ul li::before { content: '▸'; color: var(--yellow); flex-shrink: 0; }
.specs-table { width: 100%; border-collapse: collapse; margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; }
.specs-table th { background: var(--yellow); color: var(--charcoal-dk); padding: 13px 18px; text-align: left; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.specs-table td { padding: 12px 18px; font-size: 0.875rem; color: var(--mid-gray); border-bottom: 1px solid var(--border-steel); }
.specs-table tr:nth-child(even) td { background: var(--charcoal-lt); }
.specs-table td:first-child { color: var(--white); font-weight: 600; }

/* ─── ARCHIVE PAGES ──────────────────────────────────────── */
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }

/* ─── STATS ROW ──────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 3px; background: rgba(255,255,255,0.04); }
.stat-box { background: var(--charcoal); padding: 36px 24px; text-align: center; }
.stat-box .n { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--yellow); line-height: 1; margin-bottom: 8px; }
.stat-box .l { font-size: 0.8rem; color: var(--dark-gray); text-transform: uppercase; letter-spacing: 1px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--charcoal-dk); border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--border-steel); }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-icon { width: 42px; height: 42px; background: var(--yellow); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.footer-logo-icon svg { width: 22px; height: 22px; }
.footer-logo-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.footer-logo-name span { color: var(--yellow); }
.footer-desc { font-size: 0.875rem; color: var(--dark-gray); line-height: 1.75; margin-bottom: 22px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--mid-gray); margin-bottom: 8px; }
.footer-contact-item a { color: var(--mid-gray); }
.footer-contact-item a:hover { color: var(--yellow); }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.875rem; color: var(--dark-gray); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--yellow); }
.footer-links a:hover { color: var(--yellow); padding-left: 4px; }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 0.8rem; color: var(--steel); }
.footer-copy a { color: var(--yellow); }
.footer-links-bottom { display: flex; gap: 20px; }
.footer-links-bottom a { font-size: 0.8rem; color: var(--steel); }
.footer-links-bottom a:hover { color: var(--yellow); }

/* ─── BG HELPERS ─────────────────────────────────────────── */
.bg-dark { background: var(--charcoal-dk); }
.bg-mid { background: var(--charcoal-md); }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); opacity: 0.2; }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 768px) {
  #primary-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero-section { min-height: auto; }
  .hero-content { padding: 80px 0 60px; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3rem); }
  .hero-stats { gap: 20px; }
  .hstat { border-right: none; flex: 0 0 45%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .why-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .header-top-right { display: none; }
  .hm-section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hstat { flex: 0 0 100%; }
}
