/* Redundant mobile-nav__close removed as burger button is reused as toggle */

/* ===========================
   DONSTROY — STYLISH B2C
   =========================== */

:root {
  --c-bg: #FFFFFF;
  --c-bg-alt: #F7F8FA;
  --c-text: #0F172A;
  --c-text-muted: #64748B;
  --c-border: #E2E8F0;
  --c-accent: #2563EB;
  --c-accent-hover: #1D4ED8;
  
  --font-main: 'Inter', sans-serif;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Grid Decoration */
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none;
}

/* Typography Helpers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.section-title span { color: var(--c-text-muted); font-weight: 400; }
.section-desc { font-size: 1.1rem; color: var(--c-text-muted); max-width: 650px; margin-bottom: 2rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.tag-label { display: inline-block; padding: 0.4rem 1.25rem; border: 1px solid var(--c-border); border-radius: 30px; font-size: 0.85rem; font-weight: 600; color: var(--c-accent); text-transform: uppercase; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.link-arrow { font-weight: 500; font-size: 0.95rem; color: var(--c-accent); transition: var(--transition); display: inline-flex; align-items: center; }
.link-arrow:hover { color: var(--c-accent-hover); transform: translateX(5px); }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; height: 80px; z-index: 1020; border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition); }
.header.scrolled { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; color: var(--c-text); }
.header.scrolled .header__inner, .header.menu-open .header__inner { color: var(--c-text); }
.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.25rem; z-index: 1005; }
.logo__img { height: 32px; width: auto; border-radius: 4px; object-fit: contain; filter: invert(0); transition: filter var(--transition); }
.header.scrolled .logo__img, .header.menu-open .logo__img, .mobile-nav .logo__img { filter: invert(0); }

/* Navigation & Dropdown */
.nav { display: flex; gap: 2.5rem; font-weight: 500; font-size: 0.9rem; align-items: center; }
.nav > a { position: relative; padding: 10px 0; }
.nav > a::after { content: ''; position: absolute; bottom: 0px; left: 0; width: 0; height: 2px; background: currentColor; transition: width 0.3s; }
.nav > a:hover::after { width: 100%; }

.dropdown { position: relative; padding: 10px 0; cursor: pointer; }
.dropdown-trigger { display: flex; align-items: center; gap: 0.25rem; position: relative; }
.dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.3s; }
.dropdown:hover .dropdown-trigger svg { transform: rotate(180deg); }

.dropdown-menu { 
  position: absolute; top: 100%; left: -20px; 
  background: var(--c-bg-pure, #fff); border: 1px solid var(--c-border); 
  border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 1rem 0; min-width: 240px; 
  opacity: 0; visibility: hidden; transform: translateY(10px); 
  transition: var(--transition); z-index: 100;
}
.header.scrolled .dropdown-menu { background: #fff; }
.header:not(.scrolled) .dropdown-menu { background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(10px); }

.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.75rem 1.5rem; font-size: 0.85rem; font-weight: 500; color: inherit; transition: var(--transition); }
.dropdown-menu a:hover { background: rgba(15,23,42,0.05); color: var(--c-accent); padding-left: 1.75rem; }
.header:not(.scrolled) .dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }

