/* GRACEM9 CARGO & LOGISTICS — site stylesheet */

:root {
  --navy: #0b2545;
  --navy-dark: #081b34;
  --gold: #d99a2b;
  --gold-light: #f2b955;
  --bg: #f7f8fa;
  --text: #23272f;
  --muted: #5a6472;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.brand-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

nav.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: #dfe6f0;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}

.header-cta {
  display: none;
}

@media (min-width: 860px) {
  .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
  }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(8,27,52,0.75), rgba(8,27,52,0.9)), url('../images/hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 90px 24px 80px;
  text-align: center;
}

.hero.hero-sub {
  padding: 100px 24px 70px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 18px;
  line-height: 1.25;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #dbe3ee;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(217,154,43,0.4); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 12px;
}

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

/* Sections */
section {
  padding: 64px 0;
}

section.alt { background: var(--white); }

h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}

p.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Cards grid */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 720px) {
  .grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #e9edf3;
}

.card .icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Alert / notice box */
.notice {
  background: #fff6e8;
  border: 1px solid #f0d6a3;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 32px 0;
}

.notice h3 {
  margin-top: 0;
  color: var(--navy);
}

.notice p:last-child { margin-bottom: 0; }

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table th, .pricing-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #edf0f4;
}

.pricing-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table td strong { color: var(--navy); }

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid #e9edf3;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* FAQ */
details.faq-item {
  background: var(--white);
  border: 1px solid #e9edf3;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  margin-left: 12px;
}

details.faq-item[open] summary::after { content: '\2212'; }

details.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid #e9edf3;
  text-align: center;
}

.contact-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { color: var(--navy); margin: 0 0 8px; }
.contact-card a.contact-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: var(--white);
  text-align: center;
  padding: 56px 24px;
}

.cta-band h2 { margin-top: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { color: #dbe3ee; margin-bottom: 26px; }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c4d3;
  padding: 40px 24px 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1120px;
  margin: 0 auto 24px;
}

.footer-grid p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-grid a { color: #b9c4d3; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  max-width: 1120px;
  margin: 0 auto;
  color: #8895a7;
}

.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217,154,43,0.15);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-top: 8px;
}

@media (max-width: 859px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  nav.main-nav { width: 100%; justify-content: center; }
}
