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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* ── Accent: Indigo-Blue ── */
  --gold: #6B82E8;
  --gold-light: #8A9EF5;
  --gold-pale: rgba(107,130,232,0.15);
  /* ── Background: Deep Navy ── */
  --cream: #0D1128;
  --cream2: #141836;
  --white: #FFFFFF;
  /* ── Dark surfaces ── */
  --dark: #060A1C;
  --dark2: #0D1128;
  --dark3: #1A2048;
  /* ── Text ── */
  --text: #EEF0FF;
  --text2: #C0C8F0;
  --text3: #7A88C0;
  /* ── Borders & Shadows ── */
  --border: rgba(107,130,232,0.25);
  --border2: rgba(107,130,232,0.12);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.50);
  --shadow-gold: 0 8px 32px rgba(107,130,232,0.30);
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-xl: 20px;
  /* ── Aliases ── */
  --bg-elevated: #1A2048;
  --border-subtle: rgba(107,130,232,0.10);
  --text-muted: #7A88C0;
  --text-secondary: #A0ACDC;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; color-scheme: dark; }
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 2000;
  height: 76px; background: rgba(10,14,35,0.97);
  backdrop-filter: blur(20px); border-bottom: 1px solid rgba(64,86,168,0.15);
  display: flex; align-items: center; padding: 0 4vw; gap: 24px;
  box-shadow: 0 1px 20px rgba(64,86,168,0.12);
  overflow: visible;
  /* Ensure it stays on top of everything including hero z-index contexts */
  transform: translateZ(0);
  will-change: transform;
}
.navbar.scrolled {
  background: rgba(8,12,30,0.99);
  box-shadow: 0 2px 30px rgba(64,86,168,0.2);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.nav-logo-mark img, img.nav-logo-mark { object-fit: contain; width: 100%; height: 100%; border-radius: inherit; background: transparent; }
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #1050A0);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 17px; color: #fff; font-weight: 600;
}
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; color: var(--text); letter-spacing: 0.04em; line-height: 1; white-space: nowrap; }
.nav-logo-phone { font-size: 10px; color: rgba(180,190,240,0.65); letter-spacing: 0.06em; margin-top: 2px; white-space: nowrap; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(220,225,255,0.65); font-weight: 400; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  padding: 8px 20px; background: var(--gold); color: #fff;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  border-radius: 4px; transition: background 0.2s, transform 0.15s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-ham { display: none; flex-direction: column; gap: 5px; margin-left: auto; cursor: pointer; flex-shrink: 0; padding: 8px 4px; }
.nav-ham span { width: 22px; height: 1.5px; background: rgba(255,255,255,0.8); display: block; transition: all 0.3s; }

/* Mobile nav drawer */
.nav-drawer {
  display: none; position: fixed; top: 76px; left: 0; right: 0;
  background: rgba(10,14,35,0.99); border-bottom: 1px solid rgba(64,86,168,0.18);
  padding: 16px 4vw 20px; z-index: 1999;
  box-shadow: 0 8px 32px rgba(64,86,168,0.15);
  margin-top: 0;
}
.nav-drawer.open { display: block; }
.nav-drawer a { display: block; padding: 11px 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(220,225,255,0.80); border-bottom: 1px solid rgba(64,86,168,0.08); }
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--gold-light); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  height: 100vh; min-height: 560px;
  margin-top: 0;
  padding-top: 76px;
  display: flex; align-items: center; overflow: hidden;
  background: #0D1128;
  box-sizing: border-box;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15,10,5,0.88) 0%, rgba(15,10,5,0.35) 55%, rgba(0,0,0,0.10) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 6vw; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px; margin-bottom: 22px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.hero-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }
.hero h1 { font-size: clamp(44px, 6.5vw, 88px); line-height: 0.95; font-weight: 300; color: #fff; margin-bottom: 18px; }
.hero h1 em { color: var(--gold-light); font-style: italic; display: block; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.75; font-weight: 300; margin-bottom: 36px; max-width: 460px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-gold {
  padding: 13px 30px; background: var(--gold); color: #fff;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  border-radius: 4px; transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  padding: 13px 30px; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400;
  border-radius: 4px; transition: border-color 0.2s, color 0.2s, transform 0.15s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }
.hero-stats {
  position: absolute; right: 6vw; bottom: 72px; z-index: 2;
  display: flex; flex-direction: column; gap: 18px; text-align: right;
}
.hero-stat-n { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 300; color: var(--gold-light); line-height: 1; }
.hero-stat-l { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 8px;
}
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all 0.3s; cursor: pointer; }
.hero-dot.active { background: var(--gold-light); width: 22px; border-radius: 3px; }

/* ═══ SECTION HEADERS ═══ */
.sec-wrap { padding: 0 4vw; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 52px 0 24px; }
.sec-label { color: rgba(200,210,255,0.75); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; display: block; font-weight: 500; }
.sec-title { font-size: clamp(26px, 3.5vw, 44px); font-weight: 300; color: var(--text); line-height: 1.1; }
.sec-link { color: #C8CEEF; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; white-space: nowrap; }
.sec-link:hover { gap: 10px; }
.sec-link::after { content: '→'; }

/* ═══ WHY US ═══ */
.why-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 4vw 0; }
.why-card {
  background: rgba(107,130,232,0.08); border: 1px solid rgba(107,130,232,0.20); border-radius: var(--radius-lg);
  padding: 24px 20px; box-shadow: var(--shadow-sm); text-align: center;
  transition: box-shadow 0.2s, transform 0.2s; position: relative; overflow: hidden;
}
.why-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.why-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-pale); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.why-icon svg { width: 24px; height: 24px; }
.why-num { color: #F0F2FF; font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: var(--gold); line-height: 1; }
.why-label { font-size: 12px; color: var(--text2); margin-top: 4px; letter-spacing: 0.04em; font-weight: 400; }
.why-desc { font-size: 12px; color: #9AA4D8; margin-top: 8px; line-height: 1.6; font-weight: 300; }

/* ═══ CATEGORY MOSAIC — portrait/landscape aware ═══ */
.cat-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 4vw 8px; }
.cat-block {
  background: rgba(107,130,232,0.08); border: 1px solid rgba(107,130,232,0.18); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; text-decoration: none; display: flex; flex-direction: column;
}
.cat-block:hover { box-shadow: var(--shadow-gold); transform: translateY(-4px); border-color: var(--border); }
.cat-block.big { grid-column: span 2; }
.cat-block-header { padding: 16px 16px 12px; display: flex; align-items: center; justify-content: space-between; }
.cat-block-title { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; color: #F0F2FF; line-height: 1.2; }
.cat-block-count { font-size: 10px; color: var(--text3); letter-spacing: 0.06em; margin-top: 2px; }
.cat-block-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-block-icon svg { width: 18px; height: 18px; }

/* cat-cover: image container that adapts shape based on photo orientation */
.cat-cover {
  width: 100%; flex-shrink: 0;
  aspect-ratio: 4/3; /* default: landscape */
  overflow: hidden; position: relative; background: var(--cream2);
  transition: aspect-ratio 0.3s;
}
.cat-cover.portrait {
  aspect-ratio: 3/4; /* portrait photos get a taller container */
}
.cat-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s;
}
.cat-block:hover .cat-cover img { transform: scale(1.06); }
.cat-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,24,40,0.60) 0%, rgba(7,24,40,0.10) 50%, transparent 100%);
}

