/* Silver Glow Logistics & Services Pte Ltd: site styles */

:root {
  --maroon: #810035;
  --maroon-dark: #5f0027;
  --ink: #1C1216;
  --ink-deep: #120A0E;
  --text-2: #4F5A5B;
  --silver: #D9DEDF;
  --silver-2: #ACB5B6;
  --light: #F0F2F2;
  --line: #DDE2E2;
  --field: #C5CCCD;
  --white: #ffffff;

  --font-display: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;

  --pad-x: 20px;
  --header-h: 64px;
  --radius-l: 17px;
  --radius-m: 14px;
  --radius-s: 10px;
}

@media (min-width: 960px) {
  :root { --pad-x: 64px; --header-h: 68px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }

p { margin: 0; }

:focus-visible { outline: 3px solid var(--maroon); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 15px; border-radius: 7px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 27px; border-radius: 849px;
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-light { background: var(--white); color: var(--maroon); }
.btn-light:hover { background: var(--silver); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 1px; line-height: 1.1; }
.brand-sub { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); }

@media (min-width: 960px) {
  .brand { gap: 11px; }
  .brand img { height: 44px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10px; letter-spacing: 1.2px; }
}

.menu-toggle {
  width: 41px; height: 44px; padding: 0; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: 3px var(--pad-x) 20px; background: var(--white);
  border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(28, 18, 22, .18);
}

.dropdown-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 7px;
  width: 100%; min-height: 48px; padding: 0; border: 0; background: transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.dropdown-toggle svg { transition: transform .2s ease; }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown { list-style: none; margin: 0 0 7px; padding: 3px 0; background: var(--light); border-radius: var(--radius-s); }
.dropdown[hidden] { display: none; }
.dropdown a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 16px; color: var(--ink); text-decoration: none; border-radius: 8px;
}
.dropdown a:hover { background: var(--line); }
.dropdown .dropdown-all a { font-weight: 700; color: var(--maroon); }

.nav-link {
  display: flex; align-items: center; min-height: 48px;
  border-top: 1px solid var(--line);
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav-link[aria-current="page"], .dropdown-toggle.is-current {
  text-decoration: underline; text-decoration-color: var(--maroon);
  text-decoration-thickness: 3px; text-underline-offset: 7px;
}
.nav-cta { margin-top: 10px; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: flex; flex-direction: row; align-items: center; gap: 27px;
    position: static; max-height: none; overflow: visible; padding: 0; box-shadow: none; border: 0; background: transparent;
  }
  .nav-item { position: relative; }
  .dropdown-toggle { width: auto; min-height: 44px; font-size: 15px; justify-content: flex-start; }
  .dropdown {
    position: absolute; top: 52px; left: -16px; width: 320px; margin: 0; padding: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
    box-shadow: 0 16px 40px rgba(28, 18, 22, .16);
  }
  .dropdown .dropdown-all { margin-top: 4px; border-top: 1px solid var(--line); }
  .nav-link { min-height: 44px; border-top: 0; font-size: 15px; }
  .nav-cta { margin-top: 0; min-height: 44px; padding: 0 20px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--maroon); color: var(--white); display: grid; }
.hero-text { padding: 34px var(--pad-x) 31px; display: flex; flex-direction: column; gap: 17px; }
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.6; color: var(--silver); text-transform: uppercase; }
.hero h1 { font-size: 41px; line-height: 1; letter-spacing: -1.5px; text-wrap: balance; }
.hero h1 .soft { color: var(--silver); }
.hero-lead { font-size: 17px; line-height: 1.5; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 3px; }
.hero-photo { position: relative; overflow: hidden; background: #ECEFF1; height: 204px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-home h1 { font-size: 44px; }
.hero-home .hero-photo { height: 221px; }
.hero-about h1 { font-size: 34px; }

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-photo { height: 289px; }
}