.header__trigger { font-weight: 600; padding: 0.5rem 1.25rem; border: 1px solid currentColor; border-radius: 30px; font-size: 0.85rem; transition: var(--transition); }
.header.scrolled .header__trigger:hover { background: var(--c-text); color: #fff; }

.burger {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1030;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: top 0.3s 0.3s ease, bottom 0.3s 0.3s ease, transform 0.3s ease, width 0.3s ease;
}
.header.scrolled .burger span,
.header.menu-open .burger span {
  background-color: var(--c-text);
}
.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { bottom: 4px; }

/* Active / cross state */
.burger.is-active span {
  transition: top 0.3s ease, bottom 0.3s ease, transform 0.3s 0.3s ease;
  background-color: var(--c-text);
}
.burger.is-active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { bottom: 11px; transform: rotate(-45deg); }

/* Buttons */
.btn-primary { background: var(--c-accent); color: #fff; padding: 1rem 2rem; border-radius: 30px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); text-align: center; }
.btn-primary:hover { background: var(--c-accent-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.btn-secondary { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 1rem 2rem; border-radius: 30px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); text-align: center; }
.btn-secondary:hover { background: #fff; color: var(--c-text); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.15); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid var(--c-border); color: var(--c-text); padding: 0.75rem 1.5rem; border-radius: 30px; font-weight: 500; font-size: 0.95rem; transition: var(--transition); text-align: center; }
.btn-outline:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.btn-outline--large { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-outline svg { width: 18px; height: 18px; transition: transform var(--transition); }
.btn-outline:hover svg { transform: translateX(5px); }

/* 1. Hero Stylish Design */
.hero-chic { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; background: #000; }
.hero-chic__bg { position: absolute; inset: 0; }
.hero-chic__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-chic__gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 40%, transparent 100%); }
.hero-chic__content { position: relative; z-index: 10; width: 100%; color: #fff; }
.hero-chic__box { max-width: 800px; }
.hero-chic__tag { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.2); width: fit-content; }
.hero-chic__title { font-size: clamp(2rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; margin-bottom: 2rem; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-chic__subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 600px; margin-bottom: 3rem; line-height: 1.6; }
.hero-chic__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* 2. About Us */
.about-us { padding: 6rem 0; background: var(--c-bg-pure, #fff); }
.about-layout { display: flex; flex-direction: column; gap: 4rem; }
.about-text { max-width: 800px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--c-border); padding-top: 4rem; }
.stat-box { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-num { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: var(--c-text); line-height: 1; margin-bottom: 0.5rem; }
.stat-num .counter { color: var(--c-text); }
.stat-num span:not(.counter) { color: var(--c-accent); font-weight: 800; }
.stat-label { font-size: 0.95rem; color: var(--c-text-muted); line-height: 1.4; max-width: 200px; margin: 0 auto; }

/* Marquee */
.marquee { background: var(--c-bg-alt); padding: 2rem 0; overflow: hidden; border-bottom: 1px solid var(--c-border); border-top: 1px solid var(--c-border); white-space: nowrap; }
.marquee__inner { display: inline-block; font-size: 1.1rem; font-weight: 600; text-transform: uppercase; animation: marquee 30s linear infinite; }
.marquee__inner span { display: inline-block; padding: 0 2rem; }
.marquee__inner .dot { color: var(--c-accent); opacity: 1; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 3. Why Us */
.why-us { padding: 8rem 0; background: var(--c-bg-pure, #fff); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4rem; }
.why-card-neo { position: relative; border-bottom: 2px solid var(--c-border); padding-bottom: 2.5rem; transition: var(--transition); }
.why-card-neo:hover { border-color: var(--c-accent); }
.why-card-neo__index { font-size: 4rem; font-weight: 700; color: var(--c-border); margin-bottom: 1rem; line-height: 1; transition: color 0.4s; }
.why-card-neo:hover .why-card-neo__index { color: rgba(37,99,235,0.1); }
.why-card-neo__body h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; color: var(--c-text); }
.why-card-neo__body p { font-size: 1rem; color: var(--c-text-muted); line-height: 1.6; }

/* 4. Process Timeline */
.process { padding: 8rem 0; background: var(--c-bg-alt); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.process-header { text-align: center; max-width: 700px; margin: 0 auto 5rem; }
.process-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.process-timeline::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: var(--c-border); z-index: 1; }
.process-step { text-align: center; position: relative; z-index: 2; }
.step-num { width: 56px; height: 56px; margin: 0 auto 1.5rem; background: var(--c-bg-pure, #fff); border: 2px solid var(--c-accent); color: var(--c-accent); font-weight: 700; font-size: 1.1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.process-step:hover .step-num { background: var(--c-accent); color: #fff; transform: scale(1.1); box-shadow: 0 4px 15px rgba(37,99,235,0.3); }
.process-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--c-text-muted); padding: 0 1rem; }

/* 5. Portfolio */
.portfolio { padding: 8rem 0; background: var(--c-bg-pure, #fff); overflow: hidden; }
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; flex-wrap: wrap; gap: 1rem; }
.portfolio-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; background: var(--c-bg-alt); padding: 0.5rem; border-radius: 30px; border: 1px solid var(--c-border); }
.pf-control { padding: 0.5rem 1.5rem; border-radius: 20px; font-weight: 500; font-size: 0.9rem; color: var(--c-text-muted); transition: var(--transition); }
.pf-control:hover, .pf-control.is-active { background: var(--c-text); color: #fff; }
.portfolio-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; min-height: 400px; }
.pf-item { display: flex; flex-direction: column; height: 100%; background: var(--c-bg-pure, #fff); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); transition: all 0.5s ease; opacity: 1; transform: scale(1); width: 100%; cursor: pointer; }
.pf-item.is-hidden { opacity: 0; transform: scale(0.9); pointer-events: none; position: absolute; visibility: hidden; }
.pf-item:hover { box-shadow: var(--shadow-md); transform: translateY(-8px); }
.pf-item__image { height: 260px; overflow: hidden; flex-shrink: 0; position: relative; }
.pf-item__image img { transition: transform 0.6s ease; width: 100%; height: 100%; object-fit: cover; }
.pf-item:hover .pf-item__image img { transform: scale(1.05); }
.pf-photo-count { position: absolute; bottom: 12px; right: 12px; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(4px); color: #fff; padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 500; display: flex; align-items: center; gap: 0.35rem; z-index: 2; transition: all 0.3s ease; }
.pf-item:hover .pf-photo-count { background: var(--c-accent); transform: scale(1.05); }
.pf-photo-count svg { width: 14px; height: 14px; opacity: 0.9; }
.pf-item__details { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.pf-item__details h4 { font-size: 1.1rem; margin-bottom: 0.5rem; line-height: 1.3; color: var(--c-text); }
.pf-desc { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.5; margin-top: 0.5rem; }
.portfolio-action-bottom { margin-top: 4rem; display: flex; justify-content: center; }

/* 6. Services Accordion */
.services { padding: 8rem 0; border-top: 1px solid var(--c-border); background: var(--c-bg-pure, #fff); }
.services-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.services-info { position: sticky; top: 120px; align-self: start; }
.accordion-item { border-bottom: 1px solid var(--c-border); transition: var(--transition); }
.accordion-item:first-child { border-top: 1px solid var(--c-border); }
.accordion-header { display: flex; align-items: center; padding: 2rem 0; cursor: pointer; gap: 1rem; }
.acc-num { font-size: 0.85rem; color: var(--c-text-muted); font-weight: 600; width: 30px; }
.accordion-header h3 { font-size: 1.3rem; font-weight: 500; flex: 1; transition: var(--transition); }
.accordion-header:hover h3 { color: var(--c-accent); }
.acc-icon { font-size: 2rem; font-weight: 300; width: 40px; text-align: right; transition: transform 0.4s; }
.accordion-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--transition); }
.acc-inner { overflow: hidden; padding-left: 46px; padding-bottom: 0; opacity: 0; transition: opacity 0.2s; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.acc-inner p { flex: 1; min-width: 200px; font-size: 0.95rem; color: var(--c-text-muted); line-height: 1.6; }
.acc-img { width: 140px; height: 100px; border-radius: 8px; flex-shrink: 0; object-fit: cover; }
.acc-list { flex: 1 1 100%; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; padding: 0; }
.acc-list li { font-size: 0.925rem; color: var(--c-text-muted); line-height: 1.6; padding-left: 1.1rem; position: relative; }
.acc-list li::before { content: '—'; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.acc-list li strong { color: var(--c-text); font-weight: 600; }
.accordion-item.is-open .accordion-content { grid-template-rows: 1fr; }
.accordion-item.is-open .acc-inner { padding-bottom: 1.25rem; opacity: 1; transition: opacity 0.6s; }
.accordion-item.is-open .acc-icon { transform: rotate(45deg); }
.acc-link { padding-left: 46px; padding-bottom: 2rem; display: none; font-size: 0.9rem; }
.accordion-item.is-open .acc-link { display: inline-flex; }

/* 7. Contact */
.contact { padding: 6rem 0 10rem; background: var(--c-bg-alt); }
.contact-card { background: var(--c-bg-pure, #fff); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 4rem; box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr 2fr; gap: 6rem; align-items: center; overflow: hidden; }
.contact-header h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.1; }
.contact-header p { color: var(--c-text-muted); font-size: 1rem; }
.terminal-form { display: flex; flex-direction: column; gap: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.input-line { position: relative; }
.input-line input { width: 100%; border: none; border-bottom: 1px solid var(--c-border); padding: 0.5rem 0; font-size: 1.1rem; background: transparent; font-family: inherit; font-weight: 500; color: var(--c-text); border-radius: 0; transition: var(--transition); }
.input-line input:focus { outline: none; border-bottom-color: var(--c-accent); }
.input-line label { position: absolute; left: 0; top: 0.5rem; font-size: 0.95rem; color: var(--c-text-muted); pointer-events: none; transition: var(--transition); }
.input-line input:focus ~ label, .input-line input:not(:placeholder-shown) ~ label { top: -1.25rem; font-size: 0.75rem; font-weight: 600; color: var(--c-accent); }

/* Submit button */
.btn-submit { background: #fff; color: var(--c-text); padding: 1.25rem 2.5rem; border-radius: 30px; font-weight: 600; font-size: 1rem; font-family: inherit; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid var(--c-border); }
.btn-submit:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15); }

/* File Upload UI */
.file-upload-wrapper { position: relative; display: block; }
.file-input { opacity: 0; position: absolute; width: 0; height: 0; z-index: -1; }
.file-label { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--c-border); border-radius: 12px; font-size: 0.95rem; font-weight: 500; color: var(--c-text-muted); cursor: pointer; transition: var(--transition); background: rgba(15, 23, 42, 0.01); }
.file-label:hover { border-color: var(--c-accent); background: rgba(37, 99, 235, 0.05); color: var(--c-accent); }
.file-label svg { width: 22px; height: 22px; color: var(--c-accent); flex-shrink: 0; }
.file-label.has-file { border-color: #22c55e; color: #22c55e; background: rgba(34, 197, 94, 0.05); }
.file-label.drag-over { border-color: var(--c-accent); background: rgba(37, 99, 235, 0.08); color: var(--c-accent); transform: scale(1.01); }

/* Footer */
.footer { background: var(--c-text); color: #fff; padding: 4rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; width: 100%;}
.footer-logo { display: flex; align-items: center; gap: 1rem; font-weight: 600; font-size: 1.25rem; }
.footer-logo img { height: 40px; width: auto; border-radius: 4px; object-fit: contain; }
.footer-links { display: flex; gap: 2rem; font-size: 0.9rem; font-weight: 500; flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--c-accent); transition: 0.3s; }
.footer-contacts { display: flex; flex-direction: column; text-align: right; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-copy { width: 100%; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); padding: 1rem; }
.modal.is-active { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0); backdrop-filter: blur(0px); transition: background 0.4s ease, backdrop-filter 0.4s ease; }
.modal.is-active .modal__overlay { background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(8px); }
.modal__box { position: relative; background: #fff; padding: 3rem; border-radius: var(--radius-lg); text-align: center; width: 100%; max-width: 400px; transform: scale(0.95); transition: var(--transition); box-shadow: var(--shadow-md); }
.modal.is-active .modal__box { transform: scale(1); }
.modal__icon { width: 64px; height: 64px; background: rgba(34, 197, 94, 0.1); color: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.modal__icon svg { width: 32px; height: 32px; }
.modal__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--c-text); }
.modal__text { color: var(--c-text-muted); margin-bottom: 2rem; }
.btn-close-modal { width: 100%; border-radius: 30px; text-align: center !important; justify-content: center !important; }

/* Gallery Modal Additional Styles */
.gallery-modal__box { max-width: 900px !important; width: 95% !important; padding: 2rem !important; background: #fff !important; color: var(--c-text); border-radius: 24px; }
.gallery-close { position: absolute; top: 15px; right: 20px; font-size: 2.2rem; color: var(--c-text-muted); opacity: 0.6; transition: all 0.3s; z-index: 10; line-height: 1; }
.gallery-close:hover { opacity: 1; color: var(--c-text); transform: scale(1.1); }
.gallery-info { text-align: left; margin-bottom: 1.5rem; padding-right: 2rem; }
.gallery-info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--c-text); }
.gallery-info p { color: var(--c-text-muted); font-size: 0.95rem; line-height: 1.4; }
.gallery-slider { position: relative; width: 100%; height: 50vh; display: flex; justify-content: center; align-items: center; overflow: hidden; background: transparent; margin-bottom: 1.5rem; }
.gallery-slider img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 4px 25px rgba(0,0,0,0.08); }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; padding: 0 1rem; }
.gallery-btn { background: var(--c-bg-pure, #fff); color: var(--c-text); border: 1px solid var(--c-border); width: 48px; height: 48px; border-radius: 50%; font-size: 1.25rem; display: flex; justify-content: center; align-items: center; transition: 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.gallery-btn:hover { background: var(--c-bg-alt); transform: scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.gallery-counter { font-weight: 600; font-size: 1.1rem; color: var(--c-text-muted); }

/* Improved Mobile Nav refinements */
.mobile-nav { position: fixed; inset: 0; background: var(--c-bg-pure, #fff); z-index: 1010; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateX(100%); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateX(0); }
.mobile-nav__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; padding: 6rem 2rem 2rem; }
.mobile-nav__inner a { font-size: clamp(2rem, 8vw, 3rem); font-weight: 700; color: var(--c-text); position: relative; display: inline-block; width: fit-content; opacity: 0; transform: translateY(20px); transition: 0.4s ease; }
.mobile-nav.is-open .mobile-nav__inner a { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav__footer { padding: 2rem; border-top: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 1rem; text-align: center; opacity: 0; transform: translateY(10px); transition: 0.4s ease 0.5s; background: var(--c-bg-alt); }
.mobile-nav.is-open .mobile-nav__footer { opacity: 1; transform: translateY(0); }
.mobile-nav__footer span { font-weight: 600; font-size: 1.1rem; }

/* ===========================
   LOADING SCREEN
   =========================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0A1020;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
}
#loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Animated subtle grid — same motif as the page */
#loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: loaderGrid 18s linear infinite;
}
@keyframes loaderGrid {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

/* Blue radial glow */
.loader__bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  animation: loaderPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.2); opacity: 1;   }
}

/* Content wrapper */
.loader__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Wordmark */
.loader__logo {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(28px);
  animation: loaderSlideUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s forwards;
}
.loader__logo span { color: #2563EB; }

@keyframes loaderSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Tagline */
.loader__tagline {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: loaderFadeIn 0.5s ease 0.65s forwards;
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}

/* Progress bar */
.loader__bar-track {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.4s ease 0.85s forwards;
}
.loader__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #60a5fa);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: loaderBarFill 2s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}
@keyframes loaderBarFill {
  0%   { width: 0%; }
  100% { width: 70%; }
}

/* Corner brackets */
.loader__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.25;
  animation: loaderFadeIn 0.4s ease 0.3s forwards;
}
.loader__corner--tl { top: 1.75rem; left: 1.75rem; border-top: 1px solid #fff; border-left: 1px solid #fff; }
.loader__corner--tr { top: 1.75rem; right: 1.75rem; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.loader__corner--bl { bottom: 1.75rem; left: 1.75rem; border-bottom: 1px solid #fff; border-left: 1px solid #fff; }
.loader__corner--br { bottom: 1.75rem; right: 1.75rem; border-bottom: 1px solid #fff; border-right: 1px solid #fff; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-chic__title { font-size: clamp(3rem, 5vw, 4rem); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .process-timeline::before { display: none; }
  .portfolio-gallery { grid-template-columns: 1fr 1fr; }
  .services-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .services-info { position: static; }
  .contact-card { grid-template-columns: 1fr; gap: 3rem; padding: 3rem; }
}

@media (max-width: 768px) {
  .header__inner { padding: 0 1.5rem; }
  .nav, .header__trigger { display: none; }
  .burger { display: flex; }
  .hero-chic__content { padding-top: 40px; }
  .hero-chic__title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .hero-chic__subtitle { font-size: 1rem; }
  .about-stats { grid-template-columns: 1fr; gap: 3rem; }
  .why-us, .process, .portfolio, .services, .contact { padding: 5rem 0; }
  .process-timeline { grid-template-columns: 1fr; gap: 2rem; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .portfolio-controls { justify-content: center; width: 100%; gap: 0.5rem; }
  .pf-control { flex: 1 1 auto; text-align: center; padding: 0.5rem 1rem; font-size: 0.8rem; }
  .portfolio-gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contacts { text-align: center; }
}

/* Extra small devices (phones up to ~400px and 300px) */
@media (max-width: 400px) {
  .logo__text { font-size: 1rem; }
  .logo img { height: 26px; }
  .hero-chic__actions { flex-direction: column; width: 100%; }
  .hero-chic__actions > a { width: 100%; display: flex; justify-content: center; }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .contact-card { padding: 2rem 1.5rem; }
  .contact-header h2 { font-size: 1.8rem; }
  .modal__box { padding: 2rem 1.5rem; }
  .acc-img { display: none; } 
  .acc-inner { padding-left: 20px; }
  .file-label { flex-direction: column; text-align: center; padding: 1rem; }
  .file-text { font-size: 0.85rem; word-break: break-all; }
  .btn-outline { font-size: 0.85rem; padding: 0.75rem 1rem; }
}

@media (max-width: 320px) {
  /* Extreme tight screens */
  .container { padding: 0 1rem; }
  .header__inner { padding: 0 1rem; }
  .hero-chic__tag { font-size: 0.75rem; letter-spacing: 0.05em; padding-bottom: 1rem; margin-bottom: 1rem; }
  .hero-chic__title { font-size: 2.2rem; }
  .stat-num { font-size: 2.5rem; }
  .why-card-neo__index { font-size: 3rem; }
  .why-card-neo { padding: 1.5rem 1rem; }
  .why-card-neo__body h3 { font-size: 1.2rem; }
  .accordion-header h3 { font-size: 1.1rem; }
  .acc-num { width: 20px; }
  .form-row, .input-line input { font-size: 1rem; }
  .btn-primary, .btn-secondary, .btn-submit { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
  .mobile-nav__header { padding: 1.2rem 1rem; }
  .mobile-nav__inner { padding: 1.5rem; }
  .mobile-nav__footer { padding: 1.5rem 1rem; }
}
