/* ============================================
   BEECONINFRA — Design System
   Premium Dark Industrial Theme + Gold Accent
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --clr-primary: #FFC107;
  --clr-primary-dark: #E5AC00;
  --clr-primary-light: #FFD54F;
  --clr-primary-glow: rgba(255, 193, 7, 0.12);
  --clr-primary-glow-strong: rgba(255, 193, 7, 0.25);
  --clr-bg: #121212;
  --clr-bg-alt: #0E0E0E;
  --clr-surface: #2B2B2B;
  --clr-surface-light: #363636;
  --clr-white: #FFFFFF;
  --clr-text: #E0E0E0;
  --clr-text-muted: #9E9E9E;
  --clr-danger: #FF5252;
  --clr-success: #4CAF50;
  --clr-overlay: rgba(0, 0, 0, 0.7);

  /* Typography */
  --ff-heading: 'Poppins', 'Montserrat', sans-serif;
  --ff-body: 'Open Sans', 'Roboto', sans-serif;

  --fs-display: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-h4: clamp(1rem, 1.5vw, 1.25rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-section: clamp(4rem, 8vw, 8rem);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(255, 193, 7, 0.3);
  --shadow-gold-lg: 0 8px 40px rgba(255, 193, 7, 0.4);

  /* Transitions */
  --tr-fast: 0.2s ease;
  --tr-normal: 0.3s ease;
  --tr-slow: 0.5s ease;
  --tr-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 80px;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-whatsapp: 500;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--sp-section) 0; }
.section--alt { background-color: var(--clr-bg-alt); }
.section--surface { background-color: var(--clr-surface); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clr-primary);
  margin-bottom: var(--sp-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--clr-primary);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: var(--sp-md);
}

.section-title .highlight {
  color: var(--clr-primary);
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
  max-width: 620px;
  margin-bottom: var(--sp-2xl);
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 14px 32px;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-md);
  transition: all var(--tr-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  transition: width 0.5s, height 0.5s;
  transform: translate(-50%, -50%);
}

.btn:hover::after { width: 300px; height: 300px; }

.btn--primary {
  background: var(--clr-primary);
  color: var(--clr-bg);
}

.btn--primary:hover {
  background: var(--clr-primary-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--clr-primary);
  color: var(--clr-bg);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--clr-white);
  color: var(--clr-bg);
}

.btn--white:hover {
  background: var(--clr-primary);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 22px; font-size: var(--fs-xs); }
.btn--lg { padding: 18px 42px; font-size: var(--fs-body); }

.btn--call {
  background: var(--clr-success);
  color: var(--clr-white);
}

.btn--call:hover {
  background: #43A047;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
  transform: translateY(-2px);
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-sticky);
  transition: all var(--tr-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  z-index: var(--z-fixed);
}

.logo-text {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--clr-primary);
}

.logo-icon {
  width: 44px; height: 44px;
  background: var(--clr-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--clr-bg);
  font-family: var(--ff-heading);
  letter-spacing: -1px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.nav-link {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--clr-primary);
  transition: all var(--tr-normal);
  transform: translateX(-50%);
}

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

/* Dropdown */
.nav-item--dropdown { position: relative; }

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 0.6rem;
  transition: transform var(--tr-fast);
}

.nav-item--dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: var(--clr-surface);
  border: 1px solid rgba(255, 193, 7, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-sm);
  opacity: 0; visibility: hidden;
  transition: all var(--tr-normal);
  z-index: var(--z-dropdown);
}

.nav-item--dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text);
  transition: all var(--tr-fast);
}

.dropdown-link:hover {
  background: var(--clr-primary-glow);
  color: var(--clr-primary);
}

.dropdown-link .icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-glow);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-heading);
  font-weight: 600;
  color: var(--clr-primary);
  font-size: var(--fs-sm);
}

.header-phone svg { width: 18px; height: 18px; }

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: var(--z-fixed);
}

.hamburger span {
  display: block;
  width: 100%; height: 2.5px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--tr-normal);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 12, 12, 0.93) 0%,
    rgba(12, 12, 12, 0.72) 50%,
    rgba(12, 12, 12, 0.50) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 720px;
  padding: var(--sp-3xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--clr-primary-glow);
  border: 1px solid rgba(255, 193, 7, 0.3);
  padding: var(--sp-sm) var(--sp-lg);
  border-radius: var(--radius-xl);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-primary);
  margin-bottom: var(--sp-xl);
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: var(--sp-lg);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: var(--clr-primary);
  position: relative;
}

