/* ========================================================
   NICOJIK CONSULTANCY COMPANY LTD. — MAIN STYLESHEET
   Brand Colors: Orange #C8531A | Brown #4B1A00
   ======================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --orange: #C8531A;
  --orange-light: #E86A2E;
  --orange-dark: #A0420E;
  --brown: #4B1A00;
  --brown-light: #7A3010;
  --brown-dark: #2D0E00;
  --gold: #D4A017;
  --white: #FFFFFF;
  --off-white: #F8F5F2;
  --gray-100: #F5F0EB;
  --gray-200: #EAE0D8;
  --gray-400: #B09080;
  --gray-600: #6B4A3A;
  --gray-800: #2C1810;
  --text-dark: #1A0A00;
  --text-medium: #4A2010;
  --text-light: #8A6050;
  --shadow-sm: 0 2px 8px rgba(75, 26, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(75, 26, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(75, 26, 0, 0.2);
  --shadow-xl: 0 40px 100px rgba(75, 26, 0, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: var(--font-main); }

::selection { background: var(--orange); color: white; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--brown-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

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

.preloader-logo {
  width: 140px;
  animation: logoFloat 1s ease infinite alternate;
  filter: drop-shadow(0 0 30px rgba(200, 83, 26, 0.6));
}

@keyframes logoFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION UTILITIES ===== */
.section { padding: 52px 0; }

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

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label.light-label {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.white { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-desc.white-desc { color: rgba(255,255,255,0.75); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  box-shadow: 0 8px 24px rgba(200, 83, 26, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200, 83, 26, 0.5);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 252, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 32px rgba(75, 26, 0, 0.1);
  border-bottom: 1px solid rgba(200, 83, 26, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.navbar.scrolled .nav-logo img { height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-link { color: var(--brown); }

.nav-link:hover, .nav-link.active {
  color: var(--orange);
  background: rgba(200, 83, 26, 0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(200, 83, 26, 0.4);
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200, 83, 26, 0.5); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 4px;
  margin-left: auto;
}

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

.navbar.scrolled .hamburger span { background: var(--brown); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brown-dark) 0%, #1A0500 30%, #2D0E00 60%, #0D0200 100%);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(200, 83, 26, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200, 83, 26, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(75, 26, 0, 0.3) 0%, transparent 60%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat var(--duration, 6s) ease-in-out infinite var(--delay, 0s);
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-50px) scale(1.5); }
}

.hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 85px 24px 28px;
  max-width: 820px;
  padding-left: max(24px, 8vw);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 83, 26, 0.15);
  border: 1px solid rgba(200, 83, 26, 0.4);
  color: var(--orange-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange-light);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-accent {
  background: linear-gradient(135deg, var(--orange), #FF8C4A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeInUp 0.8s ease 1s both;
}

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

.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange-light);
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: 36px;
  left: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1s ease 2s both;
}

@media (max-height: 850px) {
  .hero-scroll { display: none; }
}

.hero-scroll span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  padding: 14px 0;
  overflow: hidden;
}

.ticker {
  display: flex;
  gap: 48px;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.ticker span {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  letter-spacing: 1px;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== ABOUT SECTION ===== */
.about { background: var(--off-white); }

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

.about-visual { position: relative; }

.about-img-wrap {
  position: relative;
  height: 440px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}

.about-img-main img,
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-main-ph {
  background: linear-gradient(135deg, var(--brown) 0%, var(--orange-dark) 100%);
  color: white;
}

.about-sec-ph {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
}

.ph-icon { font-size: 3.5rem; }

.about-img-placeholder p {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.85;
}

.about-experience-badge {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}

.exp-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.4;
}

.about-content .section-label {
  display: block;
  margin-bottom: 12px;
}

.about-text {
  color: var(--text-medium);
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 24px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

.about-feature strong {
  display: block;
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feature p { font-size: 0.9rem; color: var(--text-light); }

/* ===== ABOUT INTERACTIVE TABS ===== */
.about-tabs-bar {
  display: inline-flex;
  gap: 6px;
  background: rgba(75, 26, 0, 0.06);
  border: 1px solid rgba(200, 83, 26, 0.18);
  padding: 5px;
  border-radius: 50px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.about-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 7px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.about-tab-btn:hover {
  color: var(--orange);
  background: rgba(200, 83, 26, 0.08);
}

.about-tab-btn.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  box-shadow: 0 4px 14px rgba(200, 83, 26, 0.35);
}

.about-tab-pane {
  display: none;
}

.about-tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease both;
}

/* Vision & Mission Compact Cards */
.vm-compact-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vm-compact-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--orange-light);
}

.vm-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.vm-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  padding: 3px 12px;
}

.mission-tag {
  background: rgba(200, 83, 26, 0.12);
  color: var(--orange);
}

.vision-tag {
  background: rgba(75, 26, 0, 0.1);
  color: var(--brown);
}

.vm-quote-block {
  margin: 0 0 14px 0;
  border-left: none;
  padding: 0;
}

.vm-quote-block p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.vision-quote {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.vm-pillars-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vm-pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-medium);
}

/* Values compact grid */
.values-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.value-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition);
}

.value-mini-card:hover {
  border-color: rgba(200, 83, 26, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.value-mini-card .val-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-mini-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brown);
  margin-bottom: 2px;
}

.value-mini-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}

/* ===== SERVICES SECTION ===== */
.services { background: var(--white); }

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

