/* ============================================================
   styles.css — Nextbridge General Trading FZE Company Profile
   Design Tokens | Reset | Typography | Components | Sections | Responsive
   ============================================================ */

/* --- CSS Reset --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Design Tokens --- */
:root {
  --navy: #1A2744;
  --navy-light: #243656;
  --gold: #C9972E;
  --gold-light: #E0B84A;
  --white: #FFFFFF;
  --gray-bg: #F5F5F5;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius-sm: 8px; --radius: 12px; --radius-lg: 20px; --radius-pill: 30px; --radius-full: 50%;
  --transition-fast: 0.15s ease; --transition: 0.3s ease; --transition-slow: 0.5s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Base Typography --- */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem; font-weight: 400; line-height: 1.7;
  color: var(--text-secondary); background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* --- Utility --- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom right, rgba(26,39,68,0.88), rgba(26,39,68,0.30)); }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 80px clamp(16px, 5vw, 80px) 100px; }
.hero__eyebrow { font-size: clamp(11px, 1.4vw, 14px); font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; margin-bottom: clamp(16px, 3vw, 24px); }
.hero__headline span { display: block; font-size: clamp(37px, 7vw, 74px); font-weight: 800; color: var(--white); line-height: 1.1; }
.hero__subheadline { font-size: clamp(14px, 1.8vw, 16px); font-weight: 400; color: rgba(255,255,255,0.80); line-height: 1.6; max-width: 580px; margin-top: clamp(12px, 2vw, 16px); }
.hero__cta { display: inline-block; margin-top: clamp(20px, 3vw, 28px); background: var(--navy); color: var(--white); padding: 14px 36px; border-radius: var(--radius-pill); border: 2px solid var(--gold); font-size: clamp(14px, 1.6vw, 16px); font-weight: 700; text-decoration: none; transition: background var(--transition-fast), transform var(--transition-fast); cursor: pointer; }
.hero__cta:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; }
.hero__scroll span { display: block; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.hero__scroll-arrow { width: 18px; height: 18px; border-right: 2px solid rgba(255,255,255,0.35); border-bottom: 2px solid rgba(255,255,255,0.35); transform: rotate(45deg); margin: 0 auto; animation: scrollBounce 2s ease infinite; }
@keyframes scrollBounce { 0%, 100% { transform: rotate(45deg) translate(0, 0); } 50% { transform: rotate(45deg) translate(5px, 5px); } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-header h3 {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 12px 50px; font-size: 16px; font-weight: 700; letter-spacing: 2px;
  border-radius: var(--radius-pill); text-transform: uppercase; box-shadow: var(--shadow);
}
.section-header.dark h3 { background: var(--white); color: var(--navy); }

/* ============================================================
   CORE ACTIVITIES
   ============================================================ */
.core-activities { padding: 64px 20px; background: radial-gradient(ellipse at 50% 30%, rgba(36,54,86,0.10) 0%, transparent 60%), linear-gradient(180deg, rgba(26,39,68,0.07) 0%, rgba(26,39,68,0.015) 50%, rgba(26,39,68,0.08) 100%); }
.activities-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}

.activity-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
}
.activity-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-hover);
}

/* Card Link Wrapper */
.card-link {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius);
}
.card-link:focus-visible .activity-card,
.card-link:focus-visible .product-card {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

.card-link--featured .activity-card {
  border: 2px solid var(--gold);
}

.card-image { height: 140px; overflow: hidden; width: 100%; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.activity-card:hover .card-image img { transform: scale(1.1); }

.activities-grid .card-link:nth-child(-n+3) .card-image img { object-position: center 15%; }

.card-icon {
  width: 50px; height: 50px; background: var(--navy); color: var(--gold);
  border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center;
  margin: -25px auto 15px; position: relative; z-index: 2;
  border: 3px solid var(--white); box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.card-icon img { width: 22px; height: 22px; }

.activity-card h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: var(--navy);
  text-transform: uppercase; margin-bottom: var(--space-sm); padding: 0 16px; text-align: center;
}
.activity-card p {
  font-size: 12px; line-height: 1.6; color: var(--text-secondary);
  padding: 0 16px 20px; text-align: center;
}

/* ============================================================
   RETAIL PRODUCTS
   ============================================================ */
.retail-products { padding: 64px 20px; background: radial-gradient(ellipse at 50% 30%, rgba(36,54,86,0.10) 0%, transparent 60%), linear-gradient(180deg, rgba(26,39,68,0.07) 0%, rgba(26,39,68,0.015) 50%, rgba(26,39,68,0.08) 100%); }
.products-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}

.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-hover);
}

