/* ============================================
   injectionmoldingauction.com
   Magazine-style finance news portal
   Warm coral / orange palette
   ============================================ */

:root {
  --c-primary: #BF360C;
  --c-secondary: #E64A19;
  --c-accent: #FF7043;
  --c-soft: #FFAB91;
  --c-bg: #FBE9E7;
  --c-ink: #2A0E07;
  --c-muted: #6E4034;
  --c-line: #F5D9D2;
  --c-dark: #1A0805;
  --c-cream: #FFF5F2;
  --shadow-sm: 0 4px 14px rgba(191, 54, 12, 0.08);
  --shadow-md: 0 14px 40px rgba(191, 54, 12, 0.14);
  --shadow-lg: 0 28px 70px rgba(191, 54, 12, 0.22);
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 32px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --grad: linear-gradient(135deg, #BF360C 0%, #E64A19 50%, #FF7043 100%);
  --grad-soft: linear-gradient(135deg, #FFAB91 0%, #FBE9E7 100%);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c-primary);
}

h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: clamp(18px, 1.6vw, 22px); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--c-secondary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--c-primary); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--c-primary); color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding: clamp(60px, 9vw, 120px) 0; }

/* ============== HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px; height: 38px;
  background: var(--grad);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-ink);
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-primary);
  transition: width .3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--c-primary);
  margin: 5px 0;
  transition: .3s;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform .25s, box-shadow .25s, background .25s;
  line-height: 1;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(230, 74, 25, 0.30);
}
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 40px rgba(230, 74, 25, 0.42);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff;
  transform: scale(1.02);
}

.btn-ghost { background: var(--c-bg); color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-soft); transform: scale(1.02); }

.btn .arrow { display: inline-block; transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-light {
  background: #fff;
  color: var(--c-primary);
}
.btn-light:hover { background: var(--c-bg); transform: scale(1.02); }

/* ============== HERO — full viewport ============== */
.hero {
  position: relative;
  min-height: 80vh;
  padding: clamp(80px, 14vw, 160px) 0 clamp(80px, 14vw, 160px);
  background: var(--c-dark);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.55) 50%, rgba(191,54,12,0.4) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-soft);
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--c-accent);
}
.hero h1 { color: #fff; max-width: 1000px; margin-bottom: 28px; font-weight: 700; }
.hero p.lede { font-size: clamp(17px, 1.4vw, 21px); max-width: 720px; opacity: 0.92; margin-bottom: 40px; font-weight: 400; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-svg-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}

.hero-compact { min-height: auto; padding: clamp(60px, 8vw, 110px) 0; }
.hero-compact h1 { font-size: clamp(36px, 4.5vw, 60px); }

.hero-minimal {
  min-height: auto;
  padding: clamp(80px, 11vw, 140px) 0 clamp(80px, 11vw, 140px);
  background: var(--c-cream);
  color: var(--c-ink);
  display: block;
  overflow: hidden;
  position: relative;
}
.hero-minimal::after { display: none; }
.hero-minimal h1 { color: var(--c-primary); max-width: 1100px; }
.hero-minimal .hero-eyebrow { color: var(--c-secondary); }
.hero-minimal p.lede { color: var(--c-muted); }
.hero-minimal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ============== SECTION HEAD ============== */
.section-head { max-width: 800px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 18px;
  display: inline-block;
}
.section-head p { color: var(--c-muted); font-size: 18px; margin-top: 18px; }

/* ============== CARDS ============== */
.card {
  background: var(--c-dark);
  color: #fff;
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card h3 { color: #fff; margin-bottom: 14px; }
.card p { color: rgba(255, 255, 255, 0.78); font-size: 15px; }

.card-light {
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.card-light h3 { color: var(--c-primary); }
.card-light p { color: var(--c-muted); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--c-accent);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
}
.card-light .card-icon { background: var(--grad); }

.card-accent {
  border-top: 4px solid var(--c-accent);
}

/* ============== GRIDS ============== */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ============== BADGES ============== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 10px; height: 10px;
  background: var(--c-accent);
  border-radius: 50%;
}

/* ============== TEAM ============== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s;
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  color: #fff;
}
.team-name { font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-bottom: 6px; color: var(--c-ink); }
.team-role { color: var(--c-muted); font-size: 14px; margin-bottom: 14px; }
.team-bio { color: var(--c-muted); font-size: 13px; line-height: 1.6; }

/* ============== PRICING / PLANS OVERVIEW ============== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.plan-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--c-line);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.plan-card.featured {
  background: var(--c-dark);
  color: #fff;
  border: 0;
  transform: scale(1.04);
}
.plan-card.featured h3 { color: #fff; }
.plan-card.featured p { color: rgba(255,255,255,0.8); }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.plan-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.plan-card h3 { margin-bottom: 12px; }
.plan-card ul {
  list-style: none;
  margin: 24px 0;
}
.plan-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan-card ul li::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: 700;
}
.plan-card.featured ul li { border-color: rgba(255,255,255,0.15); }

/* ============== FOOTER ============== */
.footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 36px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 56px;
}
.footer h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.footer .logo { color: #fff; margin-bottom: 20px; }
.footer p { color: rgba(255, 255, 255, 0.65); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255, 255, 255, 0.7); transition: color .2s; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ============== COOKIE BANNER ============== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 740px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: none;
  align-items: center;
  gap: 18px;
  z-index: 200;
  flex-wrap: wrap;
  border: 1px solid var(--c-line);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--c-muted); flex: 1; min-width: 240px; }
