/* =============================================
   株式会社テルサント  共通スタイル
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;
  color: #1a2535;
  background: #f5f7fa;
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Layout --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section       { padding: 72px 0; }
.section--gray { background: #eef1f6; }
.section--dark { background: #0d2140; color: #fff; }
.section--white{ background: #fff; }

/* --- HEADER --- */
.site-header {
  background: #0d2140;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.25;
}
.site-logo-sub { font-size: .7rem; font-weight: 400; opacity: .65; display: block; letter-spacing: .06em; }
.site-logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; display: block; }
.site-logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #f5a623, #e8543e);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.site-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 600;
  padding: 8px 16px; border-radius: 6px;
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,.12); color: #fff;
}
.nav-tel {
  margin-left: 12px; color: #fff; font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 20px;
  white-space: nowrap;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, #0b1d38 0%, #1a4480 45%, #2e6ab7 75%, #5ba3e0 100%);
  color: #fff; padding: 96px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(245,166,35,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(91,163,224,.2) 0%, transparent 45%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 18px; border-radius: 100px; font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; line-height: 1.25; margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-weight: 500; opacity: .88; margin-bottom: 14px;
}
.hero-desc { font-size: .95rem; opacity: .72; margin-bottom: 40px; max-width: 540px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  text-decoration: none; border: none; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-primary {
  background: linear-gradient(135deg, #f5a623, #e8543e);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,84,62,.35);
}
.btn-outline {
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.18); }
.btn-navy {
  background: #0d2140; color: #fff;
}
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* --- SECTION HEADING --- */
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: 1.9rem; font-weight: 900; color: #0d2140; margin-bottom: 12px; }
.section-head p { color: #6c7a8d; font-size: 1rem; max-width: 560px; margin: 0 auto; }
.label-badge {
  display: inline-block;
  background: linear-gradient(90deg, #1a4480, #2e6ab7);
  color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 14px;
  letter-spacing: .1em;
}

/* --- STATS BAR --- */
.stats-bar {
  background: #fff;
  border-top: 4px solid #0d2140;
  padding: 32px 0;
}
.stats-inner {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat-item {
  flex: 1; min-width: 180px; text-align: center;
  padding: 20px 24px;
  border-right: 1px solid #e8edf3;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.2rem; font-weight: 900; color: #0d2140; line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { font-size: 1.1rem; font-weight: 700; }
.stat-label { font-size: .8rem; color: #6c7a8d; font-weight: 600; }

/* --- CATEGORY CARDS (HOME) --- */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  border-radius: 16px; padding: 32px 26px 28px;
  color: #fff; display: block; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(0,0,0,.2); }
.cat-card::after {
  content: '→';
  position: absolute; bottom: 22px; right: 22px;
  font-size: 1.2rem; opacity: .5; transition: opacity .2s, transform .2s;
}
.cat-card:hover::after { opacity: 1; transform: translateX(5px); }
.cat-card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.cat-card-en   { font-size: .7rem; opacity: .7; letter-spacing: .1em; margin-bottom: 5px; font-weight: 600; }
.cat-card-name { font-size: 1.1rem; font-weight: 800; line-height: 1.35; }
.cat-card-count{ font-size: .75rem; opacity: .65; margin-top: 8px; }

/* Category card with image background */
.cat-card-has-img {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.cat-card-has-img::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.38); border-radius: inherit; z-index: 0;
}
.cat-card-has-img > * { position: relative; z-index: 1; }

/* Category gradients */
.cat-wash-dry    { background: linear-gradient(135deg, #f97316, #ef4444); }
.cat-wash-wet    { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.cat-ink         { background: linear-gradient(135deg, #059669, #0d9488); }
.cat-handwash    { background: linear-gradient(135deg, #ec4899, #f97316); }
.cat-led         { background: linear-gradient(135deg, #d97706, #f59e0b); }
.cat-varnish     { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.cat-custom      { background: linear-gradient(135deg, #6b7280, #374151); }

/* --- FEATURE CARDS --- */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: #fff; border-radius: 14px; padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border-top: 4px solid;
}
.feat-card.fc-1 { border-color: #2563eb; }
.feat-card.fc-2 { border-color: #059669; }
.feat-card.fc-3 { border-color: #f97316; }
.feat-icon  { font-size: 2.2rem; margin-bottom: 16px; }
.feat-title { font-size: 1.05rem; font-weight: 800; color: #0d2140; margin-bottom: 10px; }
.feat-body  { color: #6c7a8d; font-size: .9rem; line-height: 1.75; }

/* --- PRODUCTS LIST PAGE --- */
.products-filter {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px; border-radius: 100px; font-size: .88rem; font-weight: 700;
  cursor: pointer; border: 2px solid #cdd5e0;
  background: #fff; color: #0d2140;
  transition: all .2s; text-decoration: none; display: inline-block;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.filter-btn:hover, .filter-btn.active {
  background: #0d2140; color: #fff; border-color: #0d2140;
}

.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 960px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.13); }

.prod-card-thumb {
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-size: 3.8rem;
}
.prod-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.prod-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.prod-card-cat  {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #6c7a8d; margin-bottom: 5px;
}
.prod-card-name { font-size: 1.05rem; font-weight: 800; color: #0d2140; margin-bottom: 3px; line-height: 1.3; }
.prod-card-ja   { font-size: .8rem; color: #4a7ab7; margin-bottom: 8px; }
.prod-card-sub  { font-size: .82rem; color: #6c7a8d; margin-bottom: 14px; line-height: 1.6; flex: 1; }
.prod-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  background: #eef2f8; color: #2563eb;
  font-size: .7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  text-decoration: none;
}
a.tag:hover { background: #dce6ff; color: #1d4ed8; }

/* --- PRODUCT DETAIL PAGE --- */
.breadcrumb {
  font-size: .82rem; color: #6c7a8d; margin-bottom: 32px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: #2563eb; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .4; }

.prod-detail-wrap {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start;
}
@media (max-width: 760px) { .prod-detail-wrap { grid-template-columns: 1fr; } }

.prod-detail-thumb {
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: sticky; top: 88px;
}
.prod-detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px; font-size: .75rem; font-weight: 700;
  color: #fff; margin-bottom: 18px;
}
.prod-detail-name    { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #0d2140; margin-bottom: 4px; line-height: 1.2; }
.prod-detail-name-ja { font-size: 1rem; color: #4a7ab7; margin-bottom: 8px; font-weight: 600; }
.prod-detail-sub     { font-size: .95rem; color: #6c7a8d; margin-bottom: 24px; }
.prod-detail-tags    { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

/* Stock badge */
.stock-badge-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.stock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px;
  font-size: .9rem; font-weight: 700; white-space: nowrap;
}
.stock-in      { background: #ebfbee; color: #2f9e44; border: 1.5px solid #b2f2bb; }
.stock-low     { background: #fff9db; color: #e67700; border: 1.5px solid #ffe066; }
.stock-out     { background: #fff5f5; color: #c92a2a; border: 1.5px solid #ffc9c9; }
.stock-inquiry { background: #e7f5ff; color: #1971c2; border: 1.5px solid #74c0fc; }
.stock-note    { font-size: .82rem; color: #6c7a8d; }

/* Markdown content */
.md-content { line-height: 1.95; color: #2c3e50; }
.md-content h2 {
  font-size: 1.3rem; font-weight: 800; color: #0d2140;
  margin: 36px 0 14px;
  border-left: 4px solid #2563eb; padding-left: 14px;
}
.md-content h3 { font-size: 1.1rem; font-weight: 700; color: #1a3560; margin: 24px 0 10px; }
.md-content p  { margin-bottom: 16px; }
.md-content ul, .md-content ol { margin: 0 0 16px 24px; }
.md-content li { margin-bottom: 8px; }
.md-content strong { color: #0d2140; font-weight: 800; }
.md-content code { background: #eef2f8; padding: 2px 6px; border-radius: 4px; font-size: .88em; }
.md-content hr { border: none; border-top: 1px solid #dce3ec; margin: 24px 0; }
.md-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; display: block; }
.md-content .ql-align-center { text-align: center; }
.md-content .ql-align-right  { text-align: right; }

/* Table in Markdown */
.md-content table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: .88rem; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}
.md-content th {
  background: #0d2140; color: #fff;
  padding: 11px 16px; text-align: left; font-weight: 700;
}
.md-content td { padding: 10px 16px; border-bottom: 1px solid #e8edf3; }
.md-content tr:nth-child(even) td { background: #f5f7fa; }
.md-content tr:last-child td { border-bottom: none; }
/* Quill table-embed wrapper on public product page */
.md-content .ql-table-embed { overflow-x: auto; margin: 4px 0; }

/* Related products */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 720px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .related-grid { grid-template-columns: 1fr; } }

/* --- COMPANY PAGE --- */
.company-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 56px;
}
@media (max-width: 720px) { .company-intro { grid-template-columns: 1fr; } }

.company-table-wrap {
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07); overflow: hidden;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table th {
  width: 180px; background: #f0f3f8;
  padding: 16px 22px; font-weight: 700; color: #0d2140;
  border-bottom: 1px solid #dce3ec; vertical-align: top;
  text-align: left; font-size: .9rem;
}
.company-table td {
  padding: 16px 22px; border-bottom: 1px solid #dce3ec;
  font-size: .9rem;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
@media (max-width: 560px) {
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: none; padding-bottom: 4px; background: #f0f3f8; }
  .company-table td { padding-top: 8px; }
}

/* --- CONTACT SECTION --- */
.contact-section {
  background: linear-gradient(135deg, #0b1d38 0%, #1a4480 50%, #2e6ab7 100%);
  color: #fff; text-align: center; padding: 80px 24px;
  position: relative; overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(245,166,35,.15) 0%, transparent 60%);
}
.contact-section > * { position: relative; z-index: 1; }
.contact-section h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 12px; }
.contact-section p  { opacity: .82; margin-bottom: 36px; font-size: .95rem; }
.contact-tel { font-size: 2.4rem; font-weight: 900; letter-spacing: .06em; margin-bottom: 6px; }
.contact-tel a { color: #fff; }
.contact-info { font-size: .82rem; opacity: .6; margin-bottom: 36px; }

/* --- FOOTER --- */
.site-footer {
  background: #060f1e; color: rgba(255,255,255,.6);
  padding: 48px 24px 32px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 32px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.footer-brand .footer-logo {
  color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 8px;
}
.footer-brand p { font-size: .82rem; line-height: 1.8; }
.footer-nav h4 { color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav li a { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-nav li a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  text-align: center; font-size: .75rem; opacity: .45;
}

/* --- PRODUCT COLOR THUMBS --- */
.ph-1 { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; }
.ph-2 { background: linear-gradient(135deg, #f59e0b, #84cc16); color: #fff; }
.ph-3 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; }
.ph-4 { background: linear-gradient(135deg, #ec4899, #a855f7); color: #fff; }
.ph-5 { background: linear-gradient(135deg, #10b981, #0d9488); color: #fff; }
.ph-6 { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; }
.ph-7 { background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #0d2140, #1a4480);
  color: #fff; padding: 52px 24px;
}
.page-hero-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  opacity: .6; margin-bottom: 10px;
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; }
.page-hero p  { margin-top: 10px; opacity: .75; font-size: .92rem; max-width: 500px; }

/* --- UTILITY --- */
.text-center { text-align: center; }
.mt-2  { margin-top:  8px; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.hidden { display: none !important; }

/* --- RESPONSIVE NAV & MOBILE MENU --- */
@media (max-width: 860px) {
  .site-nav .nav-link { display: none; }
  .site-nav .nav-tel  { display: none; }
}
@media (min-width: 861px) {
  .nav-hamburger { display: none !important; }
  .mobile-nav    { display: none !important; }
}

/* Animated hamburger button */
.nav-hamburger {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; padding: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; cursor: pointer; flex-shrink: 0;
  transition: background .2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,.18); }
.hb-bar {
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
}
.nav-hamburger.is-open .hb-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .hb-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.is-open .hb-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown — lives INSIDE .site-header (sticky) */
.mobile-nav {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
  background: #0b1c38;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-nav.is-open { max-height: 420px; }

.mobile-nav-inner {
  padding: 8px 20px 16px;
}
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  color: rgba(255,255,255,.8); padding: 13px 4px;
  font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s, padding-left .2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: #f5a623; padding-left: 8px; }
.mobile-nav-arrow { font-size: .7rem; opacity: .4; }
.mobile-nav-tel {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 1.05rem;
  padding: 14px 4px 4px;
}
.mobile-nav-tel a { color: #fff; }

/* Footer EN name */
.footer-en { font-size: .75rem; color: rgba(255,255,255,.38); margin-bottom: 10px; letter-spacing: .06em; }

/* --- NEWS PAGE --- */
.news-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 680px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
  border-left: 4px solid transparent;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.13); }
.news-card-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.news-date { font-size: .78rem; color: #6c7a8d; font-weight: 600; }
.news-cat-badge {
  font-size: .68rem; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; color: #fff;
}
.news-cat-info     { background: #2563eb; }
.news-cat-product  { background: #f97316; }
.news-cat-event    { background: #059669; }
.news-cat-media    { background: #7c3aed; }
.news-cat-other    { background: #6c7a8d; }
.news-card-title { font-size: 1rem; font-weight: 800; color: #0d2140; margin-bottom: 10px; line-height: 1.4; }
.news-card-excerpt { font-size: .86rem; color: #6c7a8d; line-height: 1.7; flex: 1; }
.news-card-more { margin-top: 14px; font-size: .82rem; color: #2563eb; font-weight: 700; }

/* border-left color per category */
.news-card.nc-info    { border-left-color: #2563eb; }
.news-card.nc-product { border-left-color: #f97316; }
.news-card.nc-event   { border-left-color: #059669; }
.news-card.nc-media   { border-left-color: #7c3aed; }

/* --- CONTACT PAGE --- */
.contact-split {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start;
}
@media (max-width: 760px) { .contact-split { grid-template-columns: 1fr; } }

.contact-form-card, .contact-info-card {
  background: #fff; border-radius: 16px; padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.cf-group { margin-bottom: 1.1rem; }
.cf-group label {
  display: block; font-size: .82rem; font-weight: 700;
  color: #555; margin-bottom: .4rem;
}
.cf-group label .req { color: #e03131; margin-left: 2px; }
.cf-group input, .cf-group select, .cf-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid #dce3ec; border-radius: 8px;
  font-size: .9rem; font-family: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fff; color: #1a2535;
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.cf-group textarea { min-height: 140px; resize: vertical; }
.cf-success {
  background: linear-gradient(135deg, #ebfbee, #d3f9d8);
  border: 1.5px solid #8ce99a; color: #2f9e44;
  border-radius: 12px; padding: 1.5rem; text-align: center;
  font-weight: 700; font-size: 1rem;
}
.contact-info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid #eef1f6;
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #1a4480, #2e6ab7);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .85rem; flex-shrink: 0;
}
.contact-info-label { font-size: .72rem; font-weight: 700; color: #6c7a8d; margin-bottom: 2px; }
.contact-info-val   { font-size: .92rem; font-weight: 700; color: #0d2140; }
.contact-info-val a { color: #2563eb; }

/* FA icons in product cards */
.prod-icon { font-size: 3.5rem; color: rgba(255,255,255,.9); }
.cat-icon  { font-size: 2rem; margin-bottom: 16px; color: rgba(255,255,255,.9); }
.md-img {
  max-width: 100%; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  margin: 8px 0;
}
.md-figure { margin: 20px 0; text-align: center; }
.md-figure .md-img { margin: 0 auto; }
