/* ============================================
   THÉMATIK v2 — AWARD-LEVEL UI
   Communication Visuelle · Impression · Signalétique
   ============================================ */

/* --- Variables --- */
:root {
  --black: #0a0a0f;
  --dark: #12121a;
  --dark2: #1a1a28;
  --accent: #e63946;
  --accent2: #ff6b6b;
  --gold: #f0a500;
  --white: #ffffff;
  --offwhite: #f5f0eb;
  --gray: #8888a0;
  --lightgray: #e0dcd5;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1240px;
  --header-h: 72px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.section-text {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-text { margin: 0 auto; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.4s;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(230,57,70,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255,255,255,0.15);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(37,211,102,0.35);
}
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.5s var(--ease-out);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 1;
  transition: all 0.5s var(--ease-out);
}
.header.scrolled::before {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 1;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 40px;
  width: auto;
}
.nav ul { display: flex; gap: 36px; }
.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white);
  padding: 8px;
  line-height: 1;
  z-index: 2;
}

/* --- HERO (CINEMA) --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-out);
}
.hero-slide.active { opacity: 1; }
.hero-slide img, .hero-slide video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(10,10,15,0.92) 0%, 
    rgba(10,10,15,0.82) 25%, 
    rgba(10,10,15,0.35) 55%, 
    rgba(10,10,15,0.65) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 700px;
  padding-left: 20px;
  position: relative;
}
.hero-content::before {
  content: '';
  position: absolute;
  left: -60px;
  top: -80px;
  width: 130%;
  height: 180%;
  background: radial-gradient(ellipse 600px 400px at left 20% center, rgba(10,10,15,0.75) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-brand {
  margin-bottom: 28px;
}
.hero-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  display: block;
}
.hero-brand-name .accent { color: var(--accent); }
.hero-brand-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 4px;
}
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent); }
.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

/* --- TRUST BAND (below hero) --- */
.trust-band {
  padding: 28px 0;
  background: transparent;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.trust-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ease-out);
}
.trust-badge::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.65rem;
}
.trust-badge:hover {
  background: rgba(230,57,70,0.1);
  border-color: rgba(230,57,70,0.25);
  color: var(--white);
}
.trust-badge.highlight {
  background: rgba(230,57,70,0.12);
  border-color: rgba(230,57,70,0.2);
  color: var(--accent);
  font-weight: 600;
}

/* --- SERVICE MINI CARDS (17 categories) --- */
.services-preview .section-title {
  font-size: 2.6rem;
}
.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.service-mini-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 230px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
}
.service-mini-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.service-mini-card:hover img { transform: scale(1.07); }
.service-mini-card .mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.4) 60%, rgba(10,10,15,0.1) 100%);
  z-index: 1;
  transition: opacity 0.4s;
}
.service-mini-card:hover .mini-overlay {
  background: linear-gradient(to top, rgba(230,57,70,0.8) 0%, rgba(10,10,15,0.5) 70%, rgba(10,10,15,0.1) 100%);
}
.service-mini-card .mini-body {
  position: relative;
  z-index: 2;
  padding: 20px 20px 18px;
  width: 100%;
}
.service-mini-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.service-mini-card .mini-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap 0.3s;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s var(--ease-out);
}
.service-mini-card:hover .mini-link {
  opacity: 1;
  transform: translateY(0);
}

/* --- HERO TEXT READABILITY: extra gradient behind text --- */
.hero-text-gradient {
  position: absolute;
  left: -40px;
  top: -60px;
  width: 120%;
  height: 150%;
  background: radial-gradient(ellipse 650px 450px at left 25% center, rgba(10,10,15,0.7) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeInUp 2s 1s both;
}
.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 10px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes btnSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes subtlePulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}

/* --- PARALLAX SECTION --- */
.parallax-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.parallax-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  will-change: transform;
}
.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.4) 100%);
  z-index: 1;
}
.parallax-section .container {
  position: relative;
  z-index: 2;
}

/* --- PAGE HERO (inner) --- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--dark);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,57,70,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-title { font-size: 3.8rem; }
.page-hero .section-text { margin: 0 auto; color: rgba(255,255,255,0.55); }

/* --- SERVICE CARD (CINEMA STYLE) --- */
.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  height: 420px;
  display: flex;
  align-items: flex-end;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.service-card:hover img { transform: scale(1.08); }
.service-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.1) 60%, transparent 100%);
  z-index: 1;
  transition: opacity 0.4s;
}
.service-card:hover .service-card-gradient {
  background: linear-gradient(to top, rgba(230,57,70,0.85) 0%, rgba(10,10,15,0.2) 70%, transparent 100%);
}
.service-card-body {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover .service-card-body { transform: translateY(0); }
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  max-width: 380px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out) 0.1s;
}
.service-card:hover p { opacity: 1; transform: translateY(0); }

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

