:root {
  --primary-green: #009B5A;
  --deep-navy: #061B33;
  --orange-accent: #FF6B00;
  --dark-text: #0B1220;
  --soft-bg: #F7FAF8;
  --white: #FFFFFF;
  --light-border: #E5E7EB;
  --muted: #5B6678;
  --shadow: 0 18px 45px rgba(6, 27, 51, .12);
  --radius: 8px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 64px 0; }
.section.soft { background: var(--soft-bg); }
.eyebrow {
  color: var(--primary-green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, h4 { margin: 0; color: var(--deep-navy); line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); max-width: 720px; }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; color: #344056; }
.green { color: var(--primary-green); }
.orange { color: var(--orange-accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--light-border);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}
.brand img { width: 96px; height: 38px; object-fit: contain; }
.brand span {
  color: var(--primary-green);
  font-weight: 900;
  font-size: .98rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .92rem;
  font-weight: 700;
}
.nav a { padding: 24px 0 20px; border-bottom: 3px solid transparent; }
.nav a.active, .nav a:hover { color: var(--deep-navy); border-bottom-color: var(--orange-accent); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 210px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .2s ease;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
}
.dropdown-menu a:hover { background: var(--soft-bg); color: var(--primary-green); }
.btn {
  border: 0;
  border-radius: 6px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(6, 27, 51, .14); }
.btn-orange { color: var(--white); background: var(--orange-accent); }
.btn-navy { color: var(--white); background: var(--deep-navy); }
.btn-green { color: var(--white); background: var(--primary-green); }
.btn-light { color: var(--deep-navy); background: var(--white); border: 1px solid var(--light-border); }
.svg-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .svg-icon, .step-icon .svg-icon, .timeline-dot .svg-icon {
  width: 26px;
  height: 26px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--light-border);
  background: var(--white);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  color: var(--deep-navy);
}

.hero {
  min-height: 430px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep-navy);
}
.hero.compact { min-height: 350px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 36%, rgba(255,255,255,.18) 66%, rgba(6,27,51,.12) 100%), var(--hero-img) center/cover no-repeat;
}
.hero.dark::before {
  background: linear-gradient(90deg, rgba(6,27,51,.88) 0%, rgba(6,27,51,.65) 42%, rgba(6,27,51,.08) 100%), var(--hero-img) center/cover no-repeat;
}
.hero .container { position: relative; z-index: 1; }
.hero.dark h1, .hero.dark p { color: var(--white); }
.hero p { max-width: 520px; margin-top: 18px; font-weight: 600; font-size: 1.06rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-slider .slide { display: none; position: relative; z-index: 1; }
.hero-slider .slide.active { display: block; }
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--light-border);
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-navy);
  font-size: 1.5rem;
  cursor: pointer;
}
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.85);
}
.slider-dots button.active { background: var(--orange-accent); width: 24px; }

.feature-strip {
  border-bottom: 1px solid var(--light-border);
  background: var(--white);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px 22px;
  border-right: 1px solid var(--light-border);
}
.feature:last-child { border-right: 0; }
.icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--primary-green), #06bd70);
  font-weight: 900;
  font-size: 1.45rem;
}
.feature strong, .mini-card strong { color: var(--deep-navy); display: block; }
.feature span, .mini-card span { color: #4b5870; font-size: .9rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.2fr 1fr; }
.photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.process-visual {
  width: 220px;
  height: 220px;
  margin: 0 auto 22px;
  border: 8px solid var(--white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.process-visual img { width: 100%; height: 100%; object-fit: cover; }
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(0,155,90,.16);
  margin-bottom: 14px;
}
.avatar.large {
  width: 94px;
  height: 94px;
  margin: 0;
  flex: 0 0 94px;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 18px;
}
.stats-row, .mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat strong { font-size: 1.5rem; color: var(--primary-green); display: block; }
.card, .form-card, .panel {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(6, 27, 51, .06);
}
.card { padding: 24px; }
.service-grid, .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
  background: var(--deep-navy);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,27,51,.86), rgba(6,27,51,.22)), var(--bg) center/cover no-repeat;
}
.service-card > div { position: relative; z-index: 1; }
.service-card h3, .service-card p { color: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  position: relative;
  margin-top: 34px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 29px;
  border-top: 2px dashed rgba(0,155,90,.28);
}
.step { text-align: center; padding: 10px; }
.step-num {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-green);
  color: var(--white);
  font-weight: 900;
  position: relative;
  z-index: 1;
}
.step-icon {
  width: 58px;
  height: 58px;
  border: 1px solid var(--light-border);
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--deep-navy);
  font-size: 1.5rem;
  background: var(--white);
  position: relative;
  z-index: 1;
}
.section-title { margin-bottom: 30px; }
.center { text-align: center; }
.center p { margin: 12px auto 0; max-width: 650px; }

