/* ═══════════════════════════════════════════════════════
   Sourcetech Innovations — Shared Stylesheet
   Premium Industrial Technology Website
   ═══════════════════════════════════════════════════════ */

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

:root {
  --white:   #FFFFFF;
  --bg-soft: #F4FAFD;
  --bg-blue: #EAF7FC;
  --sky:     #38BDF8;
  --primary: #087EA4;
  --deep:    #063B5C;
  --text-h:  #163447;
  --text-b:  #5B7180;
  --text-m:  #8AA5B5;
  --border:  #DCEEF5;
  --border2: #BAD9E8;
  --shadow:  0 1px 4px rgba(6,59,92,0.06);
  --shadow2: 0 4px 20px rgba(6,59,92,0.1);
  --shadow3: 0 8px 40px rgba(6,59,92,0.13);
  --r:       0.5rem;
  --r2:      0.875rem;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-b);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { color: var(--text-h); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Layout ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media(min-width:768px){ .container { padding: 0 2rem; } }
@media(min-width:1280px){ .container { padding: 0 2.5rem; } }
.section { padding: 5rem 0; }
@media(min-width:768px){ .section { padding: 6rem 0; } }
.bg-white  { background: var(--white); }
.bg-soft   { background: var(--bg-soft); }
.bg-blue   { background: var(--bg-blue); }
.bg-deep   { background: var(--deep); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1rem; }
.grid-half { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 3rem; align-items: start; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #FFFFFF; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(6,59,92,0.06);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg,#087EA4,#38BDF8);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: white; font-weight: 900;
  box-shadow: 0 2px 8px rgba(8,126,164,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.logo-icon:hover { transform: scale(1.06); box-shadow: 0 4px 16px rgba(8,126,164,0.4); }
.logo-text-main { font-size: 0.9375rem; font-weight: 800; color: var(--text-h); line-height: 1.1; }
.logo-text-sub  { font-size: 0.5625rem; color: var(--primary); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.nav-links { display: none; align-items: center; gap: 4px; }
@media(min-width:1024px){ .nav-links { display: flex; } }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  color: var(--text-h); transition: all 0.18s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--bg-blue); }
.nav-cta {
  display: none; padding: 9px 20px; font-size: 0.875rem; font-weight: 700;
  color: white; background: var(--deep); border-radius: 8px;
  box-shadow: 0 2px 8px rgba(6,59,92,0.2); transition: all 0.2s; border: none;
}
@media(min-width:1024px){ .nav-cta { display: inline-block; } }
.nav-cta:hover { background: var(--primary); box-shadow: 0 4px 16px rgba(8,126,164,0.35); transform: translateY(-1px); }
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: none; cursor: pointer; }
@media(min-width:1024px){ .hamburger { display: none; } }
.hamburger span { width: 18px; height: 2px; background: var(--text-h); border-radius: 2px; transition: all 0.2s; }
.mobile-menu { display: none; background: white; border-top: 1px solid var(--border); padding: 1rem 0 1.5rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 11px 1.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--text-h); border-bottom: 1px solid #F4FAFD; }
.mobile-menu a:hover { color: var(--primary); background: var(--bg-soft); }
.mobile-menu .mobile-cta { margin: 1rem 1.5rem 0; display: block; text-align: center; padding: 13px; background: var(--deep); color: white; border-radius: 8px; font-weight: 700; }
.mobile-solutions-label { padding: 12px 1.5rem 6px; font-size: 0.65rem; font-weight: 800; color: var(--primary); letter-spacing: 0.15em; text-transform: uppercase; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 68px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF7FC 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(8,126,164,0.04) 1px,transparent 1px), linear-gradient(90deg,rgba(8,126,164,0.04) 1px,transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { position: relative; z-index: 1; padding: 4rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.5rem;
  padding: 6px 14px; background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.25);
  border-radius: 100px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; }
.hero-badge-text { font-size: 0.75rem; font-weight: 700; color: var(--primary); letter-spacing: 0.12em; text-transform: uppercase; }
.hero-h1 { font-size: clamp(2.25rem,5vw,3.75rem); font-weight: 800; color: var(--text-h); line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -0.025em; }
.hero-h1 span { background: linear-gradient(135deg,#087EA4,#38BDF8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-p { font-size: 1.0625rem; color: var(--text-b); max-width: 34rem; line-height: 1.78; margin-bottom: 2.5rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.5rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-size: 0.9375rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: var(--deep); color: white; box-shadow: 0 2px 8px rgba(6,59,92,0.2); }
.btn-primary:hover { background: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(8,126,164,0.35); }
.btn-sky { background: var(--sky); color: var(--deep); }
.btn-sky:hover { background: white; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--bg-blue); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.arrow { margin-left: 4px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r2);
  padding: 1.75rem; box-shadow: var(--shadow); transition: all 0.22s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(8,126,164,0.12); border-color: var(--sky); }
.card-soft { background: var(--bg-soft); }
.card-accent { border-top: 3px solid var(--primary); }
.card-left { border-left: 3px solid var(--sky); }

/* ── Eyebrow ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 0.6875rem; font-weight: 700; color: var(--primary); letter-spacing: 0.15em; text-transform: uppercase; }
.eyebrow::before { content: ''; display: block; width: 2rem; height: 2px; background: var(--primary); flex-shrink: 0; }

/* ── Section headers ── */
.section-h2 { font-size: clamp(1.75rem,3.5vw,2.5rem); margin-bottom: 12px; }
.section-p { font-size: 0.9375rem; color: var(--text-b); line-height: 1.75; max-width: 38rem; }

/* ── Capability chip ── */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; background: var(--white); border: 1px solid var(--border); border-radius: 100px; font-size: 0.875rem; font-weight: 500; color: var(--text-h); transition: all 0.18s; white-space: nowrap; box-shadow: var(--shadow); }
.chip:hover { background: var(--bg-blue); border-color: var(--sky); color: var(--primary); }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }

