/* ==========================================================================
   商情數位科技有限公司 (bizs.com.tw)
   Design System inspired by Celestino Theme (revolution-slider.html)
   ========================================================================== */

:root {
  --topbar-bg: #373636;
  --topbar-accent: #f5b00c;
  --header-bg: #eff1f1;
  --header-border-strip: #cad0d1;
  --header-border-line: #e3e6e6;
  --submenu-bg: #c8cfd0;
  --submenu-border: #b4babb;
  --footer-bg: #eff1f1;
  --footer-border: #cad0d1;
  --copyright-bg: #51575a;
  --accent: #b77a2b;
  --accent-deep: #8d5504;
  --accent-bright: #c86f06;
  --accent-hover-border: #f29a03;
  --heading: #030303;
  --ink: #373636;
  --body: #5f5e5e;
  --muted: #767676;
  --line: #cfcfcf;
  --card-border: #eeeeee;
  --surface-soft: #f7f8f8;
  --white: #ffffff;
  --container-max: 1170px;
  --font-sans: 'Noto Sans TC', 'Maven Pro', 'Microsoft JhengHei', 'PingFang TC', sans-serif;
  --font-display: 'Maven Pro', 'Noto Sans TC', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--heading);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.55em;
}

h1 span, h2 span, h3 span, h4 span {
  color: var(--accent-deep);
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.border-line {
  height: 1px;
  background: var(--line);
  width: 100%;
  clear: both;
  margin: 28px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ==========================================================================
   TOP BAR (#topbar)
   ========================================================================== */
#topbar {
  background-color: var(--topbar-bg);
  min-height: 36px;
  color: var(--white);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}

.topbar-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--topbar-accent);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-messages {
  position: relative;
  height: 24px;
  flex: 1;
  overflow: hidden;
}

.topbar-msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: #e8e8e8;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-msg.active {
  opacity: 1;
  transform: translateY(0);
}

.topbar-msg a {
  color: var(--topbar-accent);
  margin-left: 6px;
}

.topbar-msg a:hover {
  color: #ffd369;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-right a {
  color: #e2e2e2;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar-right a:hover,
.topbar-right a.topbar-phone {
  color: var(--topbar-accent);
}

.topbar-right a.topbar-phone:hover {
  color: #ffd369;
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   HEADER (#header & #border-header)
   ========================================================================== */
#header {
  position: relative;
  background-color: var(--header-bg);
  padding-top: 10px;
  padding-bottom: 12px;
  z-index: 900;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

#logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.logo-link:hover {
  color: var(--ink);
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.15;
}

.logo-brand em {
  font-style: normal;
  color: var(--accent-deep);
}

#tagline {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

#border-header {
  height: 12px;
  background: var(--header-border-strip);
  border-top: 1px solid var(--header-border-line);
  border-bottom: 1px solid var(--header-border-line);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ==========================================================================
   MAIN NAVIGATION (Celestino Icon-Above-Label + Signature Triangle)
   ========================================================================== */
#menu {
  display: flex;
  align-items: flex-end;
}

#nav {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 4px;
}

#nav > li {
  position: relative;
}

#nav > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 13px 18px;
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
  min-width: 76px;
  white-space: nowrap;
}

#nav > li > a .nav-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 7px;
  stroke: #7a7a7a;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

#nav > li > a .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#nav > li > a .nav-caret {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

#nav > li:hover > a,
#nav > li.current-menu-item > a {
  color: var(--accent-deep);
}

#nav > li:hover > a .nav-icon,
#nav > li.current-menu-item > a .nav-icon {
  stroke: var(--accent-deep);
  transform: translateY(-2px);
}

#nav > li:hover > a .nav-caret {
  transform: rotate(180deg);
}

#nav > li > a .triangle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transition: border-bottom-color 0.2s ease;
  pointer-events: none;
}

#nav > li:hover > a .triangle,
#nav > li.current-menu-item > a .triangle {
  border-bottom-color: var(--header-border-strip);
}

/* Dropdown Submenu */
#nav li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 188px;
  background-color: var(--submenu-bg);
  border-top: 5px solid var(--submenu-border);
  box-shadow: 3px 5px 0 rgba(202, 208, 209, 0.55);
  list-style: none;
  padding: 6px 0 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 950;
}

#nav li:hover > ul.sub-menu,
#nav li:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#nav li ul.sub-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  color: var(--ink);
  font-size: 13.5px;
  white-space: nowrap;
}

#nav li ul.sub-menu li a:hover,
#nav li ul.sub-menu li.current-menu-item a {
  color: var(--accent-deep);
  background-color: rgba(255, 255, 255, 0.35);
}