/* cat body (info below image) */
.cat-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cat-body-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cat-block-desc { font-size: 12px; color: rgba(200,210,255,0.75); line-height: 1.5; }

.cat-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 0 3px 3px; border-radius: 10px; overflow: hidden; }
.cat-block.big .cat-img-grid { grid-template-columns: repeat(3, 1fr); }
.cat-img-cell { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream2); }
.cat-img-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-block:hover .cat-img-cell img { transform: scale(1.06); }
.cat-img-cell-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 6px 5px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  font-size: 9px; letter-spacing: 0.04em; color: #fff; text-align: center; text-transform: uppercase;
}
.cat-block-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.cat-block-see { font-size: 11px; letter-spacing: 0.06em; color: var(--gold); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.cat-block-see::after { content: '→'; }
.cat-block-tag { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; background: var(--gold-pale); color: var(--gold); border-radius: 100px; }

/* ═══ DESIGN STYLES PILLS ═══ */
.styles-track { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.styles-track::-webkit-scrollbar { display: none; }
.style-pill { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.style-pill-img {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  border: 2px solid transparent; background: var(--cream2);
  transition: border-color 0.2s, transform 0.2s; flex-shrink: 0;
}
.style-pill:hover .style-pill-img { border-color: var(--gold); transform: scale(1.05); }
.style-pill-img img { width: 100%; height: 100%; object-fit: cover; }
.style-pill-name { font-size: 11px; letter-spacing: 0.06em; color: var(--text2); text-align: center; white-space: nowrap; }

/* ═══ PROJECTS SCROLL ROW ═══ */
.proj-scroll-track {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 8px 6vw 24px; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.proj-scroll-track::-webkit-scrollbar { display: none; }
.proj-card {
  flex: 0 0 320px; scroll-snap-align: start;
  background: rgba(107,130,232,0.08); border: 1px solid rgba(107,130,232,0.18); border-radius: 16px;
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-decoration: none; display: block;
  transition: box-shadow 0.3s, transform 0.25s;
}
.proj-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.14); transform: translateY(-5px); }
.proj-card-img {
  height: 240px; position: relative; overflow: hidden; background: var(--cream2);
}
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proj-card:hover .proj-card-img img { transform: scale(1.07); }
.proj-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,4,0,0.85) 0%, rgba(8,4,0,0.2) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.proj-card-style {
  display: inline-block; padding: 3px 10px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 100px; font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 7px; align-self: flex-start;
  backdrop-filter: blur(4px); background: rgba(0,0,0,0.15);
}
.proj-card-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; color: #fff; font-weight: 400; line-height: 1.2; }
.proj-card-meta { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 3px; }
.proj-card-body {
  padding: 13px 16px 15px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border2);
}
.proj-card-cat { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 500; }
.proj-card-arrow {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 14px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.proj-card:hover .proj-card-arrow { background: var(--gold); color: #fff; transform: translateX(2px); }

/* ═══ ALL PROJECTS GRID — project-card (public projects page) ═══ */
.project-card {
  background: rgba(107,130,232,0.08); border: 1px solid rgba(107,130,232,0.18); border-radius: 16px;
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-decoration: none; display: block;
  transition: box-shadow 0.3s, transform 0.25s;
}
.project-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.13); transform: translateY(-5px); }
.project-card-img {
  aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--cream2);
}
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,4,0,0.88) 0%, rgba(8,4,0,0.18) 52%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.project-card-style {
  display: inline-block; padding: 3px 10px; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px; font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 8px; align-self: flex-start;
  backdrop-filter: blur(4px); background: rgba(0,0,0,0.15);
}
.project-card-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #fff; font-weight: 400; line-height: 1.2; }
.project-card-meta { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 3px; }
.project-card-body {
  padding: 14px 18px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border2);
}
.project-card-category { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 500; }
.project-card-body::after {
  content: '→'; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.project-card:hover .project-card-body::after { background: var(--gold); color: #fff; }

/* ═══ CALCULATOR BANNER ═══ */
.calc-banner { background: rgba(255,255,255,0.12);
  margin: 48px 4vw; background: var(--dark); border-radius: var(--radius-xl);
  padding: 52px 6%; display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.calc-banner::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(192,154,74,0.12); }
.calc-banner::after { content: ''; position: absolute; right: -30px; top: -30px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(192,154,74,0.08); }
.calc-banner-tag { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.calc-banner h2 { font-size: clamp(24px, 3vw, 40px); font-weight: 300; color: #fff; margin-bottom: 10px; }
.calc-banner p { color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 300; max-width: 420px; line-height: 1.7; }
.calc-banner-text { position: relative; z-index: 1; }
.calc-banner-cta { position: relative; z-index: 1; flex-shrink: 0; }

/* ═══ TESTIMONIALS ═══ */
.testi-strip {
  background: rgba(107,130,232,0.05); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
  padding: 44px 4vw; margin: 48px 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.testi-item { padding: 0 24px; border-right: 1px solid var(--border2); }
.testi-item:last-child { border-right: none; }
.testi-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.testi-text { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.testi-author { color: rgba(200,210,255,0.6); font-size: 12px; color: var(--text3); letter-spacing: 0.06em; }
.testi-author strong { color: #D2AF5A; font-weight: 500; }

/* ═══ BLOG ROW ═══ */
.blog-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card {
  background: rgba(107,130,232,0.07); border: 1px solid var(--border2); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.22s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: var(--border); }
.blog-card-img { height: 180px; overflow: hidden; background: var(--cream2); }
.blog-card-img img { height: 100%; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 16px 18px 18px; }
.blog-card-date { color: rgba(200,210,255,0.6); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); margin-bottom: 7px; }
.blog-card-title { color: #F0F2FF; font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.blog-card-excerpt { color: rgba(200,210,255,0.7); font-size: 12px; color: var(--text2); line-height: 1.65; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-read { display: flex; align-items: center; gap: 5px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 12px; font-weight: 500; transition: gap 0.2s; }
.blog-card:hover .blog-card-read { gap: 9px; }
.blog-card-read::after { content: '→'; }

/* ═══ FOOTER ═══ */
.footer { background: rgba(6,10,28,0.95); padding: 60px 4vw 28px; border-top: none; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 44px; margin-bottom: 24px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.75; font-weight: 300; margin-top: 14px; }
.footer-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 13px; color: #fff; letter-spacing: 0.04em; line-height: 1.25; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 14px; font-family: 'DM Sans'; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.52); margin-bottom: 9px; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  min-height: 38vh; padding: 100px 5vw 52px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #0D1128;
}
.page-hero-slides { position: absolute; inset: 0; z-index: 0; }
.page-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease-in-out; }
.page-hero-slide.active { opacity: 1; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,8,4,0.85) 0%, rgba(12,8,4,0.45) 55%, rgba(12,8,4,0.18) 100%);
}
.page-hero-content { position: relative; z-index: 3; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 68px); font-weight: 300; color: #fff; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 15px; margin-top: 10px; font-weight: 300; }

/* ═══ FILTER BAR ═══ */
.filter-bar { padding: 24px 5vw; display: flex; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--border2); }
.filter-btn {
  padding: 7px 18px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text2); border: 1px solid var(--border2); border-radius: 100px;
  transition: all 0.2s; font-family: 'DM Sans'; background: rgba(107,130,232,0.07);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

/* ═══ ALL PROJECTS GRID ═══ */
.all-projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; padding: 40px 5vw; }

/* ═══ PROJECT DETAIL ═══ */
.project-hero-img { width: 100%; height: 60vh; object-fit: cover; margin-top: 76px; }
.project-detail { padding: 52px 5vw; display: grid; grid-template-columns: 1fr 320px; gap: 56px; }
.project-meta-card {
  background: rgba(107,130,232,0.08); border: 1px solid rgba(107,130,232,0.18); border-radius: var(--radius-lg);
  padding: 24px; position: sticky; top: 80px; align-self: start;
  box-shadow: var(--shadow-sm);
}
.project-meta-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border2); font-size: 13px; }
.project-meta-row:last-child { border-bottom: none; }
.project-meta-label { color: var(--text3); }
.project-meta-value { color: var(--text); font-weight: 400; }
.project-description { font-size: 15px; color: var(--text2); line-height: 1.85; font-weight: 300; }
.project-description p { margin-bottom: 16px; }
.media-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; }
.media-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.media-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.media-item:hover img { transform: scale(1.04); }