/* ── Capability strip ── */
.cap-strip { background: var(--deep); padding: 1.25rem 0; }
.cap-strip-inner { display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center; }
.cap-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap; }
.cap-pill-icon { width: 8px; height: 8px; background: var(--sky); border-radius: 50%; flex-shrink: 0; }

/* ── Hero visual panel ── */
.hero-panel {
  background: white; border-radius: 20px; padding: 1.75rem;
  box-shadow: 0 8px 48px rgba(6,59,92,0.1); border: 1px solid var(--border);
}
.hero-panel-header { display: flex; align-items: center; gap: 8px; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.panel-label { font-size: 0.72rem; font-weight: 700; color: var(--text-b); letter-spacing: 0.1em; text-transform: uppercase; }
.panel-dots { margin-left: auto; display: flex; gap: 4px; }
.panel-dot { width: 6px; height: 6px; border-radius: 50%; }
.flow-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; transition: all 0.25s; margin-bottom: 4px; }
.flow-item.active { background: rgba(8,126,164,0.08); border: 1px solid rgba(8,126,164,0.2); }
.flow-icon { width: 30px; height: 30px; background: var(--bg-blue); border: 1.5px solid var(--border2); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.flow-name { font-size: 0.825rem; font-weight: 700; color: var(--text-h); }
.flow-sub  { font-size: 0.68rem; color: var(--text-b); }
.flow-connector { width: 1px; height: 10px; background: var(--border); margin: 0 0 4px 22px; }
.panel-footer { margin-top: 14px; padding: 10px 14px; background: linear-gradient(135deg,var(--deep),var(--primary)); border-radius: 10px; display: flex; align-items: center; justify-content: space-between; }
.panel-footer-text { font-size: 0.8rem; font-weight: 600; color: white; }

/* ── Process steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.step-box { padding: 1.5rem; background: var(--white); transition: background 0.2s; }
.step-box:hover { background: var(--bg-soft); }
.step-num { font-size: 1.5rem; font-weight: 900; color: rgba(8,126,164,0.15); margin-bottom: 8px; }
.step-label { font-size: 0.9375rem; font-weight: 700; color: var(--text-h); margin-bottom: 6px; }
.step-sub { font-size: 0.75rem; color: var(--text-m); }

/* ── Category section ── */
.cat-header { margin-bottom: 2.5rem; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.cat-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; background: var(--bg-blue); border: 1px solid var(--border2); border-radius: 100px; font-size: 0.6875rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Product cards ── */
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: all 0.22s; position: relative; overflow: hidden; min-height: 240px; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(8,126,164,0.12); border-color: rgba(8,126,164,0.3); }
.product-card:hover::before { transform: scaleX(1); }
.prod-cat { font-size: 0.6875rem; font-weight: 700; color: var(--primary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; padding: 3px 9px; background: var(--bg-blue); border-radius: 100px; display: inline-block; border: 1px solid rgba(8,126,164,0.15); }
.prod-name { font-size: 1.0625rem; font-weight: 800; color: var(--text-h); margin-bottom: 6px; line-height: 1.3; }
.prod-tagline { font-size: 0.8125rem; color: var(--text-b); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.prod-caps { margin-bottom: 16px; }
.prod-caps-label { font-size: 0.65rem; font-weight: 700; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.prod-cap-item { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 5px; }
.prod-cap-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sky); flex-shrink: 0; margin-top: 7px; }
.prod-cap-text { font-size: 0.78rem; color: var(--text-h); line-height: 1.4; }
.prod-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 700; color: var(--primary); transition: gap 0.2s; }
.prod-link:hover { gap: 10px; }

/* ── How it works (workflow) ── */
.workflow { display: flex; flex-direction: column; gap: 0; }
.wf-item { display: flex; flex-direction: column; }
.wf-step { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; transition: all 0.2s; }
.wf-step:hover { border-color: rgba(8,126,164,0.35); transform: translateX(4px); }
.wf-num { width: 28px; height: 28px; background: var(--bg-blue); border: 1.5px solid var(--border2); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; color: var(--primary); flex-shrink: 0; }
.wf-label { font-size: 0.875rem; font-weight: 700; color: var(--text-h); }
.wf-sub { font-size: 0.73rem; color: var(--text-b); }
.wf-connector { width: 2px; height: 18px; background: linear-gradient(var(--border2), var(--border)); margin-left: 22px; }

/* ── Benefit / check items ── */
.check-item { display: flex; align-items: flex-start; gap: 10px; padding: 0.875rem 1rem; background: var(--white); border: 1px solid var(--border); border-radius: 9px; box-shadow: var(--shadow); }
.check-icon { color: var(--primary); font-weight: 900; font-size: 1rem; flex-shrink: 0; line-height: 1.4; }
.check-text { font-size: 0.875rem; color: var(--text-h); line-height: 1.55; }

/* ── CTA section ── */
.cta-section { padding: 4rem 0; background: var(--deep); text-align: center; }
.cta-h2 { font-size: clamp(1.5rem,3vw,2rem); color: white; margin-bottom: 12px; }
.cta-p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 0.9375rem; }