.estimator {
  background: radial-gradient(circle at 12% 100%, rgba(0,155,90,.32), transparent 36%), var(--deep-navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.estimator h2, .estimator h3, .estimator p, .estimator label { color: var(--white); }
.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 2.5fr .95fr;
  gap: 28px;
  align-items: center;
}
.estimate-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.estimator.sea .estimate-fields { grid-template-columns: repeat(3, 1fr); }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--deep-navy);
  font-weight: 800;
  font-size: .88rem;
}
.estimator .field label { color: var(--white); }
input, select, textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--dark-text);
  outline: none;
}
textarea { min-height: 108px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(0,155,90,.12); }
.estimate-result {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 120px;
}
.estimate-result strong {
  display: block;
  color: var(--orange-accent);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.1;
}
.disclaimer { font-size: .84rem; opacity: .9; margin-top: 8px; }

.cta-quote {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 0;
  border: 4px solid var(--deep-navy);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.cta-panel {
  background: linear-gradient(90deg, rgba(6,27,51,.95), rgba(6,27,51,.72)), var(--cta-img, url("../images/stock-cta-banner.png")) center/cover no-repeat;
  color: var(--white);
  padding: 38px;
  display: grid;
  align-content: center;
  min-height: 270px;
}
.cta-panel h2, .cta-panel p { color: var(--white); }
.cta-panel img { margin-top: 24px; max-height: 130px; object-fit: contain; }
.cta-panel > img { display: none; }
.form-card { padding: 28px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.form-grid .wide { grid-column: 1 / -1; }
.form-actions { margin-top: 16px; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.form-message { color: var(--primary-green); font-weight: 800; min-height: 22px; }

.footer {
  background: var(--deep-navy);
  color: var(--white);
  padding: 42px 0 24px;
}
.footer p, .footer a, .footer li { color: rgba(255,255,255,.84); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer h4 { color: var(--white); margin-bottom: 14px; }
.footer ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.footer .brand { min-width: 0; margin-bottom: 18px; }
.newsletter { display: flex; gap: 0; }
.newsletter input { border-radius: 6px 0 0 6px; background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.newsletter button { border-radius: 0 6px 6px 0; padding: 0 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 32px; padding-top: 20px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 900;
  background: rgba(0,155,90,.1);
  color: var(--primary-green);
}
.badge.orange { background: rgba(255,107,0,.12); color: var(--orange-accent); }
.badge.blue { background: rgba(31,119,255,.1); color: #1262C4; }
.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 26px;
  position: relative;
}
.timeline-item {
  position: relative;
  text-align: center;
  color: #647084;
  padding: 0 10px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  width: 100%;
  border-top: 3px dotted #d9e0ea;
  z-index: 0;
}
.timeline-item.done::before {
  border-top-style: solid;
  border-color: var(--primary-green);
}
.timeline-item:first-child::before { left: 50%; width: 50%; }
.timeline-item:last-child::before { width: 50%; }
.timeline-dot {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid var(--light-border);
  background: var(--white);
  color: var(--deep-navy);
  font-weight: 900;
  position: relative;
  z-index: 1;
}
.timeline-item.done .timeline-dot { background: var(--primary-green); color: var(--white); border-color: var(--primary-green); }
.timeline-item.pending .timeline-dot { color: #8a96a8; border-color: #d9e0ea; }
.timeline-item strong { display: block; color: var(--deep-navy); font-size: .88rem; line-height: 1.25; }
.timeline-item p { font-size: .82rem; margin-top: 4px; }
.timeline-item small { display: block; color: #6b7688; font-size: .78rem; margin-top: 2px; }
.tracking-search {
  margin-top: -42px;
  position: relative;
  z-index: 3;
}
.tracking-band {
  background: var(--deep-navy);
  color: var(--white);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}
.tracking-band h2, .tracking-band p, .tracking-band label { color: var(--white); }
.tracking-input-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.sample-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sample-tags button {
  border: 0;
  background: rgba(255,255,255,.18);
  color: var(--white);
  padding: 7px 11px;
  border-radius: 6px;
  cursor: pointer;
}
.shipment-result { margin-top: 34px; }
.shipment-overview {
  padding: 26px;
  display: grid;
  gap: 18px;
}
.shipment-overview .panel-head h2 {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.heading-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--primary-green);
  background: rgba(0,155,90,.1);
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}
.overview-grid strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--deep-navy);
}
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details {
  border: 1px solid var(--light-border);
  border-radius: 6px;
  background: var(--white);
  padding: 13px 16px;
}
summary { cursor: pointer; font-weight: 800; color: var(--deep-navy); }
details p { margin-top: 10px; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.25fr; gap: 28px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 20px; }
.contact-item { display: flex; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--light-border); }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office-card { overflow: hidden; }
.office-card img { width: 100%; height: 126px; object-fit: cover; }
.office-card .card { border: 0; box-shadow: none; }

.login-page { min-height: 100vh; background: #f5f8fb; }
.login-top {
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
}
.login-layout {
  display: grid;
  grid-template-columns: .92fr 1fr;
  min-height: calc(100vh - 132px);
}
.login-visual {
  position: relative;
  padding: 56px;
  background: linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.18)), url("../images/stock-hero-home.png") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.login-visual h1 { margin-top: 0; color: var(--deep-navy); }
.login-visual .security-note {
  position: relative;
  max-width: 420px;
  background: rgba(6,27,51,.92);
  color: var(--white);
  padding: 26px;
  border-radius: var(--radius);
}
.login-visual .security-note p { color: var(--white); }
.login-box-wrap { display: grid; place-items: center; padding: 44px; }
.login-box { width: min(100%, 520px); padding: 54px; text-align: center; }
.login-box .icon { margin: 0 auto 30px; width: 96px; height: 96px; border-radius: 999px; background: rgba(0,155,90,.1); color: var(--primary-green); }
.demo-box { margin-top: 28px; text-align: left; background: rgba(0,155,90,.06); border: 1px solid rgba(0,155,90,.22); padding: 20px; border-radius: var(--radius); }

.admin-body { background: #f7f9fc; }
.admin-shell { display: grid; grid-template-columns: 258px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--deep-navy);
  color: var(--white);
  padding: 20px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar .brand { min-width: 0; margin-bottom: 24px; }
.admin-nav { display: grid; gap: 8px; }
.admin-nav button {
  border: 0;
  color: var(--white);
  background: transparent;
  text-align: left;
  padding: 14px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-nav button.active, .admin-nav button:hover { background: linear-gradient(135deg, var(--primary-green), #09bd71); }
.admin-visual { margin-top: 42px; border-radius: var(--radius); overflow: hidden; }
.admin-main { padding: 24px; min-width: 0; }
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { padding: 20px; display: flex; align-items: center; gap: 14px; }
.kpi strong { display: block; color: var(--deep-navy); font-size: 1.6rem; }
.admin-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.panel { padding: 22px; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--light-border); font-size: .9rem; }
th { color: var(--deep-navy); font-size: .82rem; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.admin-form-grid .wide { grid-column: 1 / -1; }
.mini-card {
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.content-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chart {
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: conic-gradient(var(--primary-green) 0 70%, #1778d3 70% 88%, #7fc7aa 88% 95%, var(--orange-accent) 95% 100%);
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}
.chart span { background: var(--white); border-radius: 999px; width: 94px; height: 94px; display: grid; place-items: center; font-weight: 900; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions button { border: 1px solid var(--light-border); background: var(--white); border-radius: 6px; padding: 7px 10px; cursor: pointer; }
.actions .danger { color: #b42318; }
.image-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.image-path-row {
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 12px;
  align-items: end;
}
.image-path-row img {
  width: 96px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--light-border);
  background: var(--soft-bg);
}
.admin-subsection {
  border-top: 1px solid var(--light-border);
  margin-top: 22px;
  padding-top: 22px;
}

.quote-modal {
  width: min(920px, calc(100% - 28px));
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote-modal::backdrop { background: rgba(6, 27, 51, .62); backdrop-filter: blur(4px); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--light-border);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.35rem;
}
.quote-modal .form-card { position: relative; }

@media (max-width: 980px) {
  .container { width: min(100% - 30px, var(--max)); }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-border);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; border-bottom: 0; }
  .dropdown-menu { position: static; opacity: 1; transform: none; pointer-events: auto; display: none; width: 100%; box-shadow: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .feature-grid, .service-grid, .card-grid, .office-grid, .kpi-grid, .content-overview { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse, .estimator-grid, .cta-quote, .contact-layout, .tracking-band, .admin-grid, .login-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
  .estimate-fields, .estimator.sea .estimate-fields, .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
}

@media (max-width: 640px) {
  .brand { min-width: 0; }
  .brand img { width: 74px; }
  .brand span { font-size: .78rem; }
  .hero { min-height: 500px; }
  .hero::before, .hero.dark::before {
    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.78)), var(--hero-img) center/cover no-repeat;
  }
  .hero.dark::before { background: linear-gradient(90deg, rgba(6,27,51,.88), rgba(6,27,51,.72)), var(--hero-img) center/cover no-repeat; }
  .feature-grid, .service-grid, .card-grid, .stats-row, .mini-grid, .office-grid, .faq-grid, .form-grid, .estimate-fields, .estimator.sea .estimate-fields, .overview-grid, .kpi-grid, .content-overview { grid-template-columns: 1fr; }
  .mini-grid[style], .card-grid[style] { grid-template-columns: 1fr !important; }
  .steps { grid-template-columns: 1fr; }
  .step {
    display: grid;
    grid-template-columns: 44px 58px 1fr;
    text-align: left;
    align-items: center;
    gap: 12px;
  }
  .step-num, .step-icon { margin: 0; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    text-align: left;
    padding: 0 0 24px;
    column-gap: 12px;
  }
  .timeline-item::before {
    top: 0;
    left: 27px;
    width: 0;
    height: 100%;
    border-top: 0;
    border-left: 3px dotted #d9e0ea;
  }
  .timeline-item.done::before {
    border-top: 0;
    border-left: 3px solid var(--primary-green);
  }
  .timeline-item:first-child::before,
  .timeline-item:last-child::before { left: 27px; width: 0; height: 50%; }
  .timeline-item:first-child::before { top: 27px; }
  .timeline-item:last-child::before { height: 27px; }
  .timeline-dot { grid-row: 1 / span 4; margin: 0 auto; }
  .tracking-input-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .login-top { padding: 0 18px; }
  .login-visual { display: none; }
  .login-box { padding: 28px; }
  .admin-main { padding: 14px; }
}