.mobile-menu-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--header-border-strip);
  border-radius: 4px;
  padding: 8px 11px;
  cursor: pointer;
  color: var(--ink);
  margin-bottom: 16px;
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-amber {
  background: linear-gradient(180deg, #ca8526 0%, #a96605 100%);
  color: var(--white);
  border-color: #935804;
  box-shadow: 0 2px 6px rgba(169, 102, 5, 0.25);
}

.btn-amber:hover {
  background: linear-gradient(180deg, #b7751d 0%, #8d5504 100%);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(141, 85, 4, 0.32);
}

.btn-dark {
  background: var(--topbar-bg);
  color: var(--white);
  border-color: #242323;
}

.btn-dark:hover {
  background: #1f1e1e;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: #fdfaf5;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15.5px;
}

/* ==========================================================================
   PAGE META & BREADCRUMB (Inner Pages - Celestino Style)
   ========================================================================== */
#page-meta {
  border-bottom: 1px solid var(--card-border);
  padding: 28px 0 22px;
  background: linear-gradient(180deg, #fafbfb 0%, #ffffff 100%);
}

.page-meta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-meta-title h1 {
  font-size: 28px;
  margin: 0 0 5px;
  color: var(--heading);
}

.page-meta-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.breadcrumb {
  font-size: 13px;
  color: #838383;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #838383;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb .current {
  color: var(--accent-deep);
  font-weight: 500;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY HELPERS
   ========================================================================== */
.section {
  padding: 52px 0;
}

.section-soft {
  background-color: var(--surface-soft);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: #f9efe1;
  border: 1px solid #ebd4b3;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.section-header-left {
  text-align: left;
  margin-left: 0;
  max-width: none;
}

/* ==========================================================================
   GRID SYSTEMS
   ========================================================================== */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ==========================================================================
   CARDS (Celestino Clean Border + #f29a03 Warm Amber Hover Border)
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 5px;
  padding: 26px 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent-hover-border);
  box-shadow: 0 10px 26px rgba(55, 54, 54, 0.08);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #eff1f1;
  border: 1px solid #dfe4e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-deep);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.card:hover .card-icon {
  background: #fdf4e7;
  border-color: #ebc996;
  color: var(--accent-bright);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--body);
  flex: 1;
}

.card-link {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-link:hover {
  color: var(--heading);
  gap: 8px;
}

/* Feature list with check icons */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f9efe1;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   STATS / HERITAGE TRUST BAR
   ========================================================================== */
.trust-strip {
  background: #eff1f1;
  border-top: 1px solid #dfe4e5;
  border-bottom: 1px solid #dfe4e5;
  padding: 36px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--header-border-strip);
}

.trust-item:last-child {
  border-right: none;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1.15;
  margin-bottom: 6px;
}

.trust-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.trust-sub {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   SPLIT SPOTLIGHT PANELS (Hosting & Web Design)
   ========================================================================== */
.spotlight-box {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--header-border-strip);
  border-radius: 5px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-top-color 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-box:hover {
  border-top-color: var(--accent);
  box-shadow: 0 12px 28px rgba(55, 54, 54, 0.07);
}

.spotlight-box.accent-top {
  border-top-color: var(--accent);
}

.spotlight-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.spotlight-box h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.spotlight-box .spotlight-desc {
  color: var(--body);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.spotlight-actions {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-grid.cols-6 {
  grid-template-columns: repeat(3, 1fr);
}

.process-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 5px;
  padding: 24px 20px;
  position: relative;
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--topbar-bg);
  color: var(--topbar-accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.process-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13.5px;
  margin: 0;
  color: var(--body);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #373636 0%, #484b4d 100%);
  color: var(--white);
  border-radius: 6px;
  padding: 40px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 176, 12, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 25px;
  margin-bottom: 8px;
}

.cta-banner p {
  color: #dcdfdf;
  margin: 0;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cta-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

.cta-phone-pill:hover {
  border-color: var(--topbar-accent);
  color: var(--topbar-accent);
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 5px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: #e4c190;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-q:hover {
  color: var(--accent-deep);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eff1f1;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 14px 22px 20px;
  font-size: 14.5px;
  color: var(--body);
  border-top: 1px solid #f2f2f2;
}

/* ==========================================================================
   FILTERABLE INDUSTRY SHOWCASE (Web Design Page)
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-tab {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--body);
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--white);
}

.showcase-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 5px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:hover {
  border-color: var(--accent-hover-border);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.showcase-card.hidden {
  display: none;
}

.showcase-preview {
  height: 156px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
  position: relative;
}

.mini-browser-dots {
  display: flex;
  gap: 5px;
}

.mini-browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(55, 54, 54, 0.25);
}

.mini-wireframe {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.mini-wf-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(55, 54, 54, 0.16);
  margin-bottom: 7px;
}

.mini-wf-lines span:first-child {
  width: 82%;
  height: 11px;
  background: rgba(141, 85, 4, 0.42);
}

.mini-wf-lines span:last-child {
  width: 60%;
}

.mini-wf-box {
  height: 70px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(55, 54, 54, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
}

.showcase-body {
  padding: 18px 20px;
}

.showcase-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 4px;
}

.showcase-body h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.showcase-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   TIMELINE (About Page)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--header-border-strip);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 5px;
  padding: 20px 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--topbar-bg);
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.timeline-item p {
  margin: 0;
  font-size: 14.5px;
}

/* ==========================================================================
   CONTACT PAGE & MAP (Celestino #map + Form)
   ========================================================================== */
#map-wrap {
  background: #eff1f1;
  border-bottom: 1px solid var(--card-border);
}

#map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  transition: height 0.35s ease;
}

#map-frame.collapsed {
  height: 0;
}

.map-handler-bar {
  display: flex;
  justify-content: flex-end;
  padding: 6px 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}

#map-toggle-btn {
  background: var(--topbar-bg);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-sans);
}

