/* ============================================
   ARX INFRA — Premium Construction Website
   Design System & Global Styles
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette */
  --charcoal-900: #1a1a1f;
  --charcoal-800: #222228;
  --charcoal-700: #2c2c34;
  --charcoal-600: #38383f;
  --charcoal-500: #4a4a54;

  /* Mauve / Purple-grey */
  --mauve-500: #8b7e9b;
  --mauve-400: #a396b3;
  --mauve-300: #bfb3cf;

  /* Gold / Amber accent */
  --gold-500: #c9a84c;
  --gold-400: #d4b65e;
  --gold-300: #e0c872;
  --gold-200: #ebd98e;
  --gold-glow: rgba(201, 168, 76, 0.25);

  /* Neutrals */
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Glass */
  --glass-bg: rgba(30, 30, 38, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 18px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.3);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--charcoal-900);
  color: var(--white-90);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ---------- Section Utilities ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--white-50);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--charcoal-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(201, 168, 76, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white-30);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(26, 26, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-05);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.navbar-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 2px;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-70);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.35s var(--ease-out);
}

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

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

.nav-cta {
  margin-left: 8px;
  border-color: var(--gold-500) !important;
  color: var(--gold-400) !important;
  padding: 8px 20px !important;
  font-size: 0.82rem !important;
  border-radius: 100px !important;
  letter-spacing: 0.3px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-500) !important;
  color: var(--charcoal-900) !important;
  border-color: var(--gold-500) !important;
  box-shadow: var(--shadow-gold);
}

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

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.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);
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.6);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 31, 0.95) 0%,
    rgba(26, 26, 31, 0.7) 40%,
    rgba(26, 26, 31, 0.5) 100%
  );
}

/* Animated geometric accents */
.hero-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
}

.hero-accent-1 {
  width: 500px;
  height: 500px;
  background: var(--gold-500);
  top: -150px;
  right: -100px;
  animation: floatAccent 8s ease-in-out infinite;
}

.hero-accent-2 {
  width: 400px;
  height: 400px;
  background: var(--mauve-500);
  bottom: -100px;
  left: -80px;
  animation: floatAccent 10s ease-in-out infinite reverse;
}

@keyframes floatAccent {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--gold-500);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--white-70);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--white-10);
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--white-50);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ---------- CLIENT LOGOS STRIP ---------- */
.clients-strip {
  padding: 48px 0;
  background: var(--charcoal-800);
  border-top: 1px solid var(--white-05);
  border-bottom: 1px solid var(--white-05);
  overflow: hidden;
}

.clients-strip .section-label {
  text-align: center;
  margin-bottom: 32px;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scrollLogos 30s linear infinite;
}

.clients-track-wrapper {
  display: flex;
  gap: 60px;
  overflow: hidden;
}

.client-item {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-30);
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--white-10);
  border-radius: 6px;
  transition: all 0.4s var(--ease-out);
}

.client-item:hover {
  color: var(--gold-500);
  border-color: var(--gold-500);
  background: var(--gold-glow);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- SERVICES SECTION ---------- */
.services { background: var(--charcoal-900); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px var(--gold-glow);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-glow), rgba(139, 126, 155, 0.15));
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--white-50);
  line-height: 1.6;
}

/* ---------- ABOUT SECTION ---------- */
.about { background: var(--charcoal-800); }

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

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.6s var(--ease-out);
}

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

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid var(--white-10);
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(26, 26, 31, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--white-10);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-badge-text h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-500);
}

.about-badge-text p {
  font-size: 0.75rem;
  color: var(--white-50);
}

.about-content .section-label {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  color: var(--white-70);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--white-70);
}

.about-feature .check {
  color: var(--gold-500);
  font-size: 1rem;
}

/* ---------- TEAM SECTION ---------- */
.team { background: var(--charcoal-900); }

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

.team-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.5s var(--ease-out);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-500);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--mauve-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal-900);
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold-glow);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.team-dept {
  font-size: 0.82rem;
  color: var(--white-50);
  margin-bottom: 16px;
}

.team-quote {
  font-size: 0.85rem;
  color: var(--white-50);
  font-style: italic;
  line-height: 1.6;
  border-top: 1px solid var(--white-10);
  padding-top: 16px;
}

/* ---------- PROCESS / ROADMAP ---------- */
.process { background: var(--charcoal-800); }

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-500), var(--mauve-500), var(--gold-500));
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.process-number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--charcoal-900);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--charcoal-800), 0 0 0 8px var(--gold-glow);
}

.process-card {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.process-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.6;
}

/* ---------- PORTFOLIO ---------- */
.portfolio { background: var(--charcoal-900); }

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

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--white-10);
  background: transparent;
  color: var(--white-50);
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-500);
  color: var(--charcoal-900);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

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

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,26,31,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

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

.portfolio-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.portfolio-overlay p {
  font-size: 0.82rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hidden items for filter */
.portfolio-item.hidden {
  display: none;
}

/* ---------- CONTACT SECTION ---------- */
.contact { background: var(--charcoal-800); }

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

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

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-glow), rgba(139,126,155,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--white-50);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--gold-400);
  transition: color 0.3s;
}

.contact-info-card a:hover {
  color: var(--gold-300);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white-50);
  transition: all 0.35s var(--ease-out);
}

.social-link:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--charcoal-900);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  font-size: 0.9rem;
  color: var(--white-50);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-70);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.35s var(--ease-out);
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: rgba(255,255,255,0.06);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

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

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px 32px;
}

/* Thank you message */
.thank-you-message {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.thank-you-message.show {
  display: block;
  animation: fadeIn 0.5s var(--ease-out);
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.thank-you-message h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.thank-you-message p {
  color: var(--white-50);
  font-size: 1rem;
}

/* Map container */
.map-container {
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--white-10);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.6) brightness(0.7) contrast(1.1);
  transition: filter 0.4s;
}

.map-container:hover iframe {
  filter: grayscale(0.2) brightness(0.8) contrast(1.05);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--charcoal-900);
  border-top: 1px solid var(--white-05);
  padding: 64px 0 24px;
}

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

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--white-50);
  transition: all 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold-400);
  padding-left: 6px;
}

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

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--white-30);
}

.footer-bottom a {
  color: var(--gold-500);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s var(--ease-out);
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white-10);
  border: 1px solid var(--white-10);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lightbox-close:hover {
  background: var(--gold-500);
  color: var(--charcoal-900);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--charcoal-900);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-gold);
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

/* ---------- WhatsApp floating ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.35s var(--ease-out);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@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.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 40px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--charcoal-800);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 0;
    border-left: 1px solid var(--white-10);
    transition: right 0.4s var(--ease-out);
  }

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

  .nav-links a {
    font-size: 1rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--white-05);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .hero-title { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image img { height: 300px; }

  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .process-timeline::before { left: 28px; }
  .process-step { flex-direction: column !important; gap: 16px; padding-left: 80px; text-align: left !important; }
  .process-number { position: absolute; left: 0; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

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

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .clients-track { gap: 32px; }
  .client-item { font-size: 0.78rem; padding: 10px 18px; }
  .portfolio-filters { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 0.75rem; }
}

/* ---------- Mobile nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--charcoal-900);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 80px;
  animation: pulse 1.5s ease-in-out infinite;
}

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

.preloader-bar {
  width: 120px;
  height: 3px;
  background: var(--white-10);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold-500);
  border-radius: 2px;
  animation: loadBar 1.2s ease-in-out infinite;
}

@keyframes loadBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