/* ── Footer ── */
footer { background: var(--deep); color: white; }
.footer-cta-band { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 3rem 0; }
.footer-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-cta-h { font-size: 1.375rem; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-cta-p { font-size: 0.9375rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-main { padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-col-title { font-size: 0.6875rem; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 0.8125rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-link:hover { color: var(--sky); }
.footer-brand-text { font-size: 0.8125rem; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 18px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-contact-icon { color: var(--sky); flex-shrink: 0; font-weight: 900; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 8rem 0 4rem; background: linear-gradient(135deg,#FFFFFF 0%,#EAF7FC 100%); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(8,126,164,0.035) 1px,transparent 1px),linear-gradient(90deg,rgba(8,126,164,0.035) 1px,transparent 1px); background-size: 48px 48px; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem,4.5vw,3rem); color: var(--text-h); max-width: 38rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.page-hero p { font-size: 1rem; color: var(--text-b); max-width: 38rem; line-height: 1.75; }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { font-size: 0.8125rem; color: var(--text-m); font-weight: 500; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { font-size: 0.75rem; color: var(--border2); }
.breadcrumb-current { font-size: 0.8125rem; color: var(--text-h); font-weight: 700; }

/* ── Product page nav ── */
.prev-next { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--border); }
.prev-next a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--text-b); transition: color 0.18s; }
.prev-next a:hover { color: var(--primary); }
.prev-next .center-link { font-size: 0.875rem; font-weight: 700; color: var(--primary); padding: 8px 18px; border: 1.5px solid var(--border2); border-radius: 8px; transition: all 0.18s; }
.prev-next .center-link:hover { background: var(--bg-blue); border-color: var(--sky); }

/* ── Industry cards ── */
.industry-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; box-shadow: var(--shadow); transition: all 0.22s; }
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow3); border-color: var(--border2); }
.industry-name { font-size: 1rem; font-weight: 700; color: var(--text-h); margin-bottom: 10px; }
.industry-desc { font-size: 0.8125rem; color: var(--text-b); line-height: 1.65; margin-bottom: 14px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.industry-tag { padding: 3px 10px; background: var(--bg-blue); border: 1px solid var(--border2); border-radius: 100px; font-size: 0.7rem; font-weight: 600; color: var(--primary); }

/* ── Insights ── */
.insight-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; box-shadow: var(--shadow); transition: all 0.22s; position: relative; }
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow2); border-color: var(--border2); }
.insight-cat { font-size: 0.65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.insight-title { font-size: 0.9375rem; font-weight: 700; color: var(--text-h); margin-bottom: 10px; line-height: 1.4; padding-right: 56px; }
.insight-desc { font-size: 0.8125rem; color: var(--text-b); line-height: 1.65; }
.insight-badge { position: absolute; top: 14px; right: 14px; padding: 3px 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 100px; font-size: 0.65rem; font-weight: 700; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Contact form ── */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-size: 0.8125rem; font-weight: 600; color: var(--text-h); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-h); font-size: 0.875rem; font-family: inherit;
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56,189,248,0.12); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { padding: 13px 28px; background: var(--deep); color: white; border: none; border-radius: 8px; font-size: 0.9375rem; font-weight: 700; cursor: pointer; transition: all 0.2s; width: 100%; }
.form-submit:hover { background: var(--primary); transform: translateY(-1px); }

