/* ============================================================
   Sweep Geophysical — Website UI kit layout styles
   (composes design-system tokens from ./styles.css)
   ============================================================ */

.site { background: var(--bg-base); min-height: 100vh; }
.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--content-wide); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--alt { background: var(--bg-section); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 80; height: var(--header-h);
  display: flex; align-items: center; transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), backdrop-filter var(--dur-base); border-bottom: 1px solid transparent; }
.hdr--scrolled { background: rgba(11,17,32,.78); backdrop-filter: blur(var(--blur-glass)); -webkit-backdrop-filter: blur(var(--blur-glass)); border-bottom-color: var(--border); }
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); width: 100%; }
.brand { display: flex; align-items: center; gap: var(--space-3); cursor: pointer; }
.brand img { width: 38px; height: 38px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--text-strong); line-height: 1; letter-spacing: var(--tracking-snug); }
.brand__name small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__link { font-family: var(--font-display); font-weight: 500; font-size: var(--text-base); color: var(--text-body); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); cursor: pointer; transition: color var(--dur-base), background var(--dur-base); }
.nav__link:hover { color: var(--text-strong); background: rgba(255,255,255,.05); }
.nav__link--active { color: var(--accent); }
.hdr__cta { display: flex; align-items: center; gap: var(--space-3); }
.hdr__burger { display: none; background: none; border: 1px solid var(--border-strong); color: var(--text-strong); width: 44px; height: 44px; border-radius: var(--radius-md); align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Mobile menu ---------- */
.mmenu { position: fixed; inset: var(--header-h) 0 0; z-index: 70; background: rgba(11,17,32,.97); backdrop-filter: blur(var(--blur-strong)); padding: var(--space-8) var(--gutter); display: flex; flex-direction: column; gap: var(--space-0); animation: mm-in var(--dur-base) var(--ease-out); }
@keyframes mm-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mmenu__link { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); color: var(--text-strong); padding: var(--space-4) 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.mmenu__link--active { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); }
.hero__bg { position: absolute; inset: 0; background: var(--grad-hero); pointer-events: none; }
.hero__contours { position: absolute; inset: 0; color: var(--blue-400); opacity: .5; }
.hero__contours img, .hero__contours svg { width: 100%; height: 100%; object-fit: cover; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; width: 100%; }
.hero__copy { display: flex; flex-direction: column; gap: var(--space-6); max-width: 36rem; }
.hero h1 { font-size: var(--text-6xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.hero h1 .acc { color: var(--accent); }
.hero__lead { font-size: var(--text-lg); color: var(--text-body); max-width: 34rem; }
.hero__cta { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-2); }
.hero__stats { display: flex; gap: var(--space-8); margin-top: var(--space-8); flex-wrap: wrap; }
.hero__stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); color: var(--text-strong); }
.hero__stat span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.hero__visual { position: relative; }
.hero__img { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-xl); aspect-ratio: 4/5; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip { position: absolute; left: -22px; bottom: 40px; background: var(--surface-glass); backdrop-filter: blur(var(--blur-glass)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); display: flex; align-items: center; gap: var(--space-3); box-shadow: var(--shadow-lg); }
.hero__chip .ic { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--orange-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.hero__chip b { font-family: var(--font-display); color: var(--text-strong); font-size: var(--text-base); display: block; }
.hero__chip span { font-size: var(--text-xs); color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- Trust strip ---------- */
.trust { display: flex; align-items: center; justify-content: center; gap: var(--space-10); flex-wrap: wrap; }
.trust__label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.trust__logo { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--slate-400); opacity: .7; letter-spacing: -.01em; transition: opacity var(--dur-base), color var(--dur-base); }
.trust__logo:hover { opacity: 1; color: var(--text-body); }

/* ---------- Generic grids ---------- */
.grid-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.grid-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.feature { display: flex; flex-direction: column; gap: var(--space-4); }
.feature__ic { width: 54px; height: 54px; border-radius: var(--radius-md); background: var(--blue-tint); color: var(--blue-300); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(46,130,224,.3); }
.feature h3 { font-size: var(--text-xl); }
.feature p { color: var(--text-body); margin: 0; }

/* ---------- Alternating service rows ---------- */
.altrow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.altrow + .altrow { margin-top: var(--section-y); }
.altrow--rev .altrow__media { order: -1; }
.altrow__media { aspect-ratio: 4/3; }
.altrow__copy { display: flex; flex-direction: column; gap: var(--space-5); }
.altrow__copy h3 { font-size: var(--text-3xl); }
.altrow__copy p { color: var(--text-body); font-size: var(--text-lg); margin: 0; }
.benefits { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.benefits li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--text-body); }
.benefits .bi { flex: 0 0 auto; width: 24px; height: 24px; border-radius: var(--radius-pill); background: var(--orange-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.benefits .bi svg { width: 14px; height: 14px; }

/* ---------- Stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.statband__item { padding-left: var(--space-5); border-left: 2px solid var(--border-accent); }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.tcard { display: flex; flex-direction: column; gap: var(--space-5); height: 100%; }
.tcard__stars { display: flex; gap: 3px; color: var(--accent); }
.tcard__stars svg { width: 16px; height: 16px; }
.tcard__quote { color: var(--text-body); font-size: var(--text-lg); line-height: var(--leading-normal); flex: 1; }
.tcard__who { display: flex; align-items: center; gap: var(--space-3); }
.tcard__av { width: 42px; height: 42px; border-radius: var(--radius-pill); background: var(--grad-blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.tcard__who b { color: var(--text-strong); font-family: var(--font-display); display: block; font-size: var(--text-base); }
.tcard__who span { color: var(--text-muted); font-size: var(--text-sm); }

/* ---------- CTA banner ---------- */
.ctaband { position: relative; border-radius: var(--radius-2xl); overflow: hidden; padding: clamp(2.5rem,1.5rem+5vw,5rem); background: var(--grad-accent); }
.ctaband__contours { position: absolute; inset: 0; color: #1A0E00; opacity: .18; }
.ctaband__contours img { width: 100%; height: 100%; object-fit: cover; }
.ctaband__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-6); padding: 20px 25px 30px 25px; }
.ctaband h2 { color: #1A0E00; font-size: var(--text-5xl); max-width: 18ch; }
.ctaband p { color: rgba(26,14,0,.78); font-size: var(--text-lg); max-width: 46ch; margin: 0; }
.ctaband__btns { display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }
.btn-onorange { background: var(--dark) !important; color: #fff !important; box-shadow: var(--shadow-lg) !important; }
.btn-onorange-2 { background: rgba(26,14,0,.12) !important; color: #1A0E00 !important; border-color: rgba(26,14,0,.35) !important; box-shadow: none !important; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-block: var(--space-16) var(--space-8); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-8); }
.footer__col h4 { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-4); font-weight: 500; }
.footer__col a, .footer__col p { display: block; color: var(--text-body); font-size: var(--text-base); margin-bottom: var(--space-3); cursor: pointer; transition: color var(--dur-base); }
.footer__col a:hover { color: var(--accent); }
.footer__about { color: var(--text-muted); font-size: var(--text-base); max-width: 32ch; margin: var(--space-4) 0 var(--space-5); }
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a { width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-body); }
.footer__social a:hover { border-color: var(--border-accent); color: var(--accent); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--text-sm); flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Page hero (sub pages) ---------- */
.phero { position: relative; padding-top: calc(var(--header-h) + var(--space-16)); padding-bottom: var(--space-16); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; background: var(--grad-hero); }
.phero__contours { position: absolute; inset: 0; color: var(--blue-400); opacity: .4; }
.phero__contours img { width: 100%; height: 100%; object-fit: cover; }
.phero__inner { position: relative; display: flex; flex-direction: column; gap: var(--space-5); max-width: 52rem; }
.phero h1 { font-size: var(--text-5xl); letter-spacing: var(--tracking-tight); }
.phero p { font-size: var(--text-lg); color: var(--text-body); max-width: 46rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); align-items: start; }
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.cform .span { grid-column: 1 / -1; }
.cinfo { display: flex; flex-direction: column; gap: var(--space-4); }
.cinfo__item { display: flex; gap: var(--space-4); align-items: flex-start; }
.cinfo__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--orange-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-accent); }
.cinfo__item b { display: block; font-family: var(--font-display); color: var(--text-strong); font-size: var(--text-base); margin-bottom: 2px; }
.cinfo__item span { color: var(--text-body); font-size: var(--text-base); }
.cmap { margin-top: var(--space-8); position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); height: 360px; background: var(--slate-850); }
.cmap__contours { position: absolute; inset: 0; color: var(--blue-400); opacity: .5; }
.cmap__contours img { width: 100%; height: 100%; object-fit: cover; }
.cmap__pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.cmap__pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px var(--orange-tint), 0 0 0 16px rgba(255,121,0,.08); }
.cmap__pin .lbl { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-strong); background: var(--surface-glass); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero__visual { max-width: 460px; }
  .hero h1 { font-size: var(--text-5xl); }
  .grid-why { grid-template-columns: repeat(2, 1fr); }
  .grid-svc { grid-template-columns: repeat(2, 1fr); }
  .altrow { grid-template-columns: 1fr; gap: var(--space-6); }
  .altrow--rev .altrow__media { order: 0; }
  .statband { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .tgrid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}
@media (max-width: 720px) {
  .nav, .hdr__cta .sw-btn { display: none; }
  .hdr__burger { display: flex; }
  .grid-why, .grid-svc { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr 1fr; }
  .cform { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__chip { left: 12px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
