/*
Theme Name: Alpine Remote Sensing
Theme URI: https://alpine-rs.xyz/
Author: Codex
Description: A WordPress rebuild of the Alpine Remote Sensing website.
Version: 1.1.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: alpine-remote-sensing
*/

:root {
  --ars-bg: #f8faf9;
  --ars-card: #ffffff;
  --ars-ink: #172323;
  --ars-muted: #4f6060;
  --ars-border: #e4e9e8;
  --ars-teal: #08786e;
  --ars-teal-light: #e0f4f2;
  --ars-slate: #172323;
  --ars-section: #f1f5f4;
  --ars-shadow: 0 18px 45px rgba(17, 35, 35, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ars-bg);
  color: var(--ars-ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.ars-menu-open {
  overflow: hidden;
}

.ars-site *,
.ars-site *::before,
.ars-site *::after {
  box-sizing: border-box;
}

.ars-site img {
  display: block;
  max-width: 100%;
}

.ars-site a {
  color: inherit;
  text-decoration: none;
}

.ars-site a:focus-visible,
.ars-site button:focus-visible,
.ars-site input:focus-visible,
.ars-site textarea:focus-visible {
  outline: 3px solid rgba(8, 120, 110, 0.42);
  outline-offset: 3px;
}

.ars-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  background: #fff;
  color: var(--ars-ink);
  border: 2px solid var(--ars-teal);
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.ars-skip-link:focus {
  transform: translateY(0);
}

.ars-wrap {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.ars-wrap-narrow {
  width: min(100% - 48px, 880px);
  margin: 0 auto;
}

.ars-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding-block: 1.15em;
  transition: background 220ms ease, box-shadow 220ms ease;
}

body.admin-bar .ars-header {
  top: 32px;
}

.ars-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(18, 35, 35, 0.08);
  backdrop-filter: blur(14px);
}

.ars-nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ars-logo img {
  width: 134px;
  height: auto;
}

.ars-menu-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  cursor: pointer;
  font: 700 14px/1 "DM Sans", sans-serif;
  letter-spacing: 0.04em;
  padding: 10px 0;
}

.ars-header.is-scrolled .ars-menu-toggle {
  color: var(--ars-ink);
}

.ars-header.is-open .ars-menu-toggle {
  color: var(--ars-ink);
}

.ars-burger {
  width: 22px;
  display: grid;
  gap: 5px;
}

.ars-burger span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.ars-menu-toggle[aria-expanded="true"] .ars-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ars-menu-toggle[aria-expanded="true"] .ars-burger span:nth-child(2) {
  opacity: 0;
}

.ars-menu-toggle[aria-expanded="true"] .ars-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ars-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  width: min(420px, 100vw);
  padding: 104px 28px 32px;
  background: #fff;
  color: var(--ars-ink);
  border-left: 1px solid var(--ars-border);
  box-shadow: -18px 0 50px rgba(17, 35, 35, 0.22);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 180ms ease, transform 180ms ease;
}

body.admin-bar .ars-menu-panel {
  padding-top: 136px;
}

.ars-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.ars-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(23, 35, 35, 0.48);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ars-menu-backdrop.is-open {
  opacity: 1;
}

.ars-menu-links {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ars-menu-links a {
  border: 1px solid var(--ars-border);
  border-radius: 8px;
  padding: 18px 16px;
  color: var(--ars-ink);
  font-size: 20px;
  font-weight: 800;
}

.ars-menu-links a:hover,
.ars-menu-links a:focus-visible {
  color: var(--ars-teal);
  background: var(--ars-teal-light);
  border-color: rgba(8, 120, 110, 0.28);
}

.ars-hero {
  min-height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 110px 24px 72px;
}

.ars-hero-small {
  min-height: 360px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 128px 0 64px;
  background: var(--ars-slate);
}

.ars-bg-image,
.ars-bg-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ars-bg-image {
  z-index: -2;
}

.ars-bg-image img {
  object-fit: cover;
}

.ars-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 35, 35, 0.72), rgba(23, 35, 35, 0.48) 48%, rgba(23, 35, 35, 0.82));
}

.ars-hero-small::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(23, 35, 35, 0.8);
}

.ars-hero-content {
  width: min(100%, 980px);
  margin: 0 auto;
  color: #fff;
}

