/* ============================================================
   PCB LAB — Main Stylesheet  |  Mobile-first
   ============================================================ */

:root {
  --c-primary:       #0D2B45;
  --c-primary-mid:   #1A4A6E;
  --c-accent:        #E8540A;
  --c-accent-hover:  #C94408;
  --c-gold:          #C8923A;
  --c-bg:            #FFFFFF;
  --c-bg-warm:       #F9F6F2;
  --c-bg-dark:       #0D2B45;
  --c-bg-footer:     #081925;
  --c-text:          #1A1A2A;
  --c-text-muted:    #64748B;
  --c-border:        #E8E0D5;
  --c-accent-light:  #FFF3EC;

  --font: 'Segoe UI', Inter, system-ui, -apple-system, sans-serif;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(13,43,69,.08);
  --shadow-md: 0 4px 16px rgba(13,43,69,.12);
  --shadow-lg: 0 8px 32px rgba(13,43,69,.16);
  --shadow-xl: 0 16px 48px rgba(13,43,69,.20);

  --t: .3s ease;
  --t-fast: .15s ease;

  --max-w: 1200px;
  --nav-h: 70px;
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary);
}
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { color: var(--c-text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section       { padding: 4rem 0; }
.section.tight { padding: 2.5rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 { margin-bottom: .65rem; }
.section-header p {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,84,10,.3);
}
.btn-primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,84,10,.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--c-accent);
  color: var(--c-accent);
}
.btn-outline:hover { background: var(--c-accent); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--c-primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--c-bg-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.65);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.btn-dark {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-dark:hover {
  background: var(--c-primary-mid);
  transform: translateY(-2px);
}

/* ── NAV ────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
  display: flex;
  align-items: center;
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--c-primary);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.logo-mark svg { width: 28px; height: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-img { height: 48px; width: auto; display: block; }
.logo-text .brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -.01em;
}
.logo-text .tagline {
  font-size: .6rem;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--c-bg-warm); }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: all var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-110%);
  opacity: 0;
  transition: all var(--t);
  pointer-events: none;
}
.nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-menu ul { display: flex; flex-direction: column; gap: .2rem; }
.nav-menu a {
  display: block;
  padding: .7rem 1rem;
  color: var(--c-text);
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--c-bg-warm);
  color: var(--c-accent);
}
.nav-menu .nav-cta {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--c-border);
}
.nav-menu .btn { width: 100%; justify-content: center; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    transform: none; opacity: 1; pointer-events: auto;
    padding: 0; border: none; box-shadow: none; background: transparent;
  }
  .nav-menu ul { flex-direction: row; align-items: center; gap: .2rem; }
  .nav-menu a { padding: .5rem 1rem; font-size: .9rem; }
  .nav-menu .nav-cta { margin: 0; padding: 0; border: none; margin-left: .5rem; }
  .nav-menu .btn { width: auto; }
}

/* ── HERO SLIDER ────────────────────────────── */
.hero-slider {
  margin-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  height: 75vw;
  max-height: 600px;
  min-height: 300px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .75s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Placeholder gradients — replace with real images via background-image */
.slide-1 .slide-bg { background: linear-gradient(135deg, #0D2B45 0%, #1A4A6E 60%, #0D2B45 100%); }
.slide-2 .slide-bg { background: linear-gradient(135deg, #1B2F1B 0%, #2D4D2D 60%, #192B19 100%); }
.slide-3 .slide-bg { background: linear-gradient(135deg, #301A0A 0%, #4D2D10 60%, #2A1508 100%); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,43,69,.88) 0%, rgba(13,43,69,.4) 100%);
}
.slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  color: #fff;
}
.slide-tag {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.slide-content h1 { color: #fff; margin-bottom: .75rem; max-width: 620px; }
.slide-content p {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 1.5rem;
}
.slide-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.35);
  border: none; padding: 0;
  transition: all var(--t);
}
.slider-dot.active { width: 28px; background: var(--c-accent); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--t);
}
.slider-arrow:hover { background: var(--c-accent); border-color: var(--c-accent); }
.slider-arrow.prev { left: 1rem; }
.slider-arrow.next { right: 1rem; }
@media (max-width: 500px) { .slider-arrow { display: none; } }

/* ── SPLIT SECTION ──────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
}
.split-panel {
  padding: 3.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-panel-inner { max-width: 500px; width: 100%; }

.split-panel.institute { background: var(--c-primary); }
.split-panel.institute h2,
.split-panel.institute h3 { color: #fff; }
.split-panel.institute p { color: rgba(255,255,255,.78); }

.split-panel.maker { background: var(--c-bg-warm); }

.panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.institute .panel-eyebrow {
  background: rgba(232,84,10,.2);
  color: #FFB490;
  border: 1px solid rgba(232,84,10,.35);
}
.maker .panel-eyebrow {
  background: var(--c-accent-light);
  color: var(--c-accent);
  border: 1px solid rgba(232,84,10,.25);
}

.split-panel h2 { margin-bottom: .85rem; }
.split-panel > .split-panel-inner > p { font-size: .95rem; margin-bottom: 1.25rem; }

.split-features { margin: 1.25rem 0; display: flex; flex-direction: column; gap: .55rem; }
.split-feature {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  font-weight: 500;
}
.institute .split-feature { color: rgba(255,255,255,.9); }
.maker .split-feature { color: var(--c-text); }

.feature-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.institute .feature-check {
  background: rgba(232,84,10,.25);
  color: #FFB490;
  border: 1px solid rgba(232,84,10,.4);
}
.maker .feature-check {
  background: var(--c-accent-light);
  color: var(--c-accent);
  border: 1px solid rgba(232,84,10,.25);
}

.pricing-display {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
}
.institute .pricing-display { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.maker .pricing-display { background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }

.price-line { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .25rem; }
.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.price-suffix { font-size: .85rem; font-weight: 500; color: var(--c-text-muted); }
.institute .price-suffix { color: rgba(255,255,255,.55); }
.price-note { font-size: .8rem; color: var(--c-text-muted); margin: 0; }
.institute .price-note { color: rgba(255,255,255,.5); }

.split-divider { width: 1px; background: var(--c-border); display: none; }

@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1px 1fr; }
  .split-divider { display: block; }
  .split-panel { padding: 4rem 3rem; }
}

/* ── INFO STRIP ─────────────────────────────── */
.info-strip {
  background: var(--c-primary);
  padding: 1.25rem 0;
}
.info-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
.info-strip-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  justify-content: center;
  padding: .5rem;
}
.strip-icon { font-size: 1.5rem; flex-shrink: 0; }
.strip-text strong { display: block; font-size: .88rem; color: #fff; font-weight: 600; }
.strip-text span { font-size: .78rem; color: rgba(255,255,255,.6); }
@media (min-width: 600px) { .info-strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .info-strip-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── CARDS ──────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img-wrap {
  width: 100%; height: 200px;
  overflow: hidden;
  background: var(--c-bg-warm);
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--c-text-muted);
  font-size: .82rem;
  font-weight: 500;
}
.card-img-placeholder span { font-size: 2rem; opacity: .4; }

.card-body { padding: 1.5rem; }
.card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-light);
  padding: .22rem .65rem;
  border-radius: var(--r-full);
  margin-bottom: .7rem;
}
.card-body h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.card-body p { font-size: .88rem; }
.card-footer {
  padding: .85rem 1.5rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-meta { font-size: .78rem; color: var(--c-text-muted); }
.card-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--t-fast);
}
.card-link:hover { gap: .5rem; }

.icon-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,84,10,.3);
}
.icon-wrap {
  width: 60px; height: 60px;
  background: var(--c-accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.65rem;
}
.icon-card h3 { margin-bottom: .5rem; }
.icon-card p { font-size: .88rem; }

/* ── IMAGE PLACEHOLDERS ─────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-bg-warm) 0%, #ede8e0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: var(--c-text-muted);
  font-size: .82rem;
  font-weight: 500;
  border: 2px dashed var(--c-border);
  border-radius: var(--r-md);
}
.img-placeholder span { font-size: 2.5rem; opacity: .35; }

/* ── FORMS ──────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--c-text);
  font-size: .95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(232,84,10,.12);
}
.form-control::placeholder { color: #b0bec5; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-hint { font-size: .78rem; color: var(--c-text-muted); margin-top: .3rem; }
.form-notice {
  background: var(--c-accent-light);
  border: 1px solid rgba(232,84,10,.2);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  font-size: .875rem;
  color: #7a2800;
  margin-bottom: 1.25rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.25rem;
  font-size: .9rem;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── PAGE HERO ──────────────────────────────── */
.page-hero {
  margin-top: var(--nav-h);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  padding: 3.5rem 0 2.5rem;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  background: rgba(232,84,10,.07);
  border-radius: 50%;
  top: -140px; right: -80px;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: rgba(200,146,58,.06);
  border-radius: 50%;
  bottom: -100px; left: -60px;
}
.page-hero h1 { color: #fff; margin-bottom: .65rem; position: relative; z-index: 1; }
.page-hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ── BLOG ───────────────────────────────────── */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
  font-size: .83rem;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
}
.article-meta .art-tag {
  background: var(--c-accent-light);
  color: var(--c-accent);
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-content { max-width: 780px; margin: 0 auto; }
.article-content h2 { margin: 2rem 0 .75rem; font-size: 1.5rem; }
.article-content h3 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; }
.article-content p  { color: var(--c-text); line-height: 1.85; margin-bottom: 1.25rem; }
.article-content ul,
.article-content ol { margin: 0 0 1.25rem 1.5rem; color: var(--c-text); }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: .4rem; line-height: 1.75; }
.article-content img { border-radius: var(--r-md); margin: 1.5rem 0; }
.article-content blockquote {
  border-left: 4px solid var(--c-accent);
  padding: 1rem 1.5rem;
  background: var(--c-bg-warm);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--c-text);
}
.article-img-placeholder {
  width: 100%; height: 340px;
  background: linear-gradient(135deg, var(--c-bg-warm), #e8e0d8);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--c-text-muted);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.article-img-placeholder span { font-size: 3rem; opacity: .3; }

/* Blog sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .blog-layout { grid-template-columns: 1fr 300px; }
}
.blog-sidebar .sidebar-widget {
  background: var(--c-bg-warm);
  border-radius: var(--r-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}
.sidebar-article {
  display: flex;
  gap: .85rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--c-border);
}
.sidebar-article:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-art-thumb {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--c-border);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--c-text-muted);
}
.sidebar-art-text h5 {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-text);
  margin-bottom: .2rem;
}
.sidebar-art-text span { font-size: .75rem; color: var(--c-text-muted); }

/* ── CONTACT ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; align-items: start; }
}
.contact-info-card {
  background: var(--c-bg-warm);
  border-radius: var(--r-md);
  padding: 2rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.ci-icon {
  width: 44px; height: 44px;
  background: var(--c-accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ci-text strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-text-muted);
  margin-bottom: .2rem;
}
.ci-text a, .ci-text span {
  color: var(--c-text);
  font-weight: 500;
  font-size: .95rem;
}
.ci-text a:hover { color: var(--c-accent); }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* ── SERVICES ───────────────────────────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--c-border);
}
.service-block:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .service-block { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .service-block.flip .service-img { order: -1; }
}
.service-img {
  border-radius: var(--r-md);
  overflow: hidden;
}
.service-img-ph {
  width: 100%; height: 280px;
  background: linear-gradient(135deg, var(--c-bg-warm), #e8e0d6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--c-text-muted);
  font-size: .85rem;
}
.service-img-ph span { font-size: 3rem; opacity: .35; }
.spec-table { margin: 1.25rem 0; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: .88rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .s-label { color: var(--c-text-muted); font-weight: 500; }
.spec-row .s-val { color: var(--c-text); font-weight: 600; }

/* ── LOGIN / AUTH ───────────────────────────── */
.auth-wrap {
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-warm);
  padding: 2.5rem 1.25rem;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 500px) { .auth-card { padding: 1.75rem 1.25rem; } }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-bg-warm);
  border-radius: var(--r-md);
  padding: .25rem;
  margin-bottom: 2rem;
  gap: 0;
}
.auth-tab {
  padding: .6rem 1rem;
  border-radius: calc(var(--r-md) - 2px);
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-text-muted);
  transition: all var(--t-fast);
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.auth-tab.active { background: #fff; color: var(--c-primary); box-shadow: var(--shadow-sm); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-logo { text-align: center; margin-bottom: 1.75rem; }
.auth-logo .brand { font-size: 1.5rem; font-weight: 800; color: var(--c-primary); }
.auth-logo .tagline { font-size: .75rem; color: var(--c-accent); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ── LEGAL (Terms / Privacy) ────────────────── */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.legal-wrap h2 { margin: 2.25rem 0 .75rem; font-size: 1.35rem; }
.legal-wrap h3 { margin: 1.75rem 0 .5rem; font-size: 1.1rem; }
.legal-wrap p  { color: var(--c-text); line-height: 1.85; margin-bottom: 1rem; }
.legal-wrap ul, .legal-wrap ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--c-text);
}
.legal-wrap ul { list-style: disc; }
.legal-wrap li { margin-bottom: .4rem; line-height: 1.75; }
.highlight-box {
  background: var(--c-accent-light);
  border-left: 4px solid var(--c-accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 1.25rem 0;
}
.highlight-box p { color: #7a2800 !important; margin: 0; font-weight: 500; }
.info-box {
  background: #EFF6FF;
  border-left: 4px solid #3B82F6;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 1.25rem 0;
}
.info-box p { color: #1D4ED8 !important; margin: 0; }

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--c-bg-footer);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.6fr; } }

