/* ========================================================
   RemontPro – main stylesheet
   Style: dark professional  —  black / red / gold
   (brand: SzypArt Remonty i wykończenia wnętrz)
   ======================================================== */

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Czerwony akcent (z wizytówki) */
  --blue:       #C8102E;
  --blue-dark:  #a00e25;
  --blue-light: #fde8ec;
  --blue-pale:  #fff0f2;
  /* Złoto (logo SzypArt) */
  --gold:       #C9A84C;
  --gold-dark:  #a88838;
  /* Czerń */
  --dark:       #0d0d0d;
  --dark-2:     #1a1a1a;
  --dark-3:     #242424;
  /* Tekst */
  --text:       #1f2937;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --white:      #ffffff;
  --bg:         #f9fafb;
  /* Layout */
  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 2px 16px rgba(200,16,46,.08);
  --shadow-lg:  0 8px 40px rgba(200,16,46,.14);
  --transition: .22s ease;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --nav-height: 70px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul   { list-style: none; }

/* ── Skip link ─────────────────────────────────────────── */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--blue); color: #fff;
  padding: 8px 16px; z-index: 999; transition: top .2s; }
.skip-link:focus { top: 0; }

/* ── Container ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px;
  border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all var(--transition); border: 2px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--blue-light); }
.btn-gold { background: var(--gold); color: #0d0d0d; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-sm { padding: 7px 18px; font-size: .875rem; }
.btn-lg { padding: 14px 34px; font-size: 1.05rem; }

/* ── Navigation — dark ──────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--dark);
  box-shadow: 0 1px 0 rgba(255,255,255,.06); transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.6); }
.navbar { width: 100%; }
.nav-container { display: flex; align-items: center; min-height: var(--nav-height); height: auto; padding: 6px 0; gap: 24px; }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
/* Legacy — kept for admin panel compat */
.logo-icon { width: 38px; height: 38px; background: var(--blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; }
/* SzypArt logo — PNG mark + CSS text below */
.logo-text  { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; line-height: 1; gap: 0; }
.logo-mark  { display: block; height: 32px; width: auto; max-width: none; align-self: flex-start; flex-shrink: 0; margin-bottom: 2px; }
.footer-logo { display: inline-flex; width: fit-content; }
.logo-text strong { display: block; font-size: .72rem; font-family: 'Michroma', 'Arial Narrow', Arial, sans-serif;
  font-weight: 400; color: #fff; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.logo-text small  { font-size: .58rem; color: rgba(255,255,255,.38); letter-spacing: .06em; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 6px 14px; border-radius: 6px; font-size: .93rem; color: rgba(255,255,255,.72);
  font-weight: 500; transition: all var(--transition); }
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.active { background: var(--blue); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta { padding: 9px 20px; font-size: .88rem; }

/* Language Switcher — dark */
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 7px 12px; font-size: .85rem;
  cursor: pointer; transition: all var(--transition); color: rgba(255,255,255,.75); font-family: var(--font); }
.lang-btn:hover { border-color: var(--blue); color: #fff; }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,.5);
  min-width: 150px; opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: all var(--transition); z-index: 200; }
.lang-switcher.open .lang-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.lang-dropdown a { display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  font-size: .88rem; color: rgba(255,255,255,.72); transition: background var(--transition); }
.lang-dropdown a:hover, .lang-dropdown a.current { background: rgba(200,16,46,.2); color: #fff; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: all var(--transition); }
.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); }

/* Mobile menu — dark */
.mobile-menu { display: none; background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.06); }
.mobile-menu.open { display: block; }
.mobile-menu ul { padding: 12px 24px 20px; }
.mobile-menu li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 500; color: rgba(255,255,255,.75); }
.mobile-menu li a:hover { color: #fff; }
.mobile-menu li:last-child a { border-bottom: none; }

/* ── Hero — dark ─────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #0d0d0d 0%, #1a0407 100%); overflow: hidden; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; align-items: center; }
.hero-content { padding: 60px 0 60px 0; }
.hero-tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.18;
  color: #fff; margin-bottom: 20px; }
.hero-title span { color: var(--blue); display: block; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.62); max-width: 420px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image { position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 40px 0 0; }
.hero-image img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 440px;
  object-fit: cover; width: 100%; box-shadow: 0 8px 48px rgba(0,0,0,.5); }

/* Hero features strip — dark */
.hero-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  background: var(--dark-2); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.06); }
.feat-card { display: flex; align-items: flex-start; gap: 14px; padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.06); }
.feat-card:last-child { border-right: none; }
.feat-icon { width: 44px; height: 44px; background: rgba(200,16,46,.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.3rem; flex-shrink: 0; }
.feat-title { font-weight: 700; color: #fff; font-size: .95rem; margin-bottom: 2px; }
.feat-desc  { font-size: .83rem; color: rgba(255,255,255,.45); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-bg { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag  { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: var(--dark); line-height: 1.25; }
.section-title span { color: var(--blue); }
.section-desc  { margin-top: 14px; color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── About section ──────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img   { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 380px; object-fit: cover; }
.about-content h2 { font-size: 1.9rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.about-content p  { color: var(--muted); margin-bottom: 14px; }
.stats-row { display: flex; gap: 32px; margin: 28px 0; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-item span   { font-size: .85rem; color: var(--muted); }

/* ── Services grid ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card  { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: all var(--transition); cursor: default; }
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); transform: translateY(-3px); }
a.service-card-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.service-card-link:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); transform: translateY(-3px); }
.service-icon  { width: 52px; height: 52px; background: var(--blue-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.5rem; margin-bottom: 18px; }
.service-card h2 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-card p, .service-card .svc-desc { font-size: .9rem; color: var(--muted); }
.service-more { display: block; margin-top: 14px; color: var(--blue); font-size: .88rem; font-weight: 600; }
/* Quill-generated lists: svc-desc (card) and prose (service detail page) */
.svc-desc ul, .svc-desc ol, .prose ul, .prose ol { list-style: none; padding-left: 1.4em; margin: .4em 0; }
.svc-desc li, .prose li { margin-bottom: .2em; }
.svc-desc li { font-size: .9rem; color: var(--muted); }
.prose li { font-size: 1rem; color: var(--dark); }
/* Bullet symbols via ::before */
.svc-desc li[data-list="bullet"]::before, .prose li[data-list="bullet"]::before { content:'•'; display:inline-block; width:1em; margin-left:-1em; }
/* Ordered lists */
.svc-desc ol, .prose ol { list-style-type: decimal; padding-left: 1.6em; }
.svc-desc li[data-list="ordered"]::before, .prose li[data-list="ordered"]::before { content: none; }
/* Circle item (<p class="ql-circle-item">) */
.svc-desc p.ql-circle-item, .prose p.ql-circle-item { padding-left:1.4em; text-indent:-1.4em; margin:2px 0; }
.svc-desc p.ql-circle-item::before, .prose p.ql-circle-item::before { content:'○  '; color:var(--blue); }
a.service-card-link:hover .service-more { text-decoration: underline; }

/* ── Pricing table ─────────────────────────────────────── */
.pricing-table { width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  table-layout: fixed; }
.pricing-table th { background: var(--dark); color: #fff; padding: 14px 20px;
  text-align: left; font-size: .9rem; font-weight: 600; }
.pricing-table th:first-child  { border-left: 4px solid var(--blue); width: 58%; }
.pricing-table th:nth-child(2) { width: 13%; }
.pricing-table th:nth-child(3) { width: 29%; }
.pricing-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .93rem;
  word-wrap: break-word; overflow-wrap: break-word; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr.featured td { background: var(--blue-pale); font-weight: 600; color: var(--dark); }
.pricing-table tr.featured td:first-child { border-left: 3px solid var(--blue); }
.pricing-table tr:hover:not(.pricing-table thead tr) td { background: var(--bg); }
.price-value { font-weight: 700; color: var(--blue); white-space: nowrap; }
.price-comment { display: block; font-size: .75rem; color: var(--muted); font-style: italic; margin-top: 4px; line-height: 1.4; }
.pricing-note { margin-top: 16px; font-size: .85rem; color: var(--muted); font-style: italic; }

/* ── Gallery grid ───────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative;
  aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(200,16,46,.3);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 2rem; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(13,13,13,.85); color: #fff; font-size: .82rem;
  padding: 7px 10px; text-align: center; line-height: 1.3; z-index: 2; }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.95); z-index: 1000;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }
.lb-close { position: absolute; top: 20px; right: 24px; background: none; border: none;
  color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 2rem;
  cursor: pointer; padding: 12px 16px; border-radius: 8px; transition: background .2s; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: var(--blue); }

/* ── Blog ───────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 28px; }
.post-card  { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow var(--transition); display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.post-tag { background: var(--blue-pale); color: var(--blue); padding: 2px 10px; border-radius: 20px; font-weight: 600; }
.post-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.35; }
.post-title a { color: inherit; }
.post-title a:hover { color: var(--blue); }
.post-excerpt { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.post-more { font-weight: 600; font-size: .88rem; display: flex; align-items: center; gap: 5px; }

/* ── Single post ──────────────────────────────────────────── */
.post-single { max-width: 820px; margin: 0 auto; }
.post-hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; }
.post-hero img { width: 100%; max-height: 420px; object-fit: cover; }
.post-content { font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.post-content h2,.post-content h3 { color: var(--dark); margin: 1.6em 0 .6em; font-weight: 700; }
.post-content p { margin-bottom: 1em; }
.post-content ul,.post-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.post-content img { border-radius: var(--radius); margin: 1em 0; }
.post-content blockquote { border-left: 4px solid var(--blue); padding: 12px 20px; margin: 1.5em 0;
  background: var(--blue-pale); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); font-style: italic; }

/* Comments */
.comments-section { margin-top: 60px; border-top: 1px solid var(--border); padding-top: 40px; }
.comment-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.comment-item { background: var(--bg); border-radius: var(--radius); padding: 18px 22px; }
.comment-author { font-weight: 700; color: var(--dark); font-size: .95rem; }
.comment-date   { font-size: .8rem; color: var(--muted); }
.comment-text   { margin-top: 8px; font-size: .95rem; }
.comment-form   { background: var(--bg); padding: 32px; border-radius: var(--radius-lg); }
.comment-form h3 { margin-bottom: 22px; font-size: 1.1rem; font-weight: 700; color: var(--dark); }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.contact-info p  { color: var(--muted); margin-bottom: 28px; }
.contact-detail  { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.c-icon { width: 44px; height: 44px; background: var(--blue-pale); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.2rem; flex-shrink: 0; }
.c-label { font-size: .82rem; color: var(--muted); display: block; }
.c-value { font-weight: 600; color: var(--dark); }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--font); font-size: .94rem; color: var(--text);
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: .93rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Page header (podstrony) — dark ─────────────────────── */
.page-header { background: linear-gradient(135deg, #0d0d0d 0%, #1a0407 100%);
  padding: 56px 0 44px; text-align: center; }
.page-header h1 { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: #fff; }
.page-header p  { color: rgba(255,255,255,.6); margin-top: 10px; font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: rgba(255,255,255,.4);
  margin-top: 14px; justify-content: center; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.2); }

/* ── Footer — dark ──────────────────────────────────────── */
.site-footer  { background: var(--dark); color: #94a3b8; margin-top: 80px;
  border-top: 3px solid var(--blue); }
.footer-grid  { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding: 56px 0 44px; }
.footer-heading { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .06em; }
.footer-brand .nav-logo .logo-text strong { color: #fff; }
.footer-brand .nav-logo .logo-text small  { color: rgba(255,255,255,.35); }
.footer-desc  { font-size: .88rem; margin-top: 14px; line-height: 1.65; color: rgba(255,255,255,.4); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 1rem; transition: all var(--transition); }
.social-links a:hover { background: var(--blue); color: #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .9rem; }
.footer-contact i { color: var(--blue); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.5); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: .83rem; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Back to top ─────────────────────────────────────────── */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
  background: var(--blue); color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,16,46,.4); opacity: 0; pointer-events: none;
  transition: all var(--transition); z-index: 90; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, #1a0407 0%, #0d0d0d 100%);
  padding: 56px 0; text-align: center; border-top: 1px solid rgba(200,16,46,.25); border-bottom: 1px solid rgba(200,16,46,.25); }
.cta-banner h2 { font-size: 1.9rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-banner p  { color: rgba(255,255,255,.6); margin-bottom: 28px; font-size: 1.05rem; }

/* ── 404 ──────────────────────────────────────────────────── */
.error-page { text-align: center; padding: 100px 0; }
.error-page h1 { font-size: 6rem; font-weight: 900; color: var(--blue-light); line-height: 1; }
.error-page h2 { font-size: 1.8rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.error-page p  { color: var(--muted); margin-bottom: 28px; }

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px;}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { max-height: 300px; }
  .about-img img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 768px) {
  :root { --nav-height: 62px; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { padding: 52px 0; }
  .hero-features { grid-template-columns: 1fr; }
  .feat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 16px 0; }
  .feat-card:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .pricing-table { font-size: .82rem; }
  .pricing-table td, .pricing-table th { padding: 10px 12px; }
}