.ars-eyebrow {
  margin: 0 0 16px;
  color: var(--ars-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ars-hero .ars-eyebrow {
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 0.25em;
  margin-bottom: 28px;
}

.ars-hero .ars-eyebrow span {
  color: #34d6c6;
}

.ars-title,
.ars-page-title,
.ars-h2,
.ars-h3 {
  font-family: "Urbanist", "DM Sans", sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

.ars-title {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 800;
}

.ars-title span {
  display: block;
  color: #34d6c6;
}

.ars-page-title {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
}

.ars-lede {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
  max-width: 730px;
  margin: 24px auto 0;
}

.ars-hero-small .ars-lede {
  margin-inline: 0;
}

.ars-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.ars-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.ars-button:hover,
.ars-button:focus-visible {
  transform: translateY(-1px);
}

.ars-button-primary {
  background: var(--ars-teal);
  color: #fff;
}

.ars-button-primary:hover,
.ars-button-primary:focus-visible {
  opacity: 0.9;
}

.ars-button-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.ars-button-outline:hover,
.ars-button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.ars-button-white {
  background: #fff;
  color: var(--ars-teal) !important;
}

.ars-site .ars-cta-teal .ars-button-white,
.ars-site .ars-cta-teal .ars-button-white:visited,
.ars-site .ars-cta-teal .ars-button-white:hover,
.ars-site .ars-cta-teal .ars-button-white:focus-visible {
  color: var(--ars-teal) !important;
}

.ars-section {
  padding: 96px 0;
}

.ars-section-alt {
  background: var(--ars-section);
}

.ars-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.ars-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ars-grid-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ars-section-head {
  text-align: center;
  max-width: 690px;
  margin: 0 auto 56px;
}

.ars-h2 {
  margin: 0 0 22px;
  color: var(--ars-ink);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
}

.ars-h2-small {
  font-size: clamp(32px, 4vw, 46px);
}

.ars-h3 {
  margin: 0 0 12px;
  color: var(--ars-ink);
  font-size: 22px;
  font-weight: 800;
}

.ars-copy {
  color: var(--ars-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.ars-copy-large {
  font-size: 18px;
}

.ars-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ars-teal);
  font-weight: 800;
}

.ars-link:hover,
.ars-link:focus-visible {
  gap: 12px;
}

.ars-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ars-card {
  background: var(--ars-card);
  border: 1px solid var(--ars-border);
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(17, 35, 35, 0.04);
}

.ars-stat {
  padding: 26px;
  text-align: center;
}

.ars-stat strong {
  display: block;
  color: var(--ars-teal);
  font: 800 42px/1 "Urbanist", sans-serif;
  margin-bottom: 10px;
}

.ars-stat span {
  color: var(--ars-muted);
  font-size: 14px;
}

.ars-feature-card,
.ars-industry-card,
.ars-value-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ars-feature-card:hover,
.ars-industry-card:hover,
.ars-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ars-shadow);
}

.ars-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--ars-teal-light);
  color: var(--ars-teal);
  margin-bottom: 18px;
  transition: background 180ms ease, color 180ms ease;
}

.ars-industry-card .ars-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.ars-feature-card:hover .ars-icon,
.ars-industry-card:hover .ars-icon {
  background: var(--ars-teal);
  color: #fff;
}

.ars-number {
  margin: 0 0 8px;
  color: var(--ars-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ars-image-card {
  position: relative;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
}

.ars-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ars-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 159, 145, 0.1);
}

.ars-image-caption {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 16px;
  backdrop-filter: blur(10px);
  font: 800 14px/1.45 "Urbanist", sans-serif;
}

.ars-cta-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ars-slate);
  color: #fff;
}

.ars-cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ars-cta-image) center/cover no-repeat;
  opacity: 0.1;
}

.ars-cta-dark .ars-h2,
.ars-cta-teal .ars-h2 {
  color: #fff;
}

.ars-cta-dark .ars-copy,
.ars-cta-teal .ars-copy {
  color: rgba(255, 255, 255, 0.9);
}

.ars-cta-teal {
  background: var(--ars-teal);
  color: #fff;
}

.ars-footer {
  background: var(--ars-slate);
  color: #fff;
}

.ars-footer-main {
  padding: 64px 0;
}

.ars-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

.ars-footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 18px;
}

.ars-footer p,
.ars-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.ars-footer a:hover,
.ars-footer a:focus-visible {
  color: #fff;
}

.ars-footer-title {
  margin: 0 0 16px;
  color: #34d6c6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ars-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ars-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
}

.ars-page-image-wrap {
  position: relative;
}

