* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #f3f5f7;
  color: #1f2a37;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

a {
  color: #0b4f8a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: linear-gradient(135deg, #032746 0%, #0a4476 100%);
  color: #fff;
  border-bottom: 3px solid #8c6d1f;
  box-shadow: 0 10px 22px rgba(0, 38, 77, 0.18);
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0 14px;
}

.brand-wrap {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #fff;
  object-fit: cover;
}

.tagline {
  font-size: 12px;
  color: #dbe7f5;
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-link {
  color: #e5eef9;
  font-size: 13px;
  font-weight: 600;
}

.header-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: #f5d98d;
  color: #1d2f47;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.header-btn:hover {
  background: #f0cf78;
  text-decoration: none;
}

.header-btn-secondary {
  background: transparent;
  color: #f4f8fd;
}

.header-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.main-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 12px 14px;
  color: #f4f8fd;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.main-nav a.active,
.main-nav a:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: #f0c96e;
}

.page {
  background: #fff;
  border: 1px solid #d5d9de;
  padding: 22px;
  margin: 18px auto;
  flex: 1 0 auto;
  width: 92%;
  max-width: 1050px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 38, 77, 0.06);
}

.hero {
  background: #eef4fb;
  border: 1px solid #c6d6ea;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 10px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #003366;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid #d7dce3;
  padding: 14px;
  background: #fafbfc;
  border-radius: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #003366 0%, #0b4f8a 100%);
  color: #fff;
  border: 1px solid #00274d;
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 8px 18px rgba(0, 51, 102, 0.14);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 51, 102, 0.18);
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.2), 0 8px 18px rgba(0, 51, 102, 0.14);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ced5dd;
  padding: 8px;
  text-align: left;
  font-size: 14px;
}

th {
  background: #e7edf4;
}

form {
  max-width: 520px;
}

.form-row {
  margin-bottom: 12px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7ced6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2c74b3;
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.12);
}

.auth-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d9e0ea;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(0, 38, 77, 0.08);
}

.auth-form-card h1 {
  margin-bottom: 8px;
}

.auth-form-card .auth-lead {
  margin: 0 0 18px;
  color: #5a6776;
  font-size: 14px;
}

.auth-form-card form {
  max-width: none;
}

.auth-form-card .button {
  width: 100%;
  margin-top: 6px;
}

.auth-links {
  margin-top: 14px;
}

.auth-links .small {
  margin: 0;
}

.auth-links a {
  font-weight: 700;
}

.message {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: none;
}

.message.success {
  display: block;
  color: #0f5132;
  border-color: #a3cfbb;
  background: #d1e7dd;
}

.message.error {
  display: block;
  color: #842029;
  border-color: #f1aeb5;
  background: #f8d7da;
}