/* ═══ CALCULATOR PAGE ═══ */
.calc-page { max-width: 900px; margin: 0 auto; padding: 120px 5vw 80px; }
.calc-page h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 300; margin-bottom: 10px; color: var(--text); }
.calc-page .sub { color: var(--text2); font-size: 15px; font-weight: 300; margin-bottom: 44px; }
.calc-card { background: rgba(107,130,232,0.07); border: 1px solid var(--border2); border-radius: var(--radius-xl); padding: 36px; margin-bottom: 20px; box-shadow: var(--shadow-sm); color: var(--text); }
.calc-input-group { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.calc-input-wrap { flex: 1; min-width: 200px; }
.calc-input-wrap label { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); margin-bottom: 8px; }
.calc-input {
  width: 100%; padding: 13px 18px; background: rgba(255,255,255,0.06); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text); font-size: 22px; font-family: 'Cormorant Garamond', serif;
  transition: border-color 0.2s;
}
.calc-input:focus { outline: none; border-color: rgba(192,154,74,0.5); background: #2e2b3a; }
.calc-unit-toggle { display: flex; background: var(--cream2); border-radius: var(--radius-sm); border: 1px solid var(--border2); overflow: hidden; }
.calc-unit-btn { padding: 13px 20px; font-size: 12px; letter-spacing: 0.08em; color: var(--text3); transition: all 0.2s; font-family: 'DM Sans'; }
.calc-unit-btn.active { background: var(--gold-pale); color: var(--gold); }
.calc-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.calc-result-card {
  background: rgba(107,130,232,0.08); border: 1px solid rgba(107,130,232,0.18); border-radius: var(--radius-lg);
  padding: 20px 14px; text-align: center; box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.calc-result-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.calc-result-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 300; color: var(--gold); }
.calc-result-unit { font-size: 11px; color: var(--text3); margin: 2px 0 6px; }
.calc-result-label { font-size: 12px; color: var(--text2); }
.calc-disclaimer { font-size: 12px; color: var(--text3); line-height: 1.6; padding: 14px 18px; background: var(--gold-pale); border: 1px solid var(--border); border-radius: var(--radius-sm); }

/* ═══ BLOG PAGES ═══ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; padding: 40px 5vw 80px; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #1D1B24; border: 1px solid rgba(210,175,90,0.18); border-radius: var(--radius-xl); padding: 28px; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; transform: translateY(20px); transition: transform 0.25s; box-shadow: var(--shadow-lg); }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--text); }
.modal-close { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text2); font-size: 16px; cursor: pointer; transition: background 0.15s; }
.modal-close:hover { background: rgba(255,255,255,0.07); }
.upload-zone { border: 2px dashed rgba(192,154,74,0.3); border-radius: var(--radius-md); padding: 28px; text-align: center; cursor: pointer; transition: all 0.2s; position: relative; }
.upload-zone:hover { border-color: var(--gold); background: rgba(201,168,76,0.07); }
.upload-zone p { font-size: 12px; color: var(--text3); margin-top: 8px; }

/* ═══ UTILITIES ═══ */
.loading-indicator { text-align: center; padding: 60px; color: var(--text3); font-size: 14px; }
.skel { background: linear-gradient(90deg, #141836 25%, #1e2650 50%, #141836 75%); background-size: 200% 100%; animation: skel 1.4s infinite; border-radius: 14px; }
@keyframes skel { 0%{background-position:200%}100%{background-position:-200%} }
.section-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; display: block; font-weight: 500; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #0E0A1A; border: none; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.text-gold { color: var(--gold); }

/* ═══ LIGHTBOX ═══ */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 300; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.lightbox-close { position: fixed; top: 24px; right: 28px; font-size: 28px; color: #fff; cursor: pointer; opacity: 0.7; }
.lightbox-close:hover { opacity: 1; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .cat-mosaic { grid-template-columns: repeat(2, 1fr); }
  .cat-block.big { grid-column: span 2; }
  .why-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
/* At 900px, nav links hide and hamburger shows — also hide lang toggle from top bar */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right-actions .nav-cta { display: none; }
  .nav-right-actions .lang-dropdown { display: none; }
  .nav-ham { display: flex; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-ham { display: flex; }
  .navbar { height: 56px; padding: 0 4vw; gap: 8px; }
  .nav-drawer { top: 56px; }
  /* Hide lang toggle from top bar on mobile — it appears in the drawer */
  .nav-right-actions { display: none; }
  /* Logo sizing on mobile */
  .nav-logo-mark { width: 28px; height: 28px; font-size: 14px; }
  .nav-logo-name { font-size: 16px; }
  .nav-social { display: none; }
  .hero { height: 100svh; min-height: 460px; margin-top: 0; padding-top: 56px; box-sizing: border-box; display: flex; align-items: center; }
  .hero h1 { font-size: clamp(30px, 9vw, 46px); line-height: 1.1; }
  .hero-desc { font-size: 14px; max-width: 100%; }
  .hero-badge { font-size: 9px; }
  .hero-content { padding: 0 5vw; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; width: 100%; max-width: 280px; display: block; }
  .hero-stats { display: none; }
  .hero-dots { bottom: 20px; }
  .page-hero { padding: 80px 5vw 40px; min-height: 28vh; }
  .cat-mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-block.big { grid-column: span 2; }
  .cat-block.big .cat-img-grid { grid-template-columns: 1fr 1fr; }
  .why-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .why-card { padding: 18px 14px; }
  .why-num { font-size: 28px; }
  .why-desc { font-size: 11px; }
  .blog-row { grid-template-columns: 1fr; }
  .testi-strip { grid-template-columns: 1fr; margin: 32px 4vw 0; }
  .testi-item { border-right: none; border-bottom: 1px solid var(--border2); padding: 0 0 22px; }
  .calc-banner { flex-direction: column; text-align: center; padding: 28px 5vw; }
  .calc-banner h2 { font-size: 22px; }
  .project-detail { grid-template-columns: 1fr; }
  .project-meta-card { position: static; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sec-wrap { padding: 0 4vw; }
  .hiring-strip { flex-direction: column; gap: 14px; text-align: center; }
  .btn-hire { width: 100%; text-align: center; }
  .proj-scroll-track { gap: 14px; }
  .styles-track { padding: 0 0 12px; }
  .style-pill-img { width: 68px; height: 68px; }
  .style-pill-name { font-size: 10px; max-width: 72px; }
  .process-box-wrap { padding: 28px 5vw !important; }
  .process-flow { flex-direction: column; align-items: center; gap: 0; }
  .process-step { width: 100%; max-width: 340px; flex-direction: row; align-items: center; gap: 20px; min-width: unset; padding: 16px 0; border-bottom: 1px solid rgba(107,130,232,0.08); }
  .process-step:last-child { border-bottom: none; }
  .process-circle { width: 64px; height: 64px; flex-shrink: 0; }
  .process-circle svg { width: 28px; height: 28px; }
  .process-label { text-align: left; margin-top: 0; font-size: 14px; padding: 0; }
  .process-arrow { display: none !important; }
  .floating-btns { bottom: 80px !important; right: 14px !important; }
  .float-btn { width: 44px; height: 44px; }
  .float-hire { width: 48px !important; height: 48px !important; font-size: 8px !important; }
  .partner-logo-item { min-width: 140px; }
}

@media (max-width: 480px) {
  .cat-mosaic { grid-template-columns: 1fr !important; }
  .cat-block.big { grid-column: span 1; }
  .proj-scroll-track { }
  .footer-top { grid-template-columns: 1fr !important; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
  .hero h1 { font-size: clamp(26px, 8vw, 38px); }
  .why-strip { grid-template-columns: 1fr 1fr !important; }
  .sticky-cta { display: block; }
  .nav-logo-name { font-size: 15px; white-space: nowrap; }
}


/* ═══════════════════════════════════════════════════════════
   ADMIN — Complete Redesign
   Clean, professional, fully responsive
═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --adm-bg: #130D24;
  --adm-sidebar: #0A0716;
  --adm-sidebar-hover: rgba(255,255,255,0.05);
  --adm-sidebar-active: rgba(124,58,237,0.18);
  --adm-card: #1C1530;
  --adm-border: rgba(124,58,237,0.15);
  --adm-text: #EAE5D8;
  --adm-text2: #9E9890;
  --adm-text3: #5A5650;
  --adm-gold: #D2AF5A;
  --adm-gold-pale: #1E1040;
  --adm-red: #F08080;
  --adm-red-bg: #2A1212;
  --adm-green: #7EC8A0;
  --adm-green-bg: #0D2E1A;
  --adm-shadow: 0 1px 4px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
  --adm-radius: 12px;
}

/* ── Base ── */
.admin-body {
  font-family: 'DM Sans', sans-serif;
  background: var(--adm-bg);
  color: var(--adm-text);
  min-height: 100vh;
  color-scheme: dark;
}

/* ── Layout ── */
.admin-layout { display: flex; min-height: 100vh; }

/* ── Sidebar ── */
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--adm-sidebar);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
  transition: transform 0.3s ease;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-brand {
  padding: 22px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 10px;
}
.sidebar-brand-logo {
  width: 36px; height: 36px; border-radius: 6px; overflow: hidden;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
img.sidebar-brand-logo { object-fit: contain; width: 36px; height: 36px; }
.sidebar-brand-text { flex: 1; }
.sidebar-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; color: #fff; letter-spacing: 0.03em; line-height: 1.2;
}
.sidebar-brand-sub {
  font-size: 9px; color: var(--adm-gold);
  letter-spacing: 0.15em; text-transform: uppercase; margin-top: 1px;
}

.sidebar-nav { flex: 1; padding: 12px 0; }
.sidebar-section-label {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.22); padding: 14px 20px 6px;
  font-family: 'DM Sans';
}
.sidebar-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 20px; font-size: 13px;
  color: rgba(255,255,255,0.48);
  transition: background 0.15s, color 0.15s;
  cursor: pointer; text-decoration: none;
  border: none; background: none; width: 100%; text-align: left;
  font-family: 'DM Sans';
  border-left: 2px solid transparent;
}
.sidebar-link:hover {
  background: var(--adm-sidebar-hover);
  color: rgba(255,255,255,0.88);
}
.sidebar-link.active {
  background: var(--adm-sidebar-active);
  color: #D2AF5A;
  border-left-color: #D2AF5A;
}
.sidebar-link svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.7; }
.sidebar-link.active svg, .sidebar-link:hover svg { opacity: 1; }
.sidebar-link .link-badge {
  margin-left: auto; background: var(--adm-gold);
  color: #fff; font-size: 10px; padding: 1px 7px; border-radius: 100px;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
}
.sidebar-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(192,154,74,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--adm-gold); font-weight: 500;
  flex-shrink: 0;
}
.sidebar-user-email { font-size: 11px; color: rgba(255,255,255,0.38); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-logout-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.3); transition: color 0.2s; padding: 2px;
}
.sidebar-logout-btn:hover { color: #f87171; }

/* ── Mobile Sidebar Toggle ── */
.admin-topbar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px; background: var(--adm-card);
  border-bottom: 1px solid var(--adm-border);
  align-items: center; padding: 0 16px; gap: 14px;
  z-index: 49; box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}
.admin-menu-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--adm-bg); border: 1px solid var(--adm-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.admin-topbar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--adm-text); flex: 1;
}
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 49;
}
.sidebar-overlay.open { display: block; }

