/* ==============================================
   CLOSETS DIRECT - closetsdirect.ca
   Main Stylesheet
   ============================================== */

/* --- Variables --- */
:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #c9a96e;
  --accent-light: #dfc499;
  --accent-dark: #b08d4f;
  --white: #ffffff;
  --off-white: #f8f6f3;
  --light-gray: #eee9e2;
  --medium-gray: #999;
  --text: #2c2c2c;
  --text-light: #666;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --tr: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --radius-lg: 16px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); line-height: 1.7; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--tr); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.5px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: var(--tr); text-transform: uppercase;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3); }

/* --- Top Bar --- */
.topbar { background: var(--primary); color: var(--white); font-size: 0.82rem; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--accent-light); font-weight: 500; }
.topbar a:hover { color: var(--accent); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right .socials { display: flex; gap: 10px; }
.topbar-right .socials a { opacity: 0.7; }
.topbar-right .socials a:hover { opacity: 1; }

/* --- Navbar --- */
.navbar {
  background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); position: sticky; top: 0; z-index: 1000;
  -webkit-transform: translateZ(0); transform: translateZ(0);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 44px; height: 44px; background: var(--primary); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.logo-icon::before { content: ''; position: absolute; inset: 6px; border: 2px solid var(--accent); border-radius: 3px; }
.logo-icon::after { content: ''; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1.5px; background: var(--accent); transform: translateX(-50%); }
.logo-mark { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; color: var(--primary); line-height: 1; }
.logo-mark span { color: var(--accent); }
.logo-sub { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--medium-gray); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 10px 16px; font-size: 0.88rem; font-weight: 500; color: var(--text); border-radius: var(--radius); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-dark); background: rgba(201, 169, 110, 0.07); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta { margin-left: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); transition: var(--tr); border-radius: 2px; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 10000; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.mobile-overlay.active { display: block; }

/* --- Image Placeholders --- */
.img-placeholder { border-radius: 0; overflow: hidden; }
.service-card-img .img-placeholder { border-radius: 0; }
.service-detail-img .img-placeholder,
.about-image .img-placeholder { border-radius: 0; }

/* --- Hero (Home) --- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: var(--primary); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.78)); }
.hero-content { position: relative; z-index: 2; max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201, 169, 110, 0.12); border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 7px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  color: var(--accent-light); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lead { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; margin-bottom: 32px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 1px; }

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  position: relative; padding: 160px 0 80px; background: var(--primary);
  overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.96), rgba(22, 33, 62, 0.88));
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); }
.breadcrumb a { color: var(--accent-light); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.25); }

/* --- Sections --- */
.section { padding: 90px 0; }
.section-light { background: var(--off-white); }
.section-dark { background: var(--primary); color: var(--white); }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-label { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 10px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-light); font-size: 1rem; margin: 0; }
.section-dark .section-header p { color: rgba(255, 255, 255, 0.65); }

/* --- Service Cards --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--tr); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 240px; overflow: hidden; position: relative; background: var(--light-gray); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--tr); }
.service-card-img .img-placeholder { height: 100% !important; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 28px; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 16px; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
  color: var(--accent-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.service-card-link:hover { gap: 10px; color: var(--accent); }

/* --- Features --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px; }
.feature-item { text-align: center; padding: 36px 20px; }
.feature-icon {
  width: 68px; height: 68px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-item p { color: var(--text-light); font-size: 0.92rem; margin: 0; }

/* --- Process Steps --- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; counter-reset: step; }
.process-card {
  padding: 36px 24px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); text-align: center; counter-increment: step;
}
.process-card::before {
  content: counter(step, decimal-leading-zero); font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700; color: var(--light-gray); line-height: 1;
  display: block; margin-bottom: 14px;
}
.process-card h3 { margin-bottom: 10px; }
.process-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.testimonial-card { background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; }
.testimonial-card::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 4.5rem; color: var(--accent); opacity: 0.18; position: absolute; top: 8px; left: 20px; line-height: 1; }
.testimonial-stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 4px; }
.testimonial-text { font-size: 0.98rem; font-style: italic; margin-bottom: 20px; line-height: 1.8; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--white);
}
.testimonial-name { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.testimonial-role { font-size: 0.82rem; color: var(--medium-gray); }

/* --- Gallery --- */
.gallery-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.gallery-filter-btn {
  padding: 9px 22px; border: 2px solid var(--light-gray); background: var(--white);
  border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: var(--tr); color: var(--text); font-family: 'Inter', sans-serif;
}
.gallery-filter-btn:hover, .gallery-filter-btn.active { border-color: var(--accent); background: var(--accent); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--light-gray); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--tr); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(26, 26, 46, 0.85));
  opacity: 0; transition: var(--tr); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-size: 1rem; margin: 0; }
