/* ===== Variables ===== */
:root {
  --bg: #F7F7F5;
  --bg-elevated: #26292D;
  --bg-card: #26292D;
  --surface: #45484C;
  --border: rgba(174, 180, 184, 0.28);
  --text: #F7F7F5;
  --text-muted: rgba(247, 247, 245, 0.72);
  --text-dark: #26292D;
  --accent: #45484C;
  --accent-hover: #26292D;
  --accent-soft: rgba(174, 180, 184, 0.22);
  --success: #AEB4B8;
  --white: #FFFFFF;
  --cream: #F7F7F5;
  --navy: #26292D;
  --gold: #45484C;
  --charcoal: #26292D;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 40px rgba(23, 25, 28, 0.12);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font: inherit; color: inherit; border: none; outline: none; background: none;
}
button { cursor: pointer; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* ===== Loader ===== */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--accent); margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.loader-bar { width: 180px; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader-progress {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  animation: load 1.2s ease forwards;
}
@keyframes load { to { width: 100%; } }

/* ===== Header ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#header.scrolled {
  background: rgba(23, 25, 28, 0.95); backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(23, 25, 28, 0.35);
}
#header:not(.scrolled) .nav-links a { color: rgba(247, 247, 245, 0.85); }
#header:not(.scrolled) .logo-text { color: var(--cream); }
#header.scrolled .nav-links a { color: rgba(247, 247, 245, 0.75); }
#header.scrolled .nav-links a:hover,
#header.scrolled .nav-links a.active { color: var(--cream); }
#header .logo-text { color: var(--cream); }
#header .menu-toggle span { background: var(--cream); }
.nav-container {
  display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #AEB4B8, #E5E7E8) !important;
  color: var(--navy) !important;
  display: grid; place-items: center; border-radius: 10px; font-size: 0.95rem; font-weight: 800;
}
.logo-text { font-size: 1.15rem; letter-spacing: -0.02em; }
.logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { flex-shrink: 0; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: var(--transition); border-radius: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #AEB4B8, #E5E7E8); color: var(--navy);
  box-shadow: 0 4px 20px rgba(174, 180, 184, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(174, 180, 184, 0.5); }
.btn-outline {
  border: 1.5px solid rgba(174, 180, 184, 0.5); color: var(--cream); background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--accent-soft); }
.btn-white { background: var(--cream); color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(247, 247, 245, 0.25); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Theme overrides */
.section-header h2 { color: var(--navy); }
.section-header p { color: var(--charcoal); opacity: 0.8; }
.section-tag { color: var(--gold) !important; }
.services .service-card, .portfolio-item, .about-card, .contact-form, .estimator-card, .testimonial-card {
  background: var(--navy); color: var(--cream); border-color: var(--border);
}
.service-card h3, .portfolio-info h3, .about-card h4, .testimonial-card p { color: var(--cream); }
.service-card p, .portfolio-info p, .about-card p { color: var(--text-muted); }
.learn-more { color: var(--gold) !important; }
.services-cta p { color: var(--charcoal); }
.process { background: var(--navy); }
.process .section-header h2, .process .section-header p, .process .step-content h3 { color: var(--cream); }
.process .step-content p { color: var(--text-muted); }
.process .step-num { background: var(--surface); border-color: var(--gold); color: var(--gold); }
.about-content h2 { color: var(--navy); }
.about-content > p { color: var(--charcoal); }
.about-list li { color: var(--charcoal); }
.testimonials { background: var(--navy); }
.testimonials .section-header h2 { color: var(--cream); }
.cta-banner { background: linear-gradient(135deg, #26292D 0%, #45484C 50%, #26292D 100%) !important; }
.cta-banner h2, .cta-banner p { color: var(--cream) !important; }
.contact .section-header h2 { color: var(--navy); }
.info-item h4 { color: var(--navy); }
.info-item p, .info-item a { color: var(--charcoal); }
.info-icon { background: var(--accent-soft); color: var(--gold); }
.contact-form label { color: var(--text-muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  background: var(--surface) !important; border-color: var(--border) !important; color: var(--cream) !important;
}
.footer { background: var(--navy); color: var(--cream); }
.footer-brand p, .footer-links a, .footer-contact p, .footer-bottom { color: var(--text-muted); }
.footer-links h4, .footer-contact h4 { color: var(--gold); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.stat-num { color: var(--gold) !important; }
.hero h1 span {
  background: linear-gradient(135deg, #AEB4B8, #FFFFFF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-badge { background: var(--accent-soft); color: var(--gold); border-color: rgba(174, 180, 184, 0.35); }
.service-icon { background: var(--accent-soft); color: var(--gold); }
.form-group input[type="range"]::-webkit-slider-thumb {
  background: var(--gold); box-shadow: 0 2px 8px rgba(174, 180, 184, 0.5);
}
.range-value, .result-range { color: var(--gold) !important; }
.quality-opt { background: var(--surface); border-color: var(--border); color: var(--text-muted); }
.quality-opt.selected { border-color: var(--gold); background: var(--accent-soft); color: var(--gold); }
.filter-btn { background: var(--navy); border-color: var(--border); color: var(--text-muted); }
.filter-btn:hover, .filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.modal-content { background: var(--navy); border-color: var(--border); color: var(--cream); }
.modal-body h3 { color: var(--cream); }
.modal-body p { color: var(--text-muted); }
.modal-close { background: var(--surface); color: var(--text-muted); }
.modal-close:hover { background: var(--gold); color: var(--navy); }
.dot.active { background: var(--gold); }
.stars { color: var(--gold); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding-top: var(--header-h); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, #26292D 0%, #26292D 45%, #45484C 100%),
    radial-gradient(ellipse at 70% 20%, rgba(174, 180, 184, 0.15), transparent 50%);
}
.hero-content { color: var(--cream); position: relative; z-index: 2; padding: 4rem 0 6rem; max-width: 800px; }
.hero-sub { color: rgba(247, 247, 245, 0.75) !important; }
.hero .stat-label { color: rgba(247, 247, 245, 0.65); }
.scroll-indicator { color: rgba(247, 247, 245, 0.6); }
.mouse { border-color: rgba(247, 247, 245, 0.5); }
.hero-overlay {
  position: absolute; inset: 0; opacity: 0.6;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes .shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; }
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -10%; right: -5%; opacity: 0.15; }
.shape-2 { width: 300px; height: 300px; background: #AEB4B8; bottom: 10%; left: -8%; opacity: 0.1; }
.hero-badge {
  display: inline-block; padding: 0.4rem 1rem; background: var(--accent-soft); color: var(--gold);
  border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem;
  border: 1px solid rgba(174, 180, 184, 0.35); letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero-sub { font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat { text-align: left; }
.stat-num { font-size: 1.85rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }
.stat-label { display: block; font-size: 0.8rem; margin-top: 0.2rem; }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7;
}
.mouse { width: 22px; height: 34px; border: 2px solid rgba(247, 247, 245,0.5); border-radius: 12px; position: relative; }
.mouse::before {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; background: var(--gold); border-radius: 2px; animation: scroll 1.5s infinite;
}
@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header.light .section-tag { color: var(--gold); }
.section-header.light h2, .section-header.light p { color: var(--cream); }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.85rem;
}
.section-header p { font-size: 1.05rem; }
/* ===== Services ===== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(174, 180, 184, 0.45);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem;
}
.service-card .learn-more {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.35rem; transition: gap var(--transition);
}
.service-card:hover .learn-more { gap: 0.6rem; }
.services-cta {
  text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.services-cta p { color: var(--charcoal); margin-bottom: 1rem; }

/* ===== Estimator ===== */
.estimator {
  background: linear-gradient(180deg, #26292D 0%, #45484C 100%);
  position: relative;
}
.estimator::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(174, 180, 184, 0.1), transparent 60%);
  pointer-events: none;
}
.estimator-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  max-width: 900px; margin: 0 auto; position: relative; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; transition: border-color var(--transition); color: var(--cream);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input[type="range"] {
  width: 100%; height: 6px; -webkit-appearance: none; appearance: none;
  background: var(--border); border-radius: 3px; outline: none;
}
.form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  background: var(--gold); border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 8px rgba(174, 180, 184, 0.5);
}
.range-value {
  text-align: right; font-size: 0.9rem; font-weight: 600; color: var(--gold); margin-top: 0.4rem;
}
.quality-options { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.quality-opt {
  flex: 1; min-width: 90px; padding: 0.7rem 0.8rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; text-align: center; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition); color: var(--text-muted);
}
.quality-opt.selected {
  border-color: var(--gold); background: var(--accent-soft); color: var(--gold);
}
.quality-opt input { display: none; }
.estimator-result {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 1.5rem; background: var(--surface);
  border-radius: var(--radius); border: 1px dashed var(--border);
}
.result-label {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.result-range {
  font-size: 1.75rem; font-weight: 800; color: var(--gold);
  margin-bottom: 1rem; letter-spacing: -0.02em;
}
.result-note {
  font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.5;
}

/* ===== Portfolio ===== */
.portfolio { background: var(--bg); }
.portfolio-filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}
.portfolio-item {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; transition: all var(--transition);
}
.portfolio-item:hover {
  transform: translateY(-6px); box-shadow: var(--shadow);
  border-color: rgba(174, 180, 184, 0.4);
}
.portfolio-img {
  height: 200px; background: linear-gradient(135deg, #45484C, #26292D);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.portfolio-img img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.portfolio-img .placeholder-icon {
  font-size: 3rem; color: var(--border); transition: transform var(--transition); position: relative; z-index: 0;
}
.portfolio-item:hover .placeholder-icon { transform: scale(1.1); color: var(--accent); }
.portfolio-img .cat-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 0.3rem 0.7rem; background: rgba(23, 25, 28, 0.9);
  backdrop-filter: blur(8px); border-radius: 6px; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold);
}
.portfolio-info { padding: 1.25rem 1.4rem; }
.portfolio-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.portfolio-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.portfolio-meta {
  display: flex; gap: 1rem; margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted);
}
.portfolio-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ===== Process ===== */
.process { background: var(--bg-elevated); }
.process-timeline { max-width: 720px; margin: 0 auto; position: relative; }
.process-timeline::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}
.process-step { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; position: relative; }
.process-step:last-child { margin-bottom: 0; }
.step-num {
  width: 56px; height: 56px; flex-shrink: 0; background: var(--surface);
  border: 2px solid var(--accent); border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
  color: var(--accent); z-index: 1;
}
.step-content { padding-top: 0.5rem; }
.step-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* ===== About ===== */
.about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.about-content .section-tag { margin-bottom: 0.75rem; }
.about-content h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.25rem; color: var(--navy);
}
.about-content > p { color: var(--charcoal); margin-bottom: 1rem; line-height: 1.7; }
.about-list { margin: 1.5rem 0 2rem; }
.about-list li {
  display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.7rem;
  font-size: 0.95rem; color: var(--charcoal);
}
.about-list i { color: var(--success); margin-top: 0.2rem; flex-shrink: 0; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.about-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; transition: all var(--transition);
}
.about-card:hover { border-color: rgba(174, 180, 184, 0.4); transform: translateY(-3px); }
.about-icon {
  width: 44px; height: 44px; background: var(--accent-soft); color: var(--accent);
  border-radius: 10px; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 1rem;
}
.about-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.about-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ===== Testimonials ===== */
.testimonials { background: var(--bg-elevated); }
.testimonial-slider { max-width: 800px; margin: 0 auto; overflow: hidden; position: relative; }
.testimonial-track {
  display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%; padding: 2.5rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center;
}
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1.25rem; }
.testimonial-card p {
  font-size: 1.15rem; font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; color: var(--cream);
}
.client strong { display: block; font-weight: 700; margin-bottom: 0.15rem; color: var(--cream); }
.client span { font-size: 0.85rem; color: var(--text-muted); }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border);
  cursor: pointer; transition: all var(--transition);
}
.dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, #26292D 0%, #45484C 50%, #26292D 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700; margin-bottom: 0.75rem; color: var(--cream);
}
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 1.75rem; color: var(--cream); }

