:root {
  --bg: #f7f4ee;
  --bg-soft: #fffdf9;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #1c2730;
  --muted: #66727d;
  --line: rgba(28, 39, 48, 0.1);
  --brand: #0f766e;
  --brand-dark: #0a4f4b;
  --accent: #f59e0b;
  --success: #1f9d55;
  --shadow: 0 18px 55px rgba(20, 44, 61, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(245, 158, 11, 0.15), transparent 22%),
    linear-gradient(180deg, #fffcf7 0%, #f7f4ee 42%, #fffaf2 100%);
}

a {
  text-decoration: none;
}

.page-shell {
  overflow: hidden;
}

.market-navbar {
  padding: 1rem 0;
  background: rgba(255, 252, 247, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 39, 48, 0.06);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
}

.brand-logo,
.mini-logo {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: transparent;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: none;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.navbar-toggler {
  border: 1px solid rgba(28, 39, 48, 0.08);
  border-radius: 16px;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(20, 44, 61, 0.08);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.14);
}

.mobile-sidebar {
  width: min(86vw, 340px);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #f7f4ee 100%);
  border-right: 1px solid rgba(28, 39, 48, 0.08);
}

.mobile-sidebar .offcanvas-header {
  padding: 1.25rem 1.25rem 0.5rem;
}

.mobile-sidebar .offcanvas-body {
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav-panel {
  padding: 0.75rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.mobile-nav-link {
  display: block;
  padding: 1rem 1rem;
  border-radius: 18px;
  color: var(--text);
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link + .mobile-nav-link {
  margin-top: 0.35rem;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--brand-dark);
  background: rgba(15, 118, 110, 0.08);
  transform: translateX(6px);
}

.btn-brand,
.btn-outline-brand:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border: none;
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.22);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 1px solid rgba(15, 118, 110, 0.25);
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.55);
}

.hero-section {
  position: relative;
  padding-top: 5.2rem;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

.orb-one {
  width: 320px;
  height: 320px;
  top: 7rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0) 70%);
}

.orb-two {
  width: 260px;
  height: 260px;
  left: -5rem;
  bottom: 2rem;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.2) 0%, rgba(15, 118, 110, 0) 72%);
}

.eyebrow,
.section-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title,
.section-intro h2,
.cta-card h2 {
  font-family: "Sora", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-title {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  margin-bottom: 1.2rem;
}

.hero-text,
.insight-copy,
.footer-copy,
.about-card p,
.service-card p,
.cta-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-card,
.service-card,
.cta-card,
.insight-card,
.loading-card,
.gallery-card,
.gallery-quote,
.footer-top,
.footer-main,
.footer-cta-box {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-visual-wrap {
  display: grid;
  gap: 1.2rem;
  position: relative;
}

.hero-image-card,
.about-visual-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-image-card:hover,
.about-visual-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(20, 44, 61, 0.18);
  border-color: rgba(15, 118, 110, 0.2);
}

.hero-image-card img,
.about-visual-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.hero-image-card img {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 35px rgba(20, 44, 61, 0.12));
}

.hero-image-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
  border-color: transparent;
}

.about-card:hover,
.service-card:hover,
.cta-card:hover,
.insight-card:hover,
.loading-card:hover,
.gallery-card:hover,
.gallery-quote:hover,
.footer-top:hover,
.footer-main:hover,
.footer-cta-box:hover,
.metric-card:hover,
.feature-chip:hover,
.hero-image-card:hover,
.about-visual-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(20, 44, 61, 0.18);
  border-color: rgba(15, 118, 110, 0.2);
}
.metric-label,
.insight-card span,
.service-icon,
.feature-chip,
.footer-section h3,
.insight-card small {
  display: block;
}

.metric-label,
.insight-card small,
.footer-section h3 {
  color: var(--muted);
}

