/* =========================================================
   License Management — Corporate Website Stylesheet
   Theme: Deep Navy + Gold | Fully Responsive
   ========================================================= */

:root {
  --navy: #0a2f5c;
  --navy-800: #0e3d74;
  --navy-700: #124c8c;
  --navy-soft: #1a61b0;
  --gold: #2f8ce6;
  --gold-dark: #1a66b8;
  --gold-soft: #e7f1fb;
  --text: #1f2a37;
  --muted: #5c6b7a;
  --bg-light: #f4f7fb;
  --bg-white: #ffffff;
  --border: #e3e8ef;
  --success: #1f8a4c;
  --danger: #c0392b;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.18);
  --container: 1200px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-800); border-color: var(--navy-800); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- Section shell ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-light); }
.section-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title { font-size: 38px; margin-bottom: 16px; }
.section-title .accent { color: var(--gold); }
.section-sub { color: var(--muted); font-size: 17px; }
.section-navy .section-title { color: #fff; }
.section-navy .section-sub { color: rgba(255,255,255,0.75); }
.section-navy .eyebrow { color: var(--gold); }

/* ---------- Header / Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.9); transition: var(--transition); }
.topbar a:hover { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 15px; height: 15px; fill: var(--gold); }
.topbar-social { display: flex; gap: 12px; align-items: center; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.85); transition: var(--transition); }
.topbar-social a:hover svg { fill: var(--gold); }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(11,37,69,0.1);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(11,37,69,0.16); }
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; fill: var(--gold); }
.logo-text { line-height: 1.15; }
.logo-text strong { font-size: 20px; color: var(--navy); display: block; letter-spacing: 0.3px; }
.logo-text span { font-size: 11px; letter-spacing: 2px; color: var(--gold-dark); text-transform: uppercase; font-weight: 700; }

.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  border-radius: 6px;
  transition: var(--transition);
}
.nav-list > li > a:hover, .nav-list > li.active > a { color: var(--gold-dark); background: var(--gold-soft); }
.nav-list .has-child > a::after {
  content: "";
  border: 5px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
  margin-left: 4px;
  transform: translateY(2px);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 50;
}
.nav-list > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.dropdown a:hover { background: var(--bg-light); color: var(--navy-soft); padding-left: 24px; }
.dropdown a svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }

.nav-cta { display: flex; gap: 12px; align-items: center; margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(rgba(9, 30, 56, 0.82), rgba(9, 30, 56, 0.86)),
    url("../img/hero-refinery.jpg") center / cover no-repeat,
    linear-gradient(135deg, #0a2038 0%, #12355e 60%, #163f6e 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 118px,
    rgba(255,255,255,0.03) 118px,
    rgba(255,255,255,0.03) 120px
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 60px solid rgba(47,140,230,0.14);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; padding: 110px 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(47,140,230,0.15);
  border: 1px solid rgba(47,140,230,0.45);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero-eyebrow svg { width: 16px; height: 16px; fill: var(--gold); }
.hero-title {
  font-size: 54px;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero-title .accent { color: var(--gold); }
.hero-text { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 34px;
}
.stat b {
  display: block;
  font-size: 34px;
  color: var(--gold);
  line-height: 1.1;
}
.stat span { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ---------- Generic intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-visual { position: relative; }
.visual-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-soft));
  position: relative;
  aspect-ratio: 4 / 3;
}
.visual-frame svg { width: 100%; height: 100%; }
.visual-badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  background: var(--gold);
  color: #fff;
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1.3;
}
.visual-badge b { display: block; font-size: 34px; }
.visual-badge span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.check-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list svg { width: 22px; height: 22px; fill: var(--success); flex-shrink: 0; margin-top: 2px; }
.check-list b { color: var(--navy); }

/* ---------- Services cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 62px; height: 62px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}
.card:hover .card-icon { background: var(--navy); }
.card-icon svg { width: 30px; height: 30px; fill: var(--gold-dark); transition: var(--transition); }
.card:hover .card-icon svg { fill: var(--gold); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--navy-soft);
  transition: var(--transition);
}
.card-link svg { width: 15px; height: 15px; fill: currentColor; transition: var(--transition); }
.card-link:hover { color: var(--gold-dark); gap: 12px; }

/* icon box (why choose us) */
.icon-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
  transition: var(--transition);
}
.icon-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.icon-box .ib-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.icon-box .ib-icon svg { width: 26px; height: 26px; fill: var(--gold); }
.icon-box h4 { font-size: 16px; margin-bottom: 8px; }
.icon-box p { font-size: 14px; color: var(--muted); }

