/* ========================================
   INOVAR ARQUITETURA - DESIGN SYSTEM
   ======================================== */

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

/* --- CSS Custom Properties --- */
:root {
  --red: #D42B2B;
  --red-dark: #A82020;
  --red-light: #E94545;
  --red-glow: rgba(212, 43, 43, 0.35);
  --black: #FFFFFF;
  --black-soft: #F9F9F9;
  --gray-dark: #E6E6E6;
  --gray-mid: #CCCCCC;
  --gray-light: #666666;
  --gray-lighter: #333333;
  --white: #0D0D0D;
  --white-off: #1A1A1A;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-height: 80px;
  --section-padding: 120px 0;
  --container-width: 1240px;
  --border-radius: 16px;
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--black);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

/* --- Custom Cursor --- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(212, 43, 43, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-dot.hover {
  width: 60px;
  height: 60px;
  background: rgba(212, 43, 43, 0.15);
  mix-blend-mode: normal;
}

.cursor-outline.hover {
  width: 60px;
  height: 60px;
  border-color: var(--red);
}

/* --- Loader --- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  position: relative;
  overflow: hidden;
}

.loader-logo-img {
  width: 120px;
  height: auto;
  opacity: 0;
  transform: translateY(40px) scale(0.8);
  animation: loaderLogoReveal 0.8s 0.2s forwards;
  filter: drop-shadow(0 0 30px var(--red-glow));
}

@keyframes loaderLogoReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.loader-line {
  width: 0;
  height: 3px;
  background: var(--red);
  margin-top: 16px;
  animation: lineExpand 1s 0.5s forwards;
  border-radius: 2px;
}

.loader-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
  text-align: center;
  padding: 0 20px;
}

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes lineExpand {
  to {
    width: 120px;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-fast);
  opacity: 0;
  animation: headerFadeIn 0.8s 2.5s forwards;
}

@keyframes headerFadeIn {
  to { opacity: 1; }
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1001;
}

.logo-img {
  width: 60px;
  height: auto;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 0 8px rgba(212, 43, 43, 0.2));
}

.logo:hover .logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(212, 43, 43, 0.4));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-text span:last-child {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--gray-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-lighter);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-cta-header {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 28px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: none;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn-cta-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-cta-header:hover::before {
  left: 100%;
}

.btn-cta-header:hover {
  background: var(--red-light);
  box-shadow: 0 4px 25px var(--red-glow);
  transform: translateY(-2px);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-toggle.active span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-toggle.active span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
}

/* Geometric grid background */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(212, 43, 43, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 43, 43, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(30deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(30deg) translateY(80px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(212, 43, 43, 0.12);
  border: 1px solid rgba(212, 43, 43, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -2px;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.25em;
}

.hero-title .word span {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
}

.hero-title .highlight {
  color: var(--red);
  position: relative;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: var(--gray-lighter);
  line-height: 1.6;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: none;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 8px 35px var(--red-glow);
  transform: translateY(-3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(13, 13, 13, 0.3);
  border-radius: 50px;
  cursor: none;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(13, 13, 13, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 13, 13, 0.08);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 3.5s forwards;
}

.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-light);
}

.scroll-indicator .arrow {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(13, 13, 13, 0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .arrow::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--red);
  border-radius: 3px;
  animation: scrollPulse 1.5s infinite;
}

@keyframes scrollPulse {
  0% { top: 8px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* --- Credentials / Stats --- */
.credentials {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 50%, var(--black-soft) 100%);
  overflow: hidden;
}

.credentials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* --- About Section --- */
.about {
  padding: var(--section-padding);
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  opacity: 0.3;
}

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

.about-content {
  opacity: 0;
  transform: translateX(-60px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: var(--white);
}

.section-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-lighter);
  font-weight: 300;
}

.section-text + .section-text {
  margin-top: 16px;
}

.about-image-wrap {
  position: relative;
  opacity: 0;
  transform: translateX(60px);
}

.about-image-wrap img {
  border-radius: var(--border-radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--red);
  border-radius: var(--border-radius);
  z-index: -1;
  transition: all var(--transition-fast);
}

.about-image-wrap:hover::before {
  top: -20px;
  right: -20px;
}

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

/* --- Services --- */
.services {
  padding: var(--section-padding);
  background: var(--black-soft);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-lighter);
  font-weight: 300;
  margin-top: 16px;
  line-height: 1.6;
}

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

.service-card {
  background: rgba(44, 44, 44, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: all var(--transition-fast);
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.service-card:hover {
  border-color: rgba(212, 43, 43, 0.2);
  background: rgba(44, 44, 44, 0.6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 43, 43, 0.1);
  border: 1px solid rgba(212, 43, 43, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.1);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition-fast);
}

.service-card:hover .service-icon svg {
  stroke: var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-lighter);
  font-weight: 300;
}

/* --- Portfolio --- */
.portfolio {
  padding: var(--section-padding);
  background: var(--black);
  position: relative;
}

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

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gray-lighter);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  border-radius: 50px;
  cursor: none;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: none;
  aspect-ratio: 4/3;
}

