/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e8e8e8;
  background: #0a0a0a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.dark-page { background: #0a0a0a; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,99,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-transparent {
  background: transparent;
}

header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  max-width: 120px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s;
}

.logo:hover { opacity: 0.7; }
.logo span { color: #c9a063; }

nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a063;
  transition: width 0.3s;
}

nav a:hover { color: #fff; }
nav a:hover::after { width: 100%; }

.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: #c9a063;
  padding: 12px 24px;
  border: 1px solid rgba(201,160,99,0.3);
  border-radius: 6px;
  transition: all 0.3s;
}

.header-phone:hover {
  background: rgba(201,160,99,0.1);
  border-color: #c9a063;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* ===== AOS ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
  transform: translateY(40px);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0);
}

/* Fix CSS animations that clash with AOS */
[data-aos].hero-tag, 
[data-aos].hero-title, 
[data-aos].hero-desc, 
[data-aos].hero-actions, 
[data-aos].hero-scroll-hint {
  transition: opacity 0.8s ease, transform 0.8s ease; 
  /* Reset traditional animation to avoid clash */
  animation: none !important;
}

/* Apply staggered delays manually for hero since inline delay via CSS var or inline style might be missing for those */
[data-aos].hero-title { transition-delay: 0.1s; }
[data-aos].hero-desc { transition-delay: 0.3s; }
[data-aos].hero-actions { transition-delay: 0.5s; }
[data-aos].hero-scroll-hint { transition-delay: 0.7s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.8) 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 180px 40px 120px;
}

.hero-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a063;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 32px;
}

.hero-title .line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.5s; }
.hero-title .line:nth-child(3) { animation-delay: 0.7s; }

.hero-title .gold {
  background: linear-gradient(135deg, #c9a063 0%, #f4d799 50%, #c9a063 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #c9a063;
  transform: translateZ(0);
  will-change: transform, opacity;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 680px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.1s;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.4s;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #c9a063, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-scroll-hint span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero-counter-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.hero-counters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.hc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hc-item strong {
  font-size: 32px;
  font-weight: 900;
  color: #c9a063;
  line-height: 1;
}

.hc-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hc-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}
/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn:hover::before { opacity: 1; }

.btn-gold {
  background: linear-gradient(135deg, #c9a063 0%, #b89254 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(201,160,99,0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,160,99,0.4);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

.btn-dark-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #2c2c2c;
}

.btn-dark-outline:hover {
  background: #2c2c2c;
  color: #fff;
}

.btn-full { width: 100%; }

/* ===== SECTIONS ===== */
.section-light {
  background: #111111;
  padding: 140px 0;
  position: relative;
}

.section-dark {
  background: #0a0a0a;
  padding: 140px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 80px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a063;
  margin-bottom: 16px;
}

.eyebrow-gold { color: #c9a063; }

.h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
}

.h2-white { color: #fff; }

.body-text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
}

.section-cta {
  text-align: center;
  margin-top: 64px;
}

/* ===== SPLIT LAYOUT ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-left .h2 {
  margin-bottom: 24px;
}

.split-left .body-text {
  margin-bottom: 32px;
}

/* ===== FEATURE GRID ===== */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feat-card {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: #c9a063;
}

.feat-num {
  font-size: 14px;
  font-weight: 900;
  color: rgba(201,160,99,0.3);
  margin-bottom: 16px;
}

.feat-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feat-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* ===== PROJECTS SHOWCASE ===== */
.projects-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
  align-items: stretch;
}

.proj-main {
  display: flex;
  flex-direction: column;
}

.proj-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proj-side .proj-card {
  flex: 1;
}

.proj-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  min-height: 240px;
}

.proj-card-large {
  flex: 1;
  min-height: 400px;
}

.proj-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.proj-card:hover img {
  transform: scale(1.08);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s;
}

.proj-card:hover .proj-overlay {
  opacity: 1;
}

.proj-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a063;
  margin-bottom: 12px;
}

.proj-overlay h3 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.proj-overlay p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.proj-link {
  font-size: 14px;
  font-weight: 600;
  color: #c9a063;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* ===== SERVICES ===== */
.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.svc-card {
  position: relative;
  background: #111111;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #222222;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
  border-color: #c9a063;
}

.svc-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(201,160,99,0.1);
  z-index: 1;
}

.svc-img-wrap {
  height: 240px;
  overflow: hidden;
}

.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.svc-card:hover .svc-img-wrap img {
  transform: scale(1.1);
}

.svc-body {
  padding: 32px;
}

.svc-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.svc-body p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.svc-arrow {
  font-size: 24px;
  color: #c9a063;
  transition: transform 0.3s;
  display: inline-block;
}

.svc-card:hover .svc-arrow {
  transform: translateX(8px);
}

/* ===== CALCULATOR ===== */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.calc-info .h2 {
  margin-bottom: 24px;
}

.calc-promise {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}

.cp-item span {
  color: #c9a063;
  font-weight: 700;
}

.calc-form-wrap {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 16px;
  padding: 48px;
  backdrop-filter: blur(20px);
}

/* removed empty calc-form */

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.cf-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.cf-field input,
.cf-field select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s;
}

