:root {
  --navy: #06315f;
  --blue: #0b65a3;
  --cyan: #14a6bf;
  --solar: #f4b000;
  --green: #20885f;
  --primary: #06315f;
  --primary-2: #0b65a3;
  --ink: #172331;
  --muted: #667485;
  --line: #dfe7ef;
  --soft: #f3f7fa;
  --light: #f3f7fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid rgba(6, 49, 95, 0.12);
  box-shadow: 0 10px 30px rgba(6, 49, 95, 0.08);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy) !important;
  font-weight: 850;
  font-size: 1.22rem;
  letter-spacing: 0;
}

.navbar-nav .nav-link {
  color: #2d3d4e !important;
  font-weight: 650;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--blue) !important;
}

.navbar-toggler {
  border-color: rgba(6, 49, 95, 0.24);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: var(--solar);
  color: var(--navy) !important;
  border-radius: 6px;
  padding: 8px 18px !important;
  font-weight: 850;
}

.section-label {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-title span {
  color: var(--blue);
}

.lead-copy {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 680px;
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 86px 0 70px;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef5f9 100%);
  display: flex;
  align-items: center;
}

.hero h1 {
  max-width: 720px;
  color: var(--navy);
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  color: #3e4f61;
  font-size: 1.12rem;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(6, 49, 95, 0.18);
  border: 1px solid rgba(6, 49, 95, 0.08);
}

.hero-card {
  position: absolute;
  left: -34px;
  bottom: 30px;
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(6, 49, 95, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(6, 49, 95, 0.16);
}

.hero-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.hero-card span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.92rem;
}

.btn-hero-primary,
.btn-solar {
  background: var(--solar);
  color: var(--navy);
  border: 0;
  border-radius: 6px;
  font-weight: 850;
  padding: 12px 24px;
}

.btn-hero-primary:hover,
.btn-solar:hover {
  background: #d99b00;
  color: var(--navy);
}

.btn-hero-secondary {
  border: 1px solid rgba(6, 49, 95, 0.2);
  color: var(--navy);
  background: #fff;
  border-radius: 6px;
  font-weight: 750;
  padding: 12px 24px;
}

.btn-hero-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.page-hero {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin-bottom: 0;
}

.page-hero .section-label {
  color: var(--solar);
}

.page-hero-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.stat-card {
  height: 100%;
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(6, 49, 95, 0.06);
}

.stat-number {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  margin-top: 9px;
  font-size: 0.9rem;
}

.image-panel,
.section-photo,
.reference-img,
.parent-ref-img,
.contact-photo {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(6, 49, 95, 0.12);
}

.section-photo {
  aspect-ratio: 4 / 3;
}

.image-panel {
  overflow: hidden;
  background: #fff;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.company-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-item {
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(6, 49, 95, 0.06);
}

.value-item h5,
.card-title {
  color: var(--navy);
  font-weight: 800;
}

.value-item i {
  color: var(--green);
  margin-right: 8px;
}

.service-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(6, 49, 95, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(6, 49, 95, 0.12);
}

.service-thumb {
  width: calc(100% + 48px);
  height: 190px;
  margin: -24px -24px 22px;
  object-fit: cover;
  display: block;
}

.image-zoom-trigger {
  display: block;
  width: calc(100% + 48px);
  margin: -24px -24px 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.image-zoom-trigger .service-thumb {
  width: 100%;
  margin: 0;
  transition: transform 0.2s ease;
}

.image-zoom-trigger:hover .service-thumb,
.image-zoom-trigger:focus .service-thumb {
  transform: scale(1.035);
}

.image-zoom-trigger:focus-visible {
  outline: 3px solid rgba(244, 176, 0, 0.7);
  outline-offset: 3px;
}

.image-preview-modal .modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.image-preview-modal .modal-header {
  border-bottom: 1px solid var(--line);
}

.image-preview-modal .modal-body {
  padding: 0;
  background: #0f1720;
}

.image-preview-modal img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #0f1720;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f4f1;
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.service-block {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(6, 49, 95, 0.07);
}

.service-block h3 {
  color: var(--navy);
  font-weight: 850;
  margin-bottom: 12px;
}

.service-block ul {
  padding-left: 1.1rem;
  color: var(--muted);
  margin-bottom: 0;
}

.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(6, 49, 95, 0.12);
}

.market-card {
  height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.market-card i {
  color: var(--blue);
  font-size: 1.55rem;
}

.process-band {
  background: #082f58;
  color: #fff;
}

.process-step {
  height: 100%;
  padding: 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-num,
.roadmap-num {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--solar);
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 12px;
}

.roadmap-section {
  background: linear-gradient(135deg, #082f58 0%, #0c6d8f 100%);
}

.roadmap-step {
  height: 100%;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.roadmap-step h6 {
  color: #fff;
  font-weight: 800;
}

.roadmap-step p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.reference-img {
  height: 210px;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
  border: 0;
}

.parent-ref-img {
  height: 230px;
}

.contact-photo {
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f4f1;
  color: var(--green);
  font-size: 1.2rem;
}

.board-header {
  background: var(--navy);
  color: white;
  padding: 40px 0;
}

.board-header h2 {
  font-weight: 850;
}

.status-badge {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 650;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-reviewing { background: #cce5ff; color: #004085; }
.status-answered { background: #d4edda; color: #155724; }
.status-closed { background: #e2e3e5; color: #383d41; }

.inquiry-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 14px;
  background: white;
}

.inquiry-card:hover {
  box-shadow: 0 8px 24px rgba(6, 49, 95, 0.1);
}

.inquiry-card a {
  color: var(--navy);
  font-weight: 700;
}

.response-box {
  background: #f0f5ff;
  border-left: 4px solid var(--blue);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 16px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 101, 163, 0.15);
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  font-weight: 750;
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.auth-card {
  max-width: 480px;
  margin: 60px auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 14px 46px rgba(6, 49, 95, 0.12);
  overflow: hidden;
}

.auth-card-header {
  background: var(--navy);
  padding: 30px;
  text-align: center;
}

.auth-card-header h3 {
  color: var(--solar);
  font-weight: 850;
  margin: 0;
}

.auth-card-body {
  padding: 36px;
}

footer {
  background: #101924;
  color: rgba(255, 255, 255, 0.74);
  padding: 52px 0 24px;
}

footer h5 {
  color: #fff;
  font-weight: 800;
}

footer a {
  color: rgba(255, 255, 255, 0.72);
}

footer a:hover {
  color: var(--solar);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 30px;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 58px 0;
  }

  .hero-stage {
    min-height: auto;
    margin-top: 34px;
  }

  .hero-image {
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .hero-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .page-hero .container {
    grid-template-columns: 1fr;
  }

  .page-hero-img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767.98px) {
  .navbar-nav .nav-link {
    padding-left: 0 !important;
  }

  .btn-nav-cta {
    justify-content: flex-start;
    width: fit-content;
    margin-top: 8px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .service-block {
    padding: 24px;
  }

  .stat-card {
    padding: 22px 16px;
  }
}
