/* ========================================================
   RemontPro – skin: AN Blue Renovation
   Palette: Navy #1C2B6B / Sky Blue #1DA5D4
   Layout: Fixed sidebar (desktop) / Top nav (mobile)
   ======================================================== */

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

:root {
  --blue:       #1DA5D4;
  --blue-dark:  #1588B0;
  --blue-light: #DCF0FA;
  --blue-pale:  #EFF8FD;
  --navy:       #1C2B6B;
  --navy-dark:  #14204F;
  --navy-mid:   #233580;
  --dark:       #1E293B;
  --dark-2:     #334155;
  --dark-3:     #475569;
  --text:       #334155;
  --muted:      #64748B;
  --border:     #E2E8F0;
  --white:      #FFFFFF;
  --bg:         #F8FAFC;
  --sidebar-w:  272px;
  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 2px 16px rgba(28,43,107,.08);
  --shadow-lg:  0 8px 40px rgba(28,43,107,.18);
  --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(--bg); 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: 9999; transition: top .2s; }
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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

/* ── 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(--navy); border-color: #fff; }
.btn-white:hover { background: var(--blue-light); color: var(--navy); }
.btn-gold { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-gold:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-sm { padding: 7px 18px; font-size: .875rem; }
.btn-lg { padding: 14px 34px; font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR LAYOUT — desktop ≥ 1024px
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--navy);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  box-shadow: 4px 0 32px rgba(28,43,107,.22);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.site-header::-webkit-scrollbar { width: 4px; }
.site-header::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

#main-content { margin-left: var(--sidebar-w); }
.site-footer   { margin-left: var(--sidebar-w); }

/* Navbar becomes vertical column */
.navbar { height: 100%; display: flex; flex-direction: column; }
.nav-container {
  flex-direction: column;
  align-items: stretch;
  padding: 28px 18px 24px;
  height: 100%;
  min-height: 100%;
  gap: 0;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.logo-icon { width: 38px; height: 38px; background: rgba(255,255,255,.15);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 0; }
.logo-mark { display: block; height: 32px; width: auto; max-width: none; align-self: flex-start; margin-bottom: 2px; }
.footer-logo { display: inline-flex; width: fit-content; }
.logo-text strong { 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,.35); letter-spacing: .06em; }

/* Vertical nav links */
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  margin-left: 0;
  flex: 1;
}
.nav-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  transition: all var(--transition);
  display: flex; align-items: center;
}
.nav-link:hover  { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.active { background: var(--blue); color: #fff; }

/* Nav actions at bottom */
.nav-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-phone {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  color: rgba(255,255,255,.75); font-size: .86rem; font-weight: 600;
  padding: 9px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14); white-space: nowrap;
  transition: all var(--transition);
}
.nav-phone:hover { background: rgba(255,255,255,.07); color: #fff; border-color: var(--blue); }
.nav-phone i { color: var(--blue); font-size: .9rem; }

/* Language switcher — sidebar */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 8px 12px; font-size: .84rem;
  cursor: pointer; color: rgba(255,255,255,.7); font-family: var(--font); transition: all var(--transition);
}
.lang-btn:hover { border-color: var(--blue); color: #fff; }
.lang-dropdown {
  position: absolute; bottom: calc(100% + 8px); left: 0; right: 0;
  background: var(--navy-dark); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,.4);
  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,.7); transition: background var(--transition); }
.lang-dropdown a:hover, .lang-dropdown a.current { background: rgba(29,165,212,.25); color: #fff; }

/* Hamburger — hidden on desktop */
.hamburger { display: none; }
/* Mobile menu — hidden on desktop */
.mobile-menu { display: none !important; }

/* FAB call */
.fab-call { display: none; position: fixed; bottom: 90px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff;
  align-items: center; justify-content: center; font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(29,165,212,.5); transition: transform .2s, box-shadow .2s; }
.fab-call:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(29,165,212,.7); color: #fff; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); overflow: hidden; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; align-items: center; }
.hero-content { padding: 64px 0; }
.hero-tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--blue);
  text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-size: clamp(1.9rem,3.5vw,2.8rem); 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.02rem; color: rgba(255,255,255,.62); max-width: 420px; margin-bottom: 32px; line-height: 1.72; }
