/* ===================================================
   UPSTAGE ÁUDIO & VÍDEO - Main Stylesheet
   Tema escuro profissional com detalhes vibrantes
   =================================================== */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --darker: #080808;
  --graphite: #1a1a1a;
  --graphite-light: #2a2a2a;
  --gray: #6b6b6b;
  --gray-light: #999999;
  --white: #ffffff;
  --white-soft: #f5f5f5;
  
  /* Primary accent - vibrant purple gradient */
  --accent-1: #7c3aed;
  --accent-2: #a855f7;
  --accent-3: #c084fc;
  --accent-gradient: linear-gradient(135deg, #7c3aed, #a855f7, #c084fc);
  
  /* Secondary accent - magenta highlight */
  --magenta: #ec4899;
  --magenta-light: #f472b6;
  --magenta-gradient: linear-gradient(135deg, #ec4899, #a855f7);
  
  /* Tertiary - deep blue */
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  
  /* Status colors */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  /* Sizes */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--black);
  color: var(--white-soft);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul { list-style: none; }

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-2);
  margin-bottom: 12px;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(124, 58, 237, 0.1);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.95);
  border-bottom-color: rgba(124, 58, 237, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---- Navigation ---- */
.nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.nav-list li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: all var(--transition-fast);
  position: relative;
  line-height: 1.3;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.nav-cta {
  padding: 10px 20px;
  background: var(--accent-gradient);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.45) !important;
  background: var(--accent-gradient) !important;
}

/* ---- Mobile Menu ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

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

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

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  animation: pulse-whatsapp 2s infinite;
}

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

.whatsapp-float .tooltip {
  position: absolute;
  right: 64px;
  background: var(--graphite);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

.whatsapp-float .tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--graphite);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

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

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 50%, rgba(8, 8, 8, 0.5) 100%);
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-3);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.05;
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-quote {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 12px 12px 0;
  max-width: 560px;
}

.hero-quote p {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-light);
  line-height: 1.6;
}

.hero-quote p::before {
  content: '"';
  color: var(--accent-2);
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-quote p::after {
  content: '"';
  color: var(--accent-2);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ---- Hero Video Background ---- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ---- Sections General ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---- Sobre Nós ---- */
.about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), transparent);
  pointer-events: none;
}

.about-image .experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--graphite);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.about-image .experience-badge .number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about-image .experience-badge .label {
  font-size: 0.75rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--gray-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.about-highlights li:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateX(4px);
}

.about-highlights li .icon {
  color: var(--accent-2);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- Services Section ---- */
.services {
  background: var(--black);
}

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

.service-card {
  background: var(--graphite);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--graphite));
}

.service-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card-body p {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---- Service Detail Sections (Sonorização, Iluminação, Projeção) ---- */
.service-detail {
  padding: 80px 0;
  background: var(--dark);
}

.service-detail:nth-child(even) {
  background: var(--black);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.service-detail-image:hover img {
  transform: scale(1.03);
}

/* Gradient mask effect for service images */
.service-detail-image .gradient-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 8, 8, 0.4) 0%,
    transparent 30%,
    transparent 70%,
    rgba(8, 8, 8, 0.3) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.service-detail-image .gradient-mask::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(8, 8, 8, 0.6) 100%
  );
}

.service-detail-text h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.service-detail-text .service-intro {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-equipment-list {
  display: grid;
  gap: 8px;
}

.service-equipment-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: all var(--transition-fast);
}

.service-equipment-list li:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.15);
  color: var(--white);
  padding-left: 16px;
}

.service-equipment-list li::before {
  content: '▸';
  color: var(--accent-2);
  font-weight: 700;
}

/* ---- Área de Atuação ---- */
.actuation {
  background: var(--black);
}

.actuation-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.actuation-card {
  background: var(--graphite);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.actuation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.actuation-card:hover::before,
.actuation-card.active::before {
  transform: scaleX(1);
}

.actuation-card:hover,
.actuation-card.active {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(124, 58, 237, 0.2);
}

.actuation-card.active {
  background: rgba(124, 58, 237, 0.08);
}

.actuation-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.actuation-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.actuation-card p {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.actuation-text-highlight {
  background: var(--dark);
  border-radius: 16px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.actuation-text-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 0 4px 4px 0;
}

.actuation-text-highlight p {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.actuation-text-highlight p:last-child {
  margin-bottom: 0;
}

.actuation-text-highlight .highlight-word {
  color: var(--accent-3);
  font-weight: 600;
}

/* ---- Gallery ---- */
.gallery {
  background: var(--dark);
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

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

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item .gallery-overlay span {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white-soft);
  font-size: 0.85rem;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Gallery Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-light);
  font-size: 0.9rem;
  text-align: center;
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--black);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--graphite);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card .quote-icon {
  color: var(--accent-2);
  font-size: 1.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.testimonial-card .testimonial-text {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-card .testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-card .testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-card .testimonial-event {
  font-size: 0.8rem;
  color: var(--gray);
}

.testimonial-card .testimonial-stars {
  display: flex;
  gap: 2px;
  margin-top: 4px;
  color: #f59e0b;
  font-size: 0.85rem;
}

.testimonial-empty {
  text-align: center;
  padding: 48px;
  color: var(--gray);
}

.testimonial-empty p {
  font-style: italic;
}

/* ---- Contact Section ---- */
.contact {
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  max-width: 640px;
  margin: 0 auto;
}

.contact-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.contact-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-image-wrapper .gradient-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 8, 8, 0.3) 0%,
    transparent 40%,
    transparent 70%,
    rgba(8, 8, 8, 0.4) 100%
  );
  pointer-events: none;
}

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.contact-info-item:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.15);
}

.contact-info-item .info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item .info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-item .info-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-item .info-value {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-info-item a.info-value:hover {
  color: var(--accent-2);
}

.contact-info-item .whatsapp-person-name {
  font-weight: 400;
  color: var(--gray-light);
  white-space: nowrap;
}

.contact-info-item a.info-value:hover .whatsapp-person-name {
  color: var(--gray-light);
}

/* ---- Contact Form ---- */
.contact-form {
  background: var(--graphite);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form .form-subtitle {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-2);
  background: rgba(124, 58, 237, 0.05);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
  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='%23999999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error);
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success.active {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--success);
}

.form-success p {
  color: var(--gray-light);
}

/* ---- Footer ---- */
.footer {
  background: var(--darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

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

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

.footer-links a:hover {
  color: var(--accent-2);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact .contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  background: var(--accent-gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

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

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

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

.footer-bottom-links a {
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-2);
}

.footer-bottom-links a.footer-admin-link {
  opacity: 0.45;
  font-size: 0.75rem;
}

.footer-bottom-links a.footer-admin-link:hover {
  opacity: 1;
  color: var(--accent-2);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent-gradient);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---- 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);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- Loading Spinner ---- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--graphite-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}

/* ---- Responsive ---- */

/* Tablet (768px-1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

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

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

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

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

/* Mobile (up to 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 60px 0;
  }

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

  /* Mobile menu */
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list li {
    flex: none;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-quote {
    margin-top: 40px;
    padding: 18px 20px;
  }

  .hero-quote p {
    font-size: 0.9rem;
  }

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

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

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

  .service-detail-grid.reverse {
    direction: ltr;
  }

  .service-detail-grid.reverse .service-detail-image {
    order: -1;
  }

  /* Actuation */
  .actuation-categories {
    grid-template-columns: 1fr;
  }

  .actuation-text-highlight {
    padding: 28px 20px;
  }

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

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

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

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

  .footer-bottom-links {
    gap: 16px;
  }

  /* Contact info order */
  .contact-image-wrapper {
    order: 1;
  }

  /* Lightbox */
  .lightbox {
    padding: 16px;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 70vh;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .contact-form {
    padding: 18px;
  }

  .actuation-card {
    padding: 24px 20px;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    bottom: 16px;
    right: 16px;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    bottom: 76px;
    right: 16px;
  }
}

/* ---- Print ---- */
@media print {
  .header,
  .whatsapp-float,
  .back-to-top {
    display: none;
  }

  .section {
    padding: 40px 0;
    page-break-inside: avoid;
  }
}
