/* OXAR — AS211623 (light theme) */
:root {
  --bg: #f6f8fa;
  --bg-elevated: #ffffff;
  --bg-alt: #eef2f6;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #00b4d8;
  --accent-hover: #0096c7;
  --accent-soft: rgba(0, 180, 216, 0.08);
  --border: #e2e8f0;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: min(92vw, 800px);
  --space: 1.5rem;
  --space-lg: 3rem;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.1);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space);
}

/* Typography */
.mono {
  font-family: var(--font-mono);
  font-size: 0.95em;
  font-weight: 500;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h2 { font-size: 1.5rem; margin-top: 0; }
h3 { font-size: 1.125rem; margin-top: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 250, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: var(--space);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding-block: 4rem 5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero {
    padding-block: 5rem 6rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, var(--bg) 0%, var(--bg-elevated) 45%, var(--accent-soft) 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35em 0.75em;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-sm);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 1rem;
  max-width: 48ch;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-meta {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bg-elevated);
  background: var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.25);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.hero-cta:hover {
  background: var(--accent-hover);
  color: var(--bg-elevated);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
  transform: translateY(-1px);
}

.hero-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Sections common */
section {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}

section.section--alt {
  background: var(--bg-alt);
  border-top-color: transparent;
}

section.section--alt + section {
  border-top-color: var(--border);
}

section.section--cta {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--accent-soft) 100%);
  border-top-color: transparent;
}

.section-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

section h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 1.25rem;
  max-width: 65ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.subsection-title {
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Why OXAR */
.why-grid {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease), border-left-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.why-item:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-hover);
  border-color: rgba(0, 180, 216, 0.2);
}

.why-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--text);
}

.why-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Connectivity */
.connectivity .section-lead + p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.connectivity-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.connectivity-list--styled {
  list-style: none;
  padding-left: 0;
}

.connectivity-item {
  position: relative;
  margin-bottom: 0;
  padding: 1rem 1rem 1rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease);
}

.connectivity-item:hover {
  box-shadow: var(--shadow-md);
}

.connectivity-item + .connectivity-item {
  margin-top: 0.75rem;
}

.connectivity-item strong {
  color: var(--text);
}

.connectivity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.link-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.link-pill:hover {
  background: var(--accent);
  color: var(--bg-elevated);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.connectivity-list li:not(.connectivity-item) {
  margin-bottom: 0.5rem;
}

.connectivity-list a {
  font-weight: 500;
}

.link-cta {
  font-weight: 600;
}

.link-cta:hover {
  text-decoration: underline;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 180, 216, 0.15);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-card p + p {
  margin-top: 0.75rem;
}

.service-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Locations */
.locations-intro {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.location-desc {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.locations-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.location-group {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease);
}

.location-group:hover {
  box-shadow: var(--shadow-md);
}

.location-group:first-child {
  border-left: 3px solid var(--accent);
}

.location-group:last-child {
  border-left: 3px solid var(--text-muted);
}

.location-group h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
}

.location-group ul,
.location-group .location-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.location-list li {
  margin-bottom: 0.5rem;
}

.location-group li {
  margin-bottom: 0.25rem;
}

/* About */
.about p {
  margin: 0;
  max-width: 65ch;
  color: var(--text-muted);
  line-height: 1.65;
}

.about p + p {
  margin-top: 1.25rem;
}

/* Contact */
.contact p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.contact-list {
  display: grid;
  gap: 0.75rem 2rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 480px) {
  .contact-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 28rem;
  }
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-item dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item dd {
  margin: 0;
  font-size: 1rem;
}

.contact-item a {
  font-weight: 500;
  color: var(--accent);
}

.contact-item a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-note {
  margin-top: 1rem !important;
  font-size: 0.875rem !important;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--text);
  color: var(--bg-elevated);
  font-size: 0.875rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer p {
  margin: 0;
}

/* Refinements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