.cookie-banner .btn { padding: 10px 22px; font-size: 13px; }

/* ============== FORM ============== */
.form-grid { display: grid; gap: 22px; max-width: 620px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--c-line);
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--c-ink);
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(230, 74, 25, 0.15);
}
.form-group .err {
  color: #c62828;
  font-size: 13px;
  display: none;
}
.form-group.invalid .err { display: block; }
.form-group.invalid input,
.form-group.invalid textarea { border-color: #c62828; }

/* ============== FAQ ============== */
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 26px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}
.faq-q .plus {
  font-size: 24px;
  transition: transform .3s;
  color: var(--c-accent);
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--c-muted);
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 24px; }

/* ============== ARTICLE ============== */
.article-hero { padding: clamp(40px, 6vw, 80px) 0; background: var(--c-bg); }
.article-meta { display: flex; gap: 18px; font-size: 14px; color: var(--c-muted); margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
.article-meta span { display: flex; align-items: center; gap: 8px; }
.article-tag {
  background: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 12px;
  color: var(--c-primary);
  border: 1px solid var(--c-line);
}
.article-featured-img {
  border-radius: 24px;
  overflow: hidden;
  margin-top: 32px;
  aspect-ratio: 16/8;
  background: var(--c-dark);
}
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.article-body { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.85; color: var(--c-ink); }
.article-body h2 { margin: 50px 0 22px; font-size: 32px; }
.article-body h3 { margin: 38px 0 18px; font-size: 24px; }
.article-body p { margin-bottom: 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote {
  border-left: 4px solid var(--c-accent);
  padding: 22px 28px;
  background: var(--c-bg);
  margin: 32px 0;
  border-radius: 0 14px 14px 0;
  color: var(--c-primary);
  font-size: 19px;
  font-style: italic;
  font-family: var(--font-head);
  font-weight: 500;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin: 40px 0;
  flex-wrap: wrap;
}
.share-bar strong { font-family: var(--font-head); font-size: 14px; }
.share-btn {
  width: 40px; height: 40px;
  background: var(--c-bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: var(--c-primary);
  font-weight: 700;
  transition: background .2s;
}
.share-btn:hover { background: var(--c-soft); }

.pdf-download {
  background: var(--c-dark);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
}
.pdf-download h3 { color: #fff; margin-bottom: 8px; }
.pdf-download p { color: rgba(255,255,255,0.78); margin: 0; }

/* ============== TESTIMONIALS ============== */
.test-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.test-card .quote {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 24px;
  flex: 1;
  line-height: 1.55;
}
.test-author { display: flex; align-items: center; gap: 14px; }
.test-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.test-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.test-role { font-size: 13px; color: var(--c-muted); }

/* ============== POST CARDS ============== */
.post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-img { aspect-ratio: 16/10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.post-card h3 { font-size: 20px; line-height: 1.3; }
.post-card .read-more {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============== TIMELINE / PROCESS ============== */
.timeline {
  position: relative;
  padding-left: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent), var(--c-soft) 80%, transparent);
}
.timeline-step {
  position: relative;
  padding-bottom: 50px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: -48px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad);
  border: 4px solid var(--c-cream);
  box-shadow: 0 0 0 4px var(--c-line);
}
.timeline-step h3 { font-size: 22px; margin-bottom: 10px; }
.timeline-step .step-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-secondary);
  margin-bottom: 8px;
  display: block;
}
.timeline-step p { color: var(--c-muted); }

/* ============== GALLERY MASONRY ============== */
.gallery {
  columns: 3 280px;
  column-gap: 20px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
}

/* ============== JOURNEY MAP ============== */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.journey-step {
  text-align: center;
  position: relative;
}
.journey-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}
.journey-step h4 { font-size: 16px; margin-bottom: 8px; color: var(--c-primary); }
.journey-step p { font-size: 13px; color: var(--c-muted); line-height: 1.5; }
.journey::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 6%; right: 6%;
  height: 2px;
  background: var(--c-soft);
  z-index: 1;
}

