/* ============================================================
   components.css — Reusable UI Components
   ============================================================ */

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); background: var(--bg-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); z-index: 1000; transition: all var(--t-normal) var(--ease); }
.navbar.scrolled { height: 64px; background: rgba(11,11,15,0.96); box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-diamond { width: 36px; height: 36px; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; transform: rotate(45deg); background: var(--bg-primary); transition: all var(--t-normal) var(--ease); flex-shrink: 0; }
.logo:hover .logo-diamond { background: var(--gold); }
.logo-diamond span { transform: rotate(-45deg); font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; color: var(--gold); transition: color var(--t-fast); }
.logo:hover .logo-diamond span { color: var(--bg-primary); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; background: linear-gradient(135deg, var(--white), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-tag { font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary); margin-top: 1px; }

.nav-menu { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
.nav-link { font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-secondary); padding: 0.4rem 0; position: relative; transition: color var(--t-fast); }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--t-normal) var(--ease); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: all var(--t-fast); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1024px) {
    .nav-menu { position: fixed; top: var(--nav-h); left: 0; width: 100%; height: calc(100vh - var(--nav-h)); background: var(--bg-primary); flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; transform: translateX(-100%); transition: transform var(--t-normal) var(--ease); border-top: 1px solid var(--border); }
    .nav-menu.open { transform: translateX(0); }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.85rem 1.8rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--t-normal) var(--ease); position: relative; overflow: hidden; white-space: nowrap; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--bg-primary); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); color: var(--bg-primary); }
.btn-outline { border: 1px solid var(--gold-border-active); color: var(--text-primary); }
.btn-outline::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.1), transparent); transition: left 0.5s; }
.btn-outline:hover::before { left: 100%; }
.btn-outline:hover { background: rgba(201,168,76,0.06); transform: translateY(-2px); color: var(--gold); }
.btn-ghost { color: var(--text-secondary); padding: 0.5rem 1rem; }
.btn-ghost:hover { color: var(--gold); }
.btn-white { background: var(--white); color: var(--bg-primary); }
.btn-white:hover { background: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.75rem; }
.btn-lg { padding: 1.05rem 2.5rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── Cards ───────────────────────────────────────────────── */
.card { background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--t-normal) var(--ease); overflow: hidden; }
.card:hover { border-color: var(--gold-border); box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(201,168,76,0.03); transform: translateY(-4px); }
.card-img { position: relative; padding-top: 62%; overflow: hidden; }
.card-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-badge { position: absolute; top: 16px; right: 16px; background: rgba(11,11,15,0.8); backdrop-filter: blur(6px); border: 1px solid var(--gold-border-active); color: var(--gold); padding: 0.3rem 0.8rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: var(--radius-sm); z-index: 2; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.card-title { font-size: 1.2rem; font-weight: 600; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.card-tag { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.5px; color: var(--text-secondary); background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 0.25rem 0.6rem; border-radius: var(--radius-full); }
.card-desc { font-size: 0.9rem; color: var(--text-secondary); font-weight: 300; line-height: 1.6; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.8rem; border-top: 1px solid var(--border); margin-top: auto; }
.card-price { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.card-price-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); display: block; }

/* Service Card Variant */
.service-card { padding: 2.2rem; text-align: left; }
.service-card .service-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(201,168,76,0.06); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all var(--t-normal) var(--ease); }
.service-card:hover .service-icon { background: var(--gold); transform: rotate(360deg); }
.service-card .service-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; transition: stroke var(--t-fast); }
.service-card:hover .service-icon svg { stroke: var(--bg-primary); }
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.8rem; }
.service-card p { font-size: 0.9rem; color: var(--text-secondary); font-weight: 300; margin-bottom: 1rem; line-height: 1.6; }
.service-card .card-link { font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.service-card .card-link svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ─── Forms ───────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.form-input { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--white); transition: all var(--t-fast); }
.form-input:focus { border-color: var(--gold-border-active); background: rgba(255,255,255,0.05); box-shadow: 0 0 0 3px rgba(201,168,76,0.08); }
.form-input::placeholder { color: var(--text-muted); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B687A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }

/* ─── Filter Bar ──────────────────────────────────────────── */
.filter-bar { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn { padding: 0.6rem 1.4rem; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; border-radius: var(--radius-full); border: 1px solid var(--border); background: transparent; cursor: pointer; transition: all var(--t-fast); color: var(--text-secondary); }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: var(--bg-primary); border-color: var(--gold); font-weight: 700; box-shadow: var(--shadow-gold); }

