/* ===== SUBPAGES LAYOUT ===== */
html {
  background-color: #0B192C !important;
  color-scheme: dark;
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  background-color: #0B192C !important;
  overflow-x: hidden;
  min-height: 100vh;
}
main {
  display: flow-root;
  background-color: #F0EBE1 !important;
  background-image: none !important;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  width: 100%;
  margin: 0 auto 36px;
  padding: calc(96px + env(safe-area-inset-top, 0px)) 24px 44px;
  min-height: 330px;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B192C;
  box-shadow: 0 20px 50px rgba(11, 25, 44, 0.22);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212,163,89,0.08) 0%, transparent 60%);
}
.page-hero-overlay { position: absolute; inset: 0; }
.page-hero-content {
  position: relative; z-index: 2; text-align: center; color: white;
  display: flex; flex-direction: column; align-items: center; padding: 0 28px;
}
.page-hero-badge {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
}
.page-hero-content h1 { font-size: 42px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.page-hero-content p {
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.55);
  margin-bottom: 24px; max-width: 540px; line-height: 1.7;
}
.page-hero-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.page-hero-link {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8) !important; padding: 7px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 600; transition: all 0.2s ease;
}
.page-hero-link:hover {
  background: #D4A359; color: #0B192C !important; border-color: #D4A359;
}

/* ===== SHARED INTRO ===== */
.services-page-intro, .whyus-intro, .branches-intro {
  text-align: center; max-width: 780px; margin: 64px auto 48px; padding: 0 28px;
}
.services-page-intro h2, .whyus-intro h2, .branches-intro h2 {
  font-size: 26px; font-weight: 800; color: #0B192C; margin-bottom: 14px;
}
.services-page-intro p, .whyus-intro p, .branches-intro p {
  font-size: 15px; font-weight: 500; color: #64748B; line-height: 1.9;
}