.hero-description {
  font-size: var(--fs-body-lg);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-2xl);
  max-width: 560px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.hero-trust-item svg {
  color: var(--clr-primary);
  width: 20px; height: 20px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--clr-surface);
  border-top: 3px solid var(--clr-primary);
  padding: var(--sp-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
}

.stat-item {
  position: relative;
  padding: var(--sp-md);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; height: 80%; width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 900;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-xl);
}

.service-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--tr-normal);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 193, 7, 0.2);
  box-shadow: var(--shadow-gold);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.service-card-body {
  padding: var(--sp-xl);
}

.service-card-icon {
  width: 50px; height: 50px;
  background: var(--clr-primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-md);
  color: var(--clr-primary);
}

.service-card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-sm); }

.service-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-lg);
  line-height: 1.7;
}

.service-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--clr-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: gap var(--tr-fast);
}

.service-card:hover .link-arrow { gap: var(--sp-md); }

/* --- Equipment Section --- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-xl);
}

.equipment-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--tr-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.equipment-card:hover {
  border-color: rgba(255, 193, 7, 0.2);
  transform: translateY(-4px);
}

.equipment-card-img {
  height: 200px;
  overflow: hidden;
}

.equipment-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

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

.equipment-card-body { padding: var(--sp-lg); }
.equipment-card h4 { margin-bottom: var(--sp-xs); }
.equipment-card p { color: var(--clr-text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-md); }

.equipment-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--clr-primary-glow);
  color: var(--clr-primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Gallery / Projects --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0;
  transition: opacity var(--tr-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-lg);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--clr-white); font-size: var(--fs-body); margin-bottom: var(--sp-xs); }
.gallery-overlay p { color: var(--clr-primary); font-size: var(--fs-sm); }

/* Filter buttons for gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--tr-fast);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--clr-bg);
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* --- Why Choose Us / Feature Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-xl);
}

.feature-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  text-align: center;
  transition: all var(--tr-normal);
  border: 1px solid transparent;
  border-top: 3px solid var(--clr-primary);
}

.feature-card:hover {
  border-color: rgba(255, 193, 7, 0.15);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.feature-card .icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--sp-lg);
  background: var(--clr-primary-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--sp-sm);
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* --- Service Areas --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-md);
}

.area-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  text-align: center;
  transition: all var(--tr-normal);
  border: 1px solid transparent;
}

.area-card:hover {
  border-color: var(--clr-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.area-card .icon { font-size: 2rem; margin-bottom: var(--sp-sm); }
.area-card h4 { font-size: var(--fs-body); margin-bottom: var(--sp-xs); }
.area-card p { font-size: var(--fs-xs); color: var(--clr-text-muted); }

/* --- Testimonials --- */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-xl);
}

.testimonial-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--tr-normal);
}

.testimonial-card:hover { border-color: rgba(255, 193, 7, 0.2); }

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--clr-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--sp-md);
  font-family: Georgia, serif;
}

.testimonial-card .text {
  font-size: var(--fs-body);
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
  font-style: italic;
}

.testimonial-card .stars {
  color: var(--clr-primary);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-md);
  letter-spacing: 3px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testimonial-author-avatar {
  width: 50px; height: 50px;
  border-radius: var(--radius-full);
  background: var(--clr-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-primary);
  font-family: var(--ff-heading);
}

.testimonial-author-info h4 { font-size: var(--fs-sm); font-weight: 600; }
.testimonial-author-info p { font-size: var(--fs-xs); color: var(--clr-text-muted); }

/* --- Clients Logo Grid --- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-lg);
}

.client-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-xl) var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--tr-normal);
  text-align: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  letter-spacing: 1px;
}

.client-card:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: translateY(-4px);
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: var(--sp-4xl) 0;
  background: var(--clr-surface);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--clr-primary-glow), transparent 70%);
  border-radius: var(--radius-full);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: var(--fs-h1);
  font-weight: 900;
  margin-bottom: var(--sp-md);
}

.cta-content p {
  font-size: var(--fs-body-lg);
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto var(--sp-2xl);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.cta-phone {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--clr-primary);
  margin-top: var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.contact-info-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
}

.contact-info-item {
  display: flex;
  gap: var(--sp-lg);
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: var(--clr-primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--clr-primary);
}

.contact-info-item h4 { font-size: var(--fs-body); margin-bottom: var(--sp-xs); }

.contact-info-item p,
.contact-info-item a {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.contact-info-item a:hover { color: var(--clr-primary); }

.form-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
}

.form-group { margin-bottom: var(--sp-lg); }

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
  font-family: var(--ff-heading);
}

.form-group label .required { color: var(--clr-danger); }

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--clr-bg);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--clr-white);
  font-size: var(--fs-body);
  transition: border-color var(--tr-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px var(--clr-primary-glow);
}

.form-control::placeholder { color: var(--clr-text-muted); }

.form-control--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%239E9E9E' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

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

.form-error {
  color: var(--clr-danger);
  font-size: var(--fs-xs);
  margin-top: var(--sp-xs);
  display: none;
}

.form-group.error .form-control { border-color: var(--clr-danger); }
.form-group.error .form-error { display: block; }

.form-success {
  display: none;
  padding: var(--sp-lg);
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--clr-success);
  border-radius: var(--radius-md);
  color: var(--clr-success);
  text-align: center;
  font-weight: 500;
}

.form-success.show { display: block; }

/* --- Footer --- */
.footer {
  background: var(--clr-bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--sp-4xl) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}

