/* ================================
   SoCoTechDiving — Stylesheet
   ================================ */

:root {
  /* Colors */
  --navy-900: #0a1929;
  --navy-800: #102a43;
  --navy-700: #1a3a5c;
  --navy-600: #2a4a6e;

  --cyan: #00d4ff;
  --cyan-dim: #0099bf;
  --orange: #ff6b35;
  --orange-dim: #d9531f;

  --cream: #f5f2ea;
  --cream-2: #ebe7dc;
  --paper: #ffffff;

  --ink: #0a1929;
  --slate: #3a4a5e;
  --slate-2: #6b7a8c;
  --border: #ddd8c8;
  --border-2: #c9c3b0;

  /* Type */
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ NAV ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.brand-wordmark {
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-wordmark .soft {
  opacity: 0.55;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.nav-links a {
  opacity: 0.75;
  transition: opacity 0.15s ease;
  font-weight: 500;
}

.nav-links a:hover { opacity: 1; color: var(--cyan); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--navy-900);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover { background: #ff8255; transform: translateY(-1px); }

.nav-cta::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--navy-900);
  border-radius: 50%;
}

/* ============ HERO ============ */

.hero {
  background: radial-gradient(ellipse at 20% 0%, #143a5e 0%, var(--navy-900) 55%) , var(--navy-900);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px var(--gutter) 120px;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

h1.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-wrap: balance;
}

h1.hero-title em {
  font-style: normal;
  color: var(--cyan);
  font-family: var(--display);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(245,242,234,0.72);
  max-width: 520px;
  margin: 0 0 40px;
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--body);
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-900);
}

.btn-primary:hover { background: #4be2ff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,242,234,0.25);
}

.btn-ghost:hover { border-color: var(--cream); background: rgba(255,255,255,0.04); }

.btn-arrow {
  width: 18px; height: 18px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--cream);
}

.hero-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,234,0.55);
  margin-top: 8px;
}

/* ============ GAUGE WIDGET ============ */

.gauge-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
}

.gauge-svg { width: 100%; height: 100%; }

.gauge-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(8%);
}

.gauge-psi {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.gauge-psi-unit {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-top: 8px;
  text-transform: uppercase;
}

.gauge-mix-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(245,242,234,0.8);
  margin-top: 18px;
  text-transform: uppercase;
}

.gauge-selector {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  justify-content: center;
}

.gauge-selector button {
  background: transparent;
  border: 0;
  color: rgba(245,242,234,0.6);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  transition: all 0.18s ease;
  font-weight: 500;
}

.gauge-selector button:hover { color: var(--cream); }

.gauge-selector button.active {
  background: var(--cyan);
  color: var(--navy-900);
  font-weight: 600;
}

/* Gas composition strip under gauge */
.gauge-mix-bar {
  display: flex;
  width: 100%;
  max-width: 320px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.gauge-mix-bar span {
  height: 100%;
  transition: width 0.5s ease;
}

.mix-legend {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245,242,234,0.65);
  text-transform: uppercase;
}

.mix-legend span::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
  background: currentColor;
}

.mix-legend .leg-o2 { color: #ff6b35; }
.mix-legend .leg-n2 { color: #00d4ff; }
.mix-legend .leg-he { color: #b76aff; }

/* ============ SECTION HEADER ============ */

section { padding: 112px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--orange);
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 720px;
  text-wrap: balance;
}

.section-sub {
  font-size: 17px;
  color: var(--slate);
  max-width: 380px;
  margin: 0;
  text-wrap: pretty;
}

/* ============ SERVICES ============ */

.services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 320px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -16px rgba(10,25,41,0.18);
  border-color: var(--border-2);
}

.svc-big { grid-column: span 3; min-height: 380px; }
.svc-med { grid-column: span 3; }
.svc-sm { grid-column: span 2; }

.svc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--slate-2);
  text-transform: uppercase;
}

.svc-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.08;
  margin: 16px 0 12px;
  letter-spacing: -0.01em;
}

.svc-big .svc-title { font-size: 36px; }

.svc-desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}

.svc-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.svc-spec-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--cream-2);
  color: var(--navy-800);
  padding: 6px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.svc-price {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.svc-price-from {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--slate-2);
  text-transform: uppercase;
}

.svc-price-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.svc-price-num .currency {
  font-size: 18px;
  opacity: 0.5;
  margin-right: 2px;
  vertical-align: 4px;
}

.svc-icon {
  position: absolute;
  top: 28px; right: 28px;
  width: 44px;
  height: 44px;
  opacity: 0.9;
}

