/* ==========================================================================
   RZ Scan — Landing Page Styles
   ========================================================================== */

/* ── Reset & Base ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

:root {
  --ink: #0f0f0e;
  --ink-2: #3a3a38;
  --ink-3: #7a7a77;
  --paper: #f5f4f0;
  --paper-2: #7a7a77;
  --accent: #c8a96e;
  --navy: #1a3a5c;
  --accent-navy: #223a5b;
  --rule: rgba(15, 15, 14, 0.1);
  --rule-2: rgba(255, 255, 255, 0.30);
  --ink-4: rgba(255, 255, 255, 0.70);
  --fd: 'Cormorant Garamond', serif;
  --fm: 'DM Mono', monospace;
  --mw: 1200px;
}

.page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fm);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   Google Places autocomplete override
   ========================================================================== */

.pac-container {
  background: var(--paper);
  border: none;
  border-bottom: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
  border-right: 0.5px solid var(--rule);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(15, 15, 14, 0.08);
  font-family: 'DM Mono', monospace;
  margin-top: 4px;
}
.pac-container::after {
  background-color: var(--paper);
  background-size: 80px;
  background-position: right 12px center;
  padding: 4px 12px;
  height: 20px;
  opacity: 0.5;
}
.pac-item {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--ink-2);
  padding: 10px 14px;
  border-top: 0.5px solid var(--rule);
  cursor: pointer;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.pac-item:first-child { border-top: none; }
.pac-item:hover,
.pac-item-selected {
  background: var(--paper-2);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}