.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,.35); }

/* Hero features strip */
.hero-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  background: var(--navy-dark); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.08); }
.feat-card { display: flex; align-items: flex-start; gap: 14px; padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,.08); }
.feat-card:last-child { border-right: none; }
.feat-icon { width: 44px; height: 44px; background: rgba(29,165,212,.18); 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: .93rem; margin-bottom: 2px; }
.feat-desc  { font-size: .82rem; color: rgba(255,255,255,.42); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-bg { background: var(--blue-pale); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag   { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--blue);
  text-transform: uppercase; margin-bottom: 10px; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--blue);
  text-transform: uppercase; display: block; }
.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 ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid--noimg { grid-template-columns: 1fr; max-width: 780px; }
.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(--blue); }
.stat-item span   { font-size: .85rem; color: var(--muted); }

/* ── Services ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card  { background: var(--white); border: 1.5px 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; }
.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); }
.svc-desc li[data-list="bullet"]::before,.prose li[data-list="bullet"]::before { content:'•'; display:inline-block; width:1em; margin-left:-1em; }
.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; }
.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 ─────────────────────────────────────────────── */
.pricing-table { width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); table-layout: fixed; }
.pricing-table th { background: var(--navy); 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 ─────────────────────────────────────────────── */
.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(29,165,212,.32);
  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(28,43,107,.82); 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,.94); 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: var(--white); border: 1.5px 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-card--linked { position: relative; cursor: pointer; }
.post-card--linked .post-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.post-card--linked .post-more { position: relative; z-index: 1; }
.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: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font); font-size: .94rem; color: var(--text);
  background: var(--white); 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(29,165,212,.14); }
.form-group textarea { resize: vertical; min-height: 130px; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: .93rem; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Page header ─────────────────────────────────────────── */
.page-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 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,.58); margin-top: 10px; font-size: 1.05rem; }

.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(--blue); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.2); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer  { background: var(--navy); color: #94a3b8; margin-top: 0;
  border-top: 3px solid var(--blue); }
.footer-grid  { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding-top: 56px; padding-bottom: 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,.32); }
.footer-desc  { font-size: .88rem; margin-top: 14px; line-height: 1.65; color: rgba(255,255,255,.38); }
.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,.48); transition: color var(--transition); }
.footer-links a:hover { color: var(--blue); }
.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,.48); }
.footer-contact a:hover { color: var(--blue); }
.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,.38); }
.footer-bottom a:hover { color: var(--blue); }

/* ── 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(29,165,212,.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, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 0; text-align: center; border-top: 1px solid rgba(29,165,212,.22); border-bottom: 1px solid rgba(29,165,212,.22); }
.cta-banner h2 { font-size: 1.9rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-banner p  { color: rgba(255,255,255,.58); margin-bottom: 28px; font-size: 1.05rem; }

/* ── Sidebar Home card ───────────────────────────────────── */
.sidebar-home-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  padding: 22px 18px;
  background: var(--blue);
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.sidebar-home-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, transparent 60%);
  pointer-events: none;
}
.sidebar-home-card.active,
.sidebar-home-card:hover  { background: var(--blue-dark); color: inherit; }
.sidebar-home-icon  { font-size: 1.3rem; color: rgba(255,255,255,.6); }
.sidebar-home-label { font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1; flex: 1; }
.sidebar-home-arrow { font-size: 1.2rem; color: rgba(255,255,255,.7); align-self: flex-end;
  transition: transform var(--transition); }
