/* ==========================================================================
   Markosan Brand Design Center — Prismatic Corporate Edge
   Hand-authored HTML/CSS build (design tokens per DESIGN.md)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand-sky: #00A3E0;
  --brand-navy: #0A2540;

  /* Core palette */
  --primary: #005997;
  --on-primary: #ffffff;
  --primary-container: #0b72bd;
  --on-primary-container: #edf3ff;

  --secondary: #8a5100;
  --on-secondary: #ffffff;
  --secondary-container: #fc9910;
  --on-secondary-container: #643900;

  --tertiary: #ab0056;
  --on-tertiary: #ffffff;
  --tertiary-container: #d8006f;

  --background: #f7f9ff;
  --on-background: #151c24;
  --surface: #f7f9ff;
  --surface-dim: #d4dae5;
  --surface-bright: #f7f9ff;
  --surface-subtle: #F6F9FC;
  --surface-card: #FFFFFF;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #eef4ff;
  --surface-container: #e8eef9;
  --surface-container-high: #e2e9f4;
  --surface-container-highest: #dce3ee;

  --on-surface: #151c24;
  --on-surface-variant: #404751;
  --outline: #717782;
  --outline-variant: #c0c7d3;
  --border-light: #E2E8F0;

  --error: #ba1a1a;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --gutter: 1.5rem;
  --gutter-mobile: 1rem;
  --margin: 3rem;
  --margin-mobile: 1.25rem;

  /* Radius */
  --radius-control: 4px;
  --radius-card: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-resting: 0 1px 3px rgba(10, 37, 64, 0.04), 0 4px 12px rgba(10, 37, 64, 0.03);
  --shadow-hover: 0 12px 28px -6px rgba(11, 114, 189, 0.12), 0 4px 8px -2px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 37, 64, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: var(--primary-container); color: #fff; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--margin); }
}

/* ---------- Typography Scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .section-title { font-size: 40px; line-height: 48px; letter-spacing: -0.02em; }
}

.section-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface-variant);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-control);
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--secondary-container);
  color: #fff;
  padding: 0.85rem 1.6rem;
  box-shadow: var(--shadow-resting);
}
.btn-primary:hover { background: var(--secondary); box-shadow: var(--shadow-hover); }

.btn-outline {
  background: #fff;
  color: var(--brand-navy);
  border-color: var(--border-light);
  padding: 0.85rem 1.4rem;
}
.btn-outline:hover { border-color: var(--primary-container); color: var(--primary); }

.btn-submit {
  width: 100%;
  background: var(--secondary-container);
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-resting);
  font-size: 15px;
}
.btn-submit:hover { background: var(--secondary); box-shadow: var(--shadow-hover); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 0.65rem; }

/* Material icon helper */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* Navigation styles live in header.css. */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 5rem;
  background: #f5f9ff;
}
@media (min-width: 768px) { .hero { padding: 5rem 0 7rem; } }
.hero-glow-a, .hero-glow-b {
  display: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.hero-glow-a { top: -6rem; right: 0; width: 24rem; height: 24rem; background: rgba(11,114,189,0.1); }
.hero-glow-b { top: 50%; left: 0; width: 20rem; height: 20rem; background: rgba(252,153,16,0.1); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; } }

.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  align-self: flex-start;
  background: var(--surface-container);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.hero-badge img { width: 20px; height: 20px; object-fit: contain; }
.hero-badge span { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-navy); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .hero-title { font-size: 56px; line-height: 64px; letter-spacing: -0.03em; } }
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--brand-sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc { max-width: 42rem; font-size: 18px; line-height: 28px; color: var(--on-surface-variant); }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 0.25rem; }
.hero-cta .btn .material-symbols-outlined { font-size: 20px; }