/* ── Main Content ── */
.admin-main {
  flex: 1;
  margin-left: 248px;
  min-height: 100vh;
  background: var(--adm-bg);
}
.admin-content {
  padding: 32px 36px;
  max-width: 1200px;
}

/* ── Page Header ── */
.adm-page-header {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.adm-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 400; color: var(--adm-text);
}
.adm-page-subtitle { font-size: 13px; color: var(--adm-text3); margin-top: 2px; }
.adm-header-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ── Buttons ── */
.adm-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500; border-radius: 6px;
  cursor: pointer; transition: all 0.18s; font-family: 'DM Sans';
  text-decoration: none; border: none; white-space: nowrap;
}
.adm-btn svg { width: 14px; height: 14px; }
.adm-btn-primary { background: var(--adm-gold); color: #fff; }
.adm-btn-primary:hover { background: #C9A030; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(192,154,74,0.3); }
.adm-btn-secondary { background: var(--adm-card); color: var(--adm-text2); border: 1px solid var(--adm-border); }
.adm-btn-secondary:hover { border-color: var(--adm-gold); color: var(--adm-gold); background: var(--adm-gold-pale); }
.adm-btn-danger { background: #2A1212; color: #F08080; border: 1px solid rgba(240,128,128,0.2); }
.adm-btn-danger:hover { background: #3A1818; border-color: rgba(240,128,128,0.4); }
.adm-btn-sm { padding: 6px 13px; font-size: 11px; }
.adm-btn-ghost { background: transparent; color: var(--adm-text3); border: 1px solid var(--adm-border); }
.adm-btn-ghost:hover { background: var(--adm-card); color: var(--adm-text); }

/* ── Stats Row ── */
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.adm-stat-card {
  background: var(--adm-card); border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius); padding: 20px 22px;
  box-shadow: var(--adm-shadow); display: flex; align-items: center; gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.adm-stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.09); }
.adm-stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--adm-gold-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.adm-stat-icon svg { width: 20px; height: 20px; }
.adm-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 300; color: var(--adm-gold); line-height: 1;
}
.adm-stat-label { font-size: 12px; color: var(--adm-text3); margin-top: 3px; }

/* ── Cards ── */
.adm-card {
  background: var(--adm-card); border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius); box-shadow: var(--adm-shadow);
  overflow: hidden;
}
.adm-card-header {
  padding: 18px 22px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--adm-border);
}
.adm-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; color: var(--adm-text);
}
.adm-card-body { padding: 20px 22px; }

