/* ============================================
   Aligned Medical Massage — 2026 Rebuild
   Base styles: reset, variables, layout, header, hero, buttons, trust bar
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2a7a6e;
  --primary-dark: #1e5c53;
  --primary-light: #e6f2f0;
  --accent: #c9915a;
  --accent-dark: #b07a45;
  --accent-light: #fdf3e8;
  --bg: #f9f7f4;
  --bg-alt: #f0ece6;
  --text: #2d3436;
  --text-light: #5a6977;
  --white: #ffffff;
  --border: #dde0d8;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --max-width: 1140px;
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--text);
  line-height: 1.2;
}

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

/* --- Skip to Content (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus {
  top: 8px;
  color: var(--white);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain; /* wide 7:1 logo — never let a narrow header squish it */
}

.logo { flex-shrink: 0; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav .btn-book {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  margin-left: 8px;
}

.nav .btn-book:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* --- Hero --- */
.hero {
  margin-top: var(--header-height);
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 72vh, 720px);
  padding: 80px 0;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed clinic photo behind the hero content */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: -2;
}

/* Teal gradient scrim: dark on the left (where the text sits) → clear on the
   right (so the buildings show through), plus a soft floor for the proof line. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,43,39,0.88) 0%, rgba(17,43,39,0.68) 40%, rgba(17,43,39,0.30) 74%, rgba(17,43,39,0.12) 100%),
    linear-gradient(0deg, rgba(17,43,39,0.42) 0%, rgba(17,43,39,0) 38%);
}

.hero-inner {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.95);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.hero h1 span {
  color: #e8bd8a;            /* warm gold accent, ties to the CTA */
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.30);
}

.hero-insurance {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.30);
}

.hero-insurance svg {
  color: #e8bd8a;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Secondary CTA reads as a frosted-glass button on the photo */
.hero .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.95);
  color: var(--primary-dark);
  border-color: #ffffff;
}

.hero-proof {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 10px rgba(0,0,0,0.30);
}
.hero-proof svg {
  color: #e8bd8a;
  flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,135,58,0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

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

/* --- Section Defaults --- */
.section {
  padding: 96px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}