/* ===== Contact ===== */
.contact { background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start;
}
.info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.info-icon {
  width: 48px; height: 48px; flex-shrink: 0; background: var(--accent-soft);
  color: var(--gold); border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem;
}
.info-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--navy); }
.info-item p, .info-item a { font-size: 0.9rem; color: var(--charcoal); line-height: 1.55; }
.info-item a:hover { color: var(--gold); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-elevated); border-top: 1px solid var(--border); padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.6; max-width: 280px;
}
.footer-links h4, .footer-contact h4 {
  font-size: 0.9rem; font-weight: 700; margin-bottom: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold);
}
.footer-links a {
  display: block; font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 0.55rem; transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; padding: 1.5rem 0;
  border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted);
}

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center;
  justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
}
.modal-content {
  position: relative; background: var(--navy); border: 1px solid var(--border);
  border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 85vh;
  overflow-y: auto; padding: 2rem; transform: translateY(20px); transition: transform 0.3s;
  color: var(--cream);
}
.modal.open .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px;
  border-radius: 50%; background: var(--surface); font-size: 1.4rem; color: var(--text-muted);
  display: grid; place-items: center; transition: all var(--transition);
}
.modal-close:hover { background: var(--gold); color: var(--navy); }
.modal-body h3 {
  font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; padding-right: 2rem; color: var(--cream);
}
.modal-body p { color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.modal-meta {
  display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-muted);
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.modal-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 3000; background: var(--success);
  color: var(--white); padding: 1rem 1.5rem; border-radius: 10px; font-weight: 600;
  font-size: 0.9rem; box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .estimator-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(23, 25, 28, 0.98); backdrop-filter: blur(16px);
    flex-direction: column; padding: 2rem; gap: 1.25rem;
    border-bottom: 1px solid var(--border); transform: translateY(-120%);
    opacity: 0; transition: all 0.35s; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .process-timeline::before { left: 22px; }
  .step-num { width: 44px; height: 44px; font-size: 0.85rem; }
  .about-visual { grid-template-columns: 1fr; }
  .scroll-indicator { display: none; }
}
@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
  .estimator-card { padding: 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 1500;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 1.7rem; box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, box-shadow 0.25s; text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

/* ===== Social Links ===== */
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.social-links a {
  width: 40px; height: 40px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--border); display: grid; place-items: center;
  color: var(--gold); font-size: 1rem; transition: all var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ===== Admin Dashboard ===== */
.admin-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1500;
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy);
  border: 1px solid var(--border); color: var(--gold); font-size: 1.1rem;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0.48;
  transition: all var(--transition);
}
.admin-toggle:hover, .admin-toggle:focus-visible { opacity: 1; background: var(--gold); color: var(--navy); transform: translateY(-2px); box-shadow: 0 0 18px rgba(201,168,108,.55); }
.admin-panel {
  position: fixed; top: 0; right: 0; width: min(420px, 100%); height: 100vh;
  background: var(--navy); border-left: 1px solid var(--border); z-index: 2500;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}