.site-footer {
  margin-top: 16px;
  padding: 28px 0 14px;
  background: linear-gradient(135deg, #032746 0%, #0a4476 100%);
  color: #e5eef9;
  font-size: 13px;
  flex-shrink: 0;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.2fr;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 18px;
}

.footer-col-brand {
  max-width: 340px;
}

.footer-note {
  margin: 0;
  color: #dbe7f5;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.footer-links a {
  color: #f2f7ff;
}

.footer-links a:hover {
  color: #f5d98d;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #c8d9ee;
}

.footer-bottom a {
  color: #f2f7ff;
}

.footer-bottom a:hover {
  color: #f5d98d;
  text-decoration: none;
}

.small {
  font-size: 12px;
  color: #555;
}

@media (max-width: 900px) {
  .top-row {
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 12px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .page {
    width: min(100% - 20px, 1050px);
    padding: 18px;
    margin: 14px auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    order: 3;
  }

  .main-nav {
    display: none;
  }

  .site-header.nav-open .main-nav {
    display: block;
  }

  .main-nav .container {
    width: min(100%, 1100px);
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .auth-form-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    font-size: 18px;
  }

  .header-actions {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .header-btn,
  .header-link {
    font-size: 12px;
  }

  .header-btn,
  .header-link {
    width: 100%;
    justify-content: center;
  }

  .page {
    padding: 16px;
    border-radius: 8px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }


/* ---- Global UX polish ---- */
a,
button,
input,
select,
textarea,
.header-btn,
.nav-toggle {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.header-btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(44, 116, 179, 0.35);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.homepage {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.section-block {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #d9e0ea;
  background: #fff;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 38, 77, 0.05);
}

.home-slider-section {
  margin-bottom: 10px;
}

.home-swiper {
  position: relative;
  border: 1px solid #c6d6ea;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fc 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 38, 77, 0.08);
}

.home-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  padding: 22px;
  min-height: 320px;
}

.slide-image-placeholder,
.media-placeholder,
.diagram-placeholder,
.icon-placeholder,
.avatar-placeholder {
  border: 2px dashed #9db3ce;
  background: #f7fbff;
  color: #2c5685;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
}

.slide-image-placeholder {
  min-height: 250px;
  font-weight: 600;
  overflow: hidden;
  padding: 0;
}

.slide-image-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-kicker {
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dbe8f7;
  color: #003366;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.slide-content h1,
.slide-content h2 {
  margin-bottom: 8px;
}

.slide-content p {
  margin: 0 0 14px;
  color: #1d3552;
  max-width: 52ch;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 51, 102, 0.65);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.swiper-button-prev { left: 12px; }
.swiper-button-next { right: 12px; }
.swiper-button-next::after,
.swiper-button-prev::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.swiper-button-prev::after {
  transform: rotate(-135deg) translate(1px, -1px);
}
.swiper-button-next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 51, 102, 0.92);
}

.swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 12px;
}

.swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #b9c9dc;
  padding: 0;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background: #8c6d1f;
}

.home-swiper.swiper-fallback .swiper-slide {
  display: none;
}

.home-swiper.swiper-fallback .swiper-slide.is-active {
  display: grid;
}

.feature-list,
.service-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.feature-list li,
.service-list li {
  margin-bottom: 8px;
}

.media-placeholder {
  min-height: 250px;
  padding: 16px;
  font-weight: 600;
}

.about-media {
  padding: 0;
  overflow: hidden;
  border-style: solid;
  border-width: 1px;
  border-color: #d7e1ec;
  background: #eef4fb;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

.section-eyebrow {
  margin: 0 0 6px;
  color: #8c6d1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-lead {
  margin-top: 0;
  color: #334e6a;
  font-size: 16px;
}

.highlights-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-pill {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #c9d7e8;
  background: #f3f8ff;
  color: #234466;
  font-size: 13px;
  font-weight: 600;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.icon-placeholder {
  min-height: 80px;
  padding: 10px;
  font-size: 14px;
}

.icon-card {
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  text-align: left;
}

.icon-card strong {
  color: #003366;
  font-size: 14px;
}

.icon-card span {
  font-size: 12px;
  color: #2c5685;
}

.service-cards {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 12px;
}

.service-card {
  border: 1px solid #d7e1ec;
  border-radius: 10px;
  padding: 12px;
  background: #f9fbfe;
}

.service-card h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.service-card p {
  margin: 0;
  color: #334e6a;
  font-size: 14px;
}

.diagram-placeholder {
  min-height: 180px;
  padding: 12px;
  flex-direction: column;
  gap: 8px;
}

.diagram-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #8c6d1f;
  text-transform: uppercase;
}

.diagram-placeholder pre {
  margin: 0;
  white-space: pre-wrap;
  color: #003366;
  font-weight: 600;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.diagram-placeholder img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

/* About page hero */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../../img/about-hero-img.jpg");
  background-size: cover;
  background-position: center center;
  filter: contrast(0.95) brightness(0.85);
  z-index: 0;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-plaque {
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.hero-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
}
.hero-plaque h1 {
  margin: 0 0 6px 0;
  font-size: 22px;
}
.hero-sub {
  margin: 0;
  color: #334e6a;
}

.business-hero {
  min-height: 360px;
}

.business-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(3, 39, 70, 0.56), rgba(10, 68, 118, 0.45)),
    url("../../img/our-business-hero-img.jpg");
  filter: contrast(0.95) brightness(0.85);
}

.business-plaque {
  max-width: 860px;
}

.business-plaque .section-eyebrow {
  margin: 0 0 8px;
}

.corporate-hero {
  min-height: 360px;
}

.corporate-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(5, 32, 55, 0.58), rgba(18, 77, 118, 0.46)),
    url("../../img/corp-hero-img.jpg");
  filter: contrast(0.95) brightness(0.85);
}

