/* ==========================================================================
   Tapicería Automotor — Premium Dark Theme
   Complete Stylesheet
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg: #0b0b0c;
  --surface: #111214;
  --accent: #d4af37;
  --accent-dark: #c5a028;
  --white: #ffffff;
  --muted: #9aa0a6;
  --glass: rgba(255, 255, 255, 0.06);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-card: 12px;
  --radius-btn: 10px;
  --radius-avatar: 50%;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--bg) 0%, #0e0e10 100%);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

main {
  padding-top: 80px;
}

section {
  scroll-margin-top: 90px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   2. Skip Link
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #0a0a0a;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  transition: top var(--transition);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   3. Scroll Progress Bar
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #f0d060, var(--accent));
  z-index: 200;
  width: 0%;
  transition: none;
  pointer-events: none;
}

/* ==========================================================================
   4. Header (.site-header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass);
  transition: transform 0.4s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
  border-radius: 8px;
}

.brand .name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--white);
}

.brand .tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: var(--glass);
}

.nav-link.active {
  color: var(--white);
  background: rgba(212, 175, 55, 0.12);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* ==========================================================================
   5. Mobile Overlay (.mobile-overlay)
   ========================================================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  padding: 80px 30px;
}

.mobile-link {
  font-size: 22px;
  font-weight: 600;
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
}

.mobile-link:hover {
  color: var(--white);
  background: var(--glass);
}

.mobile-cta {
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
  justify-content: center;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
}

.btn-accent {
  background: linear-gradient(135deg, #d4af37, #c5a028);
  color: #0a0a0a;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.6);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

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

/* ==========================================================================
   7. Hero Section (.hero)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  filter: brightness(0.35) saturate(0.85);
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
  max-width: 680px;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--white);
  font-family: var(--font-heading);
}

.hero-lead {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
  text-decoration: none;
}

.hero-indicators {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.indicator {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.indicator.active {
  background: var(--accent);
  width: 48px;
}

/* ==========================================================================
   8. Stats Section (.stats)
   ========================================================================== */
.stats {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 48px 0;
}

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

.stat-item {
  padding: 12px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37, #f0d060);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
}

.stat-item:nth-child(1) .stat-number::after,
.stat-item:nth-child(2) .stat-number::after,
.stat-item:nth-child(3) .stat-number::after {
  content: '+';
  -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(4) .stat-number::after {
  content: '%';
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   9. Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 12px;
  font-family: var(--font-heading);
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   10. Services (.services)
   ========================================================================== */
.services {
  padding: 80px 24px;
}

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

.service-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 14px;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  font-family: var(--font-heading);
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   11. Featured Works (.featured)
   ========================================================================== */
.featured {
  padding: 80px 24px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.featured-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.featured-card:nth-child(1),
.featured-card:nth-child(4) {
  grid-column: span 2;
}

.featured-thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

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

.featured-copy {
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.featured-copy strong {
  display: block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.featured-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--white);
}

/* ==========================================================================
   12. Gallery (.gallery)
   ========================================================================== */
.gallery {
  padding: 40px 24px 80px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

.filter {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  font-family: inherit;
}

.filter:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.filter.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  border-color: rgba(212, 175, 55, 0.3);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.06);
}

.card .meta {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ==========================================================================
   13. Before/After (.beforeafter)
   ========================================================================== */
.beforeafter {
  padding: 80px 24px;
}

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

.ba-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  touch-action: none;
}

.ba-item img {
  width: 100%;
  height: auto;
  display: block;
}

.ba-resize {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.ba-handle {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 5;
  cursor: ew-resize;
}

.ba-handle::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ba-handle::after {
  content: '⟨  ⟩';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 8px;
  pointer-events: none;
}

.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 6;
  color: var(--white);
}

.ba-label-before {
  left: 16px;
}

.ba-label-after {
  right: 16px;
}

.ba-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

/* ==========================================================================
   14. Testimonials (.testimonials)
   ========================================================================== */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg), var(--surface), var(--bg));
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0 0 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #c5a028);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #0a0a0a;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
}

.testimonial-car {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   15. Contact (.contact)
   ========================================================================== */
.contact {
  padding: 80px 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--surface);
  color: var(--white);
}

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

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.info-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
}

.phone-icon {
  background: rgba(59, 130, 246, 0.12);
  color: #3B82F6;
}

.location-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

.clock-icon {
  background: rgba(168, 85, 247, 0.12);
  color: #A855F7;
}

.info-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.info-card span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.map-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   16. Footer (.footer)
   ========================================================================== */
.footer {
  padding: 40px 0 24px;
  background: #060607;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-logo {
  height: 44px;
  width: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.footer-name {
  font-weight: 600;
  font-size: 16px;
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.social-title {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

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

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  text-decoration: none;
}

.social-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-credits {
  font-size: 12px;
  margin-top: 4px;
}

/* ==========================================================================
   17. Floating WhatsApp (.whatsapp-fab)
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  animation: fab-ring 2.5s infinite;
}

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

.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.85);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  transform: translateX(10px);
}

.whatsapp-fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   18. Back to Top (.backtop)
   ========================================================================== */
.backtop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

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

.backtop:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   19. Lightbox (.lightbox)
   ========================================================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lb-prev {
  left: 20px;
}

.lb-next {
  right: 20px;
}

.lb-content {
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ==========================================================================
   20. Animations
   ========================================================================== */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

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

@keyframes fab-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal:nth-child(6) {
  transition-delay: 0.5s;
}

/* ==========================================================================
   21. Utility
   ========================================================================== */
.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;
}

/* ==========================================================================
   22. Responsive Breakpoints
   ========================================================================== */

/* ---------- Max 1200px ---------- */
@media (max-width: 1200px) {
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ---------- Max 1024px ---------- */
@media (max-width: 1024px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

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

  .featured-card:nth-child(1),
  .featured-card:nth-child(4) {
    grid-column: span 1;
  }
}

/* ---------- Max 768px ---------- */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-indicators {
    right: 16px;
    bottom: 16px;
  }

  .hero-scroll {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 32px;
  }

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

  .testimonials-track {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .card img {
    height: 180px;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    align-items: flex-start;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 80px;
    width: 54px;
    height: 54px;
  }

  .backtop {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .lb-nav {
    width: 40px;
    height: 40px;
  }

  .lb-prev {
    left: 10px;
  }

  .lb-next {
    right: 10px;
  }

  .services,
  .featured,
  .beforeafter,
  .testimonials,
  .contact {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .fab-tooltip {
    display: none;
  }
}

/* ---------- Max 480px ---------- */
@media (max-width: 480px) {
  .brand .name {
    font-size: 14px;
  }

  .brand .tagline {
    display: none;
  }

  .featured-thumb img {
    height: 200px;
  }

  .container {
    padding: 0 16px;
  }
}