/* ==========================================================================
   JECAP - Usinagem e Soldagem Industrial
   Design System & Master Stylesheet (Modern Industrial Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Inter:wght@300;400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  /* Color Palette - Industrial Dark Theme */
  --bg-dark: #090D16;
  --bg-surface: #111827;
  --bg-card: #1E293B;
  --bg-card-hover: #26354A;
  
  --primary: #16A34A;       /* Brand Green */
  --primary-hover: #22C55E;
  --primary-glow: rgba(22, 163, 74, 0.25);
  
  --secondary: #15803D;     /* Darker Industrial Green */
  --secondary-hover: #16A34A;
  --secondary-glow: rgba(21, 128, 61, 0.3);
  
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  --text-bright: #F8FAFC;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(22, 163, 74, 0.4);

  /* Fonts */
  --font-title: 'Chakra Petch', 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-tag.green {
  background: rgba(21, 128, 61, 0.1);
  border-color: rgba(21, 128, 61, 0.4);
  color: var(--secondary);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span.green {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

/* Buttons (Sober Industrial Theme) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #15803D 0%, #166534 100%);
  color: #FFFFFF;
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.35);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-bright);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card);
  color: var(--primary-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #16A34A;
  color: #FFFFFF;
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.btn-whatsapp:hover {
  background: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--whatsapp-glow);
}

.btn-green {
  background: linear-gradient(135deg, #15803D 0%, #166534 100%);
  color: #FFFFFF;
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.25);
}

.btn-green:hover {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.35);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1.25rem 0;
  background: #000000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition-fast);
  position: relative;
  letter-spacing: 0.5px;
}

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

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

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-bright);
}

/* Top Bar Info */
.top-bar {
  background: #000000;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item i {
  color: var(--secondary);
}

/* ==========================================================================
   Hero Banner Section (Slider)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  max-height: 720px;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.05);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 22, 0.35) 0%,
    rgba(9, 13, 22, 0.6) 70%,
    var(--bg-dark) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem 0;
  max-width: 850px;
}

.badge-history {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 83, 45, 0.35);
  border-radius: var(--radius-full);
  color: #14532D;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Slider Controls (Hidden) */
.slider-controls {
  display: none !important;
}

/* ==========================================================================
   Metrics & Stats Counter Section
   ========================================================================== */
.stats-section {
  position: relative;
  z-index: 5;
  margin-top: -3rem;
  padding-bottom: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about {
  padding: 6rem 0;
  background: var(--bg-surface);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(22, 163, 74, 0.15);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.about-badge-floating {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--secondary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-floating i {
  font-size: 2.5rem;
  color: var(--secondary);
}

.about-badge-floating strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--text-bright);

}
.about-badge-floating span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Section (Usinagem)
   ========================================================================== */
.services {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: 0 15px 35px var(--primary-glow);
}

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

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

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

.service-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-quote {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--primary-hover);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.link-quote:hover {
  color: var(--secondary);
  gap: 0.75rem;
}

/* ==========================================================================
   Welding Section (Soldagem Industrial)
   ========================================================================== */
.welding {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-surface) 0%, #0D1320 100%);
  position: relative;
}

.welding::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.welding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.welding-card {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.welding-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 12px 30px var(--secondary-glow);
}

.welding-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.welding-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(249, 115, 22, 0.15);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.welding-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--text-bright);
}

.welding-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.welding-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-main);
}

/* ==========================================================================
   Gallery Lightbox Section
   ========================================================================== */
.gallery {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
  text-align: center;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.gallery-overlay h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--text-bright);
}

/* ==========================================================================
   Location & Contact Section
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(22, 163, 74, 0.15);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-bright);
  margin-bottom: 0.25rem;
}

.contact-info-content p, .contact-info-content a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* Form */
.quote-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(9, 13, 22, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-select option {
  background: var(--bg-dark);
  color: var(--text-bright);
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Map Embed */
.map-container {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Dialog Modal (<dialog closedby="any">)
   ========================================================================== */
dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 600px;
  width: 90%;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--secondary);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #16A34A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #15803D;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #05080E;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 44px;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--bg-card);
  }

  .services-grid::-webkit-scrollbar {
    height: 6px;
  }

  .services-grid::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: var(--radius-full);
  }

  .services-grid::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: var(--radius-full);
  }

  .service-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
  }

  .nav-menu {
    position: fixed;
    top: 73px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 73px);
    background: #000000;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    align-items: flex-start;
    transition: right 0.3s ease;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }
  
  .top-bar {
    display: none;
  }

  /* Discreet Mobile Slider Controls */
  .slider-btn {
    display: none;
  }

  .slider-controls {
    bottom: 1.25rem;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
    max-height: 640px;
    padding-top: 6rem;
    padding-bottom: 3.5rem;
  }

  .service-card {
    flex: 0 0 88%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}