/* ── Table ── */
.adm-table-wrap { overflow-x: auto; }
.adm-table {
  width: 100%; border-collapse: collapse; min-width: 500px;
}
.adm-table thead th {
  padding: 11px 16px; text-align: left; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--adm-text3);
  border-bottom: 1px solid var(--adm-border); font-weight: 400;
  white-space: nowrap; background: var(--adm-bg);
}
.adm-table tbody td {
  padding: 13px 16px; font-size: 13px; color: var(--adm-text2);
  border-bottom: 1px solid rgba(0,0,0,0.04); vertical-align: middle;
}
.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table tbody tr:hover td { background: rgba(192,154,74,0.03); }
.adm-table-thumb {
  width: 52px; height: 38px; border-radius: 6px;
  object-fit: cover; background: var(--adm-bg);
  display: block;
}
.adm-table-title { font-size: 14px; color: var(--adm-text); font-weight: 400; }
.adm-table-meta { font-size: 11px; color: var(--adm-text3); margin-top: 2px; }
.adm-table-actions { display: flex; gap: 8px; align-items: center; white-space: nowrap; }

/* ── Badges ── */
.adm-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 100px; font-size: 11px; letter-spacing: 0.04em;
}
.adm-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.adm-badge-green { background: var(--adm-green-bg); color: var(--adm-green); }
.adm-badge-green::before { background: var(--adm-green); }
.adm-badge-gray { background: rgba(255,255,255,0.05); color: var(--adm-text3); }
.adm-badge-gray::before { background: var(--adm-text3); }
.adm-badge-gold { background: var(--adm-gold-pale); color: var(--adm-gold); }
.adm-badge-gold::before { background: var(--adm-gold); }

