/*
Theme Name: SafeReach Website
Theme URI: https://example.com/safereach
Author: SafeReach
Description: Mobile-first WordPress theme for the SafeReach recovery contact service.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: safereach-website
*/

:root {
  --sr-ink: #17201b;
  --sr-muted: #5c6861;
  --sr-line: #d7ddd9;
  --sr-bg: #f7f8f5;
  --sr-panel: #ffffff;
  --sr-accent: #0b6b5d;
  --sr-accent-dark: #084c43;
  --sr-warn: #b44230;
  --sr-focus: #e6b84f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sr-bg);
  color: var(--sr-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: var(--sr-accent); }
a:focus, button:focus {
  outline: 3px solid var(--sr-focus);
  outline-offset: 2px;
}

.sr-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #10241f;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sr-container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 18px;
}

.sr-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sr-brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
}

.sr-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.sr-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--sr-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 0;
}

.sr-button:hover,
.wp-block-button__link:hover {
  background: var(--sr-accent-dark);
  color: #fff;
}

.sr-button.secondary {
  background: #24433a;
}

.sr-hero {
  padding: 56px 0 30px;
  background: linear-gradient(180deg, #eff5f2 0%, var(--sr-bg) 100%);
}

.sr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: center;
}

.sr-eyebrow {
  margin: 0 0 10px;
  color: var(--sr-accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

.sr-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.sr-lede {
  max-width: 680px;
  color: var(--sr-muted);
  font-size: 1.12rem;
}

.sr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.sr-phone {
  background: #10241f;
  color: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(16,36,31,.18);
}

.sr-phone-screen {
  min-height: 430px;
  border-radius: 12px;
  background: #f9fbf8;
  color: var(--sr-ink);
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.sr-warning {
  border-left: 4px solid var(--sr-warn);
  background: #fff4f0;
  padding: 12px;
}

.sr-mini-card,
.sr-card {
  background: var(--sr-panel);
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  padding: 16px;
}

.sr-mini-card strong,
.sr-card strong {
  display: block;
}

.sr-section {
  padding: 46px 0;
}

.sr-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

.sr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sr-card h3 {
  margin-top: 0;
}

.sr-card p,
.sr-card li {
  color: var(--sr-muted);
}

.sr-price {
  font-size: 2rem;
  font-weight: 900;
  margin: 8px 0;
}

.sr-footer {
  background: #10241f;
  color: #dce7e2;
  padding: 28px 0;
}

.sr-footer a { color: #fff; }

.sr-page {
  padding: 42px 0;
}

.sr-page-content {
  background: var(--sr-panel);
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  padding: 20px;
}

@media (max-width: 760px) {
  .sr-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .sr-menu {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
  .sr-menu a,
  .sr-nav .sr-button {
    width: 100%;
  }
  .sr-hero {
    padding-top: 34px;
  }
  .sr-hero-grid {
    grid-template-columns: 1fr;
  }
  .sr-phone-screen {
    min-height: 340px;
  }
  .sr-actions,
  .sr-actions .sr-button {
    width: 100%;
  }
}
