/* ============ Marmara Yapı Mimarlık Mühendislik — Ana Stil ============ */
:root {
  --white: #ffffff;
  --bg-alt: #f4f6f8;
  --ink: #1e2a32;
  --ink-2: #263540;
  --text: #4a5a66;
  --text-light: #7c8b96;
  --border: #e3e8ec;
  --accent: #2f6fed;
  --accent-2: #7dd3fc;
  --accent-dark: #1d4fb8;
  --success: #23a566;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 20px 45px -20px rgba(30, 42, 50, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(30, 42, 50, 0.2);
  --container: 1180px;
  --ff-head: 'Poppins', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 1200; transition: width .1s linear; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; background: var(--ink); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; transition: opacity .5s ease, visibility .5s ease; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark svg { width: 56px; height: 56px; animation: spin 1.4s linear infinite; }
.preloader-text { font-family: var(--ff-head); color: #fff; letter-spacing: .35em; font-size: .85rem; font-weight: 600; }
.preloader-text span { color: var(--accent-2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 100px; font-weight: 600; font-size: .94rem; border: 2px solid transparent; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; font-family: var(--ff-body); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -10px rgba(47,111,237,.55); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sm-nav { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease; }
.site-header.scrolled { box-shadow: 0 4px 24px -12px rgba(30,42,50,.18); border-color: var(--border); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { color: var(--accent); flex-shrink: 0; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-logo-img { height: 42px; width: auto; max-width: 220px; object-fit: contain; }
.brand-text { font-family: var(--ff-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--ff-body); font-weight: 500; font-size: .62rem; color: var(--text-light); letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a { font-weight: 600; font-size: .93rem; color: var(--ink-2); position: relative; padding: 6px 0; }
.main-nav > a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .25s ease; }
.main-nav > a:hover::after { width: 100%; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 6px; background: none; border: none; font-family: inherit; font-weight: 600; font-size: .93rem; color: var(--ink-2); cursor: pointer; padding: 6px 0; }
.nav-dropdown-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 460px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.nav-dropdown-panel a:hover, .nav-dropdown-panel a.active { background: var(--bg-alt); color: var(--accent); }
.nav-drop-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.nav-drop-icon svg { width: 100%; height: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.header-phone svg { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); z-index: 850; }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: waPulse 2.4s ease-out infinite; z-index: -1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0ms); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; background: var(--ink) var(--hero-img) center/cover no-repeat fixed; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,34,.55) 0%, rgba(20,28,34,.78) 65%, rgba(20,28,34,.92) 100%); }
.hero-inner { position: relative; padding-top: 60px; padding-bottom: 90px; max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--accent-2); margin-bottom: 14px; }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 3.7rem); color: #fff; margin-bottom: 18px; }
.hero-subtitle { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.hero-scroll span { width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scrollDot 1.8s ease infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; color: #fff; background: var(--ink) var(--hero-img) center/cover no-repeat; }
.page-hero-compact { min-height: 42vh; align-items: center; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(20,28,34,.5) 0%, rgba(20,28,34,.88) 100%); }
.page-hero-inner { position: relative; padding: 60px 24px 56px; max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 10px; }
.page-hero-lead { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 560px; }
.page-hero-icon { display: inline-flex; width: 52px; height: 52px; color: var(--accent-2); margin-bottom: 14px; }
.page-hero-icon svg { width: 100%; height: 100%; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.85); font-weight: 600; }
.breadcrumb a:hover { color: var(--accent-2); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { font-family: var(--ff-head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: #fff; }
.stat-number .counter { color: var(--accent-2); }
.stat-label { color: rgba(255,255,255,.68); font-size: .88rem; margin-top: 4px; }

/* ---------- Section basics ---------- */
.section { padding: 88px 0; }
.categories-section { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head.light h2, .section-head.light .eyebrow { color: #fff; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-lead { color: var(--text-light); }
.section-cta { text-align: center; margin-top: 40px; }

/* ---------- Category grid ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.category-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column; }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.category-card-img { height: 160px; background-size: cover; background-position: center; transition: transform .5s ease; }
.category-card:hover .category-card-img { transform: scale(1.06); }
.category-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.category-icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 12px; }
.category-icon svg { width: 100%; height: 100%; }
.category-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.category-card-body p { font-size: .89rem; color: var(--text-light); flex: 1; }
.category-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; color: var(--accent); margin-top: 10px; }
.category-card-link svg { transition: transform .25s ease; }
.category-card:hover .category-card-link svg { transform: translateX(4px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-media-badge { position: absolute; bottom: -18px; left: -18px; background: var(--accent); color: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media-badge strong { display: block; font-family: var(--ff-head); font-size: 1.6rem; }
.about-media-badge span { font-size: .78rem; opacity: .85; }
.about-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; transition: transform .3s ease, border-color .3s ease; }
.process-item:hover { transform: translateY(-6px); border-color: var(--accent); }
.process-num { font-family: var(--ff-head); font-size: 2rem; font-weight: 800; color: var(--accent-2); -webkit-text-stroke: 1.5px var(--accent); color: transparent; margin-bottom: 8px; }
.process-item h3 { font-size: 1rem; }
.process-item p { font-size: .86rem; color: var(--text-light); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-preview-section { background: var(--bg-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid-full { grid-template-columns: repeat(4, 1fr); }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,28,34,.88) 0%, rgba(20,28,34,.1) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-cat { color: var(--accent-2); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.gallery-item-overlay h3 { color: #fff; font-size: .98rem; margin: 4px 0 2px; }
.gallery-item-meta { color: rgba(255,255,255,.75); font-size: .8rem; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--border); background: #fff; font-weight: 600; font-size: .86rem; color: var(--text); cursor: pointer; transition: all .25s ease; }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-empty { text-align: center; color: var(--text-light); padding: 40px 0; }
.gallery-item.gallery-hidden { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(15,20,24,.92); z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 1.8rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; line-height: 1; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--ink); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px; }
.quote-mark { color: var(--accent-2); opacity: .8; margin-bottom: 12px; }
.testimonial-card p { color: rgba(255,255,255,.88); font-size: .98rem; }
.testimonial-person strong { display: block; color: #fff; font-size: .92rem; }
.testimonial-person span { color: rgba(255,255,255,.6); font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .3s ease; }
.faq-toggle::before { width: 14px; height: 2px; }
.faq-toggle::after { width: 2px; height: 14px; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-answer { padding-top: 12px; color: var(--text-light); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-mark { color: var(--accent-2); }
.footer-brand .brand-logo-img { height: 38px; margin-bottom: 6px; }
.footer-tagline { font-size: .88rem; margin: 14px 0 18px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; transition: background .25s ease, border-color .25s ease; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-col h3 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: .88rem; }
.footer-col a:hover { color: var(--accent-2); }
.footer-contact li { color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom-inner a { color: rgba(255,255,255,.75); font-weight: 600; }
.footer-bottom-inner a:hover { color: var(--accent-2); }

/* ---------- Category detail page ---------- */
.category-detail-grid { display: grid; grid-template-columns: 1fr .42fr; gap: 60px; align-items: start; }
.category-long-desc { font-size: 1.02rem; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 20px 0 36px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.feature-list svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.category-gallery { margin-bottom: 36px; }
.category-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; }
.cta-card { background: var(--ink); color: #fff; }
.cta-card h3 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.7); font-size: .88rem; }
.cta-card .btn { margin-bottom: 10px; }
.cta-card .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.cta-card .btn-outline:hover { background: #fff; color: var(--ink); }
.sidebar-cat-list li { border-bottom: 1px solid var(--border); }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.sidebar-cat-list a:hover { color: var(--accent); }
.sidebar-cat-list a svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; margin-bottom: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card { display: flex; gap: 14px; background: var(--bg-alt); border-radius: var(--radius); padding: 20px; align-items: flex-start; }
.info-card svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.info-card h3 { font-size: .92rem; margin-bottom: 4px; }
.info-card p { font-size: .88rem; margin: 0; color: var(--text-light); }
.info-card a:hover { color: var(--accent); }
.contact-form-wrap { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 40px; }
.contact-form h2 { margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea, .contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff;
  font-family: inherit; font-size: .93rem; color: var(--ink); transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin-top: 12px; font-size: .88rem; min-height: 1.4em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: #d64545; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-frame { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--ink); color: #fff; padding: 40px; }
.error-page h1 { font-size: 6rem; color: var(--accent-2); margin-bottom: 0; }
.error-page p { color: rgba(255,255,255,.7); margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid, .gallery-grid-full { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .category-detail-grid { grid-template-columns: 1fr; }
  .category-sidebar { position: static; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: min(320px, 86vw); height: 100vh; background: #fff; flex-direction: column; align-items: flex-start; padding: 90px 28px 28px; gap: 6px; box-shadow: -20px 0 50px rgba(0,0,0,.2); transition: right .35s ease; overflow-y: auto; }
  .main-nav.open { right: 0; }
  .main-nav > a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-dropdown-panel { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; width: 100%; grid-template-columns: 1fr; display: none; padding: 6px 0 0 12px; }
  .nav-dropdown.open .nav-dropdown-panel { display: grid; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .category-grid, .gallery-grid, .gallery-grid-full { grid-template-columns: 1fr 1fr; gap: 14px; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 100vh; }
  .contact-form-wrap { padding: 26px; }
}
@media (max-width: 420px) {
  .category-grid, .gallery-grid, .gallery-grid-full { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