.ars-page-image {
  position: relative;
  min-height: 390px;
  border-radius: 16px;
  overflow: hidden;
}

.ars-page-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ars-badge {
  position: absolute;
  right: -24px;
  bottom: -24px;
  background: var(--ars-teal);
  color: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(17, 35, 35, 0.18);
}

.ars-badge strong {
  display: block;
  font: 800 34px/1 "Urbanist", sans-serif;
}

.ars-badge span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.ars-value-card {
  padding: 32px;
}

.ars-value-mark {
  width: 8px;
  height: 32px;
  border-radius: 999px;
  background: var(--ars-teal);
  margin-bottom: 18px;
}

.ars-service-list {
  display: grid;
  gap: 96px;
}

.ars-service-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.ars-service-row:nth-child(even) .ars-service-media {
  order: -1;
}

.ars-service-kicker {
  color: var(--ars-teal);
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ars-service-subtitle {
  margin: 0 0 22px;
  color: var(--ars-muted);
  font-style: italic;
  font-weight: 700;
}

.ars-check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.ars-check-list-title {
  margin: 0 0 4px;
  color: var(--ars-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ars-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ars-muted);
  font-size: 14px;
}

.ars-check {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ars-teal-light);
  color: var(--ars-teal);
  margin-top: 1px;
}

.ars-service-media {
  position: relative;
}

.ars-service-media-inner {
  position: relative;
  min-height: 390px;
  border-radius: 16px;
  overflow: hidden;
}

.ars-service-media-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ars-service-media-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(23, 35, 35, 0.42));
}

.ars-service-number {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ars-border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--ars-teal);
  font: 800 26px/1 "Urbanist", sans-serif;
}

.ars-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  gap: 64px;
}

.ars-form-card {
  padding: 36px;
  border-radius: 16px;
}

.ars-form-card form {
  display: grid;
  gap: 20px;
}

.ars-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ars-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ars-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ars-field span {
  color: var(--ars-teal);
}

.ars-field input,
.ars-field textarea {
  width: 100%;
  border: 1px solid var(--ars-border);
  border-radius: 8px;
  background: var(--ars-bg);
  color: var(--ars-ink);
  font: 500 15px/1.5 "DM Sans", sans-serif;
  padding: 14px 15px;
}

.ars-field textarea {
  min-height: 150px;
  resize: vertical;
}

.ars-field input:focus,
.ars-field textarea:focus {
  outline: 2px solid rgba(15, 159, 145, 0.22);
  border-color: var(--ars-teal);
}

.ars-form-note {
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.ars-form-note-success {
  background: var(--ars-teal-light);
  color: #08675e;
}

.ars-form-note-error {
  background: #ffe9e6;
  color: #9b2c20;
}

.ars-expect-list {
  display: grid;
  gap: 24px;
  margin: 28px 0;
}

.ars-expect-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ars-expect-item .ars-icon {
  flex: 0 0 auto;
  margin: 0;
}

.ars-expect-item strong {
  display: block;
  margin-bottom: 5px;
}

.ars-divider-note {
  border-top: 1px solid var(--ars-border);
  padding-top: 28px;
}

.ars-generic-page {
  padding: 128px 0 80px;
}

.ars-generic-page .entry-content {
  max-width: 760px;
}

@media (max-width: 980px) {
  .ars-grid-2,
  .ars-service-row,
  .ars-contact-grid {
    grid-template-columns: 1fr;
  }

  .ars-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ars-service-row:nth-child(even) .ars-service-media {
    order: 0;
  }

  .ars-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body.admin-bar .ars-header {
    top: 46px;
  }

  body.admin-bar .ars-menu-panel {
    padding-top: 150px;
  }

  .ars-wrap,
  .ars-wrap-narrow {
    width: min(100% - 32px, 1280px);
  }

  .ars-grid-4,
  .ars-grid-values,
  .ars-stat-grid,
  .ars-form-row {
    grid-template-columns: 1fr;
  }

  .ars-hero {
    min-height: 620px;
    padding-inline: 16px;
  }

  .ars-menu-panel {
    width: 100vw;
    padding: 104px 20px 32px;
    border-left: 0;
  }

  .ars-actions {
    align-items: stretch;
  }

  .ars-button {
    width: 100%;
  }

  .ars-section {
    padding: 72px 0;
  }

  .ars-badge {
    right: 16px;
    bottom: 16px;
  }

  .ars-footer-bottom {
    display: grid;
  }
}