.product-image { height: 140px; overflow: hidden; width: 100%; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-image img { transform: scale(1.1); }

.product-icon {
  width: 50px; height: 50px; background: var(--navy); color: var(--gold);
  border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center;
  margin: -25px auto 15px; position: relative; z-index: 2;
  border: 3px solid var(--white); box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.product-icon img { width: 22px; height: 22px; }

.product-card h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: var(--navy);
  text-transform: uppercase; margin-bottom: var(--space-sm); padding: 0 16px; text-align: center;
}
.product-card ul { list-style: none; padding: 0 16px 20px; text-align: left; width: 100%; }
.product-card li {
  font-size: 12px; color: var(--text-secondary); padding: 4px 0 4px 14px; position: relative;
}
.product-card li::before {
  content: '\2022'; position: absolute; left: 0; color: var(--gold); font-weight: bold;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose-us { padding: 64px 20px; background: radial-gradient(ellipse at 50% 30%, rgba(36,54,86,0.10) 0%, transparent 60%), linear-gradient(180deg, rgba(26,39,68,0.07) 0%, rgba(26,39,68,0.015) 50%, rgba(26,39,68,0.08) 100%); }
.why-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center;
}
.why-text h3 {
  font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: var(--space-lg);
}
.why-text ul { list-style: none; }
.why-text li {
  font-size: 15px; color: var(--text-secondary); padding: 10px 0 10px 0; position: relative; line-height: 1.6;
  display: flex; align-items: flex-start; gap: 8px;
}
.why-icon { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.why-images {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
}
.why-images img {
  border-radius: var(--radius-sm); box-shadow: var(--shadow); width: 100%;
  object-fit: cover; aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--white); padding: 48px 20px 0; }
.footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }

.footer__brand { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.footer__logo { width: 56px; height: auto; flex-shrink: 0; }
.footer__brand-name { font-size: 18px; font-weight: 800; letter-spacing: 2px; color: var(--white); line-height: 1; }
.footer__brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.footer__address { font-size: 13px; color: var(--text-muted); }

.footer__col-title { font-size: 13px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-md); }

.footer__links { list-style: none; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }

.footer__contact { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-xl); font-size: 13px; }
.footer__contact span { display: inline-flex; align-items: center; gap: var(--space-xs); }
.footer__contact a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.footer__contact a:hover { color: var(--gold); }
.footer__icon { display: inline; flex-shrink: 0; vertical-align: middle; }

.footer__subscribe { margin-top: 0; padding-top: 0; border-top: none; }
.footer__subscribe-title { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: var(--space-sm); }
.footer__subscribe-form { display: flex; gap: var(--space-sm); max-width: 300px; }
.footer__subscribe-form input { flex: 1; padding: 10px 14px; border: none; border-radius: 6px; font-size: 13px; font-family: var(--font); outline: none; background: rgba(255,255,255,0.1); color: var(--white); }
.footer__subscribe-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer__subscribe-form button { padding: 10px 20px; background: var(--gold); color: var(--navy); border: none; border-radius: 6px; font-size: 13px; font-weight: 700; font-family: var(--font); cursor: pointer; transition: background var(--transition-fast); white-space: nowrap; }
.footer__subscribe-form button:hover { background: var(--gold-light); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 16px 20px; }
.footer-copyright { font-size: 12px; color: var(--text-muted); }

/* Footer responsive */
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .footer__subscribe-form { max-width: 100%; }
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay--open { display: flex; }

.modal {
  background: var(--white); border-radius: 16px; padding: 40px 32px 32px;
  max-width: 440px; width: 100%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
}
.modal__close {
  position: absolute; top: 8px; right: 16px;
  background: none; border: none; font-size: 28px; color: var(--text-muted);
  cursor: pointer; line-height: 1; padding: 4px;
}
.modal__close:hover { color: var(--navy); }

.modal__body h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: var(--space-sm); }
.modal__body > p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--space-lg); }