@media (min-width: 960px) {
  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 268px; }
  .hero-text { justify-content: center; gap: 13px; padding: 38px 43px 38px var(--pad-x); }
  .hero-kicker { font-size: 14px; letter-spacing: 3px; line-height: 1.7; }
  .hero h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1; letter-spacing: -1.5px; }
  .hero-lead { font-size: 15px; max-width: 460px; }
  .hero-photo, .hero-home .hero-photo { height: auto; min-height: 100%; }
  .hero-photo img { position: absolute; inset: 0; }

  .hero-home { min-height: 348px; }
  .hero-home h1 { font-size: clamp(35px, 4.8vw, 51px); }
  .hero-about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 308px; }
  .hero-about h1 { font-size: clamp(29px, 4vw, 40px); }
  .hero-contact { grid-template-columns: 1fr; min-height: 214px; }
  .hero-contact h1 { font-size: clamp(35px, 4.8vw, 51px); }
}


/* ---------- Sections ---------- */
.section { padding-top: 41px; padding-bottom: 41px; }
.section-light { background: var(--light); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; max-width: 646px; }
.section-head h2, .section-title { font-size: 29px; line-height: 1.1; letter-spacing: -.4px; }
.section-head p { font-size: 16px; color: var(--text-2); }

@media (min-width: 960px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, .section-title { font-size: 38px; letter-spacing: -1px; line-height: 1.05; }
  .section-head p { font-size: 15px; }
}

.num { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 17px; color: var(--maroon); }

/* Service cards (home) */
.card-grid { display: grid; gap: 10px; }
.card {
  display: flex; flex-direction: column; gap: 7px; padding: 20px;
  background: var(--white); border-radius: var(--radius-m);
  text-decoration: none; color: var(--ink);
  border: 1px solid transparent; transition: border-color .15s ease;
}
a.card:hover { border-color: var(--maroon); }
.card h3 { font-size: 19px; line-height: 1.15; }
.card p { font-size: 15px; color: var(--text-2); }
.card-grey { background: var(--light); }

@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; } }
@media (min-width: 1100px) {
  .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { padding: 19px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 15px; }
}

.text-link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px;
  font-weight: 700; font-size: 17px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--maroon); text-decoration-thickness: 3px; text-underline-offset: 5px;
}

/* CTA band */
.cta-band {
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  padding-top: 41px; padding-bottom: 41px;
}
.cta-band h2 { font-size: 34px; line-height: 1.02; letter-spacing: -1px; max-width: 663px; }
@media (min-width: 960px) {
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .cta-band h2 { font-size: 43px; letter-spacing: -2px; line-height: 1; }
  .cta-band .btn { min-height: 44px; padding: 0 29px; font-size: 15px; flex-shrink: 0; }
}

/* ---------- Services accordion ---------- */
.svc-list { border-bottom: 1px solid var(--line); }
.svc { border-top: 1px solid var(--line); }
.svc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 61px; padding: 15px 0;
}
.svc summary::-webkit-details-marker { display: none; }
.svc-title { display: flex; flex-direction: column; gap: 3px; }
.svc-title h3 { font-size: 18px; line-height: 1.2; }
.svc-chevron {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: transform .2s ease, color .2s ease;
}
.svc[open] .svc-chevron { transform: rotate(180deg); color: var(--maroon); }
.svc summary:hover h3 { text-decoration: underline; text-decoration-color: var(--maroon); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.svc-body { display: flex; flex-direction: column; gap: 14px; padding: 0 0 20px; }
.svc-body > p { font-size: 16px; color: var(--text-2); }
.svc-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-points li { position: relative; padding-left: 19px; font-size: 15px; color: var(--text-2); }
.svc-points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--maroon);
}
.svc-points strong { color: var(--ink); }

@media (min-width: 960px) {
  .svc summary { min-height: 64px; padding: 16px 0; gap: 16px; }
  .svc-title { flex-direction: row; align-items: baseline; gap: 16px; }
  .svc-title .num { font-size: 15px; }
  .svc-title h3 { font-size: 21px; letter-spacing: -.3px; line-height: 1.15; }
  .svc-chevron { width: 36px; height: 44px; }
  .svc-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 43px; align-items: start; padding: 0 0 27px 31px; }
  .svc-body > p { font-size: 15px; }
  .svc-points { gap: 8px; }
  .svc-points li { font-size: 15px; }
  .svc-points li::before { top: 9px; }
}

