/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #EBE411;
  --primary-dark: #d4cd0f;
  --primary-text: #000;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --gray: #888;
  --gray-light: #ccc;
  --white: #fff;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--primary); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,10,10,0.95); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray-light); transition: var(--transition); position: relative; }
.nav-links a:hover { color: var(--white); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.btn-nav { background: var(--primary) !important; color: var(--primary-text) !important; padding: 10px 24px; border-radius: 8px; font-weight: 600 !important; }
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--primary-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(235,228,17,0.06) 0%, transparent 60%),
    linear-gradient(135deg, rgba(10,10,10,0.93) 0%, rgba(10,10,10,0.75) 50%, rgba(10,10,10,0.88) 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; padding: 8px 20px;
  background: rgba(235,228,17,0.1); border: 1px solid rgba(235,228,17,0.3);
  border-radius: 100px; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; }
.hero-sub { font-size: 1.15rem; color: var(--gray-light); max-width: 600px; margin-bottom: 40px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
  border-radius: 10px; font-size: 1rem; font-weight: 600; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--primary-text); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(235,228,17,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

.hero-stats { display: flex; gap: 48px; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 800; }
.stat-label { font-size: 0.85rem; color: var(--gray); font-weight: 500; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--dark-2); }
.section-header { margin-bottom: 60px; }
.section-badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(235,228,17,0.08); border: 1px solid rgba(235,228,17,0.25);
  border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: var(--primary);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--gray-light); max-width: 600px; }

/* ===== SERVICE BLOCKS ===== */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-info { order: 2; }
.service-block.reverse .service-gallery { order: 1; }

.service-number {
  font-size: 3.5rem; font-weight: 900; color: rgba(235,228,17,0.2);
  line-height: 1; margin-bottom: 8px; display: block;
}
.service-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.service-info > p { color: var(--gray-light); line-height: 1.7; margin-bottom: 24px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-features li {
  padding-left: 24px; position: relative; color: var(--gray-light); font-size: 0.9rem;
}
.service-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}

/* Service Gallery */
.service-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main img {
  width: 100%; height: 320px; object-fit: cover;
  transition: var(--transition);
}
.gallery-main:hover img { transform: scale(1.03); }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-thumbs img {
  width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius);
  transition: var(--transition);
}
.gallery-thumbs img:hover { transform: scale(1.03); }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; grid-auto-rows: 280px;
}
.portfolio-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
}
.portfolio-item.large { grid-column: span 2; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-tag {
  display: inline-block; padding: 4px 12px; background: var(--primary); color: var(--primary-text);
  border-radius: 6px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; width: fit-content;
}
.portfolio-overlay h4 { font-size: 1.1rem; font-weight: 700; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: start; }
.about-content p { color: var(--gray-light); margin-bottom: 16px; line-height: 1.7; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.mv-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 24px;
}
.mv-card h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.mv-card p { font-size: 0.85rem; color: var(--gray); margin-bottom: 0; }

.about-right { display: flex; flex-direction: column; gap: 24px; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; }
.about-img img { width: 100%; height: 260px; object-fit: cover; }

.reasons-list {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg); padding: 32px;
}
.reasons-list h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.reason-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.reason-item:last-child { margin-bottom: 0; }
.reason-item svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.reason-item strong { display: block; font-size: 0.9rem; font-weight: 700; }
.reason-item span { font-size: 0.8rem; color: var(--gray); }

/* Clients */
.clients-section {
  margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.clients-section h3 { font-size: 1rem; font-weight: 600; color: var(--gray); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 2px; }
.clients-slider {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.clients-track {
  display: flex; align-items: center; gap: 60px;
  width: max-content;
  animation: scroll-logos 25s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.client-logo {
  flex-shrink: 0; width: 150px; height: 50px;
  display: flex; align-items: center; justify-content: center;
}
.client-logo img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  opacity: 0.5; transition: var(--transition);
  filter: grayscale(100%) brightness(1.5);
}
.client-logo:hover img {
  opacity: 1; filter: grayscale(0%) brightness(1);
}
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== CTA ===== */
.cta-section { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(20,20,20,0.88) 100%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; }
.cta-content .btn-primary { background: var(--primary); color: var(--primary-text); }
.cta-content .btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 30px rgba(235,228,17,0.3); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 36px; text-align: center; transition: var(--transition);
}
.contact-card:hover { border-color: rgba(235,228,17,0.3); }
.contact-icon {
  width: 56px; height: 56px; background: rgba(235,228,17,0.1);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.contact-icon svg { width: 28px; height: 28px; color: var(--primary); }
.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.contact-card a, .contact-card p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; }
.contact-card a:hover { color: var(--primary); }

/* ===== FOOTER ===== */
.footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-brand p { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }
.footer-copy { font-size: 0.8rem; color: var(--gray); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; z-index: 999; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.92); }
.lightbox-img {
  position: relative; z-index: 1; max-width: 90vw; max-height: 85vh;
  object-fit: contain; border-radius: 8px;
  transform: scale(0.95); transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  background: none; border: none; color: #fff; font-size: 2.5rem;
  cursor: pointer; width: 48px; height: 48px; display: flex;
  align-items: center; justify-content: center; opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  font-size: 2rem; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0.7; transition: opacity 0.2s, background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.2); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse .service-info { order: 1; }
  .service-block.reverse .service-gallery { order: 2; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 32px 24px; gap: 20px;
    transform: translateY(-120%); transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.active { transform: translateY(0); }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 32px; }
  .gallery-main img { height: 240px; }
  .gallery-thumbs img { height: 120px; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .portfolio-item.large { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .service-number { font-size: 2.5rem; }
}
