/* =========================================
   PTM BETON - Ultra Premium Design System
   ========================================= */

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

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #001a1f;
  --primary-mid: #005c6c;
  --primary-light: #007387;
  --accent: #ffe000;
  --accent-glow: rgba(255, 224, 0, 0.6);
  --accent-hover: #ffd000;
  --surface: rgba(0, 92, 108, 0.45);
  --surface-light: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 224, 0, 0.4);
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --gradient-hero: radial-gradient(circle at right top, rgba(255, 224, 0, 0.15) 0%, transparent 40%), radial-gradient(circle at left bottom, rgba(0, 115, 135, 0.8) 0%, transparent 50%), #001a1f;
  --gradient-accent: linear-gradient(135deg, #ffe000, #FFD700);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  --backdrop-blur: blur(24px) saturate(1.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 50px var(--accent-glow);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- 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, sans-serif;
  background: var(--primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis smooth scroll integration */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Base interactive classes */
.magnetic-btn {
  display: inline-block;
  transform-style: preserve-3d;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Ambient liquid gradient background */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--primary);
  pointer-events: none;
}

.ambient-glow::after,
.ambient-glow::before {
  content: "";
  position: absolute;
  width: 60vh;
  height: 60vh;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  animation: none;
  transition: opacity 1s ease;
}

.preloader-finished .ambient-glow::after,
.preloader-finished .ambient-glow::before {
  opacity: 0.3;
  animation: move-glow 20s infinite alternate ease-in-out;
}

.ambient-glow::before {
  top: -20vh;
  left: -20vw;
  background: #ffe000;
}

.ambient-glow::after {
  bottom: -20vh;
  right: -20vw;
  background: #2A4365;
}

.preloader-finished .ambient-glow::after {
  animation-delay: -5s;
}

@keyframes move-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(10vw, 15vh) scale(1.2);
  }

  100% {
    transform: translate(-10vw, -10vh) scale(0.9);
  }
}

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

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

/* ---- Custom Cursor ---- */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
  display: none;
}

.custom-cursor.active {
  width: 50px;
  height: 50px;
  background: rgba(255, 224, 0, 0.15);
  border-color: rgba(255, 224, 0, 0.5);
}

@media (pointer: fine) {
  .custom-cursor {
    display: block;
  }
}

/* ---- Particle Canvas ---- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-logo {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(20px);
  animation: preloader-fadeIn 0.8s forwards 0.1s;
}

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

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  opacity: 0;
  animation: preloader-fadeIn 0.5s forwards 0.4s;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.preloader-percent {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
  opacity: 0;
  animation: preloader-fadeIn 0.5s forwards 0.5s;
}

@keyframes preloader-fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   FILM GRAIN OVERLAY
   ========================================= */
.film-grain {
  position: fixed;
  inset: -20%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  animation: none;
  transition: opacity 0.6s ease;
}

.preloader-finished .film-grain {
  opacity: 0.035;
  animation: grain 0.5s steps(6) infinite;
}

@keyframes grain {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -10%);
  }

  20% {
    transform: translate(-15%, 5%);
  }

  30% {
    transform: translate(7%, -15%);
  }

  40% {
    transform: translate(-5%, 15%);
  }

  50% {
    transform: translate(-15%, 10%);
  }

  60% {
    transform: translate(15%, 0%);
  }

  70% {
    transform: translate(0%, 10%);
  }

  80% {
    transform: translate(3%, -15%);
  }

  90% {
    transform: translate(-10%, 10%);
  }
}

/* =========================================
   MARQUEE
   ========================================= */
.marquee-section {
  padding: 30px 0;
  background: rgba(255, 224, 0, 0.03);
  border-top: 1px solid rgba(255, 224, 0, 0.08);
  border-bottom: 1px solid rgba(255, 224, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-content span {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.06);
  padding: 0 15px;
  transition: color 0.3s ease;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
}

.marquee-content span:hover {
  color: rgba(255, 224, 0, 0.25);
}

.marquee-dot {
  font-size: 0.6rem !important;
  color: var(--accent) !important;
  -webkit-text-stroke: 0 !important;
  opacity: 0.5;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---- Layout ---- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* =========================================
   HEADER / NAVBAR
   ========================================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-smooth);
}

header.scrolled {
  padding: 12px 0;
  background: rgba(0, 26, 31, 0.6);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1001;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  position: relative;
}

nav a:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
}

nav a.active {
  color: var(--accent);
}

nav .btn-nav {
  background: var(--gradient-accent);
  color: var(--primary) !important;
  font-weight: 700;
  padding: 10px 24px;
  box-shadow: 0 4px 15px var(--accent-glow);
}

nav .btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

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

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

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

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  animation: hero-zoom 30s infinite alternate ease-in-out;
}

@keyframes hero-zoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 26, 31, 0.9) 0%,
      rgba(0, 26, 31, 0.7) 40%,
      rgba(0, 26, 31, 0.3) 100%),
    linear-gradient(0deg,
      rgba(0, 26, 31, 1) 0%,
      rgba(0, 26, 31, 0) 30%);
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 1px solid rgba(255, 224, 0, 0.1);
  border-radius: var(--radius-sm);
  animation: float-shape 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
  transform: rotate(15deg);
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: -5s;
  border-radius: 50%;
  border-color: rgba(255, 224, 0, 0.07);
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 30%;
  animation-delay: -10s;
}

