/* ============================================
   SLAYED — Main Stylesheet
   Digital Catalogue & ListAgency
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Editorial+New:ital@0;1&display=swap');

/* ─── CSS Variables ─── */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f9f9f9;
  --gray-100: #f2f2f2;
  --gray-200: #e8e8e8;
  --gray-400: #a0a0a0;
  --gray-600: #5a5a5a;
  --accent: #0a0a0a;
  --nav-h: 72px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: none; }

/* ─── Custom Cursor ─── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, width 0.3s var(--transition), height 0.3s var(--transition), background 0.3s;
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(10,10,10,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--transition), width 0.3s var(--transition), height 0.3s var(--transition);
}
body:hover .cursor { opacity: 1; }
a:hover ~ .cursor, button:hover ~ .cursor { width: 20px; height: 20px; }

/* ─── Noise Overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
  opacity: 0.4;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: background 0.4s var(--transition), box-shadow 0.4s var(--transition), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}
@media (max-width: 900px) {
  .nav-logo-img {
    height: 40px;
  }
}
@media (max-width: 480px) {
  .nav-logo-img {
    height: 35px;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-600);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width 0.3s var(--transition);
}
.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--black); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--black);
  color: var(--white) !important;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 100px;
  transition: transform 0.3s var(--transition), background 0.3s !important;
}
.nav-cta:hover { transform: scale(1.03); }
.nav-cta::after { display: none !important; }

/* ─── Hamburger Menu ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--black);
  transition: transform 0.4s var(--transition), opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10%;
  clip-path: circle(0% at calc(100% - 60px) 36px);
  transition: clip-path 0.7s var(--transition-slow);
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 60px) 36px);
}
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { overflow: hidden; }
.mobile-menu ul li a {
  display: block;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  padding: 0.4rem 0;
  color: var(--black);
  transform: translateY(110%);
  transition: transform 0.7s var(--transition-slow), color 0.3s;
}
.mobile-menu.open ul li a { transform: translateY(0); }
.mobile-menu ul li:nth-child(1) a { transition-delay: 0.15s; }
.mobile-menu ul li:nth-child(2) a { transition-delay: 0.2s; }
.mobile-menu ul li:nth-child(3) a { transition-delay: 0.25s; }
.mobile-menu ul li:nth-child(4) a { transition-delay: 0.3s; }
.mobile-menu ul li:nth-child(5) a { transition-delay: 0.35s; }
.mobile-menu ul li:nth-child(6) a { transition-delay: 0.4s; }
.mobile-menu ul li:nth-child(7) a { transition-delay: 0.45s; }
.mobile-menu ul li a:hover { color: var(--gray-400); }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  opacity: 0;
  transition: opacity 0.4s 0.5s;
}
.mobile-menu.open .mobile-menu-footer { opacity: 1; }

/* ─── Page Loader ─── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--transition), visibility 0.8s;
}
.page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-text {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-logo {
  height: clamp(2rem, 6vw, 4rem);
  width: auto;
  object-fit: contain;
  animation: loaderReveal 1.2s var(--transition-slow) 0.2s both;
}
@keyframes loaderReveal {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.loader-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--white);
  animation: loaderBar 1.5s var(--transition) forwards;
}
@keyframes loaderBar {
  from { width: 0; }
  to { width: 100%; }
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

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

/* ─── Container ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section { padding: 7rem 0; }

/* ─── Typography ─── */
.text-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.display-xl {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.display-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.body-lg { font-size: 1.125rem; line-height: 1.7; color: var(--gray-600); font-weight: 300; }
.body-md { font-size: 1rem; line-height: 1.6; color: var(--gray-600); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  transition: transform 0.35s var(--transition), background 0.3s, color 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--transition));
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.btn-dark:hover { background: #222; }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--black); }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.825rem; }
.btn-arrow::after { content: '→'; font-size: 1rem; transition: transform 0.3s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 4rem) 5% 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroBgZoom 12s var(--transition) forwards;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.2) 80%, rgba(255,255,255,0.4) 100%);
}
@keyframes heroBgZoom {
  to { transform: scale(1); }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative; z-index: 1;
  width: fit-content;
  animation: fadeSlideUp 0.8s var(--transition-slow) 1.6s both;
}
.hero-tag::before { content: '●'; font-size: 0.5rem; color: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-content { position: relative; z-index: 1; }
.hero-headline {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 2.5rem;
  overflow: hidden;
  color: var(--black);
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .word {
  display: inline-block;
  animation: wordReveal 1s var(--transition-slow) both;
}
.hero-headline .line:nth-child(1) .word { animation-delay: 1.8s; }
.hero-headline .line:nth-child(2) .word { animation-delay: 1.95s; }
.hero-headline .line:nth-child(3) .word { animation-delay: 2.1s; }
@keyframes wordReveal {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  animation: fadeSlideUp 0.8s var(--transition-slow) 2.3s both;
}
.hero-desc { max-width: 380px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Stats Section ─── */
.stats-section { padding: 5rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.stats-grid { display: flex; justify-content: center; gap: 4rem; }
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.875rem; color: var(--gray-400); }

/* ─── About Section ─── */
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; }
.about-label { margin-bottom: 1.5rem; }
.about-text { max-width: 480px; }
.about-text p { font-size: 1rem; line-height: 1.75; color: var(--gray-600); margin-bottom: 1.5rem; }

/* ─── Services Accordion ─── */
.services-section {}
.services-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4rem; gap: 4rem; }
.services-header-left { flex: 1; }
.services-header-right { max-width: 360px; flex-shrink: 0; }
.accordion { border-top: 1px solid var(--gray-200); }
.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  background: none;
  border: none;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  text-align: left;
  transition: color 0.25s;
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
}
.accordion-trigger:hover { color: var(--gray-400); }
.accordion-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.4s var(--transition), background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition);
}
.accordion-content {
  padding: 0 0 2rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ─── Projects Grid ─── */
.projects-section {}
.projects-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  cursor: none;
}
.project-card:nth-child(1) { aspect-ratio: 16/10; grid-column: span 1; }
.project-card:nth-child(2) { aspect-ratio: 16/10; }
.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-slow);
}
.project-card:hover .project-img { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-info {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.4s var(--transition), opacity 0.4s;
  color: var(--white);
}
.project-card:hover .project-info { transform: translateY(0); opacity: 1; }
.project-info h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.25rem; }
.project-info p { font-size: 0.8rem; opacity: 0.7; }
.project-placeholder {
  width: 100%; height: 100%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}