/* ── Forms ── */
.adm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-form-group { margin-bottom: 16px; }
.adm-form-group.full { grid-column: 1 / -1; }
.adm-label {
  display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--adm-text3); margin-bottom: 7px; font-family: 'DM Sans';
}
.adm-input, .adm-select, .adm-textarea {
  width: 100%; padding: 10px 14px;
  background: #252330; border: 1px solid var(--adm-border);
  border-radius: 7px; color: var(--adm-text); font-size: 14px;
  font-family: 'DM Sans'; transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.adm-input:focus, .adm-select:focus, .adm-textarea:focus {
  border-color: var(--adm-gold); box-shadow: 0 0 0 3px rgba(192,154,74,0.1);
  background: #2e2b3a;
}
.adm-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.adm-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239E9080' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.adm-checkbox-group { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.adm-checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--adm-gold); cursor: pointer; }
.adm-checkbox-group label { font-size: 14px; color: var(--adm-text2); cursor: pointer; }

/* ── Upload Zone ── */
.adm-upload-zone {
  border: 2px dashed rgba(192,154,74,0.28); border-radius: 10px;
  padding: 28px 20px; text-align: center; cursor: pointer;
  transition: all 0.2s; position: relative; background: #252330;
}
.adm-upload-zone:hover { border-color: var(--adm-gold); background: var(--adm-gold-pale); }
.adm-upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.adm-upload-icon { margin: 0 auto 10px; opacity: 0.45; }
.adm-upload-text { font-size: 13px; color: var(--adm-text3); }
.adm-upload-text strong { color: var(--adm-gold); }

/* ── Preview strip ── */
.adm-preview-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.adm-preview-item {
  position: relative; width: 80px; height: 60px;
  border-radius: 7px; overflow: hidden; border: 1px solid var(--adm-border);
}
.adm-preview-item img, .adm-preview-item video { width: 100%; height: 100%; object-fit: cover; }
.adm-preview-remove {
  position: absolute; top: 3px; right: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,0.65); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; cursor: pointer; line-height: 1;
}

/* ── Modal ── */
.adm-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.adm-modal-overlay.open { opacity: 1; pointer-events: all; }
.adm-modal {
  background: var(--adm-card); border-radius: 16px;
  padding: 28px; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(16px); transition: transform 0.25s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.adm-modal-overlay.open .adm-modal { transform: translateY(0); }
.adm-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.adm-modal-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--adm-text); }
.adm-modal-close {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--adm-text3); font-size: 16px; transition: background 0.15s;
  background: none; border: none;
}
.adm-modal-close:hover { background: var(--adm-bg); }
.adm-modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--adm-border); }

/* ── Confirm Dialog ── */
.adm-confirm-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 300; padding: 20px;
}
.adm-confirm-box {
  background: var(--adm-card); border-radius: 14px;
  padding: 28px; max-width: 380px; width: 100%;
  text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.adm-confirm-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--adm-red-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.adm-confirm-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--adm-text); margin-bottom: 8px; }
.adm-confirm-msg { font-size: 13px; color: var(--adm-text2); line-height: 1.6; margin-bottom: 22px; }
.adm-confirm-actions { display: flex; gap: 10px; justify-content: center; }

