/* =========================================================
   NEXTCORE BUILDERS — STYLESHEET
   Table of contents:
   1. Reset & Base
   2. Variables & Typography
   3. Utilities
   4. Loader
   5. Navbar
   6. Hero Slider
   7. Client / Partner Logos
   8. About + Stats
   9. Vision / Mission / Values
   10. Services
   11. Projects
   12. Other Projects (gallery)
   13. Transform (Vision to Reality)
   14. Advantage
   15. Process
   16. Testimonials
   17. CTA
   18. Contact
   19. Footer
   20. Back to top
   21. WhatsApp button
   22. 3D Tilt effect
   23. Reveal Animations
   24. Responsive
   ========================================================= */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; line-height: 1.15; color: var(--primary); }

/* ---------- 2. VARIABLES ---------- */
:root {
  --primary: #0f2036;
  --primary-dark: #081422;
  --primary-light: #1c3a5c;
  --accent: #ff8a2b;
  --accent-dark: #e8650a;
  --accent-light: #ffb06b;
  --gold: #f5b942;
  --white: #ffffff;
  --light-bg: #f6f8fb;
  --text-dark: #16232f;
  --text-muted: #64748b;
  --border: #e6eaf0;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 16px rgba(15, 32, 54, 0.07);
  --shadow-md: 0 12px 32px rgba(15, 32, 54, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 32, 54, 0.22);
  --transition: 0.35s cubic-bezier(.22,1,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- 3. UTILITIES ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 122, 26, 0.3);
  border-radius: 30px;
  background: rgba(255, 122, 26, 0.08);
}

.section-title { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.01em; }
.section-sub { color: var(--text-muted); font-size: 17px; max-width: 560px; }
.section-sub--dark { color: rgba(255,255,255,0.65); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; }
.section-head--dark { margin-bottom: 64px; }

section { padding: 100px 0; position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent {
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 55%, var(--accent-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 138, 43, 0.35);
}
.btn--accent:hover { background: linear-gradient(135deg, var(--accent), var(--accent-dark) 65%, var(--accent-dark)); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 138, 43, 0.45); }
.btn--outline-light {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.btn--outline-light:hover { background: var(--white); color: var(--primary); border-color: var(--white); transform: translateY(-3px); }

/* ---------- 4. LOADER ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 72px; height: 72px; border-radius: 16px;
  background: var(--white); color: var(--white);
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  animation: pulseMark 1.1s ease-in-out infinite;
}
.loader-mark img { width: 100%; height: 100%; object-fit: contain; }
@keyframes pulseMark { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.85); opacity: 0.6; } }

/* ---------- 5. NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.navbar.is-scrolled { background: rgba(13, 29, 48, 0.92); backdrop-filter: blur(10px); padding: 14px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 9px;
  background: var(--white); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px;
  flex-shrink: 0; padding: 4px; box-shadow: var(--shadow-sm);
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: var(--white); }
.brand__text em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.brand--footer .brand__text { color: var(--white); }

.nav__list { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.85);
  position: relative; padding: 4px 0; transition: color var(--transition);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--accent); transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav__cta { flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 30px; z-index: 1100; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
  background: var(--primary-dark); z-index: 1050;
  padding: 100px 32px 40px; transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column; gap: 40px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.3);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 26px; }
.mobile-nav__link { font-size: 19px; font-weight: 700; color: var(--white); }

/* ---------- 6. HERO SLIDER ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 120px; overflow: hidden; perspective: 1200px;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); animation: heroZoom 9s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(15,32,54,0.55) 0%, rgba(8,20,34,0.86) 62%, rgba(8,20,34,0.97) 100%),
    linear-gradient(180deg, rgba(8,20,34,0.55) 0%, rgba(8,20,34,0.72) 55%, rgba(8,20,34,0.95) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__content { display: none; }
.hero__content.is-active { display: flex; flex-direction: column; align-items: center; animation: heroContentFade 0.7s ease; }
@keyframes heroContentFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero__title { font-size: clamp(38px, 6vw, 68px); color: var(--white); margin-bottom: 22px; text-shadow: 0 10px 34px rgba(0,0,0,0.45); }
.hero__content.is-active .hero__title .text-accent { position: relative; display: inline-block; background: linear-gradient(135deg, var(--accent-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__content.is-active .hero__title .text-accent::after {
  content: ''; position: absolute; left: 2px; right: 2px; bottom: -6px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--gold) 80%, transparent);
  transform: scaleX(0); transform-origin: center;
  animation: underlineGrow 0.9s cubic-bezier(.22,1,.36,1) 0.5s forwards;
}
@keyframes underlineGrow { to { transform: scaleX(1); } }
.hero__desc { color: rgba(255,255,255,0.82); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero__trustrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: center; }
.hero__trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 30px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 600;
}
.hero__trust-pill strong { color: var(--white); font-family: 'Manrope', sans-serif; }
.hero__trust-pill .star { color: #ffb648; }

.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 1; transition: transform 0.35s ease-out; }
.hero__orb--1 {
  width: 340px; height: 340px; top: 6%; right: 6%;
  background: radial-gradient(circle, rgba(255,122,26,0.55), transparent 70%);
}
.hero__orb--2 {
  width: 260px; height: 260px; bottom: 10%; left: 4%;
  background: radial-gradient(circle, rgba(90,150,255,0.35), transparent 70%);
}
.hero__fade {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 140px; z-index: 1;
  background: linear-gradient(180deg, rgba(244,246,248,0) 0%, var(--light-bg) 100%);
}

/* reveal-up base state driven within hero uses .reveal-up too */

.hero__arrows { position: absolute; z-index: 3; right: 32px; bottom: 44px; display: flex; gap: 10px; }
.hero__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

.hero__dots { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; display: flex; gap: 8px; justify-content: center; }
.hero__dot {
  width: 30px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.3);
  transition: background var(--transition), width var(--transition);
}
.hero__dot.is-active { background: var(--accent); width: 46px; }