.metric-card {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-number {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.ticker-strip {
  border-top: 1px solid rgba(28, 39, 48, 0.06);
  border-bottom: 1px solid rgba(28, 39, 48, 0.06);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 2.8rem;
  width: max-content;
  padding: 1rem 0;
  animation: tickerMove 18s linear infinite;
}

.ticker-track span {
  position: relative;
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-track span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.4rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.section-space {
  padding: 5.5rem 0;
}

.soft-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.18));
}

.market-gallery-section {
  padding-top: 1rem;
}

.gallery-card,
.gallery-quote,
.market-view-card {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.market-view-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.market-view-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(20, 44, 61, 0.18);
  border-color: rgba(15, 118, 110, 0.2);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.single-market-image {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.single-market-image img {
  min-height: auto;
  max-height: 460px;
  object-fit: contain;
}

.gallery-card-large img {
  min-height: 100%;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 27, 35, 0.78) 100%);
  color: #fff;
}

.gallery-overlay span {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.gallery-overlay h3,
.gallery-quote h3,
.footer-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.gallery-overlay h3,
.gallery-quote h3 {
  margin: 0;
  font-size: 1.45rem;
}

.gallery-quote {
  padding: 1.8rem;
}

.gallery-quote p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.market-view-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.market-view-points span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.section-intro h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  margin: 0;
}

.section-intro.text-center h2 {
  margin-left: auto;
  margin-right: auto;
}

#about .section-intro h2 {
  max-width: none;
  white-space: nowrap;
}

.about-card,
.cta-card {
  padding: 2rem;
}

.about-visual-card {
  margin-top: 1.5rem;
  padding: 1rem;
}

.feature-chip {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(28, 39, 48, 0.07);
  font-weight: 700;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card {
  height: 100%;
  padding: 1.8rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 58px rgba(20, 44, 61, 0.16);
}

.service-icon {
  margin-bottom: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 700;
}

.service-card h3,
.insight-card h3,
.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.loading-card,
.insight-card {
  padding: 1.5rem;
}

.loading-card {
  text-align: center;
  color: var(--muted);
}

.insight-card {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 68%);
}

.insight-card strong {
  display: block;
  margin: 1rem 0 0.4rem;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--brand-dark);
}

.cta-section {
  padding-top: 1rem;
}

.cta-card {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(11, 84, 79, 0.94));
  color: #fff;
}

.cta-card .section-tag,
.cta-card p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-card .section-tag {
  background: rgba(255, 255, 255, 0.12);
}

.footer-section {
  padding-top: 2rem;
  background:
    radial-gradient(circle at right top, rgba(15, 118, 110, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f2ea 0%, #efe8dd 100%);
  color: var(--text);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-top,
.footer-main {
  padding: 2rem;
}

.footer-main {
  margin-top: 1.5rem;
}

.footer-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3.2rem);
  max-width: 12ch;
}

.footer-cta-box {
  padding: 1.5rem;
}

.footer-cta-box p {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 2;
}

.footer-list a,
.footer-mini-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-mini-links a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-main,
.footer-bottom {
  background: #1f7069;
  color: #ffffff;
}

.footer-main {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: 1rem;
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
}

.footer-main h3,
.footer-main .footer-list,
.footer-main .footer-list a,
.footer-bottom,
.footer-bottom .footer-mini-links a {
  color: #ffffff;
}

.footer-main .footer-list a:hover,
.footer-bottom .footer-mini-links a:hover {
  color: rgba(255, 255, 255, 0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 991.98px) {
  .market-navbar .navbar-collapse {
    display: none !important;
  }

  .hero-title {
    max-width: 100%;
  }

  .section-intro h2 {
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .navbar-toggler,
  .mobile-sidebar {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .market-navbar {
    padding: 0.75rem 0;
  }

  .brand-logo,
  .mini-logo {
    width: 44px;
    height: 44px;
  }

  .hero-section {
    padding-top: 4.8rem;
  }

  .section-space {
    padding: 4rem 0;
  }

  .about-visual-card {
    margin-top: 1rem;
  }

  .footer-top,
  .footer-main,
  .gallery-quote,
  .market-view-card {
    padding: 1.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