.modal__info { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.modal__info p { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 15px; color: var(--text-primary); justify-content: center; }
.modal__info a { color: var(--navy); font-weight: 600; }
.modal__info a:hover { color: var(--gold); }
.modal__info img { flex-shrink: 0; }

.modal__whatsapp {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  background: #25D366; color: var(--white); padding: 14px 32px;
  border-radius: 8px; font-size: 16px; font-weight: 600;
  text-decoration: none; transition: background var(--transition-fast);
}
.modal__whatsapp:hover { background: #1ebe57; }
.modal__whatsapp img { flex-shrink: 0; }

@media (max-width: 480px) {
  .modal { padding: 32px 20px 24px; }
  .modal__body h2 { font-size: 20px; }
  .footer__subscribe-form { flex-direction: column; }
  .footer__subscribe-form button { width: 100%; }
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  height: 64px;
}

.navbar__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  width: 56px; height: auto; flex-shrink: 0;
}
.navbar__brand {
  display: flex; align-items: center; gap: var(--space-sm);
  text-decoration: none;
}


.navbar__name {
  font-size: 29px; font-weight: 700; letter-spacing: 2px; color: var(--navy);
}
.navbar__name--gold,
.footer__brand-name--gold {
  color: var(--gold);
}

.navbar__links {
  display: flex; align-items: center; gap: var(--space-xl);
  list-style: none; margin: 0; padding: 0;
}

.navbar__link {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 0; position: relative; transition: color var(--transition);
}
.navbar__link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.navbar__link:hover,
.navbar__link--active { color: var(--navy); }
.navbar__link:hover::after,
.navbar__link--active::after { width: 100%; }

/* Hamburger Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 28px; height: 28px;
  background: none; border: none; cursor: pointer; padding: 0; z-index: 1001;
}
.navbar__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle--open span:nth-child(2) { opacity: 0; }
.navbar__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .navbar__name { font-size: 20px; letter-spacing: 1px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — Mobile-First
   ============================================================ */

/* xs: < 480px already handled by base styles */

/* sm: 480px+ */
@media (min-width: 480px) {
  .activities-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* md: 768px+ */
@media (min-width: 768px) {
  .activities-grid, .products-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-text h2 { font-size: 36px; }
  .footer-contact { gap: var(--space-xl); }
}

/* lg: 1024px+ */
@media (min-width: 1024px) {
  .activities-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* xl: 1440px+ */
@media (min-width: 1440px) {
  .activities-grid, .products-grid, .why-content, .footer-content { max-width: 1320px; }
}

/* --- Why Choose Us responsive --- */
@media (max-width: 767px) {
  .why-content { grid-template-columns: 1fr; gap: 32px; }
  .why-images { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .why-content { grid-template-columns: 1fr 1fr; }
  .why-images { grid-template-columns: repeat(2, 1fr); }
}

/* --- Section padding responsive --- */
@media (max-width: 1023px) {
  .core-activities, .retail-products, .why-choose-us { padding: 48px 20px; }
}
@media (max-width: 767px) {
  .core-activities, .retail-products, .why-choose-us { padding: 32px 20px; }
}

/* --- Section header pill responsive --- */
@media (max-width: 479px) {
  .section-header h3 { font-size: 14px; padding: 10px 36px; }
}

/* --- Card title responsive --- */
@media (max-width: 479px) {
  .activity-card h4, .product-card h4 { font-size: 14px; }
}

/* --- Footer responsive --- */
@media (max-width: 767px) {
    .footer-contact { flex-direction: column; gap: var(--space-sm); text-align: center; }
  }

/* ============================================================
   DETAIL PAGES
   ============================================================ */

/* --- Page Sub-Nav --- */
.page-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.page-nav__back { font-size: 13px; color: var(--gold); font-weight: 600; transition: color var(--transition); }
.page-nav__back:hover { color: var(--navy); }
.page-nav__brand { display: flex; align-items: center; gap: var(--space-sm); font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }

/* --- Page Hero Banner --- */
.page-hero {
  background: var(--navy); padding: 64px 20px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(26,39,68,0.82);
}
.page-hero__icon {
  width: 72px; height: 72px; background: var(--white); color: var(--gold);
  border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-lg); border: 3px solid var(--gold);
  position: relative; z-index: 2;
}
.page-hero__icon img { width: 32px; height: 32px; }
.page-hero h1 {
  font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: var(--space-sm);
  text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 2;
}
.page-hero__subtitle {
  font-size: 16px; color: var(--gold); font-style: italic;
  max-width: 600px; margin: 0 auto; position: relative; z-index: 2;
}

/* --- Page Content --- */
.page-content { padding: 0 20px; }
.page-content__inner { max-width: 800px; margin: 0 auto; }

/* --- Detail Section --- */
.detail-section { padding: 64px 0; }
.detail-section--gray { background: var(--gray-bg); margin: 0 -20px; padding: 64px 20px; }
.detail-section h2 {
  font-size: 24px; font-weight: 700; color: var(--navy);
  padding-bottom: var(--space-md); margin-bottom: var(--space-lg);
  border-bottom: 3px solid var(--gold); display: inline-block;
}
.detail-section p {
  font-size: 15px; line-height: 1.8; color: var(--text-secondary);
  margin-bottom: var(--space-md);
}
.detail-list { list-style: none; }
.detail-list li {
  font-size: 14px; line-height: 1.7; color: var(--text-secondary);
  padding: 10px 0 10px 18px; position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '\2022'; position: absolute; left: 0; color: var(--gold); font-weight: bold; font-size: 18px; top: 10px;
}

/* --- Photo Gallery --- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.gallery-grid__item {
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
}
.gallery-grid__item img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 3000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox--open { display: flex; }
.lightbox__close {
  position: absolute; top: 16px; right: 28px; color: rgba(255,255,255,0.6);
  font-size: 42px; cursor: pointer; line-height: 1; transition: color 0.2s; background: none; border: none;
}
.lightbox__close:hover { color: var(--white); }
.lightbox__image { max-width: 90vw; max-height: 85vh; object-fit: contain; }

/* --- Detail CTA --- */
.detail-cta {
  background: var(--navy); padding: 48px 20px; text-align: center; margin: 0 -20px;
}
.detail-cta h2 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: var(--space-sm); }
.detail-cta p  { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: var(--space-lg); }
.detail-cta__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xl);
}
.detail-cta__links a {
  font-size: 15px; font-weight: 600; color: var(--gold);
  transition: color var(--transition);
}
.detail-cta__links a:hover { color: var(--white); }