/* ============== SIDEBAR LAYOUT ============== */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.sidebar {
  display: grid;
  gap: 24px;
  align-content: start;
}
.sidebar-block {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.sidebar-block h4 { font-size: 16px; margin-bottom: 16px; }
.sidebar-block ul { list-style: none; }
.sidebar-block ul li { padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.sidebar-block ul li:last-child { border-bottom: 0; }

/* ============== LIVE CHAT ============== */
.live-chat {
  background: var(--c-dark);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.live-chat h3 { color: #fff; margin-bottom: 6px; }
.live-chat p { color: rgba(255,255,255,0.7); margin: 0; }
.chat-indicator { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-soft); margin-bottom: 10px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #66bb6a; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============== CONTACT GRID ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-info-item {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.contact-info-item h4 { margin-bottom: 8px; font-size: 16px; }
.contact-info-item p { color: var(--c-muted); margin: 0; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.social-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  border: 1px solid var(--c-line);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: var(--c-ink);
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--c-primary); }
.social-icon {
  width: 56px; height: 56px;
  background: var(--grad);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.social-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.social-handle { color: var(--c-muted); font-size: 13px; }

.map-block {
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
}

/* ============== BEFORE / AFTER ============== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ba-card {
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--c-line);
}
.ba-card.before { background: var(--c-bg); }
.ba-card.after { background: var(--c-dark); color: #fff; }
.ba-card.after h4 { color: #fff; }
.ba-tag {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  display: inline-block;
}
.ba-card.before .ba-tag { color: var(--c-muted); }
.ba-card.after .ba-tag { color: var(--c-soft); }

/* ============== PARTNERS ============== */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: center;
}
.partner-logo {
  height: 64px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color .3s;
}
.partner-logo:hover { color: var(--c-primary); }

/* ============== FAB ============== */
.fab-group {
  position: fixed;
  right: 22px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 90;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(230,74,25,0.45);
  font-size: 22px;
  transition: transform .25s;
  border: 0;
  cursor: pointer;
}
.fab:hover { transform: scale(1.1); color: #fff; }

/* ============== CTA BANNER ============== */
.cta-banner {
  background: var(--grad);
  color: #fff;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); }
.cta-banner .btn { justify-self: end; }

/* ============== ICON LIST ============== */
.icon-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.icon-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  align-items: start;
  transition: transform .25s;
}
.icon-item:hover { transform: translateX(4px); }
.icon-item-icon {
  width: 56px; height: 56px;
  background: var(--grad);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
}
.icon-item h4 { color: var(--c-primary); margin-bottom: 8px; font-size: 17px; }
.icon-item p { color: var(--c-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ============== CALENDAR ============== */
.calendar {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.cal-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--c-line); margin-bottom: 18px; }
.cal-head h3 { margin: 0; font-size: 20px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 13px; }
.cal-day-head { font-family: var(--font-head); font-weight: 600; font-size: 11px; color: var(--c-muted); text-transform: uppercase; padding: 8px 0; }
.cal-day { padding: 10px 0; border-radius: 8px; color: var(--c-ink); }
.cal-day.muted { color: var(--c-soft); }
.cal-day.event { background: var(--c-primary); color: #fff; font-weight: 600; }
.cal-day.today { background: var(--c-bg); font-weight: 700; }

/* ============== BREADCRUMB ============== */
.breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.5; }

/* ============== LEGAL ============== */
.legal-wrap { max-width: 880px; margin: 0 auto; }
.legal-wrap h2 { margin: 48px 0 18px; font-size: 28px; }
.legal-wrap h3 { margin: 28px 0 14px; font-size: 21px; }
.legal-wrap p { margin-bottom: 16px; color: var(--c-muted); }
.legal-wrap ul, .legal-wrap ol { margin: 0 0 18px 22px; color: var(--c-muted); }
.legal-wrap li { margin-bottom: 8px; }
.legal-toc {
  background: var(--c-bg);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.legal-toc h3 { margin-top: 0; }
.legal-toc ol { margin-left: 18px; }
.legal-toc a { color: var(--c-primary); font-weight: 500; }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
}
.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line);
}
.cookie-table th {
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.cookie-table tr:nth-child(even) td { background: var(--c-bg); }

/* ============== PORTFOLIO PROJECTS ============== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: transform .3s, box-shadow .3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-img { aspect-ratio: 16/10; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-img img { transform: scale(1.04); }
.project-body { padding: 32px; }
.project-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* ============== UTILS ============== */
.text-center { text-align: center; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.bg-soft { background: var(--c-bg); }
.bg-cream { background: var(--c-cream); }
.bg-dark { background: var(--c-dark); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .section-eyebrow { color: var(--c-soft); }
.bg-dark .section-head p { color: rgba(255,255,255,0.78); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .grid-4, .team-grid, .social-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid, .sidebar-layout { grid-template-columns: 1fr; }
  .cta-banner, .live-chat, .pdf-download { grid-template-columns: 1fr; }
  .cta-banner .btn { justify-self: start; }
  .partners-strip { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .journey::before { display: none; }
  .icon-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-menu a { display: block; padding: 14px 24px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .features-grid, .team-grid, .social-grid, .project-grid, .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .partners-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 1; }
  .timeline { padding-left: 40px; }
  .timeline::before { left: 14px; }
  .timeline-step::before { left: -32px; }
}

@media (max-width: 480px) {
  .partners-strip { grid-template-columns: 1fr; }
  .btn { padding: 14px 24px; font-size: 14px; }
  .footer-meta { flex-direction: column; gap: 8px; }
  .journey { grid-template-columns: 1fr; }
}
