/* =========================================================================
   VAZQUEZ CONSTRUCTION - PREMIUM DESIGN SYSTEM
   ========================================================================= */

/* CSS Variables */
:root {
  --primary: #e86507; /* Client specific orange */
  --primary-hover: #c95503;
  --bg-dark: #0f172a; /* Slate 900 */
  --bg-darker: #020617; /* Slate 950 */
  --bg-card: #1e293b; /* Slate 800 */
  --text-main: #f8fafc; /* Slate 50 */
  --text-muted: #94a3b8; /* Slate 400 */
  --accent: #3b82f6; /* Subtle blue for trust */
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: 6rem 0;
}

/* Utilities */
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.mb-4 { margin-bottom: 1rem; }
.text-gradient {
  background: linear-gradient(135deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typography styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.group .arrow-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.group:hover .arrow-icon {
  transform: translateX(4px);
}

/* Navbar (Glassmorphism) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 105px; /* Further enlarged as requested */
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

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

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

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  z-index: 101;
}

.bar {
  width: 24px;
  height: 2px;
  background-color: #fff;
  margin: 5px 0;
  transition: 0.4s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px; /* Increased to prevent overlap with larger logo */
  padding-bottom: 120px; /* Space for negative margin of features grid */
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Modern subtle gradient mesh */
  background: radial-gradient(circle at 15% 50%, rgba(232, 101, 7, 0.1), transparent 25%),
              radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.05), transparent 25%);
  background-color: rgba(15, 23, 42, 0.35); /* 35% opacity overlay per user request */
  z-index: -2;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 1; /* Pure image brightness */
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}
.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; 
}
.hero-slider .slide.active {
  opacity: 1;
}

/* Abstract concrete texture simulation */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23ffffff" fill-opacity="0.02" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E');
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-text-box {
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(232, 101, 7, 0.1);
  color: var(--primary);
  border: 1px solid rgba(232, 101, 7, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-alt {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: #ffffff; /* 100% white as requested */
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Headers (for inner pages) */
.page-header {
  min-height: 50vh;
  padding-top: 100px;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.pt-0 {
  padding-top: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

/* Features Grid (Overlap hero) */
.features {
  position: relative;
  margin-top: -80px;
  z-index: 20;
  padding-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services */
.services {
  background-color: var(--bg-darker);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

.service-img-wrapper {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #334155;
}

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

.service-card:hover .service-img {
  transform: scale(1.05);
  opacity: 1;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.link-arrow {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.link-arrow span {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* Estimate Form Section */
.estimate-form-section {
  background-color: var(--bg-darker);
}

.estimate-container {
  display: flex;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.estimate-content {
  flex: 1;
  padding: 4rem;
}

.estimate-form {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-group input, 
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.8);
}

.form-group select {
  cursor: pointer;
  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='%23e86507' 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 1rem center;
  background-size: 1em;
}

.form-group select option {
  background-color: var(--bg-card);
  color: #fff;
}

.w-100 {
  width: 100%;
}
.mt-2 {
  margin-top: 0.5rem;
}

.estimate-image-wrapper {
  flex: 1;
  position: relative;
  min-height: 400px;
}

.estimate-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Action Plan CSS */
.action-plan {
  background-color: var(--bg-dark);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 101, 7, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.step-number {
  width: 64px;
  height: 64px;
  background: rgba(232, 101, 7, 0.1);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 2px dashed var(--primary);
}
.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about {
  background-color: var(--bg-darker);
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 5rem;
}

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

.about-img-box {
  background: linear-gradient(45deg, #1e293b, #334155);
  height: 500px;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.05);
}

.img-accent-border {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  z-index: 1;
}

.about-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff; /* White looks better on pure orange */
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(232, 101, 7, 0.3);
  text-align: center;
  z-index: 3;
}

.floating-badge .number {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.floating-badge .badge-text {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  height: 300px;
  cursor: pointer;
}

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

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

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}
.lightbox.active {
  display: flex;
}
.lightbox-content-wrapper {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}
.lightbox-content-wrapper img,
.lightbox-content-wrapper video {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s;
}
.lightbox-close:hover {
  color: var(--primary);
}

.about-content {
  flex: 1;
}

.lead-text {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 2.5rem;
}

.about-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.check-icon {
  width: 32px;
  height: 32px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.about-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
              url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23f59e0b" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  background-color: var(--bg-dark);
  text-align: center;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-container {
  max-width: 800px;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--primary);
  color: #000;
  padding: 1.25rem 2rem;
  border-radius: 100px;
  text-align: left;
  transition: var(--transition);
}

.contact-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px var(--primary);
}

.contact-pill.outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.contact-pill.outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
  box-shadow: none;
}

.contact-pill .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.contact-pill .value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.contact-pill.outline .value {
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

/* Footer */
.footer {
  background-color: var(--bg-darker);
  padding-top: 5rem;
}

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

.footer-contact-list li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.footer-contact-list a {
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-desc {
  color: var(--text-muted);
  max-width: 400px;
  margin-top: 1rem;
}

.footer-col h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.links-col ul li {
  margin-bottom: 0.75rem;
}

.links-col ul li a {
  color: var(--text-muted);
}

.links-col ul li a:hover {
  color: var(--primary);
}

.social-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.social-btn:hover {
  background: #1877F2; /* Facebook Blue */
  border-color: #1877F2;
}

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

.legal-links a {
  color: inherit;
}

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

.dot {
  margin: 0 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }

/* Reveal on Scroll Initial State */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .estimate-container {
    flex-direction: column;
  }
  .estimate-content {
    padding: 2.5rem;
  }
  .estimate-image-wrapper {
    min-height: 300px;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .about-flex {
    flex-direction: column;
  }
  .about-image-wrapper {
    width: 100%;
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
  .contact-pill {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 4.5rem; /* center height */
    right: -2rem; /* half of gap */
    width: 2rem;
    height: 2px;
    background-image: linear-gradient(to right, var(--primary) 50%, transparent 50%);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    opacity: 0.5;
    z-index: -1;
  }
}

@media (max-width: 768px) {
  .d-mobile-none {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-darker);
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: 0.4s;
    overflow-y: auto;
  }
  .nav-links.active {
    left: 0;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .features {
    margin-top: 0;
    padding-top: 4rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-large {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Hamburger Menu Animation */
.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