.footer-brand p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--sp-md);
  line-height: 1.8;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.footer-social a {
  width: 40px; height: 40px;
  background: var(--clr-surface);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  transition: all var(--tr-fast);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--clr-primary);
  color: var(--clr-bg);
}

.footer h4 {
  font-size: var(--fs-body);
  margin-bottom: var(--sp-lg);
  position: relative;
  padding-bottom: var(--sp-sm);
}

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

.footer-links li { margin-bottom: var(--sp-sm); }

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: all var(--tr-fast);
}

.footer-links a:hover {
  color: var(--clr-primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.footer-contact-item .icon {
  color: var(--clr-primary);
  min-width: 20px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--sp-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: var(--z-whatsapp);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  color: var(--clr-white);
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--tr-normal);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px; top: 50%;
  transform: translateY(-50%);
  background: var(--clr-white);
  color: var(--clr-bg);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: all var(--tr-fast);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--clr-white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* --- Page Header (Inner Pages) --- */
.page-header {
  position: relative;
  padding: calc(var(--header-height) + var(--sp-4xl)) 0 var(--sp-3xl);
  background: var(--clr-bg-alt);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--clr-primary-glow), transparent 70%);
  border-radius: var(--radius-full);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-lg);
}

.breadcrumb a:hover { color: var(--clr-primary); }
.breadcrumb .sep { color: var(--clr-text-muted); opacity: 0.5; }

/* ============================================
   RESPONSIVE — Comprehensive Mobile-First
   ============================================ */