.sidebar-home-card:hover .sidebar-home-arrow { transform: translateX(4px); color: #fff; }

/* ── AN Bento homepage ───────────────────────────────────── */
.an-bento-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 32px 32px 72px;
}
.an-bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  min-height: 210px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.an-bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.an-bento-light {
  background: #f0f5ff;
  border: 2px solid #dde6f7;
  color: var(--navy);
}
.an-bento-light .an-bento-icon { color: var(--blue); }
.an-bento-light .an-bento-title { color: var(--navy); }
.an-bento-light .an-bento-desc  { color: var(--muted); }
.an-bento-light .an-bento-arrow { color: var(--blue); }
.an-bento-light:hover { border-color: var(--blue); background: #e6efff; }
.an-bento-dark {
  background: var(--navy);
  border: 2px solid var(--navy-mid);
  color: #fff;
}
.an-bento-dark .an-bento-icon  { color: var(--blue); }
.an-bento-dark .an-bento-title { color: #fff; }
.an-bento-dark .an-bento-desc  { color: rgba(255,255,255,.5); }
.an-bento-dark .an-bento-arrow { color: rgba(255,255,255,.6); }
.an-bento-dark:hover { border-color: var(--blue); background: var(--navy-mid); }
.an-bento-icon  { font-size: 2rem; margin-bottom: 4px; }
.an-bento-title { font-size: 1.35rem; font-weight: 800; line-height: 1.2; margin-bottom: 6px; }
.an-bento-desc  { font-size: .88rem; line-height: 1.5; }
.an-bento-arrow { font-size: 1.4rem; align-self: flex-end; transition: transform var(--transition); }
.an-bento-card:hover .an-bento-arrow { transform: translateX(5px); }

/* Karta hero — pełna szerokość */
.an-bento-hero {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 2px solid rgba(29,165,212,.25);
  color: #fff;
  cursor: default;
  padding: 48px 52px;
  gap: 0;
  min-height: auto;
}
.an-bento-hero:hover { transform: none; box-shadow: none; }
.an-bento-hero-tag  { font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.an-bento-hero-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.18;
  color: #fff; margin-bottom: 16px; }
.an-bento-hero-accent { color: var(--blue); }
.an-bento-hero-desc  { font-size: 1rem; color: rgba(255,255,255,.62); line-height: 1.7;
  max-width: 580px; margin-bottom: 28px; }
.an-bento-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.an-bento-hero-stats { display: flex; gap: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12); justify-content: space-between; }
.an-bento-hero-stat { flex: 1; }
.an-bento-hero-stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--blue); line-height: 1; }
.an-bento-hero-stat span   { font-size: .82rem; color: rgba(255,255,255,.45); margin-top: 4px; display: block; }

/* About text block inside bento grid */
.an-about-text-block { background: var(--bg); padding: 36px 40px; border-radius: var(--radius-lg); border: 2px solid var(--border); }
.an-about-text-title { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; line-height: 1.4; }
.an-about-text-body { font-size: .97rem; color: var(--text); line-height: 1.8; }
.an-about-text-body h1,.an-about-text-body h2,.an-about-text-body h3 { color: var(--navy); margin: 28px 0 12px; font-weight: 700; }
.an-about-text-body h1 { font-size: 1.4rem; }
.an-about-text-body h2 { font-size: 1.15rem; }
.an-about-text-body p  { margin-bottom: 14px; }
.an-about-text-body ul,.an-about-text-body ol { padding-left: 22px; margin-bottom: 14px; }
.an-about-text-body li { margin-bottom: 6px; }
.an-about-text-body a  { color: var(--blue); }