/* ─── Modals ──────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,5,8,0.88); backdrop-filter: blur(6px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity var(--t-normal) var(--ease); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal { width: 100%; max-width: 900px; background: var(--bg-card-solid); border: 1px solid var(--gold-border); border-radius: var(--radius-lg); max-height: 90vh; overflow-y: auto; transform: scale(0.92); transition: transform var(--t-normal) var(--ease); box-shadow: 0 32px 64px rgba(0,0,0,0.6), 0 0 60px rgba(201,168,76,0.04); position: relative; }
.modal-overlay.active .modal { transform: scale(1); }
.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255,255,255,0.03); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--t-fast); z-index: 10; color: var(--text-secondary); }
.modal-close:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.modal-body { padding: 2.5rem; }
.modal-sm { max-width: 560px; }
.modal-lg { max-width: 1100px; }

/* ─── Sticky Bottom Bar ───────────────────────────────────── */
.sticky-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(11,11,15,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--gold-border); z-index: 900; padding: 0.8rem 0; transform: translateY(100%); transition: transform var(--t-normal) var(--ease); }
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .container { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.sticky-bar .btn { font-size: 0.7rem; padding: 0.65rem 1.2rem; }
.sticky-bar .btn svg { width: 14px; height: 14px; }

/* ─── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 90px; right: 24px; width: 56px; height: 56px; border-radius: var(--radius-full); background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 950; cursor: pointer; transition: all var(--t-fast); animation: float 3s infinite ease-in-out; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ─── Toast ───────────────────────────────────────────────── */
.toast-container { position: fixed; top: 90px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 0.8rem; }
.toast { background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 12px; min-width: 300px; box-shadow: var(--shadow-md); animation: slideInRight 0.4s var(--ease); transition: opacity 0.3s, transform 0.3s; }
.toast.success { border-color: rgba(52,211,153,0.3); }
.toast.success .toast-icon { color: var(--success); }
.toast.error { border-color: rgba(248,113,113,0.3); }
.toast.error .toast-icon { color: var(--error); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-msg { font-size: 0.9rem; color: var(--text-primary); }
.toast.hiding { opacity: 0; transform: translateX(20px); }

/* ─── Tabs ────────────────────────────────────────────────── */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 2rem; overflow-x: auto; }
.tab-btn { padding: 1rem 1.5rem; font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--t-fast); white-space: nowrap; }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; animation: fadeIn 0.4s ease-out; }
.tab-content.active { display: block; }

/* ─── Accordion ───────────────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 500; transition: background var(--t-fast); }
.accordion-header:hover { background: rgba(255,255,255,0.02); }
.accordion-header svg { width: 18px; height: 18px; stroke: var(--text-muted); stroke-width: 2; fill: none; transition: transform var(--t-fast); }
.accordion-item.open .accordion-header svg { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height var(--t-normal) var(--ease); }
.accordion-item.open .accordion-body { max-height: 500px; }
.accordion-body-inner { padding: 0 1.5rem 1.2rem; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ─── Upload Zone ─────────────────────────────────────────── */
.upload-zone { border: 2px dashed rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 2.5rem 2rem; text-align: center; cursor: pointer; transition: all var(--t-normal); background: rgba(255,255,255,0.01); }
.upload-zone:hover, .upload-zone.dragover { border-color: var(--gold); background: rgba(201,168,76,0.02); }
.upload-zone svg { width: 44px; height: 44px; stroke: var(--text-muted); stroke-width: 1.5; fill: none; margin: 0 auto 1rem; transition: all var(--t-fast); }
.upload-zone:hover svg { stroke: var(--gold); transform: translateY(-4px); }
.upload-zone p { font-size: 0.95rem; margin-bottom: 0.3rem; }
.upload-zone p span { color: var(--gold); text-decoration: underline; }
.upload-zone small { font-size: 0.75rem; color: var(--text-muted); }

