:root {
  --primal-black: #0A0A0A;
  --primal-dark: #121212;
  --primal-card: #1C1C1C;
  --primal-orange: #FF5F1F;
  --primal-orange-glow: #FF804D;
  --primal-orange-deep: #E64500;
  --primal-white: #F9F9F9;
  --primal-gray: #8E8E93;
  --primal-gray-light: #C7C7CC;
  --primal-line: rgba(255, 95, 31, 0.2);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --glass-bg: rgba(10, 10, 10, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: var(--font-body);
  background: var(--primal-black);
  color: var(--primal-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--primal-black); }
::-webkit-scrollbar-thumb { 
  background: var(--primal-dark); 
  border: 3px solid var(--primal-black);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primal-orange); }

/* ─── UTILITY ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ─── FLOATING WHATSAPP CTA ─── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 45px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg { width: 32px; height: 32px; }

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 50px rgba(37, 211, 102, 0.7); }
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  padding: 24px 0;
  background: transparent;
  transition: all 0.4s ease;
}

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

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

.logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--primal-white);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo span { color: var(--primal-orange); }

.nav-links { 
  display: flex; 
  align-items: center;
  gap: 36px; 
  list-style: none; 
}
.nav-links a {
  color: var(--primal-gray-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primal-orange);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--primal-white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--primal-orange);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
  transition: all 0.3s ease !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { 
  background: var(--primal-orange-deep); 
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 95, 31, 0.45);
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; position: relative; z-index: 1200; }
.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--primal-white);
  margin: 7px 0;
  transition: all 0.3s ease;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(255, 95, 31, 0.08) 0%, transparent 60%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 95, 31, 0.1);
  border: 1px solid rgba(255, 95, 31, 0.2);
  color: var(--primal-orange);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.hero h1 span {
  color: var(--primal-orange);
  display: block;
  text-shadow: 0 0 30px rgba(255, 95, 31, 0.3);
}

.hero-sub {
  font-size: 19px;
  color: var(--primal-gray-light);
  max-width: 520px;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primal-orange);
  color: #fff;
  padding: 20px 40px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 95, 31, 0.3);
}
.btn-primary:hover {
  background: var(--primal-orange-deep);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 95, 31, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--primal-white);
  padding: 20px 40px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.btn-secondary:hover {
  border-color: var(--primal-orange);
  background: rgba(255, 95, 31, 0.08);
}

/* Hero Visual Graphic */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-graphic {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  position: relative;
}
.hero-graphic .ring {
  position: absolute;
  border: 1px solid var(--primal-line);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.hero-graphic .ring:nth-child(1) { inset: 0; border-width: 2px; }
.hero-graphic .ring:nth-child(2) { inset: 18%; animation-direction: reverse; animation-duration: 30s; border-color: rgba(255, 255, 255, 0.05); }
.hero-graphic .ring:nth-child(3) { inset: 35%; animation-duration: 25s; border-color: var(--primal-orange); opacity: 0.3; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-graphic .center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-graphic .big-number {
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--primal-white);
  line-height: 0.8;
  letter-spacing: -2px;
}
.hero-graphic .big-number span { color: var(--primal-orange); }
.hero-graphic .big-label {
  font-size: 14px;
  color: var(--primal-gray);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 700;
}

/* ─── SECTIONS ─── */
.section { padding: 120px 0; position: relative; }
.section-dark { background: var(--primal-dark); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primal-orange);
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  width: 40px;
  height: 3px;
  background: var(--primal-orange);
  border-radius: 4px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--primal-gray-light);
  max-width: 600px;
  line-height: 1.8;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 80px;
}

.service-card {
  background: var(--primal-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 150px; height: 150px;
  background: radial-gradient(circle at top right, rgba(255, 95, 31, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 95, 31, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.service-icon {
  width: 70px; height: 70px;
  background: rgba(255, 95, 31, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--primal-orange);
  transition: all 0.5s ease;
}

.service-card:hover .service-icon {
  background: var(--primal-orange);
  color: #fff;
  transform: rotate(10deg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--primal-gray-light);
  font-size: 15px;
  line-height: 1.8;
  flex-grow: 1;
}

.service-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primal-orange);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 30px;
  border: 1px solid rgba(255, 95, 31, 0.1);
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--primal-dark);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.4, 0.3, 1);
}

.gallery-item:hover img { transform: scale(1.15); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: all 0.5s ease;
  transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 14px;
  color: var(--primal-gray-light);
}

.gallery-item.featured { grid-column: span 2; grid-row: span 2; }

/* ─── SEGMENTS ─── */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 80px;
}

.segment-card {
  background: var(--primal-dark);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.segment-card:hover {
  background: var(--primal-card);
  border-color: rgba(255, 95, 31, 0.2);
  transform: translateY(-8px);
}

.segment-emoji {
  font-size: 50px;
  margin-bottom: 24px;
  display: block;
}

.segment-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 80px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 80px;
  color: transparent;
  -webkit-text-stroke: 1px var(--primal-line);
  line-height: 1;
  margin-bottom: 10px;
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  color: var(--primal-orange);
  -webkit-text-stroke: 1px var(--primal-orange);
}

/* ─── FOOTER ─── */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer p { color: var(--primal-gray); font-size: 14px; }
.footer a { color: var(--primal-orange); text-decoration: none; font-weight: 600; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.4, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { justify-content: center; margin-top: 60px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 52px; }
  .section-title { font-size: 42px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-graphic .big-number { font-size: 80px; }
}