/* --- Detail page navbar offset --- */
.page-content { padding-top: 24px; }

/* --- Detail responsive --- */
@media (max-width: 767px) {
  .page-hero { padding: 48px 20px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero__subtitle { font-size: 14px; }
  .page-hero__icon { width: 60px; height: 60px; }
  .page-hero__icon img { width: 26px; height: 26px; }
  .page-nav { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .detail-section { padding: 48px 0; }
  .detail-section h2 { font-size: 20px; }
  .detail-cta__links { flex-direction: column; gap: var(--space-md); }
}

/* --- Navbar responsive --- */
@media (max-width: 767px) {
  .navbar__toggle { display: flex; }

  .navbar__links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow);
    flex-direction: column; gap: 0; padding: var(--space-md) 0;
    border-bottom: 3px solid var(--gold);
  }

  .navbar__links--open { display: flex; }

  .navbar__links li { width: 100%; }

  .navbar__link {
    display: block; padding: 14px 24px; font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .navbar__link:last-child { border-bottom: none; }
  .navbar__link::after { display: none; }
}

/* ============================================================
   BLOG
   ============================================================ */

/* --- Blog Grid (listing page) --- */
.blog-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  padding: 64px 0;
}

.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  display: block; text-decoration: none; color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}

.blog-card__image {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.blog-card__image img {
  width: 100%; height: 100%; object-fit: cover;
}

.blog-card__body { padding: 20px 24px; }

.blog-card__category {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: 18px; font-weight: 700; color: var(--navy);
  line-height: 1.4; margin-bottom: var(--space-sm);
}

.blog-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.blog-card__date {
  font-size: 12px; color: var(--text-muted);
}

/* --- Blog Article (single post) --- */
.blog-article { padding: 64px 0 48px; }

.blog-article__title {
  font-size: 32px; font-weight: 800; color: var(--navy);
  line-height: 1.2; margin: var(--space-md) 0;
}

.blog-article__meta {
  display: flex; gap: var(--space-lg); margin-bottom: var(--space-xl);
  font-size: 13px; color: var(--text-muted);
}

.blog-article__image {
  border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow);
}
.blog-article__image img { width: 100%; object-fit: cover; }

.blog-article__content { max-width: 760px; }
.blog-article__content p {
  font-size: 16px; line-height: 1.8; color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.blog-article__content h2 {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin-top: var(--space-2xl); margin-bottom: var(--space-md);
}

/* --- Blog responsive --- */
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .blog-card__image { height: 160px; }
  .blog-article__title { font-size: 24px; }
  .blog-grid { padding: 48px 0; }
}