.project-placeholder-label {
  position: relative;
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Pricing Section ─── */
.pricing-section { background: var(--gray-50); border-radius: 24px; padding: 5rem; margin: 0 3%; }
.pricing-header { text-align: center; margin-bottom: 4rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition), border-color 0.3s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.pricing-card.highlight {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: scale(1.04);
}
.pricing-card.highlight:hover { transform: scale(1.04) translateY(-6px); }
.pricing-name { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.5rem; opacity: 0.6; }
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 2rem; }
.pricing-amount { font-size: 3rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.pricing-period { font-size: 0.875rem; opacity: 0.5; }
.pricing-features { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.pricing-features li::before { content: '✓'; font-size: 0.75rem; flex-shrink: 0; }
.pricing-card:not(.highlight) .pricing-features li::before { color: var(--black); }
.pricing-card.highlight .pricing-features li::before { color: rgba(255,255,255,0.7); }
.pricing-card.highlight .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.pricing-card.highlight .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ─── Blog Section ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { cursor: none; }
.blog-img-wrap {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 1.25rem;
}
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--transition); }
.blog-card:hover .blog-img-wrap img { transform: scale(1.04); }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.blog-card h3 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  transition: color 0.25s;
}
.blog-card:hover h3 { color: var(--gray-600); }
.blog-link { font-size: 0.8rem; font-weight: 500; display: flex; align-items: center; gap: 0.3rem; transition: gap 0.25s; }
.blog-card:hover .blog-link { gap: 0.6rem; }

