/*
Theme Name: Storonix Equipment Custom Theme
Theme URI: https://storonixequipment.com/
Author: Storonix Equipment
Author URI: https://storonixequipment.com/
Description: Ultra-Premium B2B Corporate Industrial Theme for Storonix Equipment (ISO 9001:2015 Certified).
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: storonix-equipment
*/
/* 
  STORONIX EQUIPMENT - Ultra-Premium B2B Corporate Industrial Stylesheet
  Client: Mr. Amol Eknath Wagh
  Design Philosophy: Crisp, institutional, white & slate B2B aesthetic with amber-gold industrial accents.
*/

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

:root {
  /* Refined Institutional Color Palette */
  --amber-primary: #D97706;     /* Warm professional amber gold */
  --amber-hover: #B45309;       /* Darker amber for hover states */
  --amber-light: #FEF3C7;       /* Subtle warm gold tint background */
  --amber-accent: #F59E0B;      /* Vibrant secondary amber */
  
  --slate-900: #0F172A;         /* Deep slate for header topbar & dark elements */
  --slate-800: #1E293B;         /* Slate card background */
  --slate-700: #334155;         /* Subtle borders & dark text */
  --slate-600: #475569;         /* Body muted text */
  --slate-500: #64748B;         /* Subtitles & captions */
  --slate-100: #F8FAFC;         /* Light clean canvas background */
  --slate-50:  #FAFAFA;         /* Soft alternate section background */
  
  --border-subtle: #E2E8F0;     /* Crisp fine border lines */
  --border-dark: #334155;       /* Dark mode border lines */

  /* Aliases for inline HTML variable compatibility */
  --yellow-primary: var(--amber-primary);
  --yellow-hover: var(--amber-hover);
  --yellow-light: var(--amber-light);
  --dark-main: var(--slate-900);
  --dark-surface: var(--slate-800);
  --light-bg: var(--slate-100);
  --border-light: var(--border-subtle);
  --text-muted: var(--slate-600);
  --radius: var(--radius-md);
  --shadow-md: var(--shadow-card);
  --shadow-lg: var(--shadow-hover);
  
  /* Micro Shadow System */
  --shadow-subtle: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.10), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-amber: 0 8px 20px -4px rgba(217, 119, 6, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #FFFFFF;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-900);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page-loaded {
  opacity: 1;
  transform: translateY(0);
}

body.page-exiting {
  opacity: 0;
  transform: translateY(-6px);
}

/* SLEEK INDUSTRIAL PAGE TRANSITION OVERLAY */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--slate-900);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.page-transition-overlay.active {
  opacity: 1;
  transform: translateY(0%);
}

.transition-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(217, 119, 6, 0.15);
  border-top: 3px solid var(--amber-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.transition-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber-primary);
}

/* TOP SCROLL PROGRESS BAR */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-primary), var(--amber-accent));
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease-out;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS & BADGES --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-yellow {
  background-color: var(--amber-primary);
  color: #FFFFFF;
  border-color: var(--amber-primary);
  box-shadow: var(--shadow-subtle);
}

.btn-yellow:hover {
  background-color: var(--amber-hover);
  border-color: var(--amber-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--slate-900);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.btn-outline:hover {
  background: var(--slate-100);
  border-color: var(--slate-700);
  color: var(--slate-900);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--slate-900);
  border-color: #FFFFFF;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-primary);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--amber-primary);
  border-radius: 2px;
}

/* --- HEADER & NAVIGATION --- */
.top-bar {
  background-color: var(--slate-900);
  color: var(--slate-500);
  padding: 10px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
}

.top-info a {
  color: #CBD5E1;
}

.top-info a:hover {
  color: var(--amber-primary);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-card);
  background: rgba(255, 255, 255, 0.98);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  transition: var(--transition-normal);
}

.header.scrolled .container {
  height: 66px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.header.scrolled .brand-logo img {
  height: 36px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--slate-700);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--amber-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--amber-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-900);
  cursor: pointer;
  padding: 6px;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--slate-100) 100%);
  padding: 75px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 45px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--slate-900);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-content h1 span {
  color: var(--amber-primary);
  position: relative;
  display: inline-block;
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--slate-600);
  margin-bottom: 35px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.experience-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  color: var(--slate-900);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--amber-primary);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.experience-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.exp-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--amber-primary);
  line-height: 1;
}

.exp-text {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--slate-700);
}

/* HERO PURE VISUAL FRAME STYLING */
.hero-image-wrap {
  position: relative;
  width: 100%;
  text-align: center;
}

.hero-minimal-frame {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 16px;
  border: 4px solid #FFFFFF;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.14), 0 0 0 2px var(--amber-primary);
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-minimal-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px -10px rgba(15, 23, 42, 0.2), 0 0 0 2px var(--amber-dark);
}