/* ---------- Industries ---------- */
.industry-tile {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: var(--transition);
}
.industry-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.industry-tile .it-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
}
.industry-tile .it-icon svg { width: 26px; height: 26px; fill: var(--gold-dark); }
.industry-tile b { font-size: 16px; color: var(--navy); }
.industry-tile span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.step {
  text-align: center;
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(50% + 38px);
  right: calc(-50% + 38px);
  height: 2px;
  background: linear-gradient(90deg, rgba(47,140,230,0.6), rgba(47,140,230,0.15));
}
.step:last-child::before { display: none; }
.step-num {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--gold);
  position: relative;
  z-index: 2;
}
.step h4 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.step p { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(rgba(9,30,56,0.88), rgba(9,30,56,0.92)),
    url("../img/hero-refinery.jpg") center / cover no-repeat,
    linear-gradient(135deg, #0a2038, #12355e);
  color: #fff;
}
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.cta h2 { color: #fff; font-size: 36px; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.8); margin-bottom: 22px; }
.cta-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cta-tag {
  background: rgba(47,140,230,0.14);
  border: 1px solid rgba(47,140,230,0.45);
  color: var(--gold);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cta-card .cc-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
}
.cta-card .cc-icon svg { width: 28px; height: 28px; fill: var(--gold-dark); }
.cta-card h4 { font-size: 18px; margin-bottom: 6px; }
.cta-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cta-phone {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.cta-phone:hover { color: var(--gold-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}
.footer-top { padding: 70px 0 50px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.footer h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-brand p { font-size: 14px; margin-top: 18px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-social a:hover svg { fill: var(--navy); }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-links a::before { content: "\203A"; color: var(--gold); font-weight: 700; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  background:
    linear-gradient(rgba(9,30,56,0.86), rgba(9,30,56,0.9)),
    url("../img/hero-refinery.jpg") center / cover no-repeat,
    linear-gradient(135deg, #0a2038, #12355e);
  color: #fff;
  padding: 76px 0;
  text-align: center;
}
.page-banner.banner-about { background: linear-gradient(rgba(9,30,56,0.86), rgba(9,30,56,0.9)), url("../img/banner-about.jpg") center/cover no-repeat, linear-gradient(135deg, #0a2038, #12355e); }
.page-banner.banner-services { background: linear-gradient(rgba(9,30,56,0.86), rgba(9,30,56,0.9)), url("../img/banner-services.jpg") center/cover no-repeat, linear-gradient(135deg, #0a2038, #12355e); }
.page-banner.banner-industries { background: linear-gradient(rgba(9,30,56,0.86), rgba(9,30,56,0.9)), url("../img/banner-industries.jpg") center/cover no-repeat, linear-gradient(135deg, #0a2038, #12355e); }
.page-banner.banner-process { background: linear-gradient(rgba(9,30,56,0.86), rgba(9,30,56,0.9)), url("../img/banner-process.jpg") center/cover no-repeat, linear-gradient(135deg, #0a2038, #12355e); }
.page-banner.banner-contact { background: linear-gradient(rgba(9,30,56,0.86), rgba(9,30,56,0.9)), url("../img/banner-contact.jpg") center/cover no-repeat, linear-gradient(135deg, #0a2038, #12355e); }
.page-banner h1 { color: #fff; font-size: 42px; margin-bottom: 12px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- About / team ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
}
.mv-card .mv-icon {
  width: 58px; height: 58px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mv-card .mv-icon svg { width: 30px; height: 30px; fill: var(--gold-dark); }
.mv-card h3 { font-size: 24px; margin-bottom: 14px; }
.mv-card p { color: var(--muted); margin-bottom: 14px; }
.mv-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 12px; font-size: 15px;
}
.mv-card ul svg { width: 20px; height: 20px; fill: var(--success); flex-shrink: 0; margin-top: 2px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  height: 190px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-soft));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.team-avatar svg { width: 92px; height: 92px; fill: rgba(143,197,255,0.9); }
.team-body { padding: 22px 18px 26px; }
.team-body h4 { font-size: 17px; margin-bottom: 4px; }
.team-body span { font-size: 13px; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Services page ---------- */
.service-block { padding: 64px 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-block .split { align-items: center; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.service-tag {
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}
.panel-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}
.panel-list li:last-child { border-bottom: none; }
.panel-list svg { width: 20px; height: 20px; fill: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }

/* ---------- Sector gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(9,30,56,0.92));
  color: #fff;
  padding: 40px 20px 16px;
  font-weight: 700;
  font-size: 16px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.form-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 40px;
}
.form-card h3 { font-size: 24px; margin-bottom: 8px; }
.form-card .form-sub { color: var(--muted); margin-bottom: 28px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--navy); }
.form-group label .req { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-light);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--navy-soft);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29,74,140,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.contact-side { display: grid; gap: 20px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  display: flex; gap: 16px;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card .cc-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .cc-icon svg { width: 24px; height: 24px; fill: var(--gold); }
.contact-card h4 { font-size: 16px; margin-bottom: 5px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--muted); }
.contact-card a:hover { color: var(--gold-dark); }

.form-note {
  background: var(--success);
  color: #fff;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  display: none;
}
.form-note.show { display: block; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
  z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--navy-800); }
.back-top svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-title { font-size: 46px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .step::before { display: none; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 96px 24px 30px;
    gap: 6px;
    box-shadow: -10px 0 40px rgba(11,37,69,0.18);
    transition: right 0.35s ease;
    z-index: 1005;
    overflow-y: auto;
  }
  .nav-list.open { right: 0; }
  .nav-list > li > a { padding: 14px 12px; font-size: 16px; border-radius: 8px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 4px 0 8px 16px;
    display: none;
  }
  .nav-list > li.open-m .dropdown { display: block; }
  .nav-list .has-child > a::after { transform: rotate(-90deg); }
  .nav-cta { margin: 18px 0 0; flex-direction: column; }
  .nav-cta .btn { width: 100%; }
  .overlay {
    position: fixed; inset: 0;
    background: rgba(9,30,56,0.55);
    z-index: 1000;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
  }
  .overlay.show { opacity: 1; visibility: visible; }
  .split, .cta-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-title { font-size: 32px; }
}

@media (max-width: 600px) {
  .hero { min-height: 540px; }
  .hero-title { font-size: 36px; }
  .hero-text { font-size: 17px; }
  .hero-inner { padding: 80px 0; }
  .grid-3, .grid-2, .grid-4, .team-grid, .timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 32px; }
  .visual-badge { right: 8px; bottom: 14px; padding: 12px 16px; }
  .visual-badge b { font-size: 26px; }
  .section-title { font-size: 28px; }
  .topbar-right { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; padding: 8px 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat b { font-size: 28px; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