/* ===== SERVICE DETAIL ===== */
.service-detail-section { padding: 64px 5%; }
.service-detail-section.alt-bg { background: #fff; }
.service-detail-inner {
  max-width: 1060px; margin: auto;
  display: flex; gap: 56px; align-items: center;
}
.service-detail-inner.reverse { flex-direction: row-reverse; }
.service-detail-icon-wrap {
  flex-shrink: 0; width: 180px; height: 180px; border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background: #0B192C;
  border: 1px solid rgba(212, 163, 89, 0.15);
  box-shadow: 0 12px 32px rgba(11,25,44,0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-detail-icon-wrap:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 163, 89, 0.4);
  box-shadow: 0 16px 40px rgba(11,25,44,0.25), 0 0 20px rgba(212,163,89,0.15);
}
.service-detail-icon-wrap svg { width: 52px; height: 52px; stroke: #D4A359; stroke-width: 1.5; }
.service-detail-icon-wrap span { color: #D4A359; font-weight: 700; font-size: 13px; }
.service-detail-text { flex: 1; }
.service-detail-text h2 {
  font-size: 28px; font-weight: 800; color: #0B192C; margin-bottom: 14px;
  position: relative; padding-bottom: 14px;
}
.service-detail-text h2::after {
  content: ""; position: absolute; bottom: 0; right: 0;
  width: 40px; height: 3px; background: #D4A359; border-radius: 2px;
}
.service-detail-lead { font-size: 14px; color: #64748B; line-height: 1.9; margin-bottom: 22px; font-weight: 500; }
.service-detail-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-detail-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: #2D3748;
  transition: transform 0.2s ease, color 0.2s ease;
}
.service-detail-list li:hover {
  transform: translateX(-3px);
  color: #0B192C;
}
.service-detail-list li svg { width: 17px; height: 17px; stroke: #D4A359; stroke-width: 2.2; flex-shrink: 0; }

/* ===== EXTRA SERVICES — single row ===== */
.extra-services { padding: 64px 5%; text-align: center; background: #0B192C; }
.extra-services h2 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 40px; }
.extra-services-grid {
  display: flex; gap: 16px; max-width: 1060px; margin: auto;
}
.extra-card {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px; padding: 32px 20px; transition: all 0.3s ease;
}
.extra-card:hover,
.extra-card.is-touched {
  background: rgba(255,255,255,0.08); border-color: rgba(212,163,89,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3), 0 0 16px rgba(212,163,89,0.12);
}
.extra-card:hover .extra-icon,
.extra-card.is-touched .extra-icon {
  transform: translateY(-2px);
  border-color: rgba(212, 163, 89, 0.45);
}
.extra-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(212,163,89,0.1);
  border: 1px solid rgba(212, 163, 89, 0.15);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  transition: all 0.3s ease;
}
.extra-icon svg { width: 22px; height: 22px; stroke: #D4A359; stroke-width: 1.8; }
.extra-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.extra-card p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.services-cta { padding: 60px 5%; text-align: center; }
.services-cta-inner {
  background: #0B192C; border-radius: 24px;
  padding: 56px 40px; max-width: 720px; margin: auto;
  box-shadow: 0 16px 48px rgba(11,25,44,0.14);
  position: relative; overflow: hidden;
}
.services-cta-inner::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(212,163,89,0.06);
}
.services-cta-inner h2 {
  font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px;
  position: relative;
}
.services-cta-inner p {
  font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 28px;
  line-height: 1.75; font-weight: 500; position: relative;
}
.cta-btn {
  display: inline-block; position: relative;
  background: #D4A359; color: #0B192C !important;
  font-size: 15px; font-weight: 800;
  padding: 13px 40px; border-radius: 10px;
  transition: all 0.25s ease; font-family: "Cairo", sans-serif;
  box-shadow: 0 4px 14px rgba(212,163,89,0.25);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,163,89,0.4);
  background: #e8b96a;
}

/* ===== WHY US CARDS ===== */
.whyus-grid-section { padding: 0 5% 50px; }
.whyus-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; max-width: 1200px; margin: auto;
}
.whyus-card {
  background: #fff; border-radius: 20px; padding: 36px 24px;
  box-shadow: 0 2px 12px rgba(11,25,44,0.05);
  border: 1px solid rgba(11,25,44,0.05);
  transition: all 0.3s ease; text-align: center;
}
.whyus-card:hover,
.whyus-card.is-touched {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(11,25,44,0.12), 0 0 20px rgba(212,163,89,0.18);
  border-color: rgba(212,163,89,0.45);
}
.whyus-card:hover .whyus-icon,
.whyus-card.is-touched .whyus-icon {
  transform: translateY(-2px);
  border-color: rgba(212, 163, 89, 0.45);
  box-shadow: 0 6px 16px rgba(212, 163, 89, 0.22);
}
.whyus-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: #0B192C;
  border: 1px solid rgba(212, 163, 89, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: all 0.3s ease;
}
.whyus-icon svg { width: 28px; height: 28px; stroke: #D4A359; stroke-width: 1.8; }
.whyus-card h3 { font-size: 16px; font-weight: 800; color: #0B192C; margin-bottom: 10px; }
.whyus-card p { font-size: 13px; color: #64748B; line-height: 1.7; font-weight: 500; }

/* ===== WHY US NUMBERS BAR (Styles unified with .stats-bar in style.css) ===== */

/* ===== BRANCHES ===== */
.customs-coverage {
  text-align: center; max-width: 700px;
  margin: 0 auto 60px; padding: 48px 36px;
  background: #0B192C; border-radius: 24px;
  border: 1px solid rgba(212, 163, 89, 0.16);
  box-shadow: 0 16px 40px rgba(11,25,44,0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.customs-coverage:hover,
.customs-coverage.is-touched {
  transform: translateY(-4px);
  border-color: rgba(212, 163, 89, 0.4);
  box-shadow: 0 20px 48px rgba(11,25,44,0.22), 0 0 24px rgba(212,163,89,0.15);
}
.customs-coverage-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(212,163,89,0.1);
  border: 1px solid rgba(212, 163, 89, 0.18);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.customs-coverage:hover .customs-coverage-icon,
.customs-coverage.is-touched .customs-coverage-icon {
  transform: translateY(-2px);
  border-color: rgba(212, 163, 89, 0.45);
}
.customs-coverage-icon svg { width: 28px; height: 28px; stroke: #D4A359; stroke-width: 1.8; }
.customs-coverage h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.customs-coverage p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.85; }

.map-section { padding: 0 5% 64px; }
.map-section h2 { text-align: center; font-size: 24px; font-weight: 800; color: #0B192C; margin-bottom: 10px; }
.map-sub { text-align: center; font-size: 14px; color: #64748B; margin-bottom: 24px; font-weight: 500; }
.map-container {
  max-width: 820px; margin: auto; border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(11,25,44,0.12);
  border: 1px solid rgba(11,25,44,0.08);
}
.map-container iframe { display: block; width: 100%; height: 400px; border: none; }
.map-open-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 16px auto 0; max-width: 240px;
  background: #0B192C; color: #D4A359 !important;
  padding: 11px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 700; transition: all 0.25s ease;
}
.map-open-btn:hover { background: #D4A359; color: #0B192C !important; transform: translateY(-2px); }
.map-open-btn svg { width: 15px; height: 15px; }

/* ===== CONTACT PAGE ===== */
.contact-page-wrap { max-width: 620px; margin: 0 auto; padding: 56px 24px 80px; }
.contact-page-wrap h2 {
  font-size: 26px; font-weight: 800; color: #0B192C; text-align: center; margin-bottom: 8px;
}
.contact-sub { text-align: center; font-size: 14px; color: #64748B; margin-bottom: 28px; line-height: 1.7; }
.contact-info-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.contact-info-item {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 10px; padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(11,25,44,0.06);
  border: 1px solid rgba(11,25,44,0.05);
  transition: all 0.25s ease;
}
.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11,25,44,0.1);
  border-color: rgba(212,163,89,0.2);
}
.contact-info-item svg { width: 15px; height: 15px; stroke: #D4A359; stroke-width: 2; flex-shrink: 0; }
.contact-info-item a { color: #0B192C !important; font-size: 13px; font-weight: 700; }
.contact-form {
  background: #fff; border-radius: 22px; padding: 40px 36px;
  box-shadow: 0 12px 40px rgba(11,25,44,0.08);
  border: 1px solid rgba(11,25,44,0.05);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: #0B192C; margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid rgba(11,25,44,0.08);
  font-family: "Cairo", sans-serif; font-size: 14px;
  color: #0B192C; background: #FAFAFA;
  transition: all 0.2s ease; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: #D4A359; background: #fff;
  box-shadow: 0 0 0 3px rgba(212,163,89,0.08);
}
.form-group textarea { height: 120px; resize: vertical; }
.submit-btn {
  width: 100%; padding: 14px;
  background: #0B192C; color: #D4A359;
  font-family: "Cairo", sans-serif; font-size: 15px; font-weight: 800;
  border: none; border-radius: 10px; cursor: pointer;
  transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.submit-btn:hover {
  background: #D4A359; color: #0B192C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,163,89,0.3);
}
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-text { display: inline; }
.btn-loader {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
}
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(212,163,89,0.3);
  border-top-color: #D4A359;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-success {
  display: none; background: #0B192C; border-radius: 20px;
  padding: 48px 32px; text-align: center; margin-top: 20px;
  animation: fadeSlideUp 0.5s ease;
}
.form-success svg { width: 48px; height: 48px; stroke: #D4A359; stroke-width: 1.5; display: block; margin: 0 auto 16px; }
.form-success h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.form-success p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.75; }
.form-error {
  display: none; background: #1a0a0a; border: 1px solid rgba(220,80,80,0.2);
  border-radius: 20px; padding: 48px 32px; text-align: center; margin-top: 20px;
  animation: fadeSlideUp 0.5s ease;
}
.form-error svg { width: 48px; height: 48px; stroke: #e05555; stroke-width: 1.5; display: block; margin: 0 auto 16px; }
.form-error h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.form-error p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.retry-btn {
  background: transparent; border: 2px solid rgba(220,80,80,0.4);
  color: #e05555; padding: 10px 28px; border-radius: 10px;
  font-family: "Cairo", sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.25s ease;
}
.retry-btn:hover {
  background: #e05555; color: #fff; border-color: #e05555;
  transform: translateY(-2px);
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .service-detail-inner, .service-detail-inner.reverse { flex-direction: column !important; text-align: center; gap: 32px; }
  .service-detail-icon-wrap { width: 140px; height: 140px; }
  .service-detail-text h2::after { right: 50%; transform: translateX(50%); }
  .service-detail-list li { justify-content: center; }
  .extra-services-grid { flex-wrap: wrap; }
  .extra-card { min-width: 200px; flex: 1 1 40%; }
}
@media (max-width: 640px) {
  .page-hero {
    min-height: 280px;
    border-radius: 0 0 24px 24px;
    width: 100%;
    margin: 0 auto 28px;
    padding: calc(86px + env(safe-area-inset-top, 0px)) 16px 34px;
  }
  .page-hero-content h1 { font-size: 28px; }
  .page-hero-content p { font-size: 14px; }
  .services-page-intro h2, .whyus-intro h2, .branches-intro h2 { font-size: 22px; }
  .contact-form { padding: 28px 20px; }
  .contact-page-wrap { padding: 36px 16px 60px; }
  .services-cta-inner { padding: 40px 24px; }
  .customs-coverage { padding: 36px 24px; margin: 0 16px 50px; }
  .contact-info-bar { flex-direction: column; align-items: stretch; }
  .extra-card { min-width: 0; flex: 1 1 100%; }
  .form-success, .form-error { padding: 36px 20px; }
}
@media (max-width: 420px) {
  .page-hero-content h1 { font-size: 22px; }
  .contact-page-wrap h2 { font-size: 22px; }
}