.corporate-plaque {
  max-width: 880px;
}

.market-hero {
  min-height: 360px;
}

.market-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(7, 36, 63, 0.58), rgba(26, 95, 143, 0.46)),
    url("../../img/market-data-hero-img.jpg");
  filter: contrast(0.95) brightness(0.85);
}

.market-plaque {
  max-width: 900px;
}

.contact-hero {
  min-height: 360px;
}

.contact-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(6, 34, 59, 0.58), rgba(13, 88, 132, 0.46)),
    url("../../img/contact-hero-img.jpg");
  filter: contrast(0.95) brightness(0.85);
}

.contact-plaque {
  max-width: 880px;
}

@media (max-width: 700px) {
  .about-hero { min-height: 240px; }
  .hero-plaque { flex-direction: column; text-align: center; }
  .hero-logo { width: 64px; height: 64px; }
}

/* About page content blocks */
.page-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-panel {
  padding: 20px;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 38, 77, 0.05);
}

.about-panel h2 {
  margin-bottom: 10px;
}

.page-content article {
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.value-item {
  background: #fff;
  border: 1px solid #eef3f7;
  padding: 12px;
  border-radius: 8px;
}
.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #f4f7fb;
  margin-bottom: 8px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.team-member {
  text-align: center;
}
.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto 8px auto;
}
.team-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px auto;
  color: #666;
}

.commitment-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.commitment-list li {
  margin-bottom: 8px;
}

.about-cta {
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e6eef6;
  border-radius: 10px;
}

.business-panel {
  overflow: hidden;
}

.business-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.95fr);
  gap: 22px;
  align-items: center;
}

.business-panel-grid-reverse {
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.5fr);
}

.business-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-media {
  display: flex;
}

.business-media-img {
  width: 100%;
  min-height: 260px;
  border-radius: 14px;
  border: 1px solid #d7e1ec;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 38, 77, 0.08);
}

.business-placeholder {
  min-height: 260px;
  width: 100%;
  padding: 22px;
  border-radius: 14px;
  border: 1px dashed #9db3ce;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fc 100%);
  color: #2c5685;
  font-weight: 600;
  line-height: 1.6;
}

.business-cta {
  margin-top: 6px;
}

.market-panel .business-panel-grid {
  align-items: start;
  grid-template-columns: 1fr;
}

.market-strip {
  margin-bottom: 26px;
}

.market-live-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 22px;
}

.market-live-grid-single {
  grid-template-columns: 1fr;
}

.market-tools-stack {
  display: grid;
  gap: 18px;
}

.market-summary-card {
  overflow: hidden;
}