/* ─── Partners / Marquee ─── */
.partners-section { padding: 4rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); overflow: hidden; }
.partners-label { text-align: center; margin-bottom: 2.5rem; }
.marquee-track { display: flex; gap: 5rem; animation: marquee 20s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { width: 120px; height: 40px; object-fit: contain; filter: grayscale(100%); transition: filter 0.3s; }
.marquee-item:hover { filter: grayscale(0%); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Testimonials ─── */
.testimonials-section {}
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.testimonial-card {
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.testimonial-quote { font-size: 1rem; line-height: 1.75; color: var(--gray-600); margin-bottom: 2rem; font-weight: 300; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.15rem; }
.author-role { font-size: 0.8rem; color: var(--gray-400); }

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding: 8rem 5%;
  background: var(--black);
  color: var(--white);
  border-radius: 24px;
  margin: 0 3% 5rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, transparent 60%);
  animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow { from { transform: scale(1); } to { transform: scale(1.2); } }
.cta-section .display-lg { color: var(--white); margin-bottom: 1.5rem; }
.cta-section .body-lg { color: rgba(255,255,255,0.5); margin-bottom: 3rem; }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.cta-section .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

/* ─── Contact Section ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start; }
.contact-info {}
.contact-info p { color: var(--gray-600); margin: 1.5rem 0 2.5rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; font-size: 0.9rem; }
.contact-detail-label { color: var(--gray-400); min-width: 80px; font-size: 0.8rem; margin-top: 0.1rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--gray-600); }
.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-control:focus {
  border-color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--gray-200); padding: 5rem 5% 3rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 4rem; margin-bottom: 5rem; }
.footer-brand {}
.footer-logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.footer-logo-img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}
@media (max-width: 768px) {
  .footer-logo-img {
    height: 2rem;
  }
}
.footer-brand p { font-size: 0.875rem; color: var(--gray-400); line-height: 1.6; max-width: 220px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--gray-400); transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--black); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.footer-copy { font-size: 0.8rem; color: var(--gray-400); }
.footer-socials { display: flex; gap: 1.25rem; }
.footer-socials a { font-size: 0.875rem; color: var(--gray-400); transition: color 0.25s; }
.footer-socials a:hover { color: var(--black); }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 5% 5rem;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero-inner { max-width: 700px; }
.page-hero-inner .text-label { margin-bottom: 1.5rem; }

/* ─── Alert / Flash Messages ─── */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }

/* ─── Tag / Badge ─── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* ─── Horizontal Line ─── */
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 4rem 0; }

/* ─── Breadcrumb ─── */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.breadcrumb a { transition: color 0.25s; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb-sep { color: var(--gray-200); }

/* ─── FAQ Accordion ─── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  text-align: left;
  cursor: none;
  transition: color 0.25s;
  color: var(--black);
}
.faq-trigger:hover { color: var(--gray-600); }
.faq-icon { font-size: 1.25rem; transition: transform 0.4s var(--transition); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--transition); }
.faq-content { padding: 0 0 1.5rem; color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; }

/* ─── Image placeholder ─── */
.img-placeholder {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about-section { grid-template-columns: 1fr; gap: 4rem; }
  .services-header { flex-direction: column; gap: 2rem; }
  .services-header-right { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-brand { grid-column: span 2; }
  .pricing-section { padding: 3rem 2rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.highlight { transform: none; }
  .pricing-card.highlight:hover { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-footer { flex-direction: column; align-items: flex-start; }
  .hero-desc { max-width: 100%; }
  .stats-grid { flex-direction: column; align-items: center; gap: 4rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; }
  .cta-section { border-radius: 16px; margin: 0 0 3rem; padding: 5rem 2rem; }
  .pricing-section { border-radius: 16px; margin: 0; }
  .section { padding: 5rem 0; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero { padding: calc(var(--nav-h) + 2rem) 5% 3rem; }
}

/* ─── Image real styling ─── */
.aspect-video { aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; }
.aspect-square { aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.object-cover { object-fit: cover; width: 100%; height: 100%; }

/* ─── Smooth transitions for page changes ─── */
.page-transition {
  animation: pageIn 0.6s var(--transition-slow) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




.blog-img-wrap {
  width: 100% !important;
  max-width: 100% !important;
  height: 260px !important;
  min-height: 260px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: var(--gray-100) !important;
  margin-bottom: 1.25rem !important;
  position: relative !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.blog-img-wrap img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  transition: transform 0.6s var(--transition) !important;
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.04) !important; }

.blog-card h3 {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  margin-bottom: 0.75rem !important;
  position: static !important;
  inset: auto !important;
}



/* Ensure page is always visible on bfcache restore */
.page-transition {
  opacity: 1;
  visibility: visible;
}