.footer-logo .brand { color: #fff; font-size: 1.25rem; font-weight: 800; }
.footer-logo .tagline { color: var(--c-accent); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.footer-logo .logo-mark { background: rgba(255,255,255,.08); margin-bottom: .85rem; }
.footer-desc { font-size: .855rem; line-height: 1.75; margin-top: .85rem; }

.footer-heading {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { font-size: .855rem; color: rgba(255,255,255,.6); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--c-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .855rem;
  margin-bottom: .85rem;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.fci-icon { color: var(--c-accent); font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.fci-text a { color: rgba(255,255,255,.7); transition: color var(--t-fast); }
.fci-text a:hover { color: var(--c-accent); }
.fci-text span { color: rgba(255,255,255,.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.4); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--c-accent); }

/* ── UTILITIES ──────────────────────────────── */
.text-center  { text-align: center; }
.text-accent  { color: var(--c-accent); }
.text-muted   { color: var(--c-text-muted); }
.bg-warm      { background: var(--c-bg-warm); }
.bg-dark      { background: var(--c-bg-dark); color: #fff; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.divider { height: 1px; background: var(--c-border); margin: 2.5rem 0; }
.badge {
  display: inline-block;
  padding: .22rem .7rem;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.badge-accent { background: var(--c-accent-light); color: var(--c-accent); }
.badge-dark   { background: var(--c-primary); color: #fff; }
.badge-gold   { background: rgba(200,146,58,.12); color: var(--c-gold); border: 1px solid rgba(200,146,58,.3); }

/* ── FADE-UP ANIMATION ──────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ── RESPONSIVE HELPERS ─────────────────────── */
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }
