/* ==========================================================================
   VELOCITY DETAIL - HIGH-PERFORMANCE STYLE SHEET
   ========================================================================== */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;900&display=swap');

:root {
  /* Colors */
  --bg-dark: #0B0B0B;        /* Matte Black */
  --bg-card: #141414;        /* Very Dark Gray for Cards */
  --bg-section: #1A1A1A;     /* Graphite Grey for alternate sections */
  --primary: #D40000;        /* Intense Red */
  --primary-glow: rgba(212, 0, 0, 0.4);
  --primary-hover: #B00000;
  --text-primary: #FFFFFF;
  --text-secondary: #AAAAAA;
  --text-muted: #666666;
  --border-color: #2A2A2A;
  --border-light: #444444;

  /* Fonts */
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Spacing */
  --container-max-width: 1200px;
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* --- TYPOGRAPHY & UTILITIES --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

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

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

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }
.red-text { color: var(--primary); }

.section-header {
  margin-bottom: 60px;
  position: relative;
}

.section-tag {
  font-family: var(--font-title);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
  padding-left: 15px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
}

/* Carbon Fiber Texture Simulation */
.carbon-bg {
  background: 
    radial-gradient(circle at 100% 150%, #0c0c0c 24%, #121212 25%, #121212 28%, #0c0c0c 29%, #0c0c0c 36%, #121212 36%, #121212 40%, transparent 40%),
    radial-gradient(circle at 0% 150%, #0c0c0c 24%, #121212 25%, #121212 28%, #0c0c0c 29%, #0c0c0c 36%, #121212 36%, #121212 40%, transparent 40%),
    radial-gradient(circle at 50% 100%, #121212 20%, #0c0c0c 20%, #0c0c0c 28%, #121212 28%, #121212 36%, #0c0c0c 36%, #0c0c0c 45%, transparent 45%),
    radial-gradient(circle at 100% 50%, #121212 20%, #0c0c0c 20%, #0c0c0c 28%, #121212 28%, #121212 36%, #0c0c0c 36%, #0c0c0c 45%, transparent 45%),
    radial-gradient(circle at 0% 50%, #121212 20%, #0c0c0c 20%, #0c0c0c 28%, #121212 28%, #121212 36%, #0c0c0c 36%, #0c0c0c 45%, transparent 45%),
    #0a0a0a;
  background-size: 20px 20px;
}

/* Sporty Slanted Lines/Cuts */
.slanted-divider {
  height: 15px;
  background: repeating-linear-gradient(
    -45deg,
    var(--primary),
    var(--primary) 10px,
    transparent 10px,
    transparent 20px
  );
  width: 100%;
}

/* --- BUTTONS --- */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0; /* Angled corners instead of rounded */
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-primary);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(212, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 10px 0;
  background: var(--bg-dark);
}

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

.logo {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .m-badge {
  background: var(--primary);
  padding: 2px 8px;
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
  display: inline-block;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url('assets/hero_car.png') no-repeat center center;
  background-size: cover;
  transform: scale(1.05);
  transition: transform 0.1s ease-out; /* Parallax smooth */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(11, 11, 11, 0.95) 0%,
    rgba(11, 11, 11, 0.8) 40%,
    rgba(11, 11, 11, 0.4) 100%
  );
}

.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 0, 0, 0.15);
  border-left: 3px solid var(--primary);
  padding: 8px 16px;
  margin-bottom: 24px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 300;
}

/* --- INDICATORS (NUMBERS) --- */
.indicators {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.indicators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.indicator-card {
  text-align: center;
  position: relative;
  padding: 20px;
}

.indicator-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
  transform: skewX(-15deg);
}

.indicator-num {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  display: inline-block;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.indicator-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}

/* --- SERVICES --- */
.services {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-glow);
  box-shadow: 0 15px 35px rgba(214, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transform: rotate(45deg);
  transition: var(--transition-normal);
}

.service-icon svg {
  transform: rotate(-45deg);
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: var(--transition-normal);
}

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

.service-card:hover .service-icon svg {
  color: var(--text-primary);
  transform: rotate(-45deg) scale(1.1);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 24px;
}

.service-link {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  margin-top: auto;
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

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

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* --- PROCESS (TIMELINE) --- */
.process {
  background: var(--bg-section);
  position: relative;
}

.timeline-outer {
  position: relative;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: width var(--transition-slow);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-step {
  width: 20%;
  text-align: center;
  position: relative;
}

.step-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  position: relative;
}

.step-node::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--primary);
  opacity: 0;
  transform: scale(1);
  transition: var(--transition-normal);
}

.timeline-step.active .step-node {
  border-color: var(--primary);
  color: var(--text-primary);
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-step.active .step-node::after {
  animation: pulse-ring 2s infinite;
}

.step-content {
  padding: 0 15px;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.timeline-step.active .step-content h4 {
  color: var(--primary);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 300;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --- BEFORE / AFTER SLIDER --- */
.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.before-after-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 500px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  user-select: none;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.img-before {
  background-image: url('assets/before_paint.png');
}

.img-after {
  background-image: url('assets/after_paint.png');
  width: 50%; /* JS will change this */
}

/* Slider Handle Bar */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--primary);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px var(--primary-glow);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  color: #fff;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.slider-handle:hover .slider-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-label {
  position: absolute;
  bottom: 20px;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(5px);
  padding: 6px 16px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 5;
  border: 1px solid var(--border-color);
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

/* --- GALLERY --- */
.gallery {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow);
  box-shadow: 0 12px 30px rgba(214, 0, 0, 0.15);
}

.gallery-img-wrapper {
  overflow: hidden;
  height: 220px;
  position: relative;
  border-bottom: 2px solid var(--border-color);
}

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

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

.gallery-card .gallery-info {
  padding: 20px;
}

.gallery-card .gallery-info h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  text-transform: uppercase;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.gallery-card .gallery-info p {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  font-family: var(--font-title);
  letter-spacing: 1px;
  font-weight: 700;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--bg-section);
  position: relative;
}

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: rgba(214, 0, 0, 0.1);
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 40px;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--primary);
}

.rating svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 300;
}

.client-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.client-car {
  font-size: 0.8rem;
  color: var(--primary);
  font-family: var(--font-title);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.carousel-dot.active {
  background: var(--primary);
  width: 30px;
}

/* --- FAQ --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

.faq-header h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-primary);
  transition: transform var(--transition-fast);
}

/* Horizontal line */
.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-content p {
  padding: 0 30px 24px 30px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA FINAL --- */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 3px solid var(--primary);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 900;
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* --- FOOTER --- */
footer {
  background: #050505;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 8px;
}

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

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.social-link:hover svg {
  color: var(--text-primary);
  transform: scale(1.1);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-normal);
    z-index: 100;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }

  /* Hero */
  .hero h1 {
    font-size: 2.5rem;
  }

  /* Indicators */
  .indicators-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .indicator-card:not(:last-child)::after {
    display: none;
  }

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

  /* Timeline */
  .timeline-line {
    left: 25px;
    top: 0;
    width: 2px;
    height: 100%;
  }

  .timeline-progress {
    width: 100%;
    height: 0%;
  }

  .timeline-steps {
    flex-direction: column;
    gap: 40px;
  }

  .timeline-step {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  .step-node {
    margin: 0;
    flex-shrink: 0;
  }

  .step-content {
    padding: 0;
    padding-top: 10px;
  }

  /* Slider */
  .before-after-wrapper {
    height: 350px;
  }

  .gallery-img-wrapper {
    height: 180px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