.cf-field input:focus,
.cf-field select:focus {
  outline: none;
  border-color: #c9a063;
  background: rgba(255,255,255,0.08);
}

.cf-field input::placeholder {
  color: rgba(255,255,255,0.3);
}

#result {
  margin-top: 24px;
  padding: 24px;
  background: rgba(201,160,99,0.1);
  border: 1px solid rgba(201,160,99,0.3);
  border-radius: 12px;
  text-align: center;
  display: none;
}

#result.show {
  display: block;
  animation: fadeUp 0.5s ease;
}

/* ===== CTA FULL ===== */
.section-cta-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(10,10,10,0.9));
}

.cta-inner {
  position: relative;
  z-index: 2;
  padding: 80px 40px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  color: #fff;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-section a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #c9a063;
}

.footer-bottom {
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== AOS ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}
/* ===== PAGE HEADER (contacts, about) ===== */
.page-header {
  padding: 160px 0 80px;
  background: #0a0a0a;
  border-bottom: 1px solid #222222;
  text-align: center;
}

.page-header h1 {
  font-size: 56px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: #0a0a0a;
  border-radius: 16px;
  padding: 48px;
  border: 1px solid #222222;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #333333;
  border-radius: 8px;
  font-size: 15px;
  color: #ffffff;
  background: #111111;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c9a063;
  background: #161616;
  box-shadow: 0 0 0 4px rgba(201,160,99,0.1);
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #111111 inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}

.error-field {
  border-color: #ff4c4c !important;
  background: rgba(255, 76, 76, 0.05) !important;
}

input[type="checkbox"].error-field {
  outline: 2px solid #ff4c4c;
  outline-offset: 2px;
  background: transparent !important;
  animation: shakeError 0.4s ease-in-out;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #c9a063;
}

.checkbox-group label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 80px 0;
}

.blog-card {
  background: #111111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222222;
  transition: all 0.4s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: #c9a063;
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-card-body {
  padding: 28px;
}

.blog-card-date {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c9a063;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card-body p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ===== ARTICLE ===== */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
}

.article-body h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 48px 0 24px;
}

.article-body h3 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 36px 0 16px;
}

.article-body p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  padding-left: 28px;
  margin-bottom: 20px;
}

.article-body li {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ===== PROJECTS PAGE ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  background: #111111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222222;
  transition: all 0.4s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: #c9a063;
}