/* --- SECTION COMMON --- */
.section {
  padding: clamp(65px, 7vw, 90px) 0;
}

.section-bg-light {
  background-color: var(--slate-100);
}

.section-bg-dark {
  background-color: var(--slate-900);
  color: #FFFFFF;
}

.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3 {
  color: #FFFFFF;
}

.section-header {
  margin-bottom: clamp(35px, 5vw, 50px);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--slate-600);
  max-width: 660px;
  line-height: 1.65;
}

.section-bg-dark .section-desc {
  color: #94A3B8;
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 5vw, 60px);
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.feature-box {
  background: #FFFFFF;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--amber-primary);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-left-color: var(--amber-hover);
}

.feature-box h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--slate-900);
}

.feature-box p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 32px 26px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217, 119, 6, 0.4);
}

.service-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--amber-primary);
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1;
  transition: var(--transition-fast);
}

.service-card:hover .service-num {
  transform: scale(1.05);
  color: var(--amber-hover);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--amber-light);
  color: var(--amber-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--amber-primary);
  color: #FFFFFF;
}

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--slate-900);
}

.service-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
  margin-bottom: 22px;
  flex-grow: 1;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-900);
  transition: var(--transition-fast);
}

.service-link i {
  transition: transform 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--amber-primary);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* --- PROCESS WORKFLOW --- */
.process-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #FFFFFF;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-normal);
}

.process-step-item:hover {
  border-color: var(--amber-primary);
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.step-num-big {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--amber-primary);
  background: var(--amber-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.process-step-item:hover .step-num-big {
  background: var(--amber-primary);
  color: #FFFFFF;
}

.step-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--slate-900);
}

.step-info p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* --- STATS COUNTER --- */
.stats-banner {
  background: var(--slate-900);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: clamp(45px, 6vw, 65px) 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-value {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--amber-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: clamp(0.8rem, 1.6vw, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CBD5E1;
}

/* --- PROJECTS / GALLERY GRID --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217, 119, 6, 0.4);
}

.project-img-holder {
  position: relative;
  height: 220px;
  background-color: var(--slate-800);
  overflow: hidden;
  cursor: pointer;
}

.project-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-holder img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--slate-900);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.project-body {
  padding: 22px;
}

.project-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--slate-900);
}

.project-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 18px;
  line-height: 1.55;
}

/* --- CALL TO ACTION BANNER --- */
.cta-banner {
  background: var(--slate-900);
  color: #FFFFFF;
  padding: clamp(35px, 5vw, 50px) clamp(20px, 4vw, 40px);
  border-radius: var(--radius-sm);
  margin: 40px 0;
  border-left: 5px solid var(--amber-primary);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-text h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: #FFFFFF;
  margin-bottom: 6px;
}

.cta-text p {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: #CBD5E1;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--slate-900);
  color: #94A3B8;
  padding-top: 65px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 35px;
  margin-bottom: 45px;
}

.footer-brand-logo {
  display: inline-block;
  height: 42px;
  margin-bottom: 20px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.footer-brand-logo:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--amber-primary);
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
  color: #94A3B8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--amber-primary);
  transform: translateX(4px);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.88rem;
}

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  word-break: break-word;
}

.contact-list i {
  color: var(--amber-primary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.82rem;
  color: #64748B;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- GALLERY FILTERS --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--slate-900);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--amber-primary);
  border-color: var(--amber-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-subtle);
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 2px solid var(--amber-primary);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amber-primary);
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--amber-hover);
  transform: rotate(90deg);
}

.lightbox-caption {
  padding: 12px 18px;
  background: var(--slate-900);
  color: #FFFFFF;
  font-weight: 600;
  text-align: center;
  font-size: 0.88rem;
}

/* --- ANIMATION CLASSES FOR SCROLL --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-24px);
}

.reveal.reveal-right {
  transform: translateX(24px);
}

.reveal.reveal-zoom {
  transform: scale(0.96);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES (DESKTOP, LAPTOP, TABLET, MOBILE)
   ========================================================================== */

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES (ULTRA-WIDE, DESKTOP, TABLET, MOBILE)
   ========================================================================== */

/* --- 1. ULTRA-WIDE & 4K SCREENS (1440px+) --- */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

/* --- 2. LARGE LAPTOPS & DESKTOPS (1024px - 1280px) --- */
@media (max-width: 1280px) {
  .container {
    max-width: 1040px;
  }
  .nav-menu {
    gap: 24px;
  }
  .hero-grid {
    gap: 40px;
  }
}