.an-bento-hero-feats { display: flex; gap: 32px; padding-top: 24px; margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.an-bento-hero-feat { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 160px; }
.an-bento-hero-feat i { font-size: 1.25rem; color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.an-bento-hero-feat strong { display: block; font-size: .92rem; font-weight: 700; color: #fff; line-height: 1.3; }
.an-bento-hero-feat span   { display: block; font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 3px; }

/* legacy bento classes (kept for compatibility) */
.bento-nav-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.bento-nav-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  color: inherit; transition: all var(--transition); min-height: 140px; }
.bento-nav-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); transform: translateY(-4px); color: inherit; }
.bento-nav-card-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.3rem; }
.bento-nav-card-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.bento-nav-card-desc  { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.bento-nav-card-arrow { margin-top: auto; color: var(--blue); font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; gap: 5px; }

/* ── 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}

/* ── Footer credit tooltip ───────────────────────────────── */
.footer-credit{cursor:help;border-bottom:1px dotted currentColor;position:relative}
.footer-credit::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;
  transform:translateX(-50%);background:var(--navy-dark);color:#fff;padding:7px 14px;
  border-radius:7px;font-size:.78rem;white-space:nowrap;pointer-events:none;opacity:0;
  transition:opacity .2s;z-index:100}
.footer-credit:hover::after{opacity:1}

/* ═══════════════════════════════════════════════════════════
   MOBILE ≤ 1024px — revert to top nav
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .site-header {
    position: sticky;
    width: 100%;
    height: auto;
    overflow: visible;
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
    flex-direction: row;
  }
  .site-header.scrolled { box-shadow: 0 4px 28px rgba(28,43,107,.4); }

  #main-content { margin-left: 0; }
  .site-footer   { margin-left: 0; }

  .navbar { flex-direction: row; height: auto; }
  .nav-container {
    flex-direction: row; align-items: center;
    padding: 6px 24px; min-height: var(--nav-height);
    height: auto; gap: 24px;
  }
  .nav-logo { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .nav-links {
    display: flex; flex-direction: row; align-items: center;
    gap: 4px; margin-left: auto; flex: unset;
  }
  .nav-link {
    padding: 6px 14px;
    font-size: .9rem;
    color: rgba(255,255,255,.72);
  }
  .nav-actions {
    flex-direction: row; align-items: center;
    gap: 12px; flex-shrink: 0;
    border-top: none; padding-top: 0; margin-top: 0;
  }
  .nav-phone {
    font-size: .88rem; padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.12);
    justify-content: flex-start;
  }
  .lang-btn { width: auto; }
  .lang-dropdown { bottom: auto; top: calc(100% + 8px); left: auto; right: 0; min-width: 150px; }

  .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; padding-top: 40px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1/-1; }
  .bento-nav-grid { grid-template-columns: repeat(2,1fr); }
  .an-bento-home { grid-template-columns: repeat(2,1fr); padding: 24px; gap: 16px; }
  .an-bento-hero { padding: 36px 32px; }
  .an-bento-hero-stats { gap: 24px; }
  .sidebar-home-card { margin: 12px -24px -24px; }
}

@media (max-width: 992px) {
  :root { --nav-height: 62px; }
  .nav-links { display: none; }
  .nav-phone { display: none !important; }
  .hamburger { display: flex; 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 { display: none; background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.06); }
  .mobile-menu.open { display: block !important; }
  .mobile-menu ul { padding: 12px 24px 20px; }
  .mobile-menu li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07);
    font-weight: 500; color: rgba(255,255,255,.72); }
  .mobile-menu li a:hover { color: #fff; }
  .mobile-menu li:last-child a { border-bottom: none; }
  .fab-call { display: flex !important; }
  .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,.07); 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-top: 40px; padding-bottom: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .section { padding: 56px 0; }
  .bento-nav-grid { grid-template-columns: 1fr; }
  .an-bento-home { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .an-bento-card { min-height: 140px; padding: 24px 20px; }
  .an-bento-hero { padding: 28px 24px; }
  .an-bento-hero-stats { gap: 16px; flex-wrap: wrap; }
  .an-bento-hero-stat strong { font-size: 1.5rem; }
  .sidebar-home-card { display: none; }
}

@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; }
}