.pac-item-query { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--ink); font-weight: 400; }
.pac-matched { color: var(--accent); font-weight: 400; }
.pac-icon,
.pac-icon-marker { display: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-wrap {
  position: sticky;
  top: 0;
  background: var(--accent-navy);
  z-index: 100;
  border-bottom: 0.5px solid var(--rule-2);
}
nav {
  max-width: var(--mw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
}
.nav-logo {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-logo a {
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 0.5px solid var(--paper);
  background: transparent;
  font-family: var(--fm);
  cursor: pointer;
  color: var(--paper);
}
.nav-cta:hover { background: var(--accent); color: var(--paper); }

.ham { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.ham span { display: block; width: 22px; height: 1px; background: var(--paper); margin: 5px 0; transition: all 0.2s; }

.mob-menu {
  display: none;
  background: var(--accent-navy);
  border-top: 0.5px solid var(--rule);
  padding: 24px 40px;
  flex-direction: column;
  gap: 20px;
}
.mob-menu a {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
}
.mob-menu.open { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-wrap { border-bottom: 0.5px solid var(--rule-2); background: var(--accent-navy);}
.hero {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
}
.hero-l {
  grid-column: 1;
  grid-row: 1;
  padding: 64px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 0.5px solid var(--rule-2);
  min-height: 0;
}
.eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 28px; }
.hero-title { font-family: var(--fd); font-size: 48px; font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 0; color: var(--paper); }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub-wrap {
  grid-column: 1;
  grid-row: 2;
  padding: 0 40px 64px;
  border-right: 0.5px solid var(--rule-2);
  display: flex;
  align-items: flex-start;
}
.hero-sub {
  font-size: 14px;
  color: var(--ink-4);
  line-height: 1.85;
  max-width: 480px;
  padding-top: 32px;
  border-top: 0.5px solid var(--rule-2);
  margin-top: 32px;
}
.hero-sub-block .hero-sub { margin-bottom: 0; }
/* Revealed portion of the hero paragraph: shares hero-sub's type styling,
   but the rule/spacing above belongs to the visible first line only. */
.hero-sub-more { padding-top: 0; border-top: none; margin-top: 0; }
.hero-sub-more p { margin: 12px 0 0; }
.hero-r { grid-column: 2; grid-row: 1 / 3; background: var(--navy); position: relative; overflow: hidden; }

/* ==========================================================================
   Stat row
   ========================================================================== */

.stat-wrap { border-bottom: 0.5px solid var(--rule-2); background: var(--accent-navy);}
.stat-row { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 32px 40px; border-right: 0.5px solid var(--rule-2); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--fd); font-size: 40px; font-weight: 300; line-height: 1; margin-bottom: 6px; color: var(--paper);}
.stat-num em { font-style: normal; color: var(--accent); }
.stat-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-4); }

/* ==========================================================================
   Generic two-column sections
   ========================================================================== */

.sec-wrap { border-bottom: 0.5px solid var(--rule); }
.sec { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.sec-l { padding: 64px 40px; border-right: 0.5px solid var(--rule); }
.sec-r { padding: 64px 40px; }
.tag { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 20px; }
.sec-title { font-family: var(--fd); font-size: 36px; font-weight: 300; line-height: 1.12; margin-bottom: 20px; }
.sec-title em { font-style: italic; }
.sec-body { font-family: var(--fm); font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.sec-body p + p { margin-top: 14px; }
.sub-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

/* ==========================================================================
   Problem cards
   ========================================================================== */

.prob-card {
  padding: 24px 0;
  border-bottom: 0.5px solid var(--rule);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: baseline;
}
.prob-card:last-child { border-bottom: none; }
.prob-content { flex: 1; }
.prob-n { font-family: var(--fd); font-size: 26px; font-weight: 300; color: var(--accent); line-height: 1; }
.prob-n { flex-shrink: 0; margin-bottom: 0; }
.prob-title { font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 5px; }
.prob-body { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.sec-body { color: var(--paper-2)}

/* ==========================================================================
   Services
   ========================================================================== */

.svc-content { flex: 1; }
.svc-header {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 48px 40px 28px;
  border-bottom: 0.5px solid var(--rule-2);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  color: var(--paper);
}
.svc-media { max-width: var(--mw); margin: 0 auto; }
.svc-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.svc-grid-wrap { border-bottom: 0.5px solid var(--rule-2); background: var(--accent-navy);}
.svc-grid { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.svc { padding: 36px 40px; border-right: 0.5px solid var(--rule-2); }
.svc:last-child { border-right: none; }
.svc-layout { display: flex; align-items: flex-start; gap: 16px; }
.svc-icon { width: 28px; height: 28px; flex-shrink: 0; margin-bottom: 0; }
.svc-name { font-family: var(--fd); font-size: 21px; font-weight: 300; line-height: 1.2; margin-bottom: 10px; color: var(--paper);}
.svc-name em { font-style: italic; }
.svc-desc { font-size: 13px; color: var(--ink-4); line-height: 1.85; }
.svc-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0.5px solid var(--accent);
  padding-bottom: 2px;
}

/* ==========================================================================
   Abstract / technology panel
   ========================================================================== */

.abs-wrap { border-bottom: 0.5px solid var(--rule-2); background: var(--accent-navy);}
.abs { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.abs-l { background: var(--navy); position: relative; overflow: hidden; }
.sketchfab-embed-wrapper { position: absolute; inset: 0; width: 100%; height: 100%; }
.sketchfab-embed-wrapper iframe { width: 100%; height: 100%; display: block; }
.abs-r { padding: 64px 40px; display: flex; flex-direction: column; justify-content: center; color: var(--paper);}
.abs-r .sec-body { max-width: 100%; color: var(--ink-4);}
.tour-link {
  color: var(--paper);
  text-decoration: underline;
  text-shadow: 0 0 0 transparent;
  transition: text-shadow 0.3s ease;
}
.tour-link:hover {
  color: var(--accent);
  text-shadow: 0.3px 0 0 #ddbf8a, -0.3px 0 0 #ddbf8a;
}

/* ── Kuula tour modal ── */
.tour-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 14, 0.82);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tour-modal.open { display: flex; }
.tour-modal-panel {
  width: 100%;
  max-width: 960px;
  background: var(--navy);
  border: 0.5px solid var(--rule-2);
  border-radius: 0;
}
.tour-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border-bottom: 0.5px solid var(--rule-2);
}
.tour-modal-label {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.tour-modal-close {
  background: none;
  border: 0;
  font-family: var(--fd);
  font-size: 26px;
  line-height: 1;
  color: var(--paper);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}
.tour-modal-close:hover { color: var(--accent); }
.tour-modal-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.tour-modal-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 640px) {
  .tour-modal { padding: 0; }
  .tour-modal-panel { max-width: 100%; height: 100%; display: flex; flex-direction: column; }
  .tour-modal-frame-wrap { flex: 1; padding-top: 0; }
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.proc-content { flex: 1; }
.proc-header { max-width: var(--mw); margin: 0 auto; padding: 48px 40px 28px; border-bottom: 0.5px solid var(--rule); }
.proc-grid { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.proc-layout { display: flex; align-items: baseline; gap: 16px; }
.proc-step { padding: 32px 24px; border-right: 0.5px solid var(--rule); position: relative; min-width: 0; }
.proc-step:last-child { border-right: none; }
.step-n {
  font-family: var(--fd);
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  -webkit-text-stroke: 0.5px var(--rule);
  flex-shrink: 0;
}
.step-title { font-family: var(--fm); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.step-desc { font-family: var(--fm); font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.step-arr { position: absolute; right: -9px; top: 40px; color: var(--accent); font-size: 14px; z-index: 2; }

/* Dark-mode override: Process now sits on --accent-navy (moved below About,
   background set inline on #process in the HTML). Overrides the light-mode
   colors above with the dark-section equivalents used elsewhere on the page
   (.hero-title, .svc-*), so text and dividers keep correct contrast on the
   new dark background. :not(:last-child) preserves the base rule's "no
   border after the final card" behavior, which this override would
   otherwise defeat by ID-selector specificity. No text-stroke override on
   .step-n: --rule-2 is a light hairline, meant to barely register against
   the old light background — on dark navy the same stroke shows as a
   visible outline, so it's dropped rather than recoloured. */
#process .sec-title { color: var(--paper); }
#process .proc-header { border-bottom: 0.5px solid var(--rule-2); }
#process .proc-step:not(:last-child) { border-right: 0.5px solid var(--rule-2); }
#process .step-title { color: var(--paper); }
#process .step-desc { color: var(--ink-4); }

/* ==========================================================================
   About
   ========================================================================== */

.about-wrap { border-bottom: 0.5px solid var(--rule-2); background: var(--accent-navy);}
.about { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; color: var(--paper);}
.about-l { padding: 64px 40px; border-right: 0.5px solid var(--rule-2); }
.about-r { padding: 64px 40px; }
.about-body { color: var(--ink-4); }
.cred-list { list-style: none; margin-top: 28px; }
.cred-list li {
  padding: 12px 0;
  border-bottom: 0.5px solid var(--rule-2);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cred-list li:last-child { border-bottom: none; }
.cred-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
/* Light-mode variant: About now sits on --paper (moved above Process).
   Overrides the dark-mode colors above with the light-section equivalents
   used elsewhere on the page (.sec-body, .prob-card), so text and dividers
   keep correct contrast on the new white background. */
.about-wrap--light { background: var(--paper); border-bottom: 0.5px solid var(--rule); }
.about-wrap--light .about { color: var(--ink-2); }
.about-wrap--light .about-body { color: var(--ink-2); }
.about-wrap--light .about-l { border-right-color: var(--rule); }
.about-wrap--light .cred-list li { border-bottom-color: var(--rule); }

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-wrap { border-bottom: 0.5px solid var(--rule); }
.cta {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 88px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta-title { font-family: var(--fd); font-size: 48px; font-weight: 300; line-height: 1.1; max-width: 560px; }
.cta-title em { font-style: italic; color: var(--accent); }
.cta-sub { font-family: var(--fm); font-size: 14px; color: var(--ink-3); max-width: 400px; line-height: 1.8; }
.cta-form { display: flex; width: 100%; max-width: 460px; border: 0.5px solid var(--ink); }
.cta-input {
  flex: 1;
  padding: 13px 18px;
  background: transparent;
  border: none;
  font-family: var(--fm);
  font-size: 12px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.cta-input::placeholder { color: var(--ink-3); }
.cta-btn {
  padding: 13px 24px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.cta-btn:hover { background: var(--navy); }
.cta-note { font-family: var(--fm); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.foot-logo { font-family: var(--fd); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-note { font-family: var(--fm); font-size: 11px; color: var(--ink-3); }

/* ==========================================================================
   Enquiry form
   ========================================================================== */

.enquiry-wrap { display: none; width: 100%; max-width: 560px; overflow: hidden; margin-top: 0; }
.enquiry-wrap.open { display: block; margin-top: 32px; padding-top: 32px; border-top: 0.5px solid var(--rule); }
.enquiry-form { width: 100%; }
.ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-bottom: 18px; align-items: center; }
.ef-row-top { align-items: start; }
.ef-row-btn { margin-top: 8px; }
.ef-row label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.ef-row input,
.ef-row textarea {
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--ink);
  font-family: var(--fm);
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  outline: none;
  width: 100%;
  resize: none;
}
.ef-row input::placeholder,
.ef-row textarea::placeholder { color: var(--ink-3); }
.ef-row input:focus,
.ef-row textarea:focus,
.ef-select-wrap:focus-within select { border-bottom-color: var(--accent); }
.ef-select-wrap { position: relative; width: 100%; }
.ef-select-wrap select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--ink);
  border-radius: 0;
  font-family: var(--fm);
  font-size: 14px;
  color: var(--ink);
  padding: 8px 24px 8px 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ef-select-wrap select option { background: var(--paper); color: var(--ink); font-family: var(--fm); font-size: 12px; }
.ef-arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--ink-3); pointer-events: none; line-height: 1; }
.ef-submit { width: 100%; }
.ef-status { font-size: 11px; color: var(--ink-3); min-height: 16px; padding-top: 4px; }

/* ==========================================================================
   Logo lockup
   ========================================================================== */

.logo-rz {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
.logo-scan {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: lowercase;
  padding-left: 6px;
  vertical-align: middle;
}

/* ==========================================================================
   Reveal toggle ("read more" expanders)
   ========================================================================== */

.reveal-body { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; font-family: var(--fm); }
.reveal-body.open { max-height: 6000px; }
.reveal-toggle {
  background: none;
  border: none;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  cursor: pointer;
  padding: 5px 0 0;
  display: inline-block;
  text-transform: uppercase;
  animation: toggle-pulse 5s ease-in-out infinite;
}
.reveal-toggle:hover { color: var(--accent); animation-play-state: paused; }
@keyframes toggle-pulse {
  0%, 70% { color: var(--accent); }
  85% { color: var(--paper); }
  100% { color: var(--accent); }
}
/* Same pulse, but fades to --accent-navy instead of --paper — for toggles
   sitting on the dark navy background, so the flash fades into that
   background instead of flashing pale off-white against it. */
@keyframes toggle-pulse-dark {
  0%, 70% { color: var(--accent); }
  85% { color: var(--accent-navy); }
  100% { color: var(--accent); }
}

/* Stagger: same 5s rate/easing for every toggle, but each starts at a
   different negative offset into the cycle so they twinkle independently
   instead of all flashing in lockstep. */
.reveal-toggle[data-target="prob-1"]  { animation-delay: -0.3s; }
.reveal-toggle[data-target="prob-2"]  { animation-delay: -2.4s; }
.reveal-toggle[data-target="prob-3"]  { animation-delay: -4.2s; }
/* hero-1 sits on the dark --accent-navy background (.hero-wrap) —
   use the dark-fade variant. */
.reveal-toggle[data-target="hero-1"]  { animation-delay: -3.9s; animation-name: toggle-pulse-dark; }
/* svc-1/2/3 and tech-1 sit on the dark --accent-navy background
   (.svc-grid-wrap / .abs-wrap) — use the dark-fade variant. */
.reveal-toggle[data-target="svc-1"]   { animation-delay: -0.9s; animation-name: toggle-pulse-dark; }
.reveal-toggle[data-target="svc-2"]   { animation-delay: -2.8s; animation-name: toggle-pulse-dark; }
.reveal-toggle[data-target="svc-3"]   { animation-delay: -4.7s; animation-name: toggle-pulse-dark; }
.reveal-toggle[data-target="tech-1"]  { animation-delay: -1.4s; animation-name: toggle-pulse-dark; }
/* step-1/2/3/4 now sit on the dark --accent-navy background (#process,
   moved below About and recoloured dark) — use the dark-fade variant. */
.reveal-toggle[data-target="step-1"]  { animation-delay: -0.1s; animation-name: toggle-pulse-dark; }
.reveal-toggle[data-target="step-2"]  { animation-delay: -1.9s; animation-name: toggle-pulse-dark; }
.reveal-toggle[data-target="step-3"]  { animation-delay: -3.2s; animation-name: toggle-pulse-dark; }
.reveal-toggle[data-target="step-4"]  { animation-delay: -3.6s; animation-name: toggle-pulse-dark; }
/* about-1/2 now sit on the light --paper background (.about-wrap--light,
   moved above Process) — use the default light-fade variant. */
.reveal-toggle[data-target="about-1"] { animation-delay: -0.6s; }
.reveal-toggle[data-target="about-2"] { animation-delay: -2.1s; }

/* ==========================================================================
   Misc
   ========================================================================== */

.elev-divider {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
  .ef-row { grid-template-columns: 1fr; gap: 6px; margin-bottom: 20px; }
  .ef-row label { text-align: left; }
  .ef-row-btn { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links, .nav-cta { display: none; }
  .ham { display: block; }
  .mob-menu { padding: 20px 24px; }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-l { grid-column: 1; grid-row: auto; order: 1; padding: 48px 24px 32px; border-right: none; }
  .hero-title { font-size: 38px; }
  .hero-r { grid-column: 1; grid-row: auto; order: 2; min-height: 360px; }
  .hero-sub-wrap { grid-column: 1; grid-row: auto; order: 3; padding: 0 24px 48px; border-right: none; }

  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 0.5px solid var(--rule-2); grid-column: 1 / -1; border-right: none; }

  .sec { grid-template-columns: 1fr; }
  .sec-l { padding: 48px 24px; border-right: none; border-bottom: 0.5px solid var(--rule); }
  .sec-r { padding: 48px 24px; }
  .sec-title { font-size: 28px; }

  .svc-header { flex-direction: column; align-items: flex-start; padding: 36px 24px 24px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { border-right: none; border-bottom: 0.5px solid var(--rule-2); padding: 32px 24px; }
  .svc:last-child { border-bottom: none; }

  .abs { grid-template-columns: 1fr; }
  .abs-l { min-height: 360px; }
  .abs-r { padding: 48px 24px; }

  .proc-grid { grid-template-columns: 1fr 1fr; }
  .proc-header { padding: 36px 24px 24px; }
  .proc-step { padding: 28px 24px; border-right: none; border-bottom: 0.5px solid var(--rule); }
  .proc-step:nth-child(odd) { border-right: 0.5px solid var(--rule); }
  .proc-step:last-child { border-bottom: none; }
  .step-arr { display: none; }
  #process .proc-step:not(:last-child) { border-bottom-color: var(--rule-2); }
  #process .proc-step:nth-child(odd) { border-right-color: var(--rule-2); }

  .about { grid-template-columns: 1fr; }
  .about-l { padding: 48px 24px; border-right: none; border-bottom: 0.5px solid var(--rule-2); }
  .about-r { padding: 48px 24px; }
  .about-wrap--light .about-l { border-bottom-color: var(--rule); }

  .cta { padding: 64px 24px; }
  .cta-title { font-size: 34px; }
  .cta-form { flex-direction: column; border: none; gap: 12px; }
  .cta-input { border: 0.5px solid var(--ink); padding: 13px 18px; width: 100%; }
  .cta-btn { width: 100%; text-align: center; padding: 14px; }

  footer { flex-direction: column; gap: 8px; padding: 24px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-top: 0.5px solid var(--rule-2); }
  .stat:first-child { border-top: none; }
  .stat { grid-column: auto !important; }
  .proc-grid { grid-template-columns: 1fr; }
  .proc-step { border-right: none !important; }
}