/* =====================================================
   Quark International Holdings — Global Stylesheet
   ===================================================== */

:root {
  --color-navy-900: #0a1220;
  --color-navy-800: #10192c;
  --color-navy-700: #16213a;
  --color-coral: #ea8364;
  --color-coral-dark: #d66a4c;
  --color-coral-light: #f3a98c;
  --color-ink: #1b1b1b;
  --color-muted: #5e6472;
  --color-line: #e7e4df;
  --color-cream: #faf8f5;
  --color-white: #ffffff;

  --font-head: 'Karla', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow-soft: 0 10px 30px rgba(10, 18, 32, 0.08);
  --shadow-card: 0 2px 10px rgba(10, 18, 32, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ink);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

section { padding: 72px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--color-navy-900);
  line-height: 1.25;
}

h2.section-title {
  font-size: 32px;
  margin-bottom: 14px;
}

p.section-lead {
  color: var(--color-muted);
  max-width: 680px;
  font-size: 17px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-coral-dark);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--color-coral);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s;
}

.btn-primary {
  background-color: var(--color-coral);
  color: var(--color-navy-900);
}
.btn-primary:hover { background-color: var(--color-coral-dark); color: var(--color-white); transform: translateY(-1px); }

.btn-outline {
  background-color: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
}
.btn-outline:hover { border-color: var(--color-white); background-color: rgba(255,255,255,0.08); }

.btn-dark {
  background-color: var(--color-navy-900);
  color: var(--color-white);
}
.btn-dark:hover { background-color: var(--color-navy-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-coral-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-desktop { display: none; }

.nav-desktop ul { display: flex; gap: 36px; }

.nav-desktop a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-coral);
  border-bottom-color: var(--color-coral);
}

.header-cta { display: none; }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px;
}
.lang-switch a {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  padding: 6px 12px;
  border-radius: 16px;
  transition: background-color .2s, color .2s;
}
.lang-switch a.lang-current {
  background: var(--color-coral);
  color: var(--color-navy-900);
}
.lang-switch a:not(.lang-current):hover { color: var(--color-white); }

.mobile-nav .lang-switch {
  margin-top: 24px;
  background: rgba(255,255,255,0.06);
  width: fit-content;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-btn svg { width: 28px; height: 28px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-navy-900);
  z-index: 1200;
  flex-direction: column;
  padding: 24px 24px 32px;
}
.mobile-nav.active { display: flex; }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-nav-close { background: none; border: none; color: var(--color-white); cursor: pointer; }
.mobile-nav-close svg { width: 26px; height: 26px; }

.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav a {
  display: block;
  padding: 16px 2px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}
.mobile-nav a.active { color: var(--color-coral); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(234,131,100,0.22), transparent 45%),
    linear-gradient(120deg, rgba(10,18,32,0.92) 0%, rgba(16,25,44,0.86) 45%, rgba(22,33,58,0.72) 100%),
    url('images/jewel-changi-hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
  padding: 96px 0 0;
}
.hero .hero-grid { padding-bottom: 100px; }

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(234,131,100,0.18);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--color-coral-light);
}

.hero h1 {
  font-size: 40px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 480px;
}

.hero-stat {
  border-top: 2px solid var(--color-coral);
  padding-top: 10px;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--color-white);
}
.hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-glass-card {
  width: 100%;
  max-width: 380px;
  background: rgba(16, 25, 44, 0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.hero-glass-caption {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral-light);
  margin-bottom: 14px;
}
.hero-glass-card h3 { color: var(--color-white); font-size: 22px; margin-bottom: 12px; }
.hero-glass-card p { color: rgba(255,255,255,0.75); font-size: 14.5px; margin-bottom: 0; }
.hero-glass-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-glass-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--color-white);
}
.hero-glass-stats span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* Skyline divider strip */
.skyline-divider {
  width: 100%;
  height: 110px;
  display: block;
  margin-top: -2px;
}

/* Generic section illustration */
.section-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.section-image img { width: 100%; display: block; }

/* ---------- Logo strip / trust bar ---------- */
.trust-bar {
  background-color: var(--color-cream);
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  text-transform: uppercase;
}
.trust-item .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-coral);
}

/* ---------- Two-column intro ---------- */
.intro-split {
  display: grid;
  gap: 48px;
  align-items: start;
}