.file-item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 1rem; background: rgba(255,255,255,0.02); display: flex; align-items: center; gap: 1rem; animation: fadeInUp 0.3s var(--ease); }
.file-item .file-info { flex: 1; }
.file-item .file-name { font-size: 0.85rem; font-weight: 500; }
.file-item .file-size { font-size: 0.7rem; color: var(--text-muted); }
.file-item .file-status { font-size: 0.75rem; font-weight: 600; }
.file-item .file-status.uploading { color: var(--gold); }
.file-item .file-status.done { color: var(--success); }
.progress-bar { width: 100%; height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; margin-top: 0.4rem; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); width: 0%; transition: width 0.15s linear; border-radius: 2px; }

/* ─── Testimonial Carousel ────────────────────────────────── */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.6s var(--ease); }
.carousel-slide { min-width: 100%; padding: 0 3rem; text-align: center; }
.carousel-slide blockquote { font-family: var(--font-heading); font-size: 1.6rem; font-style: italic; font-weight: 400; color: var(--text-secondary); line-height: 1.6; margin-bottom: 2rem; position: relative; }
.carousel-slide blockquote::before { content: '"'; font-size: 4rem; color: var(--gold-border); position: absolute; top: -24px; left: -10px; line-height: 1; }
.carousel-author { font-weight: 600; font-size: 1rem; }
.carousel-role { font-size: 0.8rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-top: 0.3rem; }
.carousel-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1.5rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.8rem; margin-top: 2.5rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: rgba(255,255,255,0.15); cursor: pointer; transition: all var(--t-fast); }
.carousel-dot.active { background: var(--gold); transform: scale(1.3); box-shadow: 0 0 8px var(--gold-glow); }