/* ---------- About ---------- */
.story { display: grid; gap: 17px; }
.story-rule { width: 54px; height: 5px; background: var(--maroon); border-radius: 3px; }
.story-text { display: flex; flex-direction: column; gap: 17px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
@media (min-width: 960px) {
  .story { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 43px; align-items: center; }
  .story-head { display: flex; flex-direction: column; gap: 19px; }
  .story-rule { width: 54px; }
  .story-text { font-size: 15px; gap: 16px; }
}

.vm-grid { display: grid; gap: 14px; }
.vm { border-radius: var(--radius-l); padding: 24px; display: flex; flex-direction: column; gap: 14px; color: var(--white); }
.vm-vision { background: var(--maroon); }
.vm-mission { background: var(--ink); }
.vm h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.vm-vision h2 { color: var(--silver); }
.vm-mission h2 { color: var(--silver-2); }
.vm p { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.4; }
@media (min-width: 960px) {
  .vm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
  .vm { padding: 29px; min-height: 201px; }
  .vm p { font-size: 21px; }
}

.facts { display: grid; gap: 10px; margin: 0; }
.fact { background: var(--light); border-radius: var(--radius-m); padding: 17px 20px; display: flex; flex-direction: column; gap: 5px; }
.fact dt { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); }
.fact dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; } .fact { padding: 19px; } .fact dd { font-size: 17px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 17px; }
.contact-details { display: flex; flex-direction: column; gap: 10px; }
.detail { background: var(--light); border-radius: var(--radius-m); padding: 17px 20px; display: flex; flex-direction: column; gap: 7px; }
.detail h2 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); }
.detail p, .detail a { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.detail a:hover { text-decoration: underline; text-decoration-color: var(--maroon); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.detail address { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.35; }

.form-card { background: var(--light); border-radius: var(--radius-l); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.form-card h2 { font-size: 22px; line-height: 1.1; }
.form-row { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 14px; font-weight: 700; }
.field .optional { font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 0 14px;
  border: 2px solid var(--field); border-radius: var(--radius-s);
  font-family: var(--font-body); font-size: 16px; color: var(--ink); background: var(--white);
}
.field select { padding: 0 10px; }
.field textarea { min-height: 119px; padding: 10px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(129, 0, 53, .2); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; min-height: 48px; font-size: 15px; }
.form-note { font-size: 14px; color: var(--text-2); }

.form-status { border-radius: var(--radius-s); padding: 12px 14px; font-size: 16px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: #E3F1EA; color: #0F4D33; border: 1px solid #9FCDB5; }
.form-status.is-error { background: #F9E3EA; color: #6A0B2E; border: 1px solid #E3A6BA; }

@media (min-width: 700px) { .form-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 43px; align-items: start; }
  .contact-details { gap: 13px; }
  .detail { border-radius: var(--radius-l); padding: 19px 21px; }
  .detail p, .detail a { font-size: 17px; }
  .detail address { font-size: 15px; }
  .form-card { padding: 27px; border-radius: 16px; }
  .form-card h2 { font-size: 21px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--silver); padding-top: 34px; padding-bottom: 27px; }
.footer-grid { display: grid; gap: 27px; }
.footer-brand img { height: 61px; width: auto; }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--silver-2); }
.footer-col h2 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--silver-2); margin-bottom: 8px; }
.footer-col p, .footer-col address { font-style: normal; font-size: 15px; line-height: 1.6; }
.footer-col a { color: var(--silver); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
.footer-bottom { border-top: 1px solid #33252B; margin-top: 27px; padding-top: 17px; font-size: 13px; color: var(--silver-2); }
@media (min-width: 960px) {
  .site-footer { padding-top: 43px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .footer-brand img { height: 59px; }
  .footer-brand p { font-size: 15px; }
  .footer-col p, .footer-col address { font-size: 15px; }
  .footer-bottom { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