/* ---------- 7. CLIENT / PARTNER LOGOS ---------- */
.clients { background: var(--white); padding: 56px 0; }
.clients__label {
  text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 34px;
}
.clients__track {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px;
}
.client-logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 150px; height: 84px; padding: 14px 22px; border-radius: var(--radius-md);
  background: var(--light-bg); filter: grayscale(1); opacity: 0.75;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.client-logo:hover { filter: grayscale(0); opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.client-logo--brand { background: var(--white); border: 1.5px solid var(--border); filter: none; opacity: 1; padding: 8px 20px; }
.client-logo--brand:hover { box-shadow: var(--shadow-md); }
.client-logo--brand img { max-height: 60px; object-fit: contain; }
.client-logo__mark { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px; color: var(--primary); }
.client-logo__sub { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- 7b. LICENSED & CERTIFIED ---------- */
.credentials { background: var(--primary-dark); padding: 34px 0; }
.credentials__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.credential { display: flex; align-items: center; gap: 14px; }
.credential__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,138,43,0.14); color: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
}
.credential__icon svg { width: 22px; height: 22px; }
.credential__title { display: block; color: var(--white); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14.5px; }
.credential__sub { display: block; color: rgba(255,255,255,0.55); font-size: 12.5px; margin-top: 2px; }

/* ---------- 8. ABOUT + STATS ---------- */
.about { background: var(--light-bg); padding-top: 110px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 80px; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.6; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; bottom: -24px; right: -18px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius-md); padding: 18px 22px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 16px 34px rgba(255,122,26,0.38);
}
.about__badge-num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 26px; line-height: 1; }
.about__badge-label { font-size: 12.5px; font-weight: 600; opacity: 0.95; }

.about__content .section-title { margin-bottom: 20px; }
.about__text { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.checklist { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--primary); }
.check-icon {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(255,122,26,0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--white); border-radius: var(--radius-md); padding: 34px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-card__num { display: block; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 40px; color: var(--primary); }
.stat-card__label { color: var(--text-muted); font-size: 14px; font-weight: 600; }

/* ---------- 9. VISION / MISSION / VALUES ---------- */
.vm { background: var(--light-bg); }
.vm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vm-card {
  background: var(--white); border-radius: var(--radius-md); padding: 38px 32px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.vm-card:hover { box-shadow: var(--shadow-md); }
.vm-card__icon {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(255,122,26,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.vm-card__icon svg { width: 28px; height: 28px; }
.vm-card h3 { font-size: 19px; margin-bottom: 12px; }
.vm-card p { color: var(--text-muted); font-size: 15px; }

/* ---------- 10. SERVICES ---------- */
.services { background: var(--white); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--light-bg); border-radius: var(--radius-md); padding: 34px 30px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); background: var(--white); border-color: var(--border); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }
.link-arrow { color: var(--accent); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 5px; }
.link-arrow span { transition: transform var(--transition); }
.service-card:hover .link-arrow span { transform: translateX(5px); }

/* ---------- 9. PROJECTS ---------- */
.projects { background: var(--light-bg); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 22px; }
.project-card--lg { grid-column: span 2; grid-row: span 2; }
.project-card { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.project-card:hover { box-shadow: var(--shadow-lg); }
.project-card__img { position: relative; height: 100%; width: 100%; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-card__img img { transform: scale(1.08); }
.project-card__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,29,48,0.88) 0%, rgba(13,29,48,0.15) 45%, rgba(13,29,48,0) 65%);
}
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em;
  padding: 6px 13px; border-radius: 30px;
}
.badge--accent { background: var(--accent); color: var(--white); }
.badge--dark { background: rgba(13,29,48,0.85); color: var(--white); left: auto; right: 16px; }
.project-card__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: var(--white); }
.project-card__tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.project-card__body h3 { color: var(--white); font-size: 20px; margin-bottom: 4px; }
.project-card__body p { color: rgba(255,255,255,0.72); font-size: 13.5px; }
.project-card--lg .project-card__body h3 { font-size: 24px; }