/* ─── Stats Bar ───────────────────────────────────────────── */
.stats-bar { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item .stat-num { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.stat-item .stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat-item .stat-num { font-size: 2rem; } }

/* ─── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { padding: 1rem 0; font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--text-muted); }

/* ─── Page Hero (Inner Pages) ─────────────────────────────── */
.page-hero { padding: 8rem 0 4rem; background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin-bottom: 1rem; }
.page-hero h1 span { font-weight: 700; background: linear-gradient(135deg, var(--white) 30%, var(--gold-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { max-width: 600px; margin: 0 auto; color: var(--text-secondary); font-size: 1.05rem; font-weight: 300; }

/* ─── CTA Banner ──────────────────────────────────────────── */
.cta-banner { padding: 5rem 0; background: linear-gradient(135deg, #101016 0%, #18181f 100%); border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before, .cta-banner::after { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,168,76,0.03) 0%, transparent 60%); pointer-events: none; }
.cta-banner::before { top: -250px; left: -250px; }
.cta-banner::after { bottom: -250px; right: -250px; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; margin-bottom: 1rem; position: relative; z-index: 2; }
.cta-banner p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2.5rem; position: relative; z-index: 2; }
.cta-banner .cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 2; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer { background: #06060A; padding: 5rem 0 1.5rem; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-heading { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--white); margin-bottom: 1.5rem; position: relative; padding-bottom: 0.6rem; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { transition: all var(--t-fast); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-row { display: flex; gap: 10px; margin-bottom: 1rem; align-items: flex-start; }
.footer-contact-row svg { width: 16px; height: 16px; stroke: var(--gold); stroke-width: 2; fill: none; flex-shrink: 0; margin-top: 3px; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: var(--text-muted); }
.social-links { display: flex; gap: 0.6rem; }
.social-link { width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255,255,255,0.02); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast); }
.social-link:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.social-link svg { width: 14px; height: 14px; fill: var(--text-secondary); transition: fill var(--t-fast); }
.social-link:hover svg { fill: var(--gold); }
.footer-desc { font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.5rem; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Quotation Print Document ────────────────────────────── */
.quote-doc { background: #fff; color: #1a1a1a; padding: 2.5rem; border-radius: var(--radius-sm); font-size: 0.9rem; }
.quote-doc h2 { color: #1a1a1a; font-size: 1.8rem; }
.quote-doc .quote-hdr { display: flex; justify-content: space-between; border-bottom: 2px solid #C9A84C; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.quote-doc .quote-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.quote-doc .quote-meta h4 { color: #1a1a1a; font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #eee; padding-bottom: 0.4rem; margin-bottom: 0.6rem; }
.quote-doc .quote-meta p { color: #555; line-height: 1.5; }
.quote-doc table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.quote-doc th { background: #f7f7f7; color: #1a1a1a; font-weight: 700; text-align: left; padding: 0.8rem; border-bottom: 2px solid #eee; font-size: 0.8rem; }
.quote-doc td { padding: 0.8rem; border-bottom: 1px solid #eee; color: #444; font-size: 0.85rem; }
.quote-doc .total-row { background: #fdfbf5; font-weight: 700; }
.quote-doc .total-row td { border-top: 2px solid #C9A84C; color: #1a1a1a; }
.quote-doc .terms { font-size: 0.75rem; color: #999; border-top: 1px solid #eee; padding-top: 1rem; line-height: 1.5; text-align: center; }
@media (max-width: 768px) { .quote-doc .quote-meta { grid-template-columns: 1fr; } }

/* ─── Lightbox ────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t-normal); cursor: zoom-out; }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.lightbox-close { position: absolute; top: 24px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; }

/* ─── Calculator Specific ─────────────────────────────────── */
.calc-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: start; }
.calc-panel { padding: 2.5rem; }
.calc-results { position: sticky; top: 90px; padding: 2.5rem; border: 1px solid var(--gold-border); }
.calc-total { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: var(--gold); text-align: center; margin: 0.5rem 0; }
.breakdown-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 0.9rem; }
.breakdown-row .bd-label { color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.breakdown-row .bd-label .bd-icon { font-size: 1rem; }
.breakdown-row .bd-label .bd-pct { font-size: 0.7rem; color: var(--text-muted); }
.breakdown-row .bd-val { font-weight: 600; }
.breakdown-row.total { border-top: 1px dashed var(--border); margin-top: 0.5rem; padding-top: 1rem; font-weight: 700; }
.breakdown-row.total .bd-val { color: var(--gold); font-size: 1.1rem; }

.range-wrap { margin-bottom: 0.6rem; }
.range-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.range-header label { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 500; }
.range-header .range-val { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
input[type="range"] { width: 100%; -webkit-appearance: none; height: 5px; background: rgba(255,255,255,0.1); border-radius: 3px; outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-primary); box-shadow: 0 0 10px var(--gold-glow); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-primary); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pkg-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; cursor: pointer; transition: all var(--t-normal); text-align: left; }
.pkg-card:hover { border-color: var(--gold-border); background: rgba(201,168,76,0.02); }
.pkg-card.active { border-color: var(--gold); background: rgba(201,168,76,0.04); box-shadow: 0 8px 24px rgba(201,168,76,0.06); }
.pkg-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; transition: all var(--t-fast); }
.pkg-card.active .pkg-radio { border-color: var(--gold); }
.pkg-card.active .pkg-radio::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pkg-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.pkg-rate { color: var(--gold); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; }
.pkg-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }

@media (max-width: 1024px) { .calc-layout { grid-template-columns: 1fr; } .calc-results { position: static; } }
@media (max-width: 768px) { .pkg-grid { grid-template-columns: 1fr; } }

/* ─── Engineering Tools ───────────────────────────────────── */
.tool-card { padding: 2rem; }
.tool-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.tool-output { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; margin-top: 1.5rem; }
.tool-output canvas { width: 100%; height: 300px; border-radius: var(--radius-sm); background: #0a0a0e; }
.tool-result-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.tool-result-row:last-child { border-bottom: none; }
.tool-result-row .result-val { font-weight: 700; color: var(--gold); }

/* ─── Admin Panel ─────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--nav-h)); }
.admin-sidebar { background: var(--bg-secondary); border-right: 1px solid var(--border); padding: 2rem 0; }
.admin-sidebar .sidebar-link { display: flex; align-items: center; gap: 10px; padding: 0.8rem 1.5rem; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; transition: all var(--t-fast); border-left: 2px solid transparent; }
.admin-sidebar .sidebar-link:hover { background: rgba(255,255,255,0.02); color: var(--text-primary); }
.admin-sidebar .sidebar-link.active { color: var(--gold); border-left-color: var(--gold); background: rgba(201,168,76,0.04); }
.admin-main { padding: 2rem; }
.admin-card { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; }
.admin-stat { text-align: center; padding: 1.5rem; }
.admin-stat .stat-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.admin-stat .stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 0.3rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 0.8rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 0.8rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.admin-table tr:hover { background: rgba(255,255,255,0.02); }
@media (max-width: 768px) { .admin-layout { grid-template-columns: 1fr; } .admin-sidebar { display: none; } }