.admin-panel.open { transform: translateX(0); }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.admin-header h3 { font-size: 1.1rem; color: var(--cream); font-weight: 700; }
.admin-close {
  width: 36px; height: 36px; border-radius: 8px; background: var(--surface);
  color: var(--text-muted); font-size: 1.2rem; display: grid; place-items: center; cursor: pointer;
}
.admin-close:hover { background: var(--gold); color: var(--navy); }
.admin-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.admin-body label {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 0.4rem; margin-top: 1rem;
}
.admin-body label:first-child { margin-top: 0; }
.admin-body input, .admin-body select, .admin-body textarea {
  width: 100%; padding: 0.7rem 0.9rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; color: var(--cream); font-size: 0.9rem;
}
.admin-body input:focus, .admin-body select:focus, .admin-body textarea:focus {
  border-color: var(--gold); outline: none;
}
.admin-preview {
  margin-top: 0.75rem; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); max-height: 160px; background: var(--surface); display: none;
}
.admin-preview img { width: 100%; height: 160px; object-fit: cover; }
.admin-preview.show { display: block; }
.admin-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.admin-actions .btn { flex: 1; }
.admin-list { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.admin-list h4 {
  font-size: 0.85rem; color: var(--gold); margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.admin-item {
  display: flex; gap: 0.75rem; align-items: center; padding: 0.6rem;
  background: var(--surface); border-radius: 8px; margin-bottom: 0.5rem; border: 1px solid var(--border);
}
.admin-item img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--navy);
}
.admin-item-info { flex: 1; min-width: 0; }
.admin-item-info strong {
  display: block; font-size: 0.85rem; color: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-item-info span { font-size: 0.75rem; color: var(--text-muted); }
.admin-item-del {
  width: 32px; height: 32px; border-radius: 6px; background: rgba(220, 50, 50, 0.15);
  color: #e74c3c; display: grid; place-items: center; cursor: pointer; font-size: 0.85rem; border: none;
}
.admin-item-del:hover { background: #e74c3c; color: #fff; }
.admin-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.5; }

/* ===== Lahore Builder: Modern Natural Luxury palette ===== */
:root {
  --pearl-white: #FFFFFF;
  --porcelain: #F7F5F0;
  --mist-grey: #E5E7E8;
  --slate-grey: #AEB4B8;
  --forest: #263A35;
  --forest-soft: #314A43;
  --bronze: #B68A56;
  --bronze-hover: #C69B68;
  --graphite: #45484C;
  --charcoal: #26292D;
  --deep-graphite: #17191C;
  --bg: var(--porcelain);
  --bg-elevated: var(--pearl-white);
  --bg-card: var(--pearl-white);
  --surface: #EEF0EC;
  --text: var(--charcoal);
  --text-dark: var(--charcoal);
  --cream: var(--porcelain);
  --navy: var(--forest);
  --gold: var(--bronze);
  --accent: var(--bronze);
  --accent-hover: var(--bronze-hover);
  --accent-soft: rgba(182, 138, 86, 0.15);
  --border: rgba(38, 58, 53, 0.14);
  --text-muted: #626A66;
  --success: #547A68;
  --shadow: 0 12px 35px rgba(23, 25, 28, 0.10);
}
body, .services, .portfolio, .about, .contact { background-color: var(--porcelain); color: var(--charcoal); }
#header.scrolled { background: rgba(38, 58, 53, 0.96); box-shadow: 0 5px 28px rgba(23, 25, 28, 0.18); }
.logo-mark { background: linear-gradient(135deg, var(--bronze), var(--bronze-hover)) !important; color: var(--forest) !important; }
.logo-text span { color: var(--bronze); }
.nav-links a::after { background: var(--bronze); }
.btn-primary { background: linear-gradient(135deg, var(--bronze), var(--bronze-hover)); color: #17231F; box-shadow: 0 5px 18px rgba(182, 138, 86, 0.28); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(182, 138, 86, 0.35); }
.btn-outline { border-color: rgba(198, 155, 104, 0.75); }
.btn-outline:hover { color: var(--bronze-hover); background: rgba(182, 138, 86, 0.10); }
.btn-white { background: var(--porcelain); color: var(--forest); }
.section-header h2, .about-content h2, .contact .section-header h2 { color: var(--forest); }
.section-tag { color: var(--bronze) !important; }
.services .service-card, .portfolio-item, .about-card, .contact-form, .estimator-card, .testimonial-card { background: var(--pearl-white); color: var(--charcoal); border-color: var(--border); box-shadow: 0 8px 28px rgba(23, 25, 28, 0.06); }
.service-card h3, .portfolio-info h3, .about-card h4, .testimonial-card p, .modal-body h3 { color: var(--charcoal); }
.service-card p, .portfolio-info p, .about-card p, .modal-body p { color: #626A66; }
.learn-more { color: var(--forest) !important; }
.service-icon, .info-icon { background: rgba(182, 138, 86, 0.14); color: var(--forest); }
.service-card:hover, .portfolio-item:hover, .about-card:hover { border-color: rgba(182, 138, 86, 0.55); }
.process, .testimonials { background: var(--forest); }
.process .section-header h2, .process .section-header p, .process .step-content h3, .testimonials .section-header h2 { color: var(--porcelain); }
.process .step-content p { color: rgba(247, 245, 240, 0.78); }
.process .step-num { background: var(--forest-soft); border-color: var(--bronze); color: var(--bronze-hover); }
.cta-banner { background: linear-gradient(135deg, #1D302B 0%, var(--forest) 55%, #3A5148 100%) !important; }
.cta-banner h2, .cta-banner p { color: var(--porcelain) !important; }
.info-item h4 { color: var(--forest); }
.info-item p, .info-item a { color: var(--charcoal); }
.contact-form label { color: var(--charcoal); }
.contact-form input, .contact-form select, .contact-form textarea, .form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group select, .form-group textarea { background: #FFFFFF !important; border: 1px solid #D9DED9 !important; color: var(--charcoal) !important; }
.contact-form input::placeholder, .contact-form textarea::placeholder, .form-group input::placeholder, .form-group textarea::placeholder { color: #737B76; }
.footer { background: #1D302B; color: var(--porcelain); }
.footer-links h4, .footer-contact h4 { color: var(--bronze-hover); }
.footer-links a:hover, .footer-contact a:hover { color: var(--bronze-hover); }
.stat-num, .range-value, .result-range, .stars { color: var(--bronze) !important; }
.hero h1 span { background: linear-gradient(135deg, #E3C49B, var(--bronze-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-badge { background: rgba(182, 138, 86, 0.16); color: #E3C49B; border-color: rgba(198, 155, 104, 0.38); }
.hero-bg { background: linear-gradient(145deg, #172923 0%, var(--forest) 58%, #3A5148 100%) !important; }
.hero-sub { color: rgba(247, 245, 240, 0.80) !important; }
.hero .stat-label { color: rgba(247, 245, 240, 0.70); }
.scroll-indicator { color: rgba(247, 245, 240, 0.72); }
.mouse { border-color: rgba(247, 245, 240, 0.58); }
.shape-1 { background: var(--bronze); }
.shape-2 { background: #779785; }
.form-group input[type="range"]::-webkit-slider-thumb { background: var(--bronze); box-shadow: 0 2px 8px rgba(182, 138, 86, 0.35); }
.quality-opt { background: #FFFFFF; border-color: #D9DED9; color: var(--charcoal); }
.quality-opt.selected, .filter-btn:hover, .filter-btn.active, .modal-close:hover { background: var(--forest); border-color: var(--forest); color: var(--porcelain); }
.filter-btn { background: #FFFFFF; border-color: #D9DED9; color: var(--charcoal); }
.modal-content { background: #FFFFFF; color: var(--charcoal); border-color: var(--border); }
.modal-body h3 { color: var(--forest); }
.modal-close { background: var(--porcelain); color: var(--charcoal); }
.portfolio-img { height: 220px; background: linear-gradient(135deg, var(--forest-soft), var(--forest)); }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.45s ease; }
.portfolio-item:hover .portfolio-img img { transform: scale(1.045); }
.portfolio-img .cat-badge { background: rgba(29, 48, 43, 0.92); color: #E3C49B; }
.portfolio-meta { color: #626A66; }

.portfolio-disclaimer { margin: 1.25rem auto 0; max-width: 850px; text-align: center; color: #6B726E; font-size: 0.78rem; line-height: 1.5; }


/* Improved social icon contrast and visibility */
.social-links a {
  background: var(--forest-green, #263A35) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.35);
  width: 44px; height: 44px; font-size: 1.25rem;
  border-radius: 50%; flex-shrink: 0;
}
.social-links a i { display: inline-block; line-height: 1; opacity: 1; visibility: visible; }
.social-links a:hover { background: var(--gold, #B68A56) !important; color: #17191C !important; }

/* Branded logo asset */
.brand-logo { display:block; width: min(270px, 100%); height:auto; max-height:58px; object-fit:contain; object-position:left center; }
.footer-brand .brand-logo { width:min(285px, 100%); max-height:64px; }
#header .brand-logo { width:min(270px, 100%); }
.footer-contact .service-region { color:var(--bronze-hover); font-weight:700; letter-spacing:.02em; margin-top:.65rem; }
@media (max-width: 480px) { .brand-logo { width:205px; max-height:48px; } #header .brand-logo { width:205px; } .footer-brand .brand-logo { width:240px; } }

/* Logo clarity and subtle gold glow on hover */
.logo { position: relative; isolation: isolate; }
.brand-logo {
  opacity: 1 !important;
  visibility: visible !important;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.16));
  transition: filter .28s ease, transform .28s ease;
}
.logo:hover .brand-logo,
.logo:focus-visible .brand-logo {
  filter: drop-shadow(0 0 3px rgba(201,168,108,.95))
          drop-shadow(0 0 9px rgba(201,168,108,.72))
          drop-shadow(0 0 16px rgba(201,168,108,.42));
  transform: scale(1.025);
}
.logo:focus-visible { outline: 2px solid #C9A86C; outline-offset: 5px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .brand-logo { transition: none; }
  .logo:hover .brand-logo, .logo:focus-visible .brand-logo { transform: none; }
}

/* Project photo dashboard controls */
.admin-preview { display:none; margin-top:12px; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.admin-preview.show { display:block; }
.admin-preview img { display:block; width:100%; max-height:220px; object-fit:contain; background:rgba(255,255,255,.04); }
.admin-items, #adminItems { display:grid; gap:8px; margin-top:10px; }
.admin-item { display:flex; flex-direction:column; gap:4px; width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:8px; background:var(--surface); color:var(--cream); text-align:left; cursor:pointer; }
.admin-item:hover, .admin-item:focus-visible { border-color:var(--gold); outline:none; }
.admin-item small { color:var(--text-muted); font-size:.75rem; }
.admin-toggle { z-index:2600; }

/* Password gate and favicon manager */
.admin-login { margin:auto; width:calc(100% - 2.5rem); max-width:340px; padding:2rem 1.25rem; text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:16px; }
.admin-login[hidden], .admin-content[hidden] { display:none !important; }
.login-lock { font-size:2rem; color:var(--gold); margin-bottom:.75rem; }
.admin-login h3 { margin-bottom:.5rem; color:var(--cream); }
.admin-login p { color:var(--text-muted); font-size:.85rem; margin-bottom:1rem; }
.admin-login form { display:grid; gap:.8rem; }
.admin-login input { width:100%; padding:.8rem; border:1px solid var(--border); border-radius:8px; background:var(--navy); color:var(--cream); }
.admin-login-error { color:#ff9c9c !important; min-height:1.2em; margin-top:.75rem !important; }


/* Ensure dropdown text remains readable in native menus */
select, select option, .admin-body select option {
  color: #000000 !important;
  background-color: #FFFFFF !important;
}


/* Admin editor readability: black text in caption and description fields */
.admin-body label[for="adminCaption"], .admin-body label[for="adminFull"],
.admin-body textarea#adminCaption, .admin-body textarea#adminFull { color: #000 !important; }
.admin-body textarea#adminCaption, .admin-body textarea#adminFull { background: #fff !important; caret-color: #000; }
.admin-body textarea#adminCaption::placeholder, .admin-body textarea#adminFull::placeholder { color: #555 !important; opacity: 1; }
.admin-mode-select, .admin-mode-select option { color: #000 !important; background: #fff !important; }
.admin-body select option { color: #000; background: #fff; }