.market-summary-card-centered {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.market-widget-shell {
  overflow: hidden;
}

.market-widget-frame {
  min-height: 490px;
}

.market-widget-tall {
  min-height: 640px;
}

.market-ticker-widget {
  min-height: 74px;
}

.market-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.market-mini-grid-commodities {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-metric {
  padding: 18px;
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 10px 24px rgba(12, 46, 80, 0.06);
}

.market-card-emphasis {
  background: linear-gradient(135deg, #0d3157 0%, #1d5d96 100%);
  border-color: transparent;
}

.market-card-emphasis .market-metric-label,
.market-card-emphasis .market-metric-value,
.market-card-emphasis .market-metric-meta {
  color: #ffffff;
}

.market-metric-label {
  display: block;
  margin-bottom: 8px;
  color: #35597d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-metric-value {
  display: block;
  color: #173a5e;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  line-height: 1.2;
}

.market-metric-meta {
  display: block;
  margin-top: 8px;
  color: #5e6f83;
  font-size: 12px;
}

.market-converter-form {
  display: grid;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(110px, 0.82fr) auto minmax(110px, 0.82fr) minmax(120px, auto);
  grid-template-areas: 'amount from swap to action';
  gap: 12px;
  padding: 6px 22px 16px;
  align-items: end;
}

.market-field-amount {
  grid-area: amount;
}

.market-field-from {
  grid-area: from;
}

.market-field-to {
  grid-area: to;
}

.market-field {
  display: grid;
  gap: 6px;
  color: #173a5e;
  font-size: 13px;
  font-weight: 600;
}

.market-field input,
.market-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c8d6e6;
  border-radius: 10px;
  background: #ffffff;
  color: #173a5e;
  font: inherit;
}

.market-swap-button {
  grid-area: swap;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c8d6e6;
  border-radius: 10px;
  background: #edf4fb;
  color: #173a5e;
  font-size: 20px;
  cursor: pointer;
}

.market-convert-button {
  grid-area: action;
  min-height: 44px;
  width: 100%;
}

.market-swap-button:hover {
  background: #dfeefe;
}

.market-converter-result {
  margin: 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eff6fc;
  color: #173a5e;
  font-size: 1rem;
  font-weight: 700;
}

.market-status {
  margin: 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eff6fc;
  color: #173a5e;
  font-weight: 600;
}

.market-attribution {
  padding-top: 8px;
}

.market-attribution a {
  color: #0c4f88;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .market-summary-card-centered {
    max-width: none;
  }

  .market-converter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      'amount amount'
      'from to'
      'swap action';
    max-width: none;
    padding: 4px 16px 14px;
  }
}

.table-card {
  margin-top: 16px;
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef5fc;
  color: #2c5685;
  font-size: 12px;
  font-weight: 700;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  padding: 0 16px 8px;
}

.market-table {
  min-width: 620px;
}

.market-table th {
  background: #edf3fa;
  color: #173a5e;
}

.market-table td,
.market-table th {
  padding: 10px 12px;
}

.market-note {
  margin: 0;
  padding: 0 16px 14px;
  color: #5e6f83;
  font-size: 12px;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.contact-form-card {
  max-width: none;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.contact-form-card .market-note {
  padding: 10px 0 0;
}

.contact-panel .business-panel-grid,
.contact-panel .business-panel-grid-reverse {
  grid-template-columns: 1fr;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.faq-item {
  padding: 14px 16px;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  background: #fbfdff;
}

.faq-item h4 {
  margin: 0 0 6px;
  color: #173a5e;
}

.faq-item p {
  margin: 0;
  color: #4f6277;
}

.positive {
  color: #0f7a48;
  font-weight: 700;
}

.negative {
  color: #b42318;
  font-weight: 700;
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .business-panel-grid,
  .business-panel-grid-reverse {
    grid-template-columns: 1fr;
  }

  .market-live-grid,
  .market-mini-grid,
  .market-mini-grid-commodities,
  .market-converter-form {
    grid-template-columns: 1fr;
  }

  .market-swap-button {
    width: 100%;
  }

  .business-media {
    order: 2;
  }

  .business-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .about-panel {
    padding: 16px;
  }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .business-features { grid-template-columns: 1fr; }
  .business-placeholder { min-height: 220px; padding: 18px; }
}

.testimonials {
  display: block;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial-card blockquote {
  margin: 0;
  color: #2b2b2b;
  font-style: italic;
}

.rating {
  margin: 0;
  color: #8c6d1f;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.avatar-placeholder {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f2f2f2;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-block {
  margin-top: 20px;
  background: linear-gradient(135deg, #003366 0%, #1b4f85 100%);
  color: #fff;
  padding: 24px;
  border: 1px solid #00274d;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 38, 77, 0.18);
}

.cta-block h2,
.cta-block p {
  color: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.cta-eyebrow {
  color: #f5d98d;
}

.cta-block .button {
  border-radius: 8px;
}

.button-secondary {
  background: #8c6d1f;
  border-color: #735818;
}

.button-secondary:hover {
  background: #735818;
}

@media (max-width: 900px) {
  .home-slide,
  .section-block {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 18px;
  }

  .home-slide {
    min-height: 0;
  }

  .slide-image-placeholder {
    min-height: 180px;
  }

  .slide-image-placeholder img {
    min-height: 180px;
  }

  .about-media img {
    min-height: 220px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }
}
