@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --c-bg: #FFFFFF;
  --c-surface: #F8F9FA;
  --c-border: #E5E7EB;
  --c-text: #1A1A1A;
  --c-sub: #6B7280;
  --c-accent: #2563EB;
  --c-accent-dark: #1D4ED8;
  --c-accent-light: #EFF6FF;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); line-height: 1.6; overflow-x: hidden; max-width: 100vw; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  height: 72px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0px);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-border);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 32px; list-style: none;
}
.nav-links a { font-size: 14px; font-weight: 500; color: var(--c-text); text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--c-accent); color: #fff; border: none; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background .2s; flex-shrink: 0; }
.nav-cta:hover { background: var(--c-accent-dark); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 140px 40px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}
.hero-bg {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-accent); margin-bottom: 20px; }
.hero-title { font-family: var(--font-head); font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--c-accent); }
.hero-sub { font-size: 17px; color: var(--c-sub); line-height: 1.7; max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--c-accent); color: #fff; border: none; padding: 16px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background .2s, transform .1s; }
.btn-primary:hover { background: var(--c-accent-dark); transform: translateY(-1px); }
.btn-outline { background: none; color: var(--c-text); border: 1.5px solid var(--c-border); padding: 16px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: border-color .2s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-accent); }

.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--c-border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat-card { background: var(--c-bg); padding: 36px 32px; }
.stat-num { font-family: var(--font-head); font-size: 52px; font-weight: 800; color: var(--c-accent); letter-spacing: -2px; line-height: 1; }
.stat-num .counter { display: inline-block; }
.stat-label { font-size: 14px; color: var(--c-sub); margin-top: 8px; line-height: 1.4; }

/* ── SECTION BASE ── */
.section { padding: 96px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--c-accent); margin-bottom: 12px; }
.section-title { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--c-sub); max-width: 560px; line-height: 1.7; margin-bottom: 56px; }
.section-bg { background: var(--c-surface); }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--c-bg); border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: 32px 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { font-size: 32px; margin-bottom: 20px; }
.service-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--c-sub); line-height: 1.6; margin-bottom: 20px; }
.service-price { font-size: 13px; font-weight: 600; color: var(--c-accent); background: var(--c-accent-light); display: inline-block; padding: 4px 12px; border-radius: 100px; }

/* ── PROCESS ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: var(--c-border); }
.step { text-align: center; padding: 0 16px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--c-accent); background: var(--c-bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--c-accent); margin: 0 auto 20px; position: relative; z-index: 1; }
.step-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--c-sub); line-height: 1.5; }

/* ── PORTFOLIO ── */
.portfolio-filter { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { background: none; border: 1.5px solid var(--c-border); color: var(--c-sub); padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font-body); transition: .2s; }
.filter-btn.active, .filter-btn:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-light); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-card { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--c-border); transition: box-shadow .2s, transform .2s; }
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.portfolio-img { height: 220px; background: var(--c-surface); display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
.portfolio-img .overlay { position: absolute; inset: 0; background: rgba(37,99,235,0.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; color: #fff; font-size: 14px; font-weight: 600; }
.portfolio-card:hover .overlay { opacity: 1; }
.portfolio-info { padding: 20px; }
.portfolio-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.portfolio-meta { font-size: 12px; color: var(--c-sub); display: flex; gap: 16px; }
.portfolio-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 100px; background: var(--c-accent-light); color: var(--c-accent); margin-bottom: 10px; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-icon { font-size: 24px; width: 52px; height: 52px; background: var(--c-accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-text h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.why-text p { font-size: 14px; color: var(--c-sub); line-height: 1.6; }
.why-visual { background: var(--c-surface); border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-stat { text-align: center; }
.why-stat-num { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--c-accent); }
.why-stat-label { font-size: 12px; color: var(--c-sub); margin-top: 4px; }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--c-bg); border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: 28px; }
.review-stars { font-size: 16px; margin-bottom: 16px; color: #F59E0B; }
.review-text { font-size: 14px; color: var(--c-sub); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent-light); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.review-name { font-size: 14px; font-weight: 600; }
.review-obj { font-size: 12px; color: var(--c-sub); }

/* ── FAQ ── */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; padding: 22px 28px; text-align: left; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--c-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-q:hover { background: var(--c-surface); }
.faq-q .faq-arrow { font-size: 20px; color: var(--c-accent); transition: transform .3s; font-weight: 400; }
.faq-q.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; font-size: 14px; color: var(--c-sub); line-height: 1.7; padding: 0 28px; }
.faq-a.open { max-height: 200px; padding: 0 28px 22px; }

/* ── CALCULATOR ── */
.calc-wrap { background: var(--c-bg); border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: 48px; max-width: 760px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.calc-field label { display: block; font-size: 12px; font-weight: 600; color: var(--c-sub); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.calc-field input, .calc-field select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--c-border); border-radius: 8px; font-size: 15px; font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); outline: none; transition: border-color .2s; }
.calc-field input:focus, .calc-field select:focus { border-color: var(--c-accent); }
.calc-result { background: var(--c-accent-light); border-radius: 10px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.calc-price { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--c-accent); }
.calc-note { font-size: 12px; color: var(--c-sub); margin-top: 4px; }

/* ── CONTACTS ── */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: center; }
.contact-item-icon { width: 48px; height: 48px; background: var(--c-accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item-text a { color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 16px; }
.contact-item-text p { font-size: 13px; color: var(--c-sub); }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--c-border); border-radius: 8px; font-size: 15px; font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); outline: none; transition: border-color .2s; resize: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--c-accent); }