@keyframes float-shape {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-30px) rotate(5deg);
  }

  50% {
    transform: translateY(-15px) rotate(-3deg);
  }

  75% {
    transform: translateY(-40px) rotate(7deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(255, 224, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 224, 0, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.3s;
  box-shadow: 0 8px 32px rgba(255, 224, 0, 0.2);
}

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

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.5s;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  font-weight: 900;
}

.hero h1 .line {
  display: block;
}

/* Split text word animation */
.hero h1 .split-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) rotateX(-80deg);
  transform-origin: center bottom;
  animation: word-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .split-text .word:nth-child(1) {
  animation-delay: 0.5s;
}

.hero h1 .split-text .word:nth-child(2) {
  animation-delay: 0.65s;
}

.hero h1 .line:nth-child(2) .word:nth-child(1) {
  animation-delay: 0.8s;
}

.hero h1 .line:nth-child(2) .word:nth-child(2) {
  animation-delay: 0.95s;
}

@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.hero h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(255, 224, 0, 0.5));
}

.hero p {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  max-width: 600px;
  color: #e2e8f0;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.7s;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.9s;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 224, 0, 0.05);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeInUp 1s forwards 1.1s;
}

.hero-stat h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  animation: none;
  opacity: 1;
}

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

/* =========================================
   SECTIONS COMMON
   ========================================= */
section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 224, 0, 0.08);
  border: 1px solid rgba(255, 224, 0, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  background: var(--primary);
  overflow: hidden;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

/* Decorative accent border */
.about-image::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid rgba(255, 224, 0, 0.2);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* Experience badge floating */
.about-experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 130px;
  height: 130px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 5;
}

.about-experience-badge h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.about-experience-badge p {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.about-content .section-tag {
  margin-bottom: 20px;
}

.about-content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 20px;
}

.about-content .about-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}

.about-feature:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateX(5px);
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255, 224, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  background: var(--surface);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

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

.service-card {
  background: var(--gradient-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: all var(--transition-smooth);
  position: relative;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 65px;
  height: 65px;
  background: rgba(255, 224, 0, 0.08);
  border: 1px solid rgba(255, 224, 0, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 24px;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  color: var(--primary);
  border-color: transparent;
  transform: scale(1.1);
}

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

/* =========================================
   PROJECTS
   ========================================= */
.projects {
  background: var(--primary);
  overflow: hidden;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-card {
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
  group: true;
  background: var(--surface);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border);
  transition: all var(--transition-smooth);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 115, 135, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay .view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =========================================
   COUNTER / STATS
   ========================================= */
.stats {
  background: var(--surface);
  padding: 80px 0;
  position: relative;
}

.stats::before,
.stats::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

.stats::before {
  top: 0;
}

.stats::after {
  bottom: 0;
}

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

.stat-item {
  text-align: center;
  padding: 30px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-item:last-child::after {
  display: none;
}

.stat-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  background: var(--primary);
  position: relative;
}

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

.contact-left h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.contact-left>p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateX(8px);
}

.contact-card .card-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: rgba(255, 224, 0, 0.1);
  border: 1px solid rgba(255, 224, 0, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}

.contact-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
}

.contact-form h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 224, 0, 0.03);
  box-shadow: 0 0 0 3px rgba(255, 224, 0, 0.1);
}

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

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

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: #060d14;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

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

.footer-brand .logo {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 350px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

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

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

.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact p i {
  color: var(--accent);
  width: 18px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom .rc {
  color: var(--text-muted);
  font-size: 0.8rem;
}

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

/* Desktop small */
@media (max-width: 1024px) {
  .about-grid {
    gap: 50px;
  }

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

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

/* Tablet */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 115, 135, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  nav.open {
    transform: translateX(0);
  }

  nav a {
    font-size: 1.2rem;
    padding: 14px 30px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

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

  .hero-stat h3 {
    font-size: 2rem;
  }

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

  .about-image img {
    height: 350px;
  }

  .about-image::after {
    display: none;
  }

  .about-experience-badge {
    right: 20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
  }

  .about-experience-badge h3 {
    font-size: 2rem;
  }

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

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

  .project-card {
    flex-direction: column;
  }

  .project-image {
    flex: none;
    height: 250px;
  }

  .project-info {
    padding: 25px;
  }

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

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

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

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

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

/* Mobile */
@media (max-width: 480px) {
  .container {
    width: 92%;
    padding: 0 12px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hero-stat h3 {
    font-size: 1.8rem;
  }

  .hero-stat p {
    margin: 0;
  }

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

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

  .stat-item::after {
    display: none;
  }

  .stat-item {
    padding: 20px;
  }

  .contact-form {
    padding: 25px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* ---- Smooth Page Load ---- */
body.loaded {
  opacity: 1;
}

/* =========================================
   CENTRALES
   ========================================= */
.centrales {
  padding: 100px 0;
  position: relative;
  background: var(--primary);
}

.centrales-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.centrale-card {
  flex: 0 1 calc(33.333% - 20px);
  min-width: 350px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

@media (max-width: 1200px) {
  .centrale-card {
    flex: 0 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .centrale-card {
    flex: 0 1 100%;
    min-width: 100%;
  }
}

.centrale-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.centrale-map {
  width: 100%;
  height: 250px;
  background: var(--primary-mid);
}

.centrale-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(90%) hue-rotate(180deg);
  transition: filter 0.5s ease;
}

.centrale-card:hover .centrale-map iframe {
  filter: none;
}

.centrale-info {
  padding: 30px;
}

.centrale-info h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.centrale-info p {
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.centrale-info p i {
  color: var(--accent-glow);
  width: 20px;
  text-align: center;
}

.centrale-info a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.centrale-info a:hover {
  color: var(--accent);
}