/* --- Tablet Landscape (≤1024px) --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-wrapper { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: clamp(2rem, 4.5vw, 3.5rem); }
}

/* --- Tablet Portrait (≤768px) --- */
@media (max-width: 768px) {
  :root { --header-height: 70px; }

  /* Container padding */
  .container { padding: 0 var(--sp-md); }

  /* Section spacing */
  .section { padding: clamp(3rem, 6vw, 6rem) 0; }

  /* Mobile Navigation */
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 85%; max-width: 400px; height: 100vh;
    background: var(--clr-bg-alt);
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--header-height) + var(--sp-xl)) var(--sp-xl) var(--sp-xl);
    transition: right var(--tr-normal);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: var(--z-sticky);
  }

  .nav.active { right: 0; }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    padding: var(--sp-md);
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: var(--fs-body);
  }

  .nav-link::after { display: none; }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; border: none;
    background: rgba(255, 255, 255, 0.03);
    display: none;
    padding: 0 0 0 var(--sp-md);
    min-width: unset;
  }

  .nav-item--dropdown.open .dropdown-menu { display: block; }

  .hamburger { display: flex; }
  .header-phone { display: none; }
  .header-cta .btn { display: none; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero-content { padding: var(--sp-2xl) 0; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 3rem); }
  .hero-description { font-size: var(--fs-body); }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: var(--sp-md); }
  .hero-badge { font-size: var(--fs-xs); }

  /* Stats */
  .stats-bar { padding: var(--sp-xl) 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-number { font-size: var(--fs-h3); }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-wrapper { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .footer { padding: var(--sp-3xl) 0 var(--sp-lg); }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* CTA */
  .cta-section { padding: var(--sp-3xl) 0; }
  .cta-content h2 { font-size: var(--fs-h2); }
  .cta-phone { font-size: var(--fs-h4); }

  /* Page Header */
  .page-header { padding: calc(var(--header-height) + var(--sp-2xl)) 0 var(--sp-2xl); }
  .section-title { font-size: clamp(1.5rem, 4vw, 2.5rem); }

  /* Contact */
  .contact-info-card,
  .form-card {
    padding: var(--sp-lg);
  }

  /* Testimonials */
  .testimonial-card { padding: var(--sp-lg); }
  .testimonial-card .text { font-size: var(--fs-sm); }

  /* Feature cards */
  .feature-card { padding: var(--sp-lg); }

  /* WhatsApp float */
  .whatsapp-btn { width: 54px; height: 54px; font-size: 1.5rem; }
  .whatsapp-float { bottom: 16px; right: 16px; }
  .whatsapp-tooltip { display: none; }

  /* --- Service detail page inline grids (override inline styles) --- */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* --- Mobile Large (≤576px) --- */
@media (max-width: 576px) {
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.25rem); }
  .hero { min-height: 85vh; }

  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-card-img { height: 180px; }

  .service-card-img { height: 180px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: var(--fs-h4); }
  .stat-label { font-size: var(--fs-xs); letter-spacing: 1px; }

  .btn--lg { padding: 14px 28px; font-size: var(--fs-sm); }
  .btn { padding: 12px 24px; }

  .section-label { font-size: var(--fs-xs); letter-spacing: 2px; }
  .section-label::before { width: 24px; }

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

  .clients-grid { grid-template-columns: 1fr 1fr; }
  .client-card { font-size: var(--fs-xs); padding: var(--sp-md); min-height: 80px; }

  /* Contact info */
  .contact-info-icon { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }

  /* Footer */
  .footer-brand p { max-width: 100%; }

  /* Breadcrumb */
  .breadcrumb { font-size: var(--fs-xs); flex-wrap: wrap; }

  /* CTA */
  .cta-content h2 { font-size: clamp(1.3rem, 5vw, 2rem); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

/* --- Mobile Small (≤480px) --- */
@media (max-width: 480px) {
  .container { padding: 0 var(--sp-sm); }

  .hero-content { padding: var(--sp-xl) 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

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

  .logo-text { font-size: 1.1rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 0.9rem; }

  .page-header { padding: calc(var(--header-height) + var(--sp-xl)) 0 var(--sp-lg); }
  .section-title { font-size: clamp(1.25rem, 5vw, 1.8rem); }
  .section-subtitle { font-size: var(--fs-sm); }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
  .stat-item { padding: var(--sp-sm); }

  /* Full-width buttons in service pages */
  [style*="display: flex"][style*="flex-wrap: wrap"][style*="gap"] {
    flex-direction: column !important;
  }

  [style*="display: flex"][style*="flex-wrap: wrap"] .btn {
    width: 100%;
  }

  /* Gallery filter buttons */
  .gallery-filters { gap: var(--sp-xs); }
  .filter-btn { padding: 8px 16px; font-size: var(--fs-xs); }

  /* Testimonial author */
  .testimonial-author-avatar { width: 40px; height: 40px; font-size: 1rem; }

  /* Form */
  .form-control { padding: 12px 14px; font-size: var(--fs-sm); }

  /* Inline style overrides for service detail 2-column grids */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: calc(var(--z-sticky) - 1);
  opacity: 0; visibility: hidden;
  transition: all var(--tr-normal);
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* --- Touch-friendly tap targets --- */
@media (hover: none) and (pointer: coarse) {
  .nav-link { padding: var(--sp-md) var(--sp-lg); min-height: 48px; display: flex; align-items: center; }
  .dropdown-link { min-height: 48px; }
  .btn { min-height: 48px; }
  .filter-btn { min-height: 44px; }
  .footer-links a { display: inline-block; padding: var(--sp-xs) 0; min-height: 40px; line-height: 40px; }
  .gallery-item .gallery-overlay { opacity: 1; } /* Always show on touch */
}

/* --- Landscape phones --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100vh; padding-top: var(--header-height); }
  .hero-content { padding: var(--sp-lg) 0; }
  .hero-title { font-size: 1.8rem; }
  .hero-description { margin-bottom: var(--sp-md); }
  .hero-trust { display: none; }
}

/* --- Print styles --- */
@media print {
  .header, .whatsapp-float, .nav-overlay, .cta-section { display: none; }
  body { background: white; color: black; }
  .section { padding: 1rem 0; }
}




@media (max-width: 768px) {

  .nav-item--dropdown {
    width: 100%;
  }

  .dropdown-menu {
    display: none;
    position: static !important;   /* IMPORTANT */
    width: 100%;
    background: #111;
    border-radius: 12px;
    margin-top: 10px;
    padding: 10px 0;
    box-shadow: none;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dropdown-menu.show {
    display: block;
  }

  .dropdown-link {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
  }

  .dropdown-link strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
  }

  .dropdown-link small {
    font-size: 14px;
    line-height: 1.5;
  }
}



