/* ============================================
   AURORA ARCHITECT STUDIO — STYLE
   Modern Minimalist · Aurora Gradient Theme
   ============================================ */

/* ── CSS Variables ── */
:root {
  --midnight: #060b1f;
  --deep-blue: #0a1628;
  --soft-purple: #7c5cbf;
  --purple-glow: rgba(124, 92, 191, 0.15);
  --dark-teal: #0d4f5c;
  --teal-accent: #1a8a7d;
  --teal-glow: rgba(26, 138, 125, 0.15);
  --text-primary: #f0eef5;
  --text-secondary: rgba(240, 238, 245, 0.65);
  --text-tertiary: rgba(240, 238, 245, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --gradient-main: linear-gradient(135deg, #7c5cbf, #1a8a7d);
  --section-spacing: 120px;
  --container-width: 1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 92, 191, 0.4) transparent;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--midnight);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124, 92, 191, 0.4); border-radius: 3px; }

::selection { background: rgba(124, 92, 191, 0.3); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 500; line-height: 1.15; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0;
  background: var(--midnight);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader { text-align: center; }

.loader-brand {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  letter-spacing: 0.4em;
  color: var(--text-primary);
}

.loader-bar {
  width: 120px; height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 24px auto 0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  position: absolute; top: 0; left: 0;
  width: 40%; height: 100%;
  background: var(--gradient-main);
  border-radius: 2px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--gradient-main);
  z-index: 100001;
  transition: width 0.05s linear;
}

/* ── Navigation ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  padding: 12px 0;
  background: rgba(6, 11, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.logo-dot { color: var(--soft-purple); }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 20px; }

.lang-toggle { display: flex; align-items: center; gap: 8px; }

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  transition: color 0.3s ease;
  padding: 4px 2px;
}

.lang-btn.active { color: var(--text-primary); }
.lang-btn:hover { color: var(--text-secondary); }

.lang-divider {
  width: 1px; height: 14px;
  background: var(--glass-border);
}

.mobile-toggle {
  display: none;
  color: var(--text-primary);
  padding: 4px;
}

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(6, 11, 31, 0.97);
  backdrop-filter: blur(24px);
  z-index: 100000;
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px;
}

.mobile-close { color: var(--text-primary); padding: 4px; }

.mobile-links { display: flex; flex-direction: column; gap: 24px; }

.mobile-links a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.mobile-links a:hover { color: var(--text-primary); }

/* ── Section Helpers ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-purple);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 92, 191, 0.3);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* ── Aurora Glows ── */
.aurora-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.aurora-1 {
  width: 700px; height: 700px;
  background: rgba(124, 92, 191, 0.12);
  top: -250px; right: -150px;
  animation: auroraDrift 18s ease-in-out infinite;
}

.aurora-2 {
  width: 900px; height: 900px;
  background: rgba(13, 79, 92, 0.15);
  bottom: -350px; left: -250px;
  animation: auroraDrift 22s ease-in-out infinite reverse;
}

.aurora-3 {
  width: 500px; height: 500px;
  background: rgba(26, 138, 125, 0.08);
  top: 40%; left: 50%;
  animation: auroraDrift 15s ease-in-out infinite 3s;
}

.aurora-s1 {
  width: 600px; height: 600px;
  background: rgba(124, 92, 191, 0.1);
  top: -200px; left: -100px;
  animation: auroraDrift 16s ease-in-out infinite;
}

.aurora-s2 {
  width: 500px; height: 500px;
  background: rgba(26, 138, 125, 0.12);
  bottom: -200px; right: -100px;
  animation: auroraDrift 20s ease-in-out infinite reverse;
}

.aurora-c1 {
  width: 800px; height: 800px;
  background: rgba(124, 92, 191, 0.1);
  top: -300px; left: 20%;
  animation: auroraDrift 18s ease-in-out infinite;
}

.aurora-c2 {
  width: 600px; height: 600px;
  background: rgba(26, 138, 125, 0.12);
  bottom: -250px; right: 10%;
  animation: auroraDrift 22s ease-in-out infinite reverse;
}

@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 25px) scale(0.96); }
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--midnight) 0%, var(--deep-blue) 50%, #0d2833 100%);
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #d4cfe8 50%, #a8b8c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-tertiary);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 24px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: var(--soft-purple);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 22px; opacity: 0.3; }
}