.portfolio-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 13, 13, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.portfolio-overlay h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-overlay span {
  font-size: 13px;
  color: var(--red-light);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Diferenciais --- */
.diff {
  padding: var(--section-padding);
  background: var(--black-soft);
  position: relative;
}

.diff-header {
  text-align: center;
  margin-bottom: 80px;
}

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

.diff-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--border-radius);
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.diff-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width var(--transition-fast);
}

.diff-item:hover::after,
.diff-item.scroll-hover::after {
  width: 60%;
}

.diff-item:hover,
.diff-item.scroll-hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(212, 43, 43, 0.15);
  transform: translateY(-8px);
}

.diff-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 43, 43, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--transition-fast);
}

.diff-item:hover .diff-icon,
.diff-item.scroll-hover .diff-icon {
  background: var(--red);
  transform: scale(1.1);
}

.diff-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition-fast);
}

.diff-item:hover .diff-icon svg,
.diff-item.scroll-hover .diff-icon svg {
  stroke: #FFFFFF;
}

.diff-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.diff-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-lighter);
  font-weight: 300;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  background-image: url('assets/images/cta-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  will-change: transform;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--black) 0%, rgba(255, 255, 255, 0.7) 50%, var(--black) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content .section-title {
  font-size: clamp(32px, 4vw, 52px);
}

.cta-content .section-text {
  margin-bottom: 48px;
  font-size: 18px;
}

.btn-cta-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 52px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: none;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  animation: subtlePulse 2s infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 0 15px rgba(212, 43, 43, 0); }
}

.btn-cta-big:hover {
  background: var(--red-light);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px var(--red-glow);
  animation: none;
}

/* --- Location --- */
.location {
  padding: var(--section-padding);
  background: var(--black-soft);
}

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

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

.location-info {
  padding: 40px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--border-radius);
}

.location-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.location-info-item:last-child {
  margin-bottom: 0;
}

.location-info-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(212, 43, 43, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-info-item .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}

.location-info-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--white);
}

.location-info-item p {
  font-size: 14px;
  color: var(--gray-lighter);
  line-height: 1.6;
}

.location-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 400px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) brightness(0.7) contrast(1.2);
  transition: filter var(--transition-fast);
}

.location-map:hover iframe {
  filter: grayscale(30%) brightness(0.8) contrast(1.1);
}

/* --- Footer --- */
.footer {
  padding: 80px 0 32px;
  background: var(--black);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

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

.footer-brand p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--red);
  transform: translateY(-4px);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--red);
}

.footer-col p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}

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

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-light);
}

.footer-bottom .credit {
  font-size: 12px;
  color: var(--gray-light);
}

.footer-bottom .credit a {
  color: var(--red);
  font-weight: 500;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: floatPulse 2s infinite;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

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

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* --- Stagger delays --- */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .portfolio-item.tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --section-padding: 80px 0;
  }

  body {
    cursor: auto;
  }

  .cursor-dot, .cursor-outline {
    display: none !important;
  }

  /* Header mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s ease;
    z-index: 1000;
    padding: 40px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
  }

  .btn-cta-header {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    letter-spacing: -1px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .about-image-wrap {
    order: -1;
  }

  .about-image-wrap::before {
    display: none;
  }

  .about-image-wrap img {
    height: 300px;
  }

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

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

  .service-card {
    padding: 32px 28px;
  }

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

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

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

  .location-map {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .btn-primary, .btn-outline {
    padding: 16px 32px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .btn-cta-big {
    padding: 18px 40px;
    font-size: 15px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 24px;
    right: 24px;
  }

  /* All interactive elements need pointer cursor on mobile */
  a, button, .filter-btn, .service-card, .portfolio-item, .btn-primary, .btn-outline, .btn-cta-big, .btn-cta-header, .whatsapp-float {
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 38px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portfolio-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .location-info {
    padding: 24px 16px;
  }

  .location-info-item .icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .footer-col h4 {
    margin-bottom: 16px;
  }
}