/* --- 3. TABLETS & SMALL LAPTOPS (768px - 1023px) --- */
@media (max-width: 1023px) {
  .container {
    padding: 0 24px;
  }

  .topbar-container {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .topbar-left, .topbar-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #FFFFFF !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 18px 24px !important;
    gap: 12px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22) !important;
    border-bottom: 3px solid var(--amber-primary) !important;
    border-top: 1px solid var(--border-subtle) !important;
    z-index: 999999 !important;
  }

  .nav-menu.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 12px 0 !important;
    font-size: 0.95rem !important;
    color: var(--slate-900) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    text-align: left !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F8FAFC !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    font-size: 1.35rem !important;
    color: var(--slate-900) !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    position: relative !important;
    z-index: 100000 !important;
    touch-action: manipulation !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

  .hero-content h1 {
    margin: 0 auto 16px;
  }

  .hero-lead {
    margin: 0 auto 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .about-grid, .grid-2-cols {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .grid-3-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* --- 4. MOBILE PHONES & PHABLETS (320px - 767px) --- */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* REMOVE TOP CONTACT BAR ABOVE HEADER ON MOBILE */
  .top-bar, .topbar {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden !important;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  }

  .header .container {
    height: 64px;
    padding: 0 16px;
  }

  .brand-logo img {
    height: 38px;
    width: auto;
  }

  .reveal.reveal-left, .reveal.reveal-right {
    transform: translateY(16px);
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  /* MOBILE HERO SECTION OPTIMIZATIONS */
  .hero {
    padding: 28px 0 42px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-content .badge-pill, .eyebrow {
    margin: 0 auto 10px;
    justify-content: center;
    display: inline-flex;
    font-size: 0.76rem;
  }

  .hero-content h1 {
    font-size: clamp(1.7rem, 6.2vw, 2.15rem);
    line-height: 1.25;
    margin: 0 auto 14px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.4px;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 auto 22px;
    text-align: center;
    color: var(--slate-600);
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin: 0 auto 20px;
  }

  .hero-actions .btn, .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    white-space: normal !important;
    text-align: center !important;
    word-break: break-word !important;
  }

  .iso-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
  }

  .hero-minimal-frame {
    max-height: 320px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto;
    display: block;
  }

  .hero-badges {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .experience-badge {
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  /* TYPOGRAPHY & SECTION HEADERS */
  .section-header {
    text-align: center;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    line-height: 1.3;
    text-align: center;
    margin: 6px auto 10px;
    font-weight: 800;
  }

  .section-subtitle, .section-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
    color: var(--slate-600);
    margin: 0 auto;
  }

  /* GRIDS & CARDS */
  .grid-3-cols, .grid-2-cols, .projects-grid, .services-grid, .about-grid, .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card, .project-card, .contact-card {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  .service-card h3, .project-card h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
  }

  .service-card p, .project-card p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .process-step-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .step-num-big {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cta-flex {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .footer-bottom .container, .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* FORM INPUT SAFARI IOS AUTO-ZOOM PREVENT */
  .form-control {
    font-size: 16px !important;
    padding: 12px 14px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}

/* --- 5. EXTRA SMALL PHONES (< 480px) --- */
@media (max-width: 479px) {
  .container {
    padding: 0 14px;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-minimal-frame {
    max-height: 280px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* --- PREMIUM FORM CONTROLS & CARDS --- */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slate-800);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-900);
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-control::placeholder {
  color: #94A3B8;
  opacity: 1;
}

.form-control:hover {
  border-color: #94A3B8;
}

.form-control:focus {
  outline: none;
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
  background-color: #FFFFFF;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.contact-form-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
  background-color: #20BA56;
  color: #FFFFFF;
}



/* ==========================================================================
   CONTACT FORM 7 — matches theme form styling
   ========================================================================== */
.wpcf7 form { display: block; }
.wpcf7 form p { margin-bottom: 18px; }
.wpcf7 label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--slate-900);
  transition: var(--transition-fast);
  margin-top: 6px;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 16px 24px;
  background: var(--amber-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-amber);
}
.wpcf7 input[type="submit"]:hover { background: var(--amber-hover); }
.wpcf7 .wpcf7-spinner { display: block; margin: 10px auto 0; }
.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid #16A34A;
  background: #F0FDF4;
  color: #166534;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border: 2px solid #DC2626;
  background: #FEF2F2;
  color: #991B1B;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #DC2626;
  font-size: 0.82rem;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .wpcf7 form > div[style*="grid"] { display: block !important; }
}

/* ==========================================================================
   ELEMENTOR CARD GRID CONSISTENCY
   ========================================================================== */
.elementor-widget-image-box .elementor-image-box-img {
  width: 100% !important;
}
.elementor-widget-image-box .elementor-image-box-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
}
.elementor-widget-image-box .elementor-image-box-title {
  margin-top: 16px;
}

/* Side images in 2-column content sections — consistent crop */
.sx-side-img img {
  width: 100% !important;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.16);
}

/* Mobile header: hamburger to the right edge */
@media (max-width: 1024px) {
  .hfe-nav-menu__toggle {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .elementor-widget-navigation-menu .elementor-widget-container {
    display: flex;
    justify-content: flex-end;
  }
}