/* Services Promo Banner */
.services-promo {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 60%, var(--brown) 100%);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.services-promo::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.promo-badge {
  flex-shrink: 0;
  background: white;
  color: var(--orange-dark);
  font-size: 1.4rem;
  font-weight: 900;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.promo-text { flex: 1; }

.promo-text strong {
  display: block;
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.promo-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.services-promo .btn-primary {
  background: white;
  color: var(--orange-dark);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.services-promo .btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 83, 26, 0.2);
}

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(200, 83, 26, 0.1), rgba(200, 83, 26, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  transform: scale(1.1);
}

.service-icon { font-size: 1.8rem; transition: var(--transition); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}

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

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover { gap: 8px; color: var(--orange-dark); }

/* ===== UPLOADED PROJECT MEDIA ===== */
.proj-upload-wrap { position: relative; height: 260px; overflow: hidden; }
.proj-upload-media, .proj-img-static { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.project-card:hover .proj-upload-media, .project-card:hover .proj-img-static { transform: scale(1.08); }
.proj-media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  z-index: 5;
}
.proj-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  font-size: 1rem;
}
.proj-slider-btn:hover {
  background: var(--orange);
  transform: translateY(-50%) scale(1.1);
}
.proj-slider-btn.prev { left: 10px; }
.proj-slider-btn.next { right: 10px; }

/* ===== PROJECTS SECTION ===== */
.projects { background: var(--gray-100); }

.projects-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--white);
  color: var(--text-medium);
  border: 2px solid transparent;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 16px rgba(200, 83, 26, 0.3);
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  transform-origin: center;
}

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

.project-card.hidden {
  display: none;
}

.project-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-img-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 50%, var(--orange-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  transition: var(--transition-slow);
}

.project-img-ph span { font-size: 3.5rem; }
.project-img-ph p { font-weight: 600; font-size: 0.9rem; opacity: 0.8; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(75, 26, 0, 0.95) 0%, rgba(75, 26, 0, 0.6) 50%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-img-ph { transform: scale(1.1); }

.project-tag {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  width: fit-content;
}

.project-overlay h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #1A0500 40%, var(--brown) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(200, 83, 26, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(200, 83, 26, 0.1) 0%, transparent 60%);
}

.stats-section .container { position: relative; z-index: 1; }

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

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(200, 83, 26, 0.15);
  border-color: rgba(200, 83, 26, 0.4);
  transform: translateY(-4px);
}

.stat-icon { font-size: 2rem; margin-bottom: 12px; }

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange-light);
  line-height: 1;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange-light);
  display: inline;
}

.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 500;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200, 83, 26, 0.3);
}

.why-icon { font-size: 2rem; margin-bottom: 12px; }

.why-card h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--off-white); }

.testimonials-slider { overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--text-medium);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
  max-width: 680px;
}

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

.author-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--brown);
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.t-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.t-nav:hover { background: var(--orange-dark); transform: scale(1.1); }

.t-dots { display: flex; gap: 8px; }

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.t-dot.active { background: var(--orange); transform: scale(1.3); }

/* ── Leave a Rating Form ── */
.rating-submit-wrap {
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.rating-submit-header {
  margin-bottom: 24px;
}

.rating-submit-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.rating-submit-header p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.rating-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.rating-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.rating-form-group input,
.rating-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.rating-form-group input:focus,
.rating-form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200, 83, 26, 0.15);
}

.star-picker {
  display: flex;
  gap: 6px;
  cursor: pointer;
  align-items: center;
  height: 48px;
}

.star-picker span {
  font-size: 1.8rem;
  color: var(--gray-300);
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
  line-height: 1;
}

.star-picker span.active,
.star-picker span.hover {
  color: var(--gold);
  transform: scale(1.1);
}

.rating-form-success {
  display: none;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #15803d;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
}

.rating-form-success.visible {
  display: block;
}

@media (max-width: 768px) {
  .rating-form-row {
    grid-template-columns: 1fr;
  }
  .rating-submit-wrap {
    padding: 24px 20px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact { background: var(--white); }

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

.contact-info-card {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: white;
  height: 100%;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 83, 26, 0.2);
  border: 1px solid rgba(200, 83, 26, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--orange-light);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-item a:hover { color: white; }

.contact-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn.whatsapp {
  background: #25D366;
  color: white;
}

.social-btn.whatsapp:hover { background: #20BA5C; transform: translateY(-2px); }

.social-btn.call {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}

.social-btn.call:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brown);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200, 83, 26, 0.1);
}

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

.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8531A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.btn-arrow { transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-sm);
  color: #1A9A52;
  font-weight: 500;
  font-size: 0.9rem;
}

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

/* ===== FOOTER ===== */
.footer { background: var(--brown-dark); color: white; }

.footer-top { padding: 72px 0 48px; }

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

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(1) drop-shadow(0 0 10px rgba(200,83,26,0.3));
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-quick a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-light);
  font-weight: 600;
  transition: var(--transition);
}

.footer-contact-quick a:hover { color: white; }

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-newsletter h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.footer-newsletter > p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }

.newsletter-form input:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}

.newsletter-form button {
  padding: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 83, 26, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

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

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: waPulse 2s ease infinite;
}

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

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--brown-dark);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 32px;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px); background: var(--orange-dark); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .vm-values { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brown-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

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

  .nav-link { font-size: 1.2rem !important; color: white !important; padding: 12px 32px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; z-index: 1000; }

  .hero-content { padding: 120px 24px 80px; max-width: 100%; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 1.8rem; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { height: 320px; }
  .about-experience-badge { right: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-values { grid-template-columns: repeat(2, 1fr); }
  .vm-card { padding: 32px 24px; }
  .services-promo { flex-direction: column; text-align: center; padding: 32px 24px; }
  .promo-badge { font-size: 1.1rem; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

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

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

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

  .section { padding: 64px 0; }
  .testimonial-card { padding: 32px 24px; }
  .contact-info-card, .contact-form-wrap { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .vm-values { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-divider { display: none; }
}