/* Static value strip below the hero slider (dark full-bleed band, not part of the slides) */
.hero-value-strip {
  background: var(--brand-navy);
  padding: 1.25rem 0;
}
.hero-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
}
@media (min-width: 640px) { .hero-values { grid-template-columns: repeat(4, 1fr); } }
.hero-value { display: flex; align-items: center; gap: 0.6rem; }
.hero-value .material-symbols-outlined { font-size: 22px; color: var(--brand-sky); }
.hero-value:nth-child(2) .material-symbols-outlined { color: var(--secondary-container); }
.hero-value:nth-child(3) .material-symbols-outlined { color: #7fd8f7; }
.hero-value:nth-child(4) .material-symbols-outlined { color: #ff8fb8; }
.hero-value span.label { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }

.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-resting);
}
.hero-card .accent-bar {
  height: 6px;
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -1.25rem -1.25rem 1.25rem;
  background: linear-gradient(90deg, var(--brand-sky), var(--primary-container) 35%, var(--secondary-container) 70%, var(--tertiary-container));
}
.hero-image-wrap { position: relative; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border-light); }
.hero-image-wrap img { width: 100%; height: 224px; object-fit: cover; }
.live-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(10,37,64,0.9);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-control);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1rem; }
.hero-stat { background: var(--surface-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-card); padding: 0.75rem; }
.hero-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--primary); }
.hero-stat.orange .num { color: var(--secondary-container); }
.hero-stat .cap { font-size: 13px; color: var(--outline); }

/* ---------- Hero Slider ---------- */
/* All slides share one grid cell so the tallest slide sets the height for every
   slide — this keeps the slider's height constant across transitions. */
.hero-slider {
  position: relative;
  display: grid;
}
.hero-slide {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  align-self: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(36px) scale(0.99);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.hero-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2.75rem; }
.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--outline-variant);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}
.hero-dot:hover { background: var(--primary-container); }
.hero-dot.active { background: var(--primary); width: 26px; border-radius: var(--radius-full); }

.hero-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-resting);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
  cursor: pointer;
  z-index: 6;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.hero-arrow:hover { background: #fff; box-shadow: var(--shadow-hover); color: var(--primary); }
.hero-arrow.prev { left: -2.5rem; }
.hero-arrow.next { right: -2.5rem; }
@media (min-width: 1440px) {
  .hero-arrow.prev { left: -4rem; }
  .hero-arrow.next { right: -4rem; }
}
@media (max-width: 899px) { .hero-arrow { display: none; } }

/* ---------- Section Spacing ---------- */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-band { background: var(--surface-subtle); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-head { max-width: 48rem; margin: 0 auto 4rem; text-align: center; display: flex; flex-direction: column; gap: 0.75rem; }
.section-head .eyebrow { justify-content: center; }
.section-head-split { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .section-head-split { flex-direction: row; align-items: flex-end; } }
.section-head-split .section-desc { max-width: 26rem; }

/* ---------- Service Cards ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-resting);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }

/* Visual banner on top of each service card */
.service-visual {
  position: relative;
  height: 132px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-hex-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0L56 16.2V48.5L28 64.7L0 48.5V16.2Z' fill='none' stroke='white' stroke-opacity='0.16' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 56px 97px;
}
.service-visual-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(10,37,64,0.15);
  transition: transform 0.25s ease;
}
.service-card:hover .service-visual-icon { transform: scale(1.08) rotate(-3deg); }
.service-visual-icon .material-symbols-outlined {
  font-size: 30px;
  color: #fff;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.service-tag {
  position: absolute;
  left: 1.5rem;
  bottom: -14px;
  z-index: 2;
  background: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-resting);
}

.service-body { padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--brand-navy); margin: 0 0 0.5rem; }
.service-desc { font-size: 14px; color: var(--on-surface-variant); margin: 0 0 1rem; }
.service-list { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.service-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--on-surface-variant); }
.service-list .material-symbols-outlined { font-size: 16px; }
.service-body .link-arrow { margin-top: auto; }

