/*
Theme Name: Selected Care
Theme URI: https://selected.care
Description: Premium standalone theme for Selected.care
Version: 1.0.0
Author: Selected.care
Text Domain: selected-care
*/

/* ─── Reset & Base ─────────────────────────────────────── */

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

:root {
  --color-primary: #0B2A24;
  --color-primary-light: #134a3f;
  --color-bg: #f7f9f8;
  --color-white: #ffffff;
  --color-text: #2c3e3a;
  --color-text-light: #5a706a;
  --color-border: #dce5e2;
  --color-accent: #1a6b5a;
  --color-error: #c0392b;
  --color-success: #0B2A24;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(11, 42, 36, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 42, 36, 0.08);
  --shadow-lg: 0 8px 32px rgba(11, 42, 36, 0.1);
  --max-width: 1100px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Container ────────────────────────────────────────── */

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

/* ─── Header ───────────────────────────────────────────── */

.sc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

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

.sc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.sc-header__logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.3px;
}

.sc-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.sc-header__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition);
}

.sc-header__link:hover {
  color: var(--color-primary);
}

.sc-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.sc-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 640px) {
  .sc-header__nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform var(--transition);
  }

  .sc-header__nav.open {
    transform: translateY(0);
  }

  .sc-header__toggle {
    display: flex;
  }
}

/* ─── Hero ─────────────────────────────────────────────── */

.sc-hero {
  padding: 160px 0 100px;
  text-align: center;
}

.sc-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.sc-hero__headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto 24px;
}

.sc-hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}

.sc-btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.sc-btn:active {
  transform: translateY(0);
}

.sc-hero__micro {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-light);
}

/* ─── Section Common ───────────────────────────────────── */

.sc-section {
  padding: 80px 0;
}

.sc-section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.sc-section__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.3px;
  margin-bottom: 48px;
  text-align: center;
}

/* ─── Cost Context ─────────────────────────────────────── */

.sc-cost {
  padding: 80px 0;
}

.sc-cost__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.sc-cost__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.sc-cost__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sc-cost__card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.sc-cost__card-price {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.sc-cost__note {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
}

/* ─── How It Works ─────────────────────────────────────── */

.sc-how {
  padding: 80px 0;
}

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

.sc-how__item {
  text-align: center;
  padding: 32px 24px;
}

.sc-how__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.sc-how__item-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.sc-how__item-desc {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ─── Assessment ───────────────────────────────────────── */

.sc-assessment {
  padding: 80px 0 120px;
}

.sc-assessment__wrap {
  max-width: 640px;
  margin: 0 auto;
}

/* Wizard Styles */

.wizard {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.wizard__progress {
  height: 4px;
  background: var(--color-border);
}

.wizard__progress-bar {
  height: 100%;
  background: var(--color-primary);
  transition: width 0.4s ease;
  border-radius: 0 2px 2px 0;
}

.wizard__body {
  padding: 40px 32px 32px;
  position: relative;
  min-height: 320px;
}

.wizard__step {
  display: none;
  animation: wizardFadeIn 0.35s ease;
}

.wizard__step.active {
  display: block;
}

@keyframes wizardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.wizard__step-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

/* Card Buttons */

.wizard__cards {
  display: grid;
  gap: 12px;
}

.wizard__card {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  text-align: left;
  width: 100%;
}

.wizard__card:hover {
  border-color: var(--color-border);
  background: var(--color-white);
}

.wizard__card.selected {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.wizard__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 18px;
  flex-shrink: 0;
}

/* Input Fields */

.wizard__field {
  margin-bottom: 20px;
}

.wizard__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.wizard__input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.wizard__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 42, 36, 0.08);
}

.wizard__input.error {
  border-color: var(--color-error);
}

.wizard__error {
  display: none;
  font-size: 13px;
  color: var(--color-error);
  margin-top: 6px;
}

.wizard__error.visible {
  display: block;
}

/* Photo Upload */

.wizard__upload-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.wizard__upload-area:hover {
  border-color: var(--color-accent);
  background: rgba(11, 42, 36, 0.02);
}

.wizard__upload-area.has-file {
  border-style: solid;
  border-color: var(--color-primary);
  background: rgba(11, 42, 36, 0.02);
}

.wizard__upload-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--color-text-light);
}

.wizard__upload-text {
  font-size: 15px;
  color: var(--color-text-light);
}

.wizard__upload-text strong {
  color: var(--color-primary);
}

.wizard__upload-hint {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 8px;
}

.wizard__upload-preview {
  display: none;
  margin-top: 16px;
}

.wizard__upload-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  margin: 0 auto;
  object-fit: cover;
}

.wizard__upload-preview.visible {
  display: block;
}

.wizard__upload-remove {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-error);
  cursor: pointer;
  font-weight: 500;
}

.wizard__upload-input {
  display: none;
}

/* Wizard Navigation */

.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-top: 1px solid var(--color-border);
}

.wizard__btn {
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.wizard__btn--back {
  color: var(--color-text-light);
  background: transparent;
}

.wizard__btn--back:hover {
  color: var(--color-text);
  background: var(--color-bg);
}

.wizard__btn--back.hidden {
  opacity: 0;
  pointer-events: none;
}

.wizard__btn--next {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.wizard__btn--next:hover {
  background: var(--color-primary-light);
}

.wizard__btn--next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Success Panel */

.wizard__success {
  display: none;
  text-align: center;
  padding: 60px 32px;
  animation: wizardFadeIn 0.4s ease;
}

.wizard__success.visible {
  display: block;
}

.wizard__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.wizard__success-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.wizard__success-text {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.wizard__success-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #25D366;
  color: var(--color-white);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition);
}

.wizard__success-wa:hover {
  background: #1ea952;
}

/* ─── Footer ───────────────────────────────────────────── */

.sc-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0;
}

.sc-footer__inner {
  text-align: center;
}

.sc-footer__disclaimer {
  font-size: 14px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 20px;
}

.sc-footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.sc-footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.sc-footer__link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.sc-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