.project-img {
  height: 260px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-info {
  padding: 28px;
}

.project-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.project-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.project-meta span {
  font-size: 12px;
  font-weight: 600;
  color: #c9a063;
  background: rgba(201,160,99,0.1);
  padding: 6px 12px;
  border-radius: 4px;
}

.project-info p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-secondary {
  background: transparent;
  color: #c9a063;
  border: 2px solid #c9a063;
  padding: 12px 28px;
  font-size: 13px;
}

.btn-secondary:hover {
  background: #c9a063;
  color: #fff;
}
/* ===== STATS (old pages) ===== */
.stats {
  background: #1a1a1a;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: #c9a063;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.burger { display: none; }

.feat-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .split-layout { gap: 60px; }
  .calc-layout { gap: 60px; }
}

@media (max-width: 1024px) {
  .feat-grid-5 { grid-template-columns: repeat(2, 1fr); }

  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .calc-layout { grid-template-columns: 1fr; gap: 48px; }
  .projects-showcase { grid-template-columns: 1fr; }
  .services-row { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .feat-grid-5 { grid-template-columns: 1fr; gap: 24px; }

  .container { padding: 0 24px; }
  
  header { padding: 16px 0; }
  
  /* Mobile Navigation Container */
  nav { 
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  nav.active {
    right: 0;
  }
  
  nav a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #c9a063;
  }

  /* Hide header phone on mobile */
  .header-phone { display: none; }
  
  /* Burger Button Styling */
  .burger { 
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Must be above nav */
    padding: 0;
  }
  
  .burger span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Burger Active State (X) */
  .burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .logo { position: relative; z-index: 1001; }

  /* Prevent background scrolling when menu is open */
  body.nav-open {
    overflow: hidden;
  }
  
  .hero-inner { padding: 160px 24px 260px; }
  .hero-title { font-size: 42px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  
  .cta-btns { flex-direction: column; width: 100%; align-items: stretch; }
  .cta-btns .btn { width: 100%; max-width: 100%; }
  
  h1, h2, h3, .h1-page, .h2 { word-break: break-word; overflow-wrap: break-word; hyphens: auto; }
  
  .hero-counters { flex-wrap: wrap; gap: 24px; }
  .hc-sep { display: none; }
  
  .section-light,
  .section-dark { padding: 80px 0; }
  
  .h2 { font-size: 36px; }
  
  .feat-card { padding: 24px; }
  
  .calc-form-wrap { padding: 32px 24px; }
  .cf-row { grid-template-columns: 1fr; }
  
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 36px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .h2 { font-size: 28px; }
  .btn { padding: 14px 28px; font-size: 13px; }
  .stat-number { font-size: 36px; }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {
  /* Projects */
  .proj-gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .proj-gallery-main { height: 260px; }

  /* Cat cards */
  .cat-grid { grid-template-columns: 1fr; gap: 20px; }
  .cat-card-body { padding: 20px; }
  .cat-card-body h3 { font-size: 18px; }

  /* Split layout on contacts/about */
  .split-layout { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* About photo */
  .split-right div[style*="height:480px"] { height: 260px !important; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Feat grid */
  .feat-grid { grid-template-columns: 1fr !important; }

  /* Services */
  .services-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-content { grid-template-columns: 1fr; gap: 24px; }

  /* Section padding */
  .section-light, .section-dark { padding: 60px 0; }

  /* Page hero */
  .page-hero-inner { padding: 120px 24px 60px; }
  .h1-page { font-size: 36px; }

  /* Projects showcase */
  .projects-showcase { grid-template-columns: 1fr; }
  .proj-card-large { min-height: 280px; }
  .proj-card { min-height: 220px; }

  /* Calc modal */
  #calcModal > div { padding: 32px 20px !important; }

  /* Contact buttons */
  .split-right a[href*="t.me"],
  .split-right a[href*="tel"],
  .split-right a[href*="mailto"] { padding: 16px !important; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
/* ===== PAGE HERO (projects, blog etc) ===== */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(10,10,10,0.85));
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 180px 40px 100px;
}

.h1-page {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-hero-inner p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CATALOG GRID ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cat-card {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.cat-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(201,160,99,0.4);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.cat-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.cat-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.08);
}

.cat-card-body {
  padding: 28px;
}

.cat-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cat-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cat-meta span {
  font-size: 12px;
  font-weight: 600;
  color: #c9a063;
  background: rgba(201,160,99,0.1);
  padding: 6px 12px;
  border-radius: 4px;
}

.cat-card-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: 1fr; }
  .page-hero-inner { padding: 140px 24px 80px; }
}
/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-masonry {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.4s, box-shadow 0.4s;
  min-height: 260px;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-masonry { grid-template-columns: 1fr; }
}

/* ===== PROJECT GALLERY ===== */
.proj-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proj-gallery-main {
  width: 100%;
  height: 560px;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
}

.proj-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.proj-gallery-main:hover img {
  transform: scale(1.03);
}

.proj-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.proj-gallery-thumbs .thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.3s, outline 0.2s;
  outline: 2px solid transparent;
}

.proj-gallery-thumbs .thumb:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.proj-gallery-thumbs .thumb.active {
  opacity: 1;
  outline: 2px solid #c9a063;
}

@media (max-width: 768px) {
  .proj-gallery-main { height: 280px; }
  .proj-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ===== CALC MODAL ===== */
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== COMPREHENSIVE MOBILE FIX ===== */
@media (max-width: 768px) {

  /* Modal */
  #calcModal > div > div[style*="padding:48px"] {
    padding: 28px 20px !important;
    border-radius: 16px !important;
  }

  /* About photo */
  div[style*="height:480px"] {
    height: 240px !important;
  }

  /* Privacy page */
  div[style*="padding:50px"] {
    padding: 24px 16px !important;
  }

  /* Project CTA block */
  div[style*="padding:60px 40px"] {
    padding: 40px 20px !important;
  }

  /* Large headings in inline styles */
  h3[style*="font-size:32px"] {
    font-size: 22px !important;
  }
  h3[style*="font-size:26px"],
  h2[style*="font-size:28px"] {
    font-size: 20px !important;
  }

  /* Contact left column large links */
  a[style*="font-size:26px"] {
    font-size: 20px !important;
  }
  a[style*="font-size:22px"] {
    font-size: 18px !important;
  }

  /* Contact buttons text */
  div[style*="font-size:20px"] {
    font-size: 16px !important;
  }
  div[style*="font-size:18px"] {
    font-size: 15px !important;
  }

  /* About section text blocks */
  p[style*="font-size:17px"] {
    font-size: 15px !important;
  }

  /* Stats section */
  .stat-number { font-size: 32px !important; }

  /* Hero counters */
  .hc-item strong { font-size: 24px !important; }

  /* Section heads */
  .section-head { margin-bottom: 40px; }

  /* Feat grid on about */
  div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  /* About blocks */
  div[style*="margin-bottom:56px"] {
    margin-bottom: 32px !important;
  }

  /* CTA section */
  .cta-inner { padding: 60px 24px !important; }

  /* Page hero inner */
  .page-hero-inner { padding: 100px 20px 50px !important; }

  /* Gallery thumbs */
  .proj-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
  .proj-gallery-main { height: 240px !important; }

  /* Blog/project cards */
  .cat-grid { grid-template-columns: 1fr !important; }
  .cat-card-img { height: 200px !important; }

  /* Services */
  .svc-img-wrap { height: 180px !important; }

  /* Footer logo */
  .footer-content .logo { font-size: 16px !important; }
}

@media (max-width: 480px) {
  /* Extra small screens */
  div[style*="padding:48px"] { padding: 20px 16px !important; }
  div[style*="padding:40px"] { padding: 24px 16px !important; }

  .h1-page { font-size: 28px !important; }
  .hero-title { font-size: 30px !important; }

  div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  .proj-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