/* ── Blog list ── */
.adm-blog-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--adm-border);
  transition: background 0.15s;
}
.adm-blog-item:last-child { border-bottom: none; }
.adm-blog-item:hover { background: rgba(192,154,74,0.03); }
.adm-blog-thumb {
  width: 72px; height: 52px; border-radius: 7px;
  object-fit: cover; flex-shrink: 0; background: #252330;
}
.adm-blog-thumb-placeholder {
  width: 72px; height: 52px; border-radius: 7px;
  background: #252330; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.adm-blog-info { flex: 1; min-width: 0; }
.adm-blog-title { font-size: 14px; color: var(--adm-text); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-blog-meta { font-size: 11px; color: var(--adm-text3); margin-top: 3px; }
.adm-blog-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; flex-wrap: wrap; }

/* ── Quill override for admin ── */
.ql-toolbar.ql-snow {
  border: 1px solid var(--adm-border) !important;
  border-bottom: none !important; border-radius: 8px 8px 0 0 !important;
  background: #241D3A !important; padding: 10px 12px !important;
}
.ql-container.ql-snow {
  border: 1px solid var(--adm-border) !important;
  border-radius: 0 0 8px 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important; min-height: 360px !important;
  background: #1A1825 !important;
}
.ql-editor { min-height: 320px !important; color: #EAE5D8 !important; line-height: 1.8 !important; padding: 18px 22px !important; background: #1A1825 !important; }
.ql-editor.ql-blank::before { color: #5A5650 !important; font-style: normal !important; }
.ql-snow .ql-stroke { stroke: #525A72 !important; }
.ql-snow .ql-fill { fill: #525A72 !important; }
.ql-snow .ql-picker { color: #525A72 !important; }
.ql-snow.ql-toolbar button:hover .ql-stroke, .ql-snow.ql-toolbar button.ql-active .ql-stroke { stroke: #D2AF5A !important; }
.ql-snow.ql-toolbar button.ql-active { color: #D2AF5A !important; }

/* ── Tab bar ── */
.adm-tab-bar {
  display: flex; gap: 0; margin-bottom: 24px;
  border-bottom: 1px solid var(--adm-border);
}
.adm-tab-btn {
  padding: 10px 20px; font-size: 13px; color: var(--adm-text3);
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.2s; font-family: 'DM Sans';
  background: none; border-top: none; border-left: none; border-right: none;
  letter-spacing: 0.03em;
}
.adm-tab-btn.active { color: var(--adm-gold); border-bottom-color: var(--adm-gold); }
.adm-tab-btn:hover { color: var(--adm-text); }

/* ── Empty state ── */
.adm-empty {
  text-align: center; padding: 60px 20px; color: var(--adm-text3);
}
.adm-empty svg { margin: 0 auto 14px; opacity: 0.25; }
.adm-empty p { font-size: 14px; }
.adm-empty strong { color: var(--adm-text2); }

/* ── Toast ── */
#adm-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  padding: 12px 20px; border-radius: 8px; font-size: 13px;
  font-family: 'DM Sans'; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ── Responsive Admin ── */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .admin-topbar { display: flex; }
  .admin-main { margin-left: 0; padding-top: 56px; }
  .admin-content { padding: 20px 16px; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
  .adm-form-grid { grid-template-columns: 1fr; }
  .adm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .adm-blog-item { flex-wrap: wrap; }
  .adm-blog-actions { width: 100%; justify-content: flex-end; margin-top: 8px; }
}
@media (max-width: 480px) {
  .adm-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .adm-stat-card { padding: 14px 16px; gap: 12px; }
  .adm-stat-num { font-size: 26px; }
  .adm-page-header { flex-direction: column; align-items: flex-start; }
  .adm-header-actions { width: 100%; }
  .adm-btn { font-size: 11px; padding: 8px 14px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 4vw 36px; }
  .hero h1 { font-size: 34px; }
  .cat-mosaic { grid-template-columns: 1fr; }
  .cat-block.big { grid-column: span 1; }
  .calc-banner { padding: 32px 5%; }
  .page-hero h1 { font-size: 30px; }
  .media-gallery { grid-template-columns: 1fr 1fr; }
  .testi-strip { padding: 28px 4vw; }
}

/* ============================================================
   SITE-WIDE SHARED STYLES (site.js features)
   ============================================================ */

/* NAVBAR new styles */
.nav-logo-img { width:56px; height:56px; object-fit:contain; flex-shrink:0; }
.nav-right-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; overflow:visible; position:relative; }
.lang-toggle { padding:5px 10px; font-size:10px; letter-spacing:0.08em; color:var(--gold); border:1px solid rgba(64,86,168,0.35); border-radius:4px; background:transparent; cursor:pointer; font-family:'DM Sans',sans-serif; transition:all 0.2s; }
.lang-toggle:hover { background:rgba(64,86,168,0.08); }


/* FLOATING BUTTONS */
.floating-btns { position:fixed !important; bottom:28px !important; right:24px !important; left:auto !important; top:auto !important; z-index:9999; display:flex; flex-direction:column; gap:10px; }
.float-btn { width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,0.4); transition:transform 0.2s, box-shadow 0.2s; text-decoration:none; flex-shrink:0; }
.float-btn:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,0.5); }
.float-wa { background:#25D366; }
.float-email { background:#7B2FBE; }
.float-hire { background:#7C3AED; width:54px; height:54px; }

/* FOOTER SOCIAL */
.footer-social { display:flex; gap:12px; margin-top:14px; flex-wrap:wrap; }
.footer-social-link { width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:#5A5650; transition:all 0.2s; }
.footer-social-link:hover { border-color:var(--gold); color:var(--gold); }
.footer-social-link svg { width:16px; height:16px; }

/* ═══ ADDITIONAL RESPONSIVE FIXES ═══ */

/* Proj scroll track - use grid on desktop, flex scroll on mobile */
@media (max-width: 768px) {
  .floating-btns { bottom: 80px !important; right: 14px !important; left: auto !important; top: auto !important; }
  .proj-scroll-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4vw 20px;
    gap: 14px;
  }
  .proj-card { flex: 0 0 78vw; max-width: 320px; }
  .why-card { padding: 18px 14px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-badge { font-size: 9px; padding: 4px 10px; }
  .hero-btns { gap: 10px; }
  .btn-gold, .btn-outline { padding: 11px 22px; font-size: 10px; }
  .filter-bar { padding: 16px 4vw; gap: 8px; }
  .filter-btn { padding: 6px 13px; font-size: 10px; }
  .all-projects-grid { padding: 24px 4vw; gap: 14px; }
  .blog-grid { padding: 24px 4vw 60px; }
  .page-hero { min-height: 22vh; }
  .floating-btns { bottom: 18px; right: 14px; }
  .float-btn { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .proj-card { flex: 0 0 88vw; }
  .proj-card-img { height: 200px; }
  .why-strip { gap: 8px; margin: 20px 3vw 0; }
  .why-num { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 13px; }
  .page-hero h1 { font-size: 28px; }
  .breadcrumb { font-size: 10px; }
  .calc-banner h2 { font-size: 22px; }
  .calc-banner p { font-size: 13px; }
  .blog-card-title { font-size: 16px; }
  .sec-title { font-size: 22px; }
  .project-card-title { font-size: 18px; }
  .adm-stats { grid-template-columns: 1fr 1fr; }
}

/* ── Fix project detail grid on tablet ── */
@media (max-width: 900px) {
  .project-detail { grid-template-columns: 1fr; gap: 28px; }
  .project-hero-img { height: 44vh; }
}

/* ── Prevent horizontal overflow everywhere ── */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, embed { max-width: 100%; }

/* ── Marquee responsive speed ── */
@media (max-width: 600px) {
  .marquee-track { gap: 32px; }
}

/* ═══ MOBILE RESPONSIVE FIXES ═══ */
@media (max-width: 480px) {
  /* Navbar */
  .navbar { padding: 0 4vw; gap: 8px; height: 56px; }
  .nav-drawer { top: 56px; }
  .nav-logo-name { font-size: 14px; }
  .nav-right-actions { display: none; }
  .nav-ham { display: flex; margin-left: auto; }

  /* Hero */
  .hero { height: 92svh; min-height: 420px; }
  .hero h1 { font-size: 34px; line-height: 1.15; }
  .hero-desc { font-size: 13px; }
  .hero-content { padding: 40px 5vw 60px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; }
  .btn-gold, .btn-outline { padding: 12px 20px; font-size: 11px; }
  .hero-dots { bottom: 20px; right: 5vw; }
  .hero-stats { display: none; }

  /* Why strip */
  .why-strip { grid-template-columns: 1fr 1fr; margin: 16px 3vw 0; }
  .why-card { padding: 16px 12px; }
  .why-num { font-size: 22px; }
  .why-icon { width: 32px; height: 32px; }

  /* Categories */
  .cat-mosaic { grid-template-columns: 1fr; gap: 12px; }
  .cat-block.big { grid-column: span 1; }

  /* Section padding */
  .sec-wrap { padding: 32px 4vw 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sec-title { font-size: 22px; }

  /* Projects */
  
  .proj-card-img { height: 220px; }

  /* Styles track */
  .style-pill-img { width: 64px; height: 64px; }
  .style-pill-name { font-size: 10px; max-width: 72px; }

  /* Calc banner */
  .calc-banner { padding: 24px 5vw; flex-direction: column; text-align: center; gap: 16px; }
  .calc-banner h2 { font-size: 20px; }
  .calc-banner p { font-size: 13px; }

  /* Testimonials */
  .testi-strip { grid-template-columns: 1fr; margin: 32px 4vw 0; }
  .testi-item { padding: 18px; }

  /* Blog */
  .blog-row { grid-template-columns: 1fr; }

  /* Hiring strip */
  .hiring-strip { background: rgba(255,255,255,0.12); flex-direction: column; padding: 20px; gap: 14px; }
  .hiring-strip h3 { font-size: 18px; }
  .btn-hire { width: 100%; text-align: center; padding: 12px; }

  /* Process flow */
  .process-flow { flex-direction: column; align-items: center; gap: 20px; }
  .process-step { min-width: unset; width: 100%; max-width: 280px; flex-direction: row; gap: 16px; align-items: center; }
  .process-circle { width: 60px; height: 60px; flex-shrink: 0; }
  .process-circle svg { width: 28px; height: 28px; }
  .process-label { text-align: left; margin-top: 0; padding: 0; }
  .process-arrow { display: none; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 20px; padding: 32px 5vw 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
  .floating-btns { bottom: 70px; right: 14px; }
  .float-btn { width: 44px; height: 44px; }
  .float-hire { width: 48px; height: 48px; }

  /* How we work box */
  .process-box-wrap { padding: 28px 4vw !important; }
}

@media (max-width: 360px) {
  .why-strip { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28px; }
  .nav-logo-name { font-size: 12px; }
}

/* Fix overflow issues globally */
.styles-track { -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
.proj-scroll-track { overflow-x: auto; -webkit-overflow-scrolling: touch; }
img { max-width: 100%; }
* { -webkit-tap-highlight-color: transparent; }

/* Office address footer links */
.footer-col a.footer-address { font-size:11px; line-height:1.7; color:rgba(255,255,255,0.42); word-break:break-word; margin-bottom:10px; }
.footer-col a.footer-address:hover { color:var(--gold-light); }
@media(max-width:480px) {
  .footer-col a[style*="line-height:1.6"] { font-size:11px; }
}