/* --- PORTFOLIO --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
}
.filter-btn {
  padding: 12px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  font-family: var(--font);
  color: rgba(255,255,255,0.6);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--white);
  background: rgba(230,57,70,0.08);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(230,57,70,0.3);
}

/* --- CATEGORY HERO (filtered view) --- */
.category-hero {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}
.category-hero-bg {
  position: relative;
  width: 100%;
  height: 100%;
}
.category-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}
.category-hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.category-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 6px;
}
.category-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 500px;
}
@media (max-width: 768px) {
  .category-hero { height: 240px; }
  .category-hero-overlay { padding: 24px; }
  .category-hero-title { font-size: 1.6rem; }
  .category-hero-desc { font-size: 0.85rem; }
}

.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.masonry-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
  aspect-ratio: 4 / 3;
}
.masonry-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.masonry-item:hover img { transform: scale(1.08); }
.masonry-item.hidden { display: none; }

/* Load more */
.load-more-wrap { text-align: center; margin-top: 50px; }

/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
}
.lightbox-inner img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.95);
  transition: transform 0.5s var(--ease-out);
}
.lightbox.open .lightbox-inner img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.12); transform: translateY(-50%) scale(1.05); }
.lightbox-nav.prev { left: -80px; }
.lightbox-nav.next { right: -80px; }
.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* --- STATS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -2px;
}
.stat-number .suffix { color: var(--accent); font-size: 1.8rem; }
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.about-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  pointer-events: none;
}
.about-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-content p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.process-item {
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.process-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(230,57,70,0.1);
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}
.process-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.process-item p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.expertise-item {
  padding: 36px;
  background: var(--dark2);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s var(--ease-out);
}
.expertise-item:hover {
  transform: translateY(-4px);
  border-color: rgba(230,57,70,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.expertise-item .ico { font-size: 2rem; margin-bottom: 14px; }
.expertise-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.expertise-item p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form {
  background: var(--dark2);
  padding: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font);
  transition: all 0.3s;
  background: rgba(255,255,255,0.04);
  color: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-group select option { background: var(--dark); color: var(--white); }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--gray); font-size: 0.9rem; }
.contact-item a:hover { color: var(--accent); }

.contact-map {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  height: 240px;
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--gray);
  font-size: 0.85rem;
}

/* --- FLOATING WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
  animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}
@keyframes whatsappPulse {
  0% { box-shadow: 0 8px 30px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 8px 50px rgba(37,211,102,0.55); }
  100% { box-shadow: 0 8px 30px rgba(37,211,102,0.35); }
}

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--gray); max-width: 320px; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.9rem; color: var(--gray); transition: color 0.3s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 12px;
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --- PARALLAX ON SCROLL --- */
.parallax-element {
  will-change: transform;
}

/* --- HOME PORTFOLIO GRID --- */
.home-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 6px;
}
.home-portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}
.home-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.home-portfolio-item:hover img { transform: scale(1.06); }
.home-portfolio-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.home-portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --- MICRO-INTERACTIONS --- */
.hover-lift {
  transition: transform 0.4s var(--ease-out);
}
.hover-lift:hover { transform: translateY(-6px); }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .service-mini-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero { min-height: 85vh; }
  .hero-title { font-size: 3.2rem; }
  .section-title { font-size: 2.6rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .service-mini-card { height: 200px; }
  .masonry { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 50px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s var(--ease-out);
    z-index: 1;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav ul { flex-direction: column; align-items: center; gap: 28px; }
  .nav a { font-size: 1.4rem; color: var(--white); }
  .menu-toggle { display: block; }
  .hero { min-height: 80vh; }
  .hero-title { font-size: 2.4rem; }
  .hero-text { font-size: 0.95rem; max-width: 100%; }
  .hero-content { padding-left: 0; }
  .hero-content::before { display: none; }
  .hero-brand { margin-bottom: 20px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .page-hero .section-title { font-size: 2.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { height: 340px; }
  .service-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .service-mini-card { height: 180px; }
  .services-preview .section-title { font-size: 2rem; }
  .trust-band { padding: 20px 0; }
  .trust-badge { font-size: 0.7rem; padding: 6px 14px; }
  .masonry { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 2.5rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.2rem; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .filter-btn { padding: 10px 20px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 75vh; }
  .hero-title { font-size: 1.8rem; }
  .hero-text { font-size: 0.9rem; margin-bottom: 28px; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .btn { padding: 14px 28px; }
  .service-mini-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .service-mini-card { height: 170px; }
  .service-mini-card .mini-body { padding: 14px; }
  .service-mini-card h3 { font-size: 0.85rem; }
  .trust-badge { font-size: 0.65rem; padding: 5px 12px; }
  .masonry { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 2rem; }
  .contact-form { padding: 20px; }
  .service-card-body { padding: 28px; }
  .service-card h3 { font-size: 1.2rem; }
}