/* Service feature card with image */
.svc-feature {
  grid-column: span 6;
  background: var(--navy-900);
  color: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 340px;
  border: 0;
}

.svc-feature .svc-feature-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svc-feature .svc-title { font-size: 40px; color: var(--cream); margin-top: 12px; }
.svc-feature .svc-desc { color: rgba(245,242,234,0.7); font-size: 16px; max-width: 42ch; }
.svc-feature .svc-num { color: var(--cyan); }

.svc-feature-img {
  background-size: cover;
  background-position: center;
  background-color: var(--navy-700);
  position: relative;
}

.svc-feature-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, transparent 30%);
}

/* ============ WHY US BAND ============ */

.band {
  background: var(--navy-900);
  color: var(--cream);
  padding: 80px 0;
}

.band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.band-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.band-item-icon {
  width: 32px; height: 32px;
  color: var(--cyan);
  margin-bottom: 4px;
}

.band-item h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}

.band-item p {
  font-size: 14px;
  color: rgba(245,242,234,0.65);
  line-height: 1.5;
  margin: 0;
}

/* ============ PRICING ============ */

.pricing { background: var(--cream); }

.pricing-table {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  align-items: center;
  padding: 22px 32px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  transition: background 0.15s ease;
}

.pricing-row:last-child { border-bottom: 0; }
.pricing-row:hover { background: var(--cream); }

.pricing-row.header {
  background: var(--cream-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-2);
  font-weight: 500;
}

.pricing-row.header:hover { background: var(--cream-2); }

.pricing-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
}

.pricing-name small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 13px;
  color: var(--slate-2);
  margin-top: 4px;
  letter-spacing: 0;
}

.pricing-spec {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.pricing-tank {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate-2);
}

.pricing-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-align: right;
  letter-spacing: -0.01em;
}

.pricing-price .currency { font-size: 13px; opacity: 0.5; vertical-align: 6px; margin-right: 1px; }
.pricing-price small { font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--slate-2); margin-left: 4px; }

.pricing-note {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--slate);
}

.pricing-note strong { color: var(--navy-900); font-weight: 600; }

/* ============ CONTACT ============ */

.contact { background: var(--cream-2); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
}

.contact-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.contact-card .contact-sub {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-detail-icon {
  width: 22px; height: 22px;
  color: var(--cyan-dim);
  flex: 0 0 22px;
  margin-top: 2px;
}

.contact-detail-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.4;
}

.contact-detail-value small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--slate);
  margin-top: 2px;
}

.contact-hours {
  background: var(--navy-900);
  color: var(--cream);
  border-radius: 18px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.contact-hours::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.18);
  pointer-events: none;
}

.contact-hours::before {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.1);
  pointer-events: none;
}

.contact-hours h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
}

.hours-list li:last-child { border-bottom: 0; }

.hours-day { color: rgba(245,242,234,0.85); font-weight: 500; }
.hours-time { font-family: var(--mono); font-size: 13px; color: var(--cyan); letter-spacing: 0.02em; }
.hours-time.closed { color: var(--slate-2); }

.contact-hours-cta {
  margin-top: auto;
  padding-top: 28px;
  position: relative;
  z-index: 1;
}

.contact-hours-cta .btn { width: 100%; justify-content: center; }

/* ============ FOOTER ============ */

.footer {
  background: var(--navy-900);
  color: var(--cream);
  padding: 80px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,242,234,0.45);
  margin: 0 0 20px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-col a {
  opacity: 0.75;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.footer-col a:hover { opacity: 1; color: var(--cyan); }

.footer-brand-text {
  font-size: 14px;
  color: rgba(245,242,234,0.6);
  margin-top: 20px;
  max-width: 32ch;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245,242,234,0.45);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; padding: 72px var(--gutter) 96px; min-height: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-big, .svc-med, .svc-sm, .svc-feature { grid-column: span 2; }
  .svc-feature { grid-template-columns: 1fr; }
  .svc-feature-img { min-height: 200px; }
  .band-inner { grid-template-columns: repeat(2, 1fr); }
  .pricing-row { grid-template-columns: 1.4fr 1fr 0.8fr; }
  .pricing-row > :nth-child(3) { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
  section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-big, .svc-med, .svc-sm, .svc-feature { grid-column: span 1; }
  .band-inner { grid-template-columns: 1fr; gap: 24px; }
  .pricing-row { grid-template-columns: 1.4fr 0.8fr; padding: 18px 20px; }
  .pricing-row > :nth-child(2), .pricing-row > :nth-child(3) { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-stats { gap: 24px; }
  .contact-card, .contact-hours { padding: 28px; }
}