/* ---------- 12. OTHER PROJECTS (GALLERY) ---------- */
.other-projects { background: var(--white); }
.other-projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.op-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3.2;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition);
}
.op-card:hover { box-shadow: var(--shadow-lg); }
.op-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.op-card:hover img { transform: scale(1.08); }
.op-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,29,48,0.9) 0%, rgba(13,29,48,0.1) 50%, rgba(13,29,48,0) 70%);
}
.op-card figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.op-card__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.op-card__title { color: var(--white); font-weight: 700; font-size: 15.5px; }

/* ---------- 13. TRANSFORM ---------- */
.transform { background: var(--primary-dark); }
.transform__list { display: flex; flex-direction: column; gap: 60px; }
.transform__caption { text-align: center; color: rgba(255,255,255,0.55); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius-lg); overflow: hidden; }
.compare__pane { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.compare__pane img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.transform__item:hover .compare__pane img { transform: scale(1.04); }
.compare__marker {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px;
  box-shadow: 0 0 0 8px rgba(255,122,26,0.18), 0 10px 26px rgba(0,0,0,0.4);
}

/* ---------- 11. ADVANTAGE ---------- */
.advantage { background: var(--white); }
.advantage__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card {
  background: var(--light-bg); border-radius: var(--radius-md); padding: 32px 24px; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.advantage-card__icon {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(20,40,63,0.06); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.advantage-card__icon svg { width: 26px; height: 26px; }
.advantage-card h3 { font-size: 17px; margin-bottom: 8px; }
.advantage-card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- 12. PROCESS ---------- */
.process { background: var(--light-bg); }
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process__list::before {
  content: ''; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}
.process-step { position: relative; text-align: center; padding-top: 46px; }
.process-step__num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 12px;
  z-index: 2;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 14.5px; max-width: 220px; margin: 0 auto; }

/* ---------- 15b. FAQ ---------- */
.faq { background: var(--light-bg); }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.is-open { border-color: rgba(255,138,43,0.4); box-shadow: var(--shadow-sm); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; text-align: left; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 16px; color: var(--primary);
}
.faq-item__icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,138,43,0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height var(--transition), padding var(--transition); }
.faq-item.is-open .faq-item__a { max-height: 240px; }
.faq-item__a p { padding: 0 26px 22px; color: var(--text-muted); font-size: 15px; }

/* ---------- 16. TESTIMONIALS ---------- */
.testimonials { background: var(--light-bg); }
.testimonials .section-head { margin-bottom: 44px; }
.testimonials__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; }
.testimonials__viewport::-webkit-scrollbar { display: none; }
.testimonials__track { display: flex; gap: 22px; padding: 0 24px; width: max-content; margin: 0 auto; }
.testimonial-card {
  scroll-snap-align: start; flex: 0 0 340px; background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card__stars { color: var(--accent); font-size: 16px; letter-spacing: 3px; margin-bottom: 16px; }
.testimonial-card__quote { color: var(--text-dark); font-size: 15px; line-height: 1.7; margin-bottom: 24px; min-height: 110px; }
.testimonial-card__person { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.testimonial-card__person > div { display: flex; flex-direction: column; }
.testimonial-card__person strong { font-size: 14.5px; color: var(--primary); }
.testimonial-card__person span { font-size: 12.5px; color: var(--text-muted); }

.testimonials__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.testimonials__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.testimonials__arrow svg { width: 18px; height: 18px; }
.testimonials__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-3px); }
.testimonials__dots { display: flex; gap: 8px; }
.testimonials__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: background var(--transition), transform var(--transition); }
.testimonials__dot.is-active { background: var(--accent); transform: scale(1.2); }

/* ---------- 17. CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 120px 0; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,29,48,0.92), rgba(20,40,63,0.85)); }
.cta__inner { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.cta__inner h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta__inner p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 34px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 14. CONTACT ---------- */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: start; }

.contact-info { background: var(--primary-dark); color: var(--white); border-radius: var(--radius-lg); padding: 44px 36px; }
.contact-info h3 { color: var(--white); font-size: 20px; margin-bottom: 26px; }
.contact-info__map { margin-top: 26px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.contact-info__map iframe { display: block; filter: grayscale(0.3) contrast(1.05); }
.contact-info__list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.contact-info__list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-info__icon {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(255,122,26,0.16); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info__icon svg { width: 19px; height: 19px; }
.contact-info__list > li > div { display: flex; flex-direction: column; gap: 2px; }
.contact-info__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); font-weight: 700; }
.contact-info__list span:not(.contact-info__label) { font-weight: 600; font-size: 15px; }
.contact-info__social { display: flex; gap: 12px; }
.contact-info__social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}
.contact-info__social a:hover { background: var(--accent); transform: translateY(-3px); }

