/* ============================================================
   BF VENDING LLC - Main Stylesheet
   Computer Systems Design & Related Services
   ============================================================ */

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

:root {
  /* Primary palette */
  --navy:        #0f1a2e;
  --navy-light:  #162544;
  --blue:        #1a56db;
  --blue-dark:   #1347b8;
  --blue-light:  #e8effd;
  --coral:       #e85d3a;
  --coral-dark:  #cc4a2a;
  --cyan:        #06b6d4;
  --cyan-dark:   #0596ae;

  /* Neutrals */
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-800:    #1f2937;
  --gray-900:    #111827;

  /* Semantic */
  --green:       #059669;
  --red:         #dc2626;

  /* Typography */
  --font-sans:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:   'SF Mono', 'Fira Code', monospace;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl:  0 24px 56px rgba(0,0,0,0.16);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --fast:       150ms;
  --normal:     300ms;
  --slow:       500ms;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

a { color: var(--blue); text-decoration: none; transition: color var(--fast) var(--ease); }
a:hover { color: var(--blue-dark); }

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

/* --- Utility --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }

.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;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: background var(--normal) var(--ease), box-shadow var(--normal) var(--ease);
}

.site-header.scrolled {
  background: var(--white);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}

.main-nav { display: flex; align-items: center; gap: var(--space-lg); }

.main-nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.55rem 1.25rem;
  background: var(--coral);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.nav-cta-btn:hover {
  background: var(--coral-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--normal) var(--ease), opacity var(--normal) var(--ease);
}

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

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

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 30%, var(--cyan) 1px, transparent 1px),
    radial-gradient(circle at 80% 50%, var(--blue) 1px, transparent 1px),
    radial-gradient(circle at 50% 70%, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px, 90px 90px, 70px 70px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-shape--1 {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -150px; right: -100px;
  opacity: 0.3;
}

.hero-shape--2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  bottom: -100px; left: -80px;
  opacity: 0.2;
}

.hero-shape--3 {
  width: 300px; height: 300px;
  background: var(--coral);
  top: 40%; left: 50%;
  opacity: 0.15;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: #1e344f;
  color: var(--cyan);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  border: 1px solid #253d58;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero-content h1 span { color: var(--cyan); }

.hero-content p {
  color: #94a8c4;
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,93,58,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid #334a66;
}

.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 420px;
  height: 440px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
}

.hero-card--main {
  top: 0;
  left: 0;
  right: 0;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 3;
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.hero-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
}

.hero-card--main h3 {
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.hero-card--main p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.hero-card--float {
  bottom: 0;
  right: 20px;
  z-index: 4;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
}

.hero-card--float .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
}

.hero-card--float .stat-label {
  font-size: 0.75rem;
  color: #94a8c4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card--corner {
  top: 20px;
  right: 0;
  z-index: 2;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.hero-card--corner .check-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.hero-card--corner .check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* --- Counters --- */
.counters {
  padding: var(--space-2xl) 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

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

.counter-item {
  padding: var(--space-lg);
}

.counter-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blue);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.counter-plus {
  font-size: 1.5rem;
  color: var(--coral);
}

.counter-label {
  color: var(--gray-500);
  font-size: 0.925rem;
  margin-top: var(--space-xs);
  font-weight: 500;
}

/* --- Services --- */
.services {
  padding: var(--space-2xl) 0;
  background: var(--gray-50);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--gray-200);
  transition: transform var(--normal) var(--ease), box-shadow var(--normal) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity var(--normal) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.925rem;
}

/* --- Industries --- */
.industries {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.industries-header {
  margin-bottom: var(--space-2xl);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.industry-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.industry-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.industry-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--cyan);
}

.industry-info h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.industry-info p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* --- About --- */
.about {
  padding: var(--space-2xl) 0;
  background: var(--navy);
  color: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a2d4a, #1e3a5f);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #253d58;
}

.about-img-placeholder svg {
  width: 100px;
  height: 100px;
  stroke: var(--cyan);
  opacity: 0.6;
}

.about-accent-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--coral);
  color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  max-width: 220px;
}

.about-accent-card .accent-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-accent-card .accent-text {
  font-size: 0.85rem;
  margin-top: 4px;
  opacity: 0.9;
}

.about-content h2 { color: var(--white); margin-bottom: var(--space-md); }
.about-content p { color: #94a8c4; margin-bottom: var(--space-md); }

.about-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.about-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #c4d0e0;
  font-size: 0.9rem;
}

.about-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.cta-card {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
}

.cta-card h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-card p {
  color: #b8ccf0;
  font-size: 1.05rem;
}

.cta-card .btn {
  white-space: nowrap;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}

.cta-card .btn:hover {
  background: var(--gray-100);
  color: var(--blue-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* --- Contact --- */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info h2 { margin-bottom: var(--space-md); }
.contact-info > p { color: var(--gray-500); margin-bottom: var(--space-xl); }

.contact-detail {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px; height: 20px;
  stroke: var(--blue);
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-detail p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

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

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-submit {
  margin-top: var(--space-md);
}

.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}

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

.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #d1fae5;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.form-success h3 { margin-bottom: var(--space-sm); }
.form-success p { color: var(--gray-500); }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: #94a8c4;
  padding: var(--space-2xl) 0 0;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.footer-address p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li { margin-bottom: var(--space-sm); }

.footer-col ul li a {
  color: #94a8c4;
  font-size: 0.9rem;
  transition: color var(--fast) var(--ease);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #25344a;
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a { color: #94a8c4; }
.footer-bottom a:hover { color: var(--white); }

/* --- Page Header (privacy/terms) --- */
.page-header {
  background: var(--navy);
  padding: calc(68px + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: #94a8c4;
  font-size: 1.05rem;
}

/* --- Content Pages (privacy/terms) --- */
.legal-content {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.legal-content .container {
  max-width: 800px;
}

.legal-section {
  margin-bottom: var(--space-xl);
}

.legal-section h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gray-100);
}

.legal-section h3 {
  font-size: 1.1rem;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}

.legal-section p {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-section ul li {
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.legal-effective {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
  font-size: 0.9rem;
  color: var(--gray-600);
}

.legal-effective strong { color: var(--gray-800); }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }

  .hero-content { max-width: 100%; }

  .hero-visual { display: none; }

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

  .services-grid { grid-template-columns: repeat(2, 1fr); }

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

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

  .about-accent-card { position: relative; bottom: auto; right: auto; margin-top: var(--space-lg); max-width: 100%; text-align: center; }

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

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

  .cta-card { grid-template-columns: 1fr; text-align: center; }

  .counters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 100px var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-xl);
    transition: right var(--normal) var(--ease);
    gap: var(--space-md);
  }

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

  .main-nav a {
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
  }

  .hamburger { display: flex; }

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

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

  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  .form-row { grid-template-columns: 1fr; }

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

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

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.nav-overlay.show { display: block; }