.gallery-overlay p { color: var(--accent-light); font-size: 0.82rem; margin: 4px 0 0; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--primary); padding: 72px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12), transparent); border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -40%; left: -8%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent); border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255, 255, 255, 0.65); font-size: 1.05rem; max-width: 500px; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* --- About Grid --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img-wrapper { position: relative; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; background: var(--light-gray); }
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-image .img-placeholder { border-radius: 0; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px; background: var(--accent);
  color: var(--white); padding: 20px 28px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge .number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; }
.about-badge .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.about-content p { color: var(--text-light); }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.value-item { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.9rem; }
.value-check {
  width: 22px; height: 22px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-check svg { width: 12px; height: 12px; stroke: var(--white); fill: none; stroke-width: 3; stroke-linecap: round; }

/* --- Service Detail (Services Page) --- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; background: var(--light-gray); }
.service-detail-img img { width: 100%; height: 380px; object-fit: cover; }
.service-detail-img .img-placeholder { border-radius: 0; }
.service-detail-content h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-detail-content p { color: var(--text-light); }
.service-list { margin: 16px 0; }
.service-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.92rem; }
.service-list li svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; flex-shrink: 0; }
.service-divider { border: none; border-top: 1px solid var(--light-gray); margin: 48px 0; }

/* --- Milestones --- */
.milestones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px; }
.milestone-card {
  text-align: center; padding: 36px 20px; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.milestone-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.milestone-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.milestone-card p { color: var(--text-light); font-size: 0.92rem; margin: 0; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info { background: var(--primary); border-radius: var(--radius-lg); padding: 40px; color: var(--white); }
.contact-info h3 { color: var(--white); margin-bottom: 10px; font-size: 1.4rem; }
.contact-info > p { color: rgba(255, 255, 255, 0.65); margin-bottom: 32px; font-size: 0.95rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 44px; height: 44px; background: rgba(201, 169, 110, 0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; }
.contact-detail-text h4 { color: var(--white); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.contact-detail-text p { color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; margin: 0; }
.contact-detail-text a { color: var(--accent-light); }
.contact-detail-text a:hover { color: var(--accent); }
.contact-hours { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.contact-hours h4 { color: var(--white); font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 14px; font-size: 0.95rem; }
.hours-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }

/* --- Contact Form --- */
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form-card h3 { margin-bottom: 6px; }
.contact-form-card > p { color: var(--text-light); margin-bottom: 28px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group .required { color: #e74c3c; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--light-gray);
  border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.92rem;
  color: var(--text); transition: var(--tr); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input[name="website"] { display: none; } /* Honeypot */
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; }
.form-message {
  margin-top: 14px; padding: 12px 18px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; display: none;
}
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }

/* --- Map --- */
.map-section { height: 380px; background: var(--light-gray); }
.map-section iframe { width: 100%; height: 100%; border: 0; }

/* --- Footer --- */
.site-footer { background: var(--primary); color: rgba(255, 255, 255, 0.65); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-brand .logo-mark { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--tr);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social a svg { width: 16px; height: 16px; fill: var(--white); }
.footer-col h4 {
  color: var(--white); font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 0.92rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col li a { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; }
.footer-col li a:hover { color: var(--accent-light); padding-left: 3px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255, 255, 255, 0.45); }
.footer-links a:hover { color: var(--accent-light); }

/* --- Animations --- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92);
  z-index: 9999; display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px; background: none; border: none;
  color: var(--white); font-size: 2rem; cursor: pointer; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.1); }

/* --- Responsive --- */
@media (max-width: 992px) {
  .about-grid, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-detail.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; }
  .about-badge { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 14px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100%;
    height: -webkit-fill-available; background: var(--white); flex-direction: column;
    padding: 70px 28px 28px; box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease; align-items: flex-start; z-index: 10001;
    -webkit-overflow-scrolling: touch; overflow-y: auto; display: flex;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    width: 100%; padding: 14px 0; border-bottom: 1px solid var(--light-gray);
    display: block; -webkit-tap-highlight-color: rgba(201, 169, 110, 0.2);
    touch-action: manipulation; cursor: pointer; color: var(--text); font-size: 0.95rem;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
  .nav-cta { margin-left: 0; margin-top: 14px; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; -webkit-tap-highlight-color: rgba(201, 169, 110, 0.2); touch-action: manipulation; }
  .hamburger { display: flex; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .hero { min-height: 75vh; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-buttons { flex-direction: column; }
  .services-grid, .gallery-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
}