/* ── ABOUT ── */
#about {
  padding: var(--section-spacing) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%; height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.about-image-accent {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.about-content .section-title { text-align: left; }

.about-text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-highlights {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.highlight { display: flex; flex-direction: column; }

.highlight-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ── PROJECTS ── */
#projects {
  padding: var(--section-spacing) 0;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover img { transform: scale(1.08); }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 11, 31, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.5s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 8px;
}

.project-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.project-location {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── PHILOSOPHY ── */
#philosophy {
  padding: var(--section-spacing) 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(124, 92, 191, 0.03), transparent);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.phil-card {
  padding: 36px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.phil-card:hover {
  background: var(--glass-hover);
  border-color: rgba(124, 92, 191, 0.2);
  transform: translateY(-4px);
}

.phil-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: #fff;
}

.phil-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.phil-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── SERVICE FLOW ── */
#services {
  padding: var(--section-spacing) 0;
  position: relative;
}

.service-flow {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 16px;
}

.flow-line {
  position: absolute;
  top: 34px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 92, 191, 0.25), rgba(26, 138, 125, 0.25));
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 92, 191, 0.2);
}

.flow-step h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 200px;
  margin: 0 auto;
}

/* ── SHOWCASES ── */
#architecture, #interior {
  padding: var(--section-spacing) 0;
  position: relative;
}

.showcase-grid {
  display: grid;
  gap: 16px;
}

.arch-grid {
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 280px;
}

.arch-grid .tall { grid-row: span 2; }

.int-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
}

.int-grid .wide { grid-column: span 2; }

.showcase-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.showcase-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-item:hover img { transform: scale(1.06); }

.showcase-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 11, 31, 0.4) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.showcase-item:hover::after { opacity: 0; }

/* ── STATISTICS ── */
#statistics {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124, 92, 191, 0.06), rgba(13, 79, 92, 0.08));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item { position: relative; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* ── TESTIMONIALS ── */
#testimonials {
  padding: var(--section-spacing) 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  padding: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.testi-card:hover {
  background: var(--glass-hover);
  border-color: rgba(124, 92, 191, 0.15);
  transform: translateY(-4px);
}

.testi-stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testi-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
}

.testi-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.testi-author span {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ── FAQ ── */
#faq {
  padding: var(--section-spacing) 0;
  position: relative;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--soft-purple); }

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--text-tertiary);
}

.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--soft-purple); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ── CTA ── */
#cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(124, 92, 191, 0.08), rgba(13, 79, 92, 0.1));
  border-top: 1px solid var(--glass-border);
}

.cta-content { text-align: center; max-width: 640px; margin: 0 auto; }

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.cta-form input::placeholder { color: var(--text-tertiary); }
.cta-form input:focus { border-color: var(--soft-purple); }

/* ── FOOTER ── */
#footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 6, 16, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--glass-hover);
  color: var(--text-primary);
  border-color: rgba(124, 92, 191, 0.3);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul a,
.contact-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-col ul a:hover { color: var(--text-primary); }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list .iconify { color: var(--soft-purple); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.inline-icon {
  display: inline-flex;
  vertical-align: middle;
  color: #e74c3c;
}

/* ── Back to Top ── */
#backToTop {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(124, 92, 191, 0.3);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(124, 92, 191, 0.4); }

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.35s; }

/* ── Language Transition ── */
body.lang-switching [data-i18n],
body.lang-switching [data-i18n-placeholder] {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --section-spacing: 80px; }

  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 360px; }

  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }

  .service-flow { flex-direction: column; gap: 32px; }
  .flow-line { display: none; }
  .flow-step { text-align: left; display: flex; gap: 20px; align-items: flex-start; }
  .step-number { margin: 0; flex-shrink: 0; }
  .flow-step p { max-width: none; margin: 0; }

  .arch-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .int-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .int-grid .wide { grid-column: span 2; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-spacing: 64px; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: 1rem; }

  .projects-grid { grid-template-columns: 1fr; }

  .philosophy-grid { grid-template-columns: 1fr; }

  .arch-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .arch-grid .tall { grid-row: span 1; }
  .int-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .int-grid .wide { grid-column: span 1; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-form { flex-direction: column; }
  .cta-form .btn-primary { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .about-highlights { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 2rem; }
}