:root {
  --primary: #0f2c59;
  --primary-dark: #0a1b36;
  --primary-light: #1b3d75;
  --accent: #d97706;
  --accent-gold: #e59819;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --card-shadow: 0 4px 12px rgba(15, 44, 89, 0.06);
  --card-shadow-hover: 0 8px 24px rgba(15, 44, 89, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.header-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  font-weight: 700;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 9999px;
  transition: all 0.2s;
}

.header-phone:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   PAGE HERO BANNER (Inner pages: Gioi thieu, Dich vu, Lien he, etc.)
   ========================================================================== */
.page-banner {
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 34px 0;
  color: #ffffff;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 44, 89, 0.92) 0%, rgba(15, 44, 89, 0.82) 100%);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.page-banner p {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 400;
}

.breadcrumbs {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  margin: 0 6px;
  color: #94a3b8;
}

/* ==========================================================================
   HOMEPAGE HERO
   ========================================================================== */
.home-hero {
  background-color: #ffffff;
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--border-light);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.hero-slogan {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: #f1f5f9;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  text-align: right;
}

.hero-visual img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  display: inline-block;
}

/* ==========================================================================
   LEGAL & QUOTE SECTION (Shared by Home and About)
   ========================================================================== */
.section-legal {
  padding: 40px 0 50px;
}

.section-heading-sm {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-heading-sm::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background-color: var(--accent-gold);
  margin-top: 4px;
  border-radius: 2px;
}

.legal-quote-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}

.legal-table-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.legal-row {
  display: flex;
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}

.legal-row:last-child {
  border-bottom: none;
}

.legal-row:nth-child(even) {
  background-color: #fafbfc;
}

.legal-col-label {
  width: 150px;
  flex-shrink: 0;
  font-weight: 600;
  color: #475569;
}

.legal-col-value {
  color: #0f172a;
  font-weight: 600;
  word-break: break-word;
}

.legal-col-value a {
  color: var(--primary);
  text-decoration: none;
}

.legal-col-value a:hover {
  text-decoration: underline;
}

.quote-image-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.quote-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   VALUE / FEATURE CARDS GRID (About page & Home)
   ========================================================================== */
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--primary);
}

.feature-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES / PRODUCTS GRID (Page 3)
   ========================================================================== */
.services-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 24px 0 40px;
}

.service-item-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.service-item-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}

.service-item-body {
  padding: 18px 20px;
}

.service-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.service-item-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.service-item-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.service-item-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Bottom CTA Banner */
.cta-banner-strip {
  background: #0f2c59;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  color: #ffffff;
  overflow: hidden;
}

.cta-banner-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 44, 89, 0.75);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
}

.cta-banner-content h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 2px;
}

.cta-banner-content p {
  font-size: 13.5px;
  color: #cbd5e1;
}

.btn-cta-gold {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-gold);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-cta-gold:hover {
  background-color: #cb8412;
}

/* ==========================================================================
   CONTACT PAGE LAYOUT (Page 4: 3-column)
   ========================================================================== */
.contact-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 20px;
  margin: 24px 0 50px;
}

.contact-card-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.contact-card-box h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.contact-info-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-entry-body strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1px;
}

.contact-entry-body span,
.contact-entry-body a {
  color: #334155;
  text-decoration: none;
}

.contact-entry-body a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-map-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
}

.contact-form-group {
  margin-bottom: 12px;
}

.contact-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  background-color: #fafbfc;
  transition: border-color 0.2s;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
}

.btn-send-message {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 10px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-send-message:hover {
  background-color: var(--primary-light);
}

/* ==========================================================================
   CONTENT CARDS (Privacy Policy & Terms)
   ========================================================================== */
.policy-doc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin: 20px 0 50px;
}

.policy-doc-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.policy-meta-line {
  font-size: 13.5px;
  margin-bottom: 8px;
  color: #334155;
}

.policy-meta-line strong {
  color: var(--primary);
}

.policy-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 18px 0;
}

.policy-block {
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.7;
}

.policy-block strong {
  color: var(--primary);
}

.policy-highlight {
  font-weight: 700;
  color: var(--primary);
  margin-top: 16px;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  margin-top: auto;
  font-size: 12.5px;
  color: #64748b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-center {
  flex: 1;
  text-align: center;
  line-height: 1.6;
}

.footer-center p {
  margin-bottom: 2px;
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}

.footer-social a {
  color: var(--primary);
  display: inline-flex;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .home-hero-grid,
  .legal-quote-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none; /* simple toggle can be used if needed */
  }
  .hero-title {
    font-size: 34px;
  }
  .feature-grid-4,
  .services-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .hero-trust-bar {
    flex-wrap: wrap;
  }
  .cta-banner-strip {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