.intro-copy p {
  color: var(--color-muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.entity-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.entity-media img { width: 100%; display: block; }

.intro-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.intro-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-ink);
  font-size: 15px;
}
.intro-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-coral-dark); width: 18px; height: 18px; }

.fact-card {
  background-color: var(--color-navy-900);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 36px;
}
.fact-card h3 { color: var(--color-white); font-size: 20px; margin-bottom: 20px; }
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}
.fact-row:last-child { border-bottom: none; }
.fact-row dt { color: rgba(255,255,255,0.55); }
.fact-row dd { color: var(--color-white); font-weight: 600; text-align: right; }

/* ---------- Pillars / Services grid ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pillar-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-coral), var(--color-coral-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--color-white);
}
.pillar-icon svg { width: 24px; height: 24px; }

.pillar-card h3 { font-size: 19px; margin-bottom: 10px; }
.pillar-card p { color: var(--color-muted); font-size: 15px; }

/* ---------- Global footprint ---------- */
.footprint-section { background-color: var(--color-cream); }

.footprint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footprint-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.footprint-card-media {
  width: 100%;
  height: 150px;
  overflow: hidden;
}
.footprint-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.footprint-card:hover .footprint-card-media img { transform: scale(1.06); }

.footprint-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.footprint-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral-dark);
}

.footprint-card h3 { font-size: 18px; }
.footprint-card p { color: var(--color-muted); font-size: 14.5px; flex-grow: 1; }
.network-showcase {
  display: flex;
  justify-content: center;
  margin: 40px 0 28px;
}
.network-showcase img { width: 100%; max-width: 480px; }

.footprint-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(234,131,100,0.12);
  color: var(--color-coral-dark);
  width: fit-content;
}
.footprint-card a.btn { align-self: flex-start; padding: 9px 18px; font-size: 13px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy-900), var(--color-navy-700));
  color: var(--color-white);
  text-align: center;
}
.cta-band h2 { color: var(--color-white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page header (sub pages) ---------- */
.page-header {
  background:
    linear-gradient(120deg, rgba(10,18,32,0.92) 0%, rgba(16,25,44,0.88) 55%, rgba(22,33,58,0.8) 100%),
    url('images/jewel-changi-hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 72px 0 0;
  overflow: hidden;
}
.page-header .container { padding-bottom: 56px; }
.page-header h1 { color: var(--color-white); font-size: 34px; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.72); max-width: 620px; font-size: 16px; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.breadcrumb a { color: var(--color-coral-light); }

/* ---------- Values grid (About) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.value-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--color-muted); font-size: 14.5px; }
.value-card .num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-coral-dark);
  margin-bottom: 10px;
  display: block;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--color-line); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-coral);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-coral);
}
.timeline-year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--color-navy-900);
  font-size: 15px;
  margin-bottom: 4px;
}
.timeline-item p { color: var(--color-muted); font-size: 14.5px; max-width: 560px; }

/* ---------- Table (About / compliance) ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-line);
}
.info-table th {
  width: 38%;
  color: var(--color-muted);
  font-weight: 600;
}
.info-table td { color: var(--color-ink); font-weight: 600; }
.table-wrap {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.disclaimer-note {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 10px; }
.contact-card p, .contact-card a { color: var(--color-muted); font-size: 14.5px; }
.contact-card a { color: var(--color-coral-dark); font-weight: 700; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(234,131,100,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-coral-dark);
  margin-bottom: 14px;
}
.contact-icon svg { width: 20px; height: 20px; }

.map-note {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-cream);
  padding: 36px;
  text-align: center;
}
.map-note svg { width: 42px; height: 42px; color: var(--color-coral-dark); margin: 0 auto 16px; }
.map-note h3 { font-size: 17px; margin-bottom: 8px; }
.map-note p { color: var(--color-muted); font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-navy-900);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 320px; color: rgba(255,255,255,0.55); }
.footer-col h4 {
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-col a:hover { color: var(--color-coral-light); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footprint-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .intro-split { grid-template-columns: 1.1fr 0.9fr; }
  .contact-grid { grid-template-columns: 2fr 1fr; }
}

@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .mobile-menu-btn { display: none; }

  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero h1 { font-size: 50px; }
  section { padding: 96px 0; }
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
  .footprint-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: 56px; }
}