/* ── Info panels ── */
.info-panel { padding: 1.75rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; border-top: 3px solid var(--sky); }
.info-panel-label { font-size: 0.6875rem; font-weight: 700; color: var(--primary); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.info-panel-text { font-size: 0.9rem; color: var(--text-b); line-height: 1.7; }

/* ── About ── */
.quote-card { padding: 1.25rem 1.5rem; background: var(--bg-blue); border: 1px solid var(--border2); border-radius: 10px; border-left: 3px solid var(--sky); margin-top: 1.5rem; }
.quote-text { font-size: 0.9375rem; font-style: italic; color: var(--text-h); line-height: 1.7; }
.detail-row { display: flex; gap: 12px; margin-bottom: 14px; }
.detail-key { font-size: 0.8rem; font-weight: 600; color: var(--text-m); min-width: 110px; flex-shrink: 0; }
.detail-val { font-size: 0.875rem; color: var(--text-h); }

/* ── 404 ── */
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#FFFFFF,#EAF7FC); padding: 2rem; }
.not-found-inner { text-align: center; max-width: 32rem; }
.not-found-icon { width: 64px; height: 64px; background: var(--bg-blue); border: 2px solid var(--border2); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 1.75rem; }
.not-found-big { font-size: 5rem; font-weight: 900; color: var(--border); line-height: 1; margin-bottom: 16px; }
.not-found-h { font-size: 1.5rem; font-weight: 700; color: var(--text-h); margin-bottom: 12px; }
.not-found-p { font-size: 0.9375rem; color: var(--text-b); line-height: 1.75; margin-bottom: 2rem; }

/* ── Utilities ── */
.flex-wrap { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mb-xl { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.8125rem; }
.color-primary { color: var(--primary); }
.color-muted { color: var(--text-m); }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1rem; }

/* ── Responsive ── */
@media(max-width:768px){
  .hero-h1 { font-size: clamp(2rem,8vw,2.75rem); }
  .section-h2 { font-size: clamp(1.5rem,6vw,2rem); }
  .hero-grid { gap: 2.5rem; }
  .hero-panel { display: none; }
  .grid-half { gap: 2rem; }
  .footer-grid { gap: 2rem; }
  .prev-next { flex-direction: column; align-items: center; text-align: center; }
  .cat-header { flex-direction: column; }
}
@media(min-width:768px){
  .hamburger { display: none; }
}

/* ── Animations ── */
@keyframes fade-up { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
.fade-up { animation: fade-up 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
@media(prefers-reduced-motion:reduce){ *, *::before, *::after { animation:none!important; transition:none!important; } }