/* ── FOOTER ── */
footer { background: var(--c-text); color: rgba(255,255,255,.7); padding: 48px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo img { height: 36px; width: auto; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 13px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; }

/* ── FLOATING CTA ── */
.float-btn { position: fixed; bottom: 32px; right: 32px; z-index: 99; width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent); color: #fff; border: none; font-size: 22px; cursor: pointer; box-shadow: 0 4px 20px rgba(37,99,235,.4); transition: transform .2s, box-shadow .2s; display: flex; align-items: center; justify-content: center; }
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,99,235,.5); }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: 16px; padding: 40px; max-width: 480px; width: 100%; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--c-sub); }
.modal-title { font-family: var(--font-head); font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: var(--c-sub); margin-bottom: 28px; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 100px; right: 32px; z-index: 300; background: #1A1A1A; color: #fff; padding: 14px 22px; border-radius: 10px; font-size: 14px; font-weight: 500; transform: translateY(20px); opacity: 0; transition: .3s; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── HERO SVG BG ── */
.hero-section-wrap {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero-section-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='900'%3E%3Crect x='900' y='-40' width='220' height='220' rx='4' fill='%231B2D4F' opacity='0.04' transform='rotate(15 900 -40)'/%3E%3Crect x='1100' y='80' width='140' height='140' rx='4' fill='%235B7FA6' opacity='0.06' transform='rotate(-10 1100 80)'/%3E%3Crect x='1250' y='300' width='100' height='100' rx='4' fill='%231B2D4F' opacity='0.05' transform='rotate(20 1250 300)'/%3E%3Crect x='980' y='400' width='180' height='180' rx='4' fill='%235B7FA6' opacity='0.04' transform='rotate(-5 980 400)'/%3E%3Crect x='1150' y='550' width='120' height='120' rx='4' fill='%231B2D4F' opacity='0.06' transform='rotate(12 1150 550)'/%3E%3Crect x='50' y='600' width='160' height='160' rx='4' fill='%231B2D4F' opacity='0.03' transform='rotate(-8 50 600)'/%3E%3Crect x='1300' y='700' width='200' height='200' rx='4' fill='%231B2D4F' opacity='0.03' transform='rotate(-15 1300 700)'/%3E%3Crect x='860' y='60' width='60' height='60' fill='%235B7FA6' opacity='0.07' rx='2'/%3E%3Crect x='860' y='60' width='38' height='38' fill='%231B2D4F' opacity='0.06' rx='2'/%3E%3Crect x='882' y='82' width='20' height='20' fill='%235B7FA6' opacity='0.15' rx='1'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}
.hero-section-wrap > * { position: relative; z-index: 1; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: #fff; padding: 24px; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow); gap: 20px; transform: none; }
  .hero { grid-template-columns: 1fr; padding: 120px 20px 60px; gap: 48px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* NAV WIDE FIX */
.nav-inner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav {
  justify-content: center !important;
  padding: 0 40px !important;
}

/* DROPDOWN MENU */
.has-dropdown { position: relative; }
.has-dropdown > a { cursor: pointer; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 220px;
  padding: 8px 0;
  list-style: none;
  z-index: 200;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid var(--c-border);
  border-top: 1px solid var(--c-border);
  transform: translateX(-50%) rotate(45deg);
}
.dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--c-text) !important;
  opacity: 1 !important;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.dropdown li a:hover { background: var(--c-accent-light); color: var(--c-accent) !important; }
.has-dropdown:hover .dropdown { display: block; }

/* HERO FORM */
.hero-form-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-form-box h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.hero-form-box p { font-size: 13px; color: var(--c-sub); margin-bottom: 20px; }
.hero-form-box input, .hero-form-box select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 8px; font-size: 14px;
  font-family: inherit; margin-bottom: 12px;
  outline: none; color: var(--c-text);
  transition: border-color .2s;
}
.hero-form-box input:focus, .hero-form-box select:focus { border-color: var(--c-accent); }
.hero-form-box button { width: 100%; padding: 14px; background: var(--c-accent); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .2s; }
.hero-form-box button:hover { background: var(--c-accent-dark); }
.hero-form-note { font-size: 11px; color: var(--c-sub); text-align: center; margin-top: 10px; }

/* HERO ABSTRACT BG */
.hero-section-wrap {
  background: linear-gradient(135deg, #0F1B2D 0%, #1B2D4F 40%, #0F1B2D 100%);
  position: relative;
  overflow: hidden;
}
.hero-section-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(37,99,235,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 400px 600px at 20% 80%, rgba(91,127,166,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 60% 70%, rgba(37,99,235,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-section-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-section-wrap .hero { position: relative; z-index: 1; }
.hero-section-wrap .hero-eyebrow { color: #7BA7D4; }
.hero-section-wrap .hero-title { color: #fff; }
.hero-section-wrap .hero-title em { color: #4D9FFF; }
.hero-section-wrap .hero-sub { color: rgba(255,255,255,0.7); }
.hero-section-wrap .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero-section-wrap .btn-outline:hover { border-color: #4D9FFF; color: #4D9FFF; }

/* NAV ALWAYS WHITE */
.nav {
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 0 var(--c-border) !important;
}

/* DROPDOWN GAP FIX */
.has-dropdown .dropdown {
  top: 100%;
  padding-top: 12px;
  margin-top: 0;
}
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.dropdown::before {
  display: none;
}

/* ── NEW FOOTER ── */
.footer-new {
  background: #0F1B2D;
  padding: 0;
}
.footer-new-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links li a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}
.footer-col-links li a:hover { color: #fff; }
.footer-new-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 40px;
}
.footer-new-bottom .footer-new-inner {
  padding: 20px 40px;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
@media(max-width:900px) {
  .footer-new-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-new-bottom .footer-new-inner { grid-template-columns: 1fr; gap: 8px; text-align: center; }
}
@media(max-width:600px) {
  .footer-new-inner { grid-template-columns: 1fr; }
}

/* BLOG MOBILE FIX */
@media (max-width: 768px) {
  #blog .section-inner > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  #blog .section-inner > div {
    grid-template-columns: 1fr !important;
  }
}

/* BLOG GRID MOBILE */
@media (max-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .blog-posts-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* CABINET BTN */
.btn-cabinet {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border: 1.5px solid var(--c-border);
  border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--c-text); text-decoration: none; transition: .2s;
  white-space: nowrap;
}
.btn-cabinet:hover { border-color: var(--c-accent); color: var(--c-accent); }