/* color variants keyed by data-accent */
[data-accent="primary"] .service-visual { background: linear-gradient(135deg, #4fa8e8, var(--primary)); }
[data-accent="primary"] .service-tag { color: var(--primary); }
[data-accent="primary"] .service-list .material-symbols-outlined { color: var(--primary); }
[data-accent="primary"] .link-arrow { color: var(--primary); }

[data-accent="orange"] .service-visual { background: linear-gradient(135deg, #ffc27a, var(--secondary-container)); }
[data-accent="orange"] .service-tag { color: var(--secondary); }
[data-accent="orange"] .service-list .material-symbols-outlined { color: var(--secondary-container); }
[data-accent="orange"] .link-arrow { color: var(--secondary-container); }

[data-accent="magenta"] .service-visual { background: linear-gradient(135deg, #ec6fa8, var(--tertiary)); }
[data-accent="magenta"] .service-tag { color: var(--tertiary); }
[data-accent="magenta"] .service-list .material-symbols-outlined { color: var(--tertiary); }
[data-accent="magenta"] .link-arrow { color: var(--tertiary); }

[data-accent="cobalt"] .service-visual { background: linear-gradient(135deg, #6cb8ea, var(--primary-container)); }
[data-accent="cobalt"] .service-tag { color: var(--primary-container); }
[data-accent="cobalt"] .service-list .material-symbols-outlined { color: var(--primary-container); }
[data-accent="cobalt"] .link-arrow { color: var(--primary-container); }

[data-accent="sky"] .service-visual { background: linear-gradient(135deg, #6fdcf7, var(--brand-sky)); }
[data-accent="sky"] .service-tag { color: var(--brand-sky); }
[data-accent="sky"] .service-list .material-symbols-outlined { color: var(--brand-sky); }
[data-accent="sky"] .link-arrow { color: var(--brand-sky); }

[data-accent="amber"] .service-visual { background: linear-gradient(135deg, #d9973f, var(--secondary)); }
[data-accent="amber"] .service-tag { color: var(--secondary); }
[data-accent="amber"] .service-list .material-symbols-outlined { color: var(--secondary); }
[data-accent="amber"] .link-arrow { color: var(--secondary); }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card { overflow: hidden; }
.product-media { position: relative; height: 192px; overflow: hidden; background: var(--surface-container); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-flag { position: absolute; top: 0.75rem; left: 0.75rem; color: #fff; font-size: 11px; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: var(--radius-control); }
.product-body { padding: 1.25rem; }
.product-kicker { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }
.product-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--brand-navy); margin: 0 0 0.5rem; }
.product-desc { font-size: 14px; color: var(--outline); margin: 0 0 1rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; border-top: 1px solid var(--border-light); }
.product-footer .qty { font-size: 12px; color: var(--on-surface-variant); font-weight: 500; }
.product-footer .price-link { font-weight: 600; font-size: 14px; }
.product-footer .price-link:hover { text-decoration: underline; }

/* ---------- Brand Logo Slider (animated) ---------- */
.brand-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: brand-scroll 28s linear infinite;
}
.brand-slider:hover .brand-track { animation-play-state: paused; }
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-chip {
  flex: 0 0 auto;
  width: 176px;
  padding: 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.brand-chip:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--primary-container); }
.brand-chip .material-symbols-outlined { font-size: 30px; margin-bottom: 0.25rem; }
.brand-chip strong { display: block; font-size: 14px; font-weight: 700; color: var(--brand-navy); }
.brand-chip span.sector { font-size: 11px; color: var(--outline); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { padding: 1.5rem; }
.stars { display: flex; gap: 0.2rem; color: var(--secondary-container); margin-bottom: 0.75rem; }
.stars .material-symbols-outlined { font-size: 16px; }
.testimonial-text { font-size: 14px; font-style: italic; color: var(--on-surface-variant); margin: 0 0 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border-light); }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 600; color: var(--brand-navy); }
.author-role { font-size: 12px; color: var(--outline); }

/* ---------- Why Section ---------- */
.why-section { background: var(--surface-container-low); border-top: 1px solid var(--border-light); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 5fr 7fr; } }
.portrait-frame { display: flex; justify-content: center; position: relative; }
.portrait-frame .glow { position: absolute; inset: 0; background: linear-gradient(to top right, var(--primary), var(--brand-sky)); opacity: 0.12; border-radius: var(--radius-lg); transform: rotate(-2deg) scale(1.05); }
.portrait-card { position: relative; background: #fff; padding: 0.75rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); max-width: 340px; }
.portrait-card img { width: 100%; border-radius: var(--radius-card); object-fit: cover; }
.portrait-caption { padding: 1rem; text-align: center; }
.portrait-caption h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--brand-navy); margin: 0; }
.portrait-caption .role { font-size: 14px; color: var(--primary); font-weight: 600; margin: 0.15rem 0; }
.portrait-caption .exp { display: flex; justify-content: center; align-items: center; gap: 0.35rem; font-size: 12px; color: var(--outline); margin-top: 0.4rem; }
.portrait-caption .exp .material-symbols-outlined { font-size: 15px; color: var(--secondary-container); }

.why-content { display: flex; flex-direction: column; gap: 1.5rem; }
.why-features { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.feature-row { display: flex; gap: 1rem; padding: 1rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border-light); box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-card); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.feature-icon .material-symbols-outlined { font-size: 24px; }
.feature-row h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--brand-navy); }
.feature-row p { margin: 0.2rem 0 0; font-size: 14px; color: var(--outline); }

/* ---------- Contact ---------- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .contact-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .contact-card { grid-template-columns: 5fr 7fr; } }
.contact-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--brand-sky), var(--primary-container) 35%, var(--secondary-container) 70%, var(--tertiary-container));
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-item .material-symbols-outlined { color: var(--primary); font-size: 20px; margin-top: 2px; }
.contact-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--brand-navy); }
.contact-item span { font-size: 14px; color: var(--outline); }
.wa-card { padding: 1rem; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.wa-card .left { display: flex; align-items: center; gap: 0.75rem; }
.wa-card .material-symbols-outlined { color: #25D366; font-size: 28px; }
.wa-card strong { display: block; font-size: 14px; color: #022c22; font-weight: 700; }
.wa-card small { color: #047857; font-size: 12px; }
.wa-card .btn { background: #25D366; color: #fff; padding: 0.4rem 0.9rem; font-size: 12px; border-radius: var(--radius-control); }
.wa-card .btn:hover { background: #1ebe5d; }

.contact-form-wrap { background: var(--surface-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-card); padding: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--brand-navy); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-control);
  padding: 0.6rem 0.75rem;
  font-size: 14px;
  color: var(--on-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-container);
  box-shadow: 0 0 0 3px rgba(11,114,189,0.15);
}
.form-full { margin-bottom: 1rem; }
.form-checkbox { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.form-checkbox label { font-size: 12px; color: var(--outline); }

/* ---------- Footer ---------- */
.footer { background: var(--brand-navy); border-top: 1px solid rgba(255,255,255,0.1); color: #fff; }
.footer-inner { padding: 4rem 0; display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 768px) { .footer-inner { padding: 6rem 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--surface-dim); font-size: 14px; max-width: 24rem; }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.social-links { display: flex; gap: 0.75rem; padding-top: 0.5rem; }
.social-links a { width: 36px; height: 36px; border-radius: var(--radius-control); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--brand-sky); transition: background 0.15s ease; }
.social-links a:hover { background: rgba(255,255,255,0.2); }
.footer-col h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-sky); margin: 0 0 0.75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--surface-dim); font-size: 14px; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: var(--surface-dim); font-size: 14px; line-height: 1.6; }
.footer-col .contact-line span:first-child { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 12px; font-weight: 500; color: var(--surface-dim); }
.footer-bottom-links a:hover { color: var(--brand-sky); }
.footer-bottom-links .dot { color: rgba(255,255,255,0.2); }
.footer-copy { font-size: 12px; color: var(--surface-dim); }

/* ---------- Reveal animation on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
  .live-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.active { transition: none; opacity: 1; transform: none; }
}

/* Refined corporate service visuals and compact hero spacing */
.hero{padding:1.75rem 0 1.5rem}
.hero-dots{margin-top:1.5rem}
#services{padding-top:3rem}
#services .section-head{margin-bottom:2.5rem}
.service-card{border-color:#dce4ec}
.service-card .service-visual{height:116px;padding:24px;gap:16px;justify-content:flex-start;background:#f3f6fa;border-bottom:1px solid #dfe7ef;overflow:visible}
.service-card .service-visual:before{content:'';position:absolute;top:0;left:24px;width:36px;height:2px;background:#0b72bd}
.service-card .service-visual-icon{width:54px;height:54px;border-radius:6px;border:1px solid #d9e3ed;background:#fff;box-shadow:none;backdrop-filter:none;color:#0a2540;flex-shrink:0}
.service-visual-icon svg{width:34px;height:34px}
.service-card:hover .service-visual-icon{transform:none;color:#0b72bd;border-color:#a9c8df}
.service-card .service-tag{position:static;box-shadow:none;background:none;padding:0;color:#31465a;font-size:11px;line-height:18px;letter-spacing:.045em;max-width:155px}
.service-index{margin-left:auto;align-self:flex-start;color:#6a7c8e;font-family:var(--font-display);font-size:12px;font-weight:600}
.service-body{padding-top:1.5rem}
@media(min-width:768px){.hero{padding:2.5rem 0 2rem}#services{padding-top:3.5rem}}
@media(max-width:767px){.hero-grid{gap:1.5rem}.hero-content{gap:1rem}.hero-dots{margin-top:1rem}#services .section-head{margin-bottom:2rem}.service-card .service-visual{height:104px}}

/* Service layout refinements */
.why-grid{display:block}.why-content{max-width:none}.why-features{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.why-content>.section-title,.why-content>.section-desc{max-width:850px}.service-card{scroll-margin-top:110px}.signage-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 2fr}.signage-card .service-visual{height:100%;min-height:160px}.signage-card .service-visual-icon .material-symbols-outlined{color:#0a2540}
@media(max-width:767px){.why-features{grid-template-columns:1fr}.signage-card{display:flex;grid-column:auto}.signage-card .service-visual{min-height:104px}}
/* Four equal-height slides with consistent text rows and uncropped 3:2 images. */
.hero{padding:30px 0 24px}
.hero>.container{max-width:1440px;margin-inline:auto;padding-inline:48px}
.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;min-height:500px;height:100%}
.hero-content{padding-block:20px;gap:24px;min-width:0}
.hero-content .hero-title{font-size:clamp(34px,3.4vw,52px);line-height:1.16;min-height:3.48em;margin:0}
.hero-title-line{display:block}
.hero-content .hero-desc{margin:0;min-height:5.25em;font-size:18px;line-height:1.75}
.hero-content .hero-cta{padding-top:0}
.hero .hero-full-visual{min-height:0;align-self:center;overflow:hidden;border-radius:8px;clip-path:none;background:#eef3f7}
.hero-full-visual>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center}
.hero-dots{position:static;display:flex;justify-content:center;gap:8px;margin:20px 0 0}
.hero-dot{width:32px;height:24px;border-radius:0;background:transparent;position:relative}
.hero-dot:after{content:'';position:absolute;inset:10px 4px;background:#bfd1dd;border-radius:4px}
.hero-dot.active,.hero-dot:hover{width:32px;background:transparent}
.hero-dot.active:after{background:#e52182}
.hero-dot:focus-visible{outline:2px solid #0f77bd;outline-offset:3px;border-radius:4px}
.hero-value-strip{background:none;padding:0;border:0}
.hero-value-strip>.container{max-width:none;padding:0}
.hero-values{gap:0;margin:0;padding:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.hero-value{justify-content:center;min-height:64px;padding:16px 12px;background:#0f77bd}
.hero-value:nth-child(2){background:#14aae2}
.hero-value:nth-child(3){background:#f5a145}
.hero-value:nth-child(4){background:#e52182}
.hero-value .material-symbols-outlined,.hero-value span.label{color:#fff}
.hero-value:nth-child(2) .material-symbols-outlined,.hero-value:nth-child(2) span.label,.hero-value:nth-child(3) .material-symbols-outlined,.hero-value:nth-child(3) span.label{color:#12334c}
@media(max-width:1023px){.hero>.container{padding-inline:24px}.hero-grid{grid-template-columns:1fr;grid-template-rows:1fr auto;min-height:0;gap:24px}.hero .hero-full-visual{width:100%;max-width:700px;margin-inline:auto}.hero-content{padding:0}.hero-content .hero-desc{min-height:3.5em}.hero-values{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hero{padding:24px 0 18px}.hero>.container{padding-inline:20px}.hero-content{gap:20px}.hero-content .hero-title{font-size:clamp(1.625rem,7.1vw,2.5rem)}.hero-content .hero-desc{font-size:16px;min-height:8.75em}.hero-badge{min-height:38px}.hero-badge span{font-size:10px;letter-spacing:.05em}.hero-cta{display:grid;grid-template-columns:1fr;gap:10px}.hero-cta .btn{white-space:normal}.hero-value span.label{font-size:10px;letter-spacing:.03em}.hero-value{min-height:58px;padding:12px 8px}}
.hero-value:nth-child(4) .material-symbols-outlined{color:#fff}