#map-toggle-btn:hover {
  background: var(--accent-deep);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 36px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-group label .req {
  color: #c0392b;
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d7dbdc;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(183, 122, 43, 0.14);
}

.service-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid #d7dbdc;
  border-radius: 4px;
  background: #fafafa;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s ease;
}

.checkbox-pill:has(input:checked) {
  background: #fdf4e7;
  border-color: var(--accent);
  color: var(--accent-deep);
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14.5px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #eef8e6;
  border: 1px solid #b5d99c;
  color: #2f6b1e;
}

.form-feedback.error {
  display: block;
  background: #fdecec;
  border: 1px solid #f2b4b4;
  color: #9e2a2a;
}

.sidebar-card {
  background: #f8f9f9;
  border: 1px solid #e4e7e8;
  border-radius: 5px;
  padding: 26px 24px;
  margin-bottom: 22px;
}

.sidebar-card h3 {
  font-size: 18px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--header-border-strip);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
}

.contact-info-list svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-deep);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Info Box / Highlight Banner */
.notice-strip {
  background: #fdf8f0;
  border: 1px solid #ebd4b3;
  border-left: 4px solid var(--accent);
  border-radius: 5px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.notice-strip h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.notice-strip p {
  margin: 0;
  font-size: 14.5px;
}

/* Tag Cloud / Tech Pills */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.tech-pill {
  background: #eff1f1;
  border: 1px solid #d8dedf;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER (#footer & #copyright - Exact Celestino Palette)
   ========================================================================== */
#footer {
  background: var(--footer-bg);
  border-top: 4px solid var(--header-border-strip);
  padding: 46px 0 38px;
  color: #585555;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.05fr 1.2fr;
  gap: 32px;
}

#footer h3 {
  font-size: 17px;
  color: var(--heading);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--footer-border);
  font-weight: 700;
}

#footer p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #585555;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #585555;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--accent-deep);
  transform: translateX(2px);
}

.footer-article {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-date-badge {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--footer-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1.1;
}

.footer-date-badge .m {
  font-size: 10px;
  color: var(--accent-deep);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-date-badge .d {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-display);
}

.footer-article h4 {
  font-size: 13.5px;
  margin: 0 0 3px;
  line-height: 1.45;
  font-weight: 600;
}

.footer-article h4 a {
  color: var(--ink);
}

.footer-article h4 a:hover {
  color: var(--accent-deep);
}

.footer-article span {
  font-size: 12px;
  color: var(--muted);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-deep);
  fill: none;
  stroke-width: 1.9;
  flex-shrink: 0;
  margin-top: 3px;
}

#copyright {
  background: var(--copyright-bg);
  color: var(--white);
  padding: 15px 0;
  font-size: 12.5px;
}

.copyright-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#copyright a {
  color: #f5b00c;
}

#copyright a:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #nav > li > a {
    padding: 8px 10px 18px;
    min-width: 68px;
    font-size: 13.5px;
  }
}

@media (max-width: 880px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #menu {
    position: absolute;
    top: calc(100% - 12px);
    left: 0;
    right: 0;
    background: #eff1f1;
    border-top: 1px solid var(--header-border-strip);
    border-bottom: 3px solid var(--header-border-strip);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    display: none;
    padding: 10px 20px 18px;
  }
  #menu.open {
    display: block;
  }
  #nav {
    flex-direction: column;
    gap: 2px;
  }
  #nav > li > a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 11px 12px;
    min-width: 0;
  }
  #nav > li > a .nav-icon {
    margin-bottom: 0;
    width: 20px;
    height: 20px;
  }
  #nav > li > a .triangle {
    display: none;
  }
  #nav li ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: rgba(202, 208, 209, 0.35);
    padding: 4px 0 6px 32px;
    margin-bottom: 4px;
    border-radius: 4px;
  }
  .grid-4, .trust-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--header-border-strip);
    padding-bottom: 16px;
  }
  .trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .grid-3, .process-grid.cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2, .contact-layout {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 26px;
  }
}

@media (max-width: 600px) {
  .topbar-right .hide-xs,
  .topbar-sep.hide-xs {
    display: none;
  }
  .grid-5, .grid-4, .grid-3, .trust-grid, .process-grid, .process-grid.cols-6, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .trust-item:nth-last-child(2) {
    border-bottom: 1px solid var(--header-border-strip);
  }
  .section {
    padding: 38px 0;
  }
  .section-header h2 {
    font-size: 23px;
  }
  .logo-brand {
    font-size: 18px;
  }
}