.contact-form { background: var(--light-bg); border-radius: var(--radius-lg); padding: 40px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-group label { font-size: 13.5px; font-weight: 700; color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-dark); font-size: 14.5px; transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,0.14);
}
.form-error { display: none; font-size: 12.5px; color: #e0433d; font-weight: 600; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #e0433d; }
.form-group.has-error .form-error { display: block; }

.form-success {
  display: none; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 18px 20px;
  background: rgba(40, 175, 96, 0.1); border: 1px solid rgba(40, 175, 96, 0.3); border-radius: 10px; color: #1c2b39;
}
.form-success.is-visible { display: flex; }
.form-success__icon {
  width: 26px; height: 26px; border-radius: 50%; background: #28af60; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; font-size: 13px;
}
.form-success p { color: var(--text-muted); font-size: 13.5px; margin-top: 2px; }

/* ---------- 15. FOOTER ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__col h4 { color: var(--white); font-size: 15px; margin-bottom: 22px; letter-spacing: 0.03em; }
.footer__col ul { display: flex; flex-direction: column; gap: 13px; }
.footer__col a { font-size: 14.5px; transition: color var(--transition), padding-left var(--transition); }
.footer__col a:hover { color: var(--accent); padding-left: 4px; }
.footer__col--brand p { font-size: 14px; margin: 18px 0 22px; max-width: 300px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.footer__social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer__legal { font-size: 13px; }
.footer__legal a:hover { color: var(--accent); }
.footer__contact li { font-size: 14px; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }

/* ---------- 16. BACK TO TOP ---------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
  box-shadow: 0 12px 26px rgba(255,122,26,0.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-4px); }

/* ---------- 21. WHATSAPP BUTTON ---------- */
.whatsapp-btn {
  position: fixed; bottom: 28px; left: 28px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(37,211,102,0.45);
  animation: whatsappPulse 2.6s ease-in-out infinite;
  transition: transform var(--transition);
}
.whatsapp-btn svg { width: 25px; height: auto; }
.whatsapp-btn:hover { transform: translateY(-4px) scale(1.05); }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 12px 26px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 12px 26px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0); }
}

/* ---------- 22. 3D TILT EFFECT ---------- */
.tilt { position: relative; overflow: hidden; transform-style: preserve-3d; will-change: transform; }
.tilt::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.6), transparent 55%);
  mix-blend-mode: soft-light; transition: opacity 0.4s ease;
}
.tilt:hover::before { opacity: 0.9; }

/* ---------- 23. REVEAL ANIMATIONS ---------- */
.reveal-up {
  opacity: 0; transform: perspective(1000px) rotateX(8deg) translateY(36px); transform-origin: top center;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--d, 0) * 0.1s);
}
.reveal-up.is-visible { opacity: 1; transform: perspective(1000px) rotateX(0deg) translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.22,1,.36,1); }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.22,1,.36,1); }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  section { padding: 80px 0; }
  .credentials__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about__grid { gap: 46px; }
  .stats { gap: 16px; }
  .vm__grid { grid-template-columns: 1fr; gap: 20px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .advantage__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .process__list::before { display: none; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .project-card--lg { grid-column: span 2; }
  .other-projects__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav, .nav__cta { display: none; }
  .hamburger { display: flex; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__bg { background-attachment: scroll; }
  .hero__arrows { right: 20px; bottom: 64px; }
  .hero__dots { bottom: 22px; }
  .hero__orb { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 64px 0; }
  .hero { padding-top: 100px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__arrows { display: none; }
  .clients__track { gap: 12px; }
  .client-logo { min-width: 120px; height: 68px; padding: 10px 14px; }
  .services__grid { grid-template-columns: 1fr; }
  .advantage__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project-card--lg { grid-column: span 1; grid-row: span 1; }
  .other-projects__grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .about__badge { right: 0; bottom: -18px; padding: 14px 18px; }
  .testimonial-card { flex-basis: 84vw; }
  .testimonials__track { padding: 0 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; justify-content: center; }
  .contact-form { padding: 26px; }
  .contact-info { padding: 30px 26px; }
  .back-to-top { width: 44px; height: 44px; right: 18px; bottom: 18px; }
  .whatsapp-btn { width: 50px; height: 50px; left: 18px; bottom: 18px; }
  .whatsapp-btn svg { width: 22px; height: auto; }